D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/luvcview-0.2.6-11.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.YjazUc + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf luvcview-0.2.6 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/luvcview-0.2.6.tar.lzma + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd luvcview-0.2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /home/iurt/rpmbuild/SOURCES/dynctrl-logitech.h . + cp /home/iurt/rpmbuild/SOURCES/uvcvideo.h . + cp /home/iurt/rpmbuild/SOURCES/uvc_compat.h . + echo 'Patch #0 (linuxvideodev2.patch):' Patch #0 (linuxvideodev2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file luvcview.c patching file v4l2uvc.h + perl -pi -e 's/^(CFLAGS.*)-O2(.*)/$1\$\(RPM_OPT_FLAGS\)$2/' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.jZVfEI + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd luvcview-0.2.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 gcc -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o luvcview.o luvcview.c luvcview.c:44:10: fatal error: X11/Xlib.h: No such file or directory 44 | #include | ^~~~~~~~~~~~ compilation terminated. make: *** [: luvcview.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o color.o color.c gcc -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gui.o gui.c gcc -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o v4l2uvc.o v4l2uvc.c v4l2uvc.c: In function 'enumerate_menu': v4l2uvc.c:203:9: warning: implicit declaration of function 'SDL_Delay' [-Wimplicit-function-declaration] 203 | SDL_Delay(10); | ^~~~~~~~~ v4l2uvc.c: In function 'load_controls': v4l2uvc.c:333:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 333 | fgets(buffer, sizeof(buffer), configfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o utils.o utils.c utils.c: In function 'getPictureName': utils.c:1208:58: warning: embedded '\0' in format [-Wformat-contains-nul] 1208 | snprintf (temp, 26, "P-%02d:%02d:%04d-%02d:%02d:%02d.%s\0", | ^~ utils.c:1208:36: warning: '%04d' directive output may be truncated writing between 4 and 11 bytes into a region of size between 0 and 18 [-Wformat-truncation=] 1208 | snprintf (temp, 26, "P-%02d:%02d:%04d-%02d:%02d:%02d.%s\0", | ^~~~ utils.c:1208:23: note: directive argument in the range [-2147481748, 2147483647] 1208 | snprintf (temp, 26, "P-%02d:%02d:%04d-%02d:%02d:%02d.%s\0", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from utils.c:26: /usr/include/bits/stdio2.h:71:10: note: '__builtin___snprintf_chk' output 23 or more bytes (assuming 39) into a destination of size 26 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_SDL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DLINUX -DVERSION=\"0.2.6\" -I-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o avilib.o avilib.c avilib.c: In function 'AVI_write_frame': avilib.c:923:28: warning: '%1d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 923 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~ avilib.c:923:26: note: directive argument in the range [-2147483647, 2147483647] 923 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from avilib.h:30, from avilib.c:40: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 15 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ avilib.c: In function 'AVI_write_audio': avilib.c:923:28: warning: '%1d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] 923 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~ avilib.c:923:26: note: directive argument in the range [-2147483647, 2147483647] 923 | sprintf((char *)astr, "0%1dwb", (int)(AVI->aptr+1)); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from avilib.h:30, from avilib.c:40: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 5 and 15 bytes into a destination of size 5 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.jZVfEI (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.jZVfEI (%build) I: [iurt_root_command] ERROR: chroot