D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/chaplin-1.10-12.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FbQ5eR + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf chaplin + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/chaplin-1.10.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd chaplin + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/chaplin-1.10-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.UEhjf4 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd chaplin + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' gcc -DNDEBUG -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I/soft/libdvdread/include -L/soft/libdvdread/lib -ldvdread -Wl,-rpath,/soft/libdvdread/lib -o chaplin chaplin.c -lm chaplin.c: In function 'read_chapters': chaplin.c:198:11: warning: variable 'this_pgc' set but not used [-Wunused-but-set-variable] 198 | int this_pgc; | ^~~~~~~~ chaplin.c:192:9: warning: variable 'pg' set but not used [-Wunused-but-set-variable] 192 | int pg = vts_ptt_srpt->title[local_title_id].ptt[0].pgn; | ^~ chaplin.c: In function 'myts_to_string': chaplin.c:111:26: warning: '%02d' directive writing between 2 and 5 bytes into a region of size between 0 and 6 [-Wformat-overflow=] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~~~~~~~~~~~~~~~~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] In file included from /usr/include/stdio.h:888, from chaplin.c:16: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 24 bytes into a destination of size 12 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ chaplin.c: In function 'read_chapters': chaplin.c:111:26: warning: '%02d' directive writing between 2 and 5 bytes into a region of size between 0 and 6 [-Wformat-overflow=] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~~~~~~~~~~~~~~~~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] In file included from /usr/include/stdio.h:888, from chaplin.c:16: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 24 bytes into a destination of size 12 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ chaplin.c:111:26: warning: '%02d' directive writing between 2 and 5 bytes into a region of size between 0 and 6 [-Wformat-overflow=] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~~~~~~~~~~~~~~~~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] In file included from /usr/include/stdio.h:888, from chaplin.c:16: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 24 bytes into a destination of size 12 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ chaplin.c:111:26: warning: '%02d' directive writing between 2 and 5 bytes into a region of size between 0 and 6 [-Wformat-overflow=] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~~~~~~~~~~~~~~~~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] In file included from /usr/include/stdio.h:888, from chaplin.c:16: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 24 bytes into a destination of size 12 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ chaplin.c: In function 'find_parts': chaplin.c:366:21: warning: 'last_secs' may be used uninitialized in this function [-Wmaybe-uninitialized] 366 | if((split_secs-last_secs)<(secs-split_secs)) { | ~~~~~~~~~~~^~~~~~~~~~~ chaplin.c: In function 'main': chaplin.c:111:26: warning: '%02d' directive writing between 2 and 5 bytes into a region of size between 0 and 6 [-Wformat-overflow=] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~~~~~~~~~~~~~~~~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] In file included from /usr/include/stdio.h:888, from chaplin.c:16: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 24 bytes into a destination of size 12 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ chaplin.c:111:26: warning: '%02d' directive writing between 2 and 5 bytes into a region of size between 0 and 6 [-Wformat-overflow=] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] 111 | sprintf(buf,"%02d:%02d:%02d.%02d",my->hour,my->minute,my->second,my->frame); | ^~~~~~~~~~~~~~~~~~~~~ chaplin.c:111:15: note: directive argument in the range [0, 65535] In file included from /usr/include/stdio.h:888, from chaplin.c:16: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 12 and 24 bytes into a destination of size 12 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ld6Q6k + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/chaplin-1.10-12.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/chaplin-1.10-12.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/chaplin-1.10-12.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/chaplin-1.10-12.mga9.aarch64 + cd chaplin + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/chaplin-1.10-12.mga9.aarch64/usr/bin + cp chaplin /home/iurt/rpmbuild/BUILDROOT/chaplin-1.10-12.mga9.aarch64/usr/bin + cp chaplin-genmenu /home/iurt/rpmbuild/BUILDROOT/chaplin-1.10-12.mga9.aarch64/usr/bin + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.10-12.mga9 --unique-debug-suffix -1.10-12.mga9.aarch64 --unique-debug-src-base chaplin-1.10-12.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/chaplin extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chaplin-1.10-12.mga9.aarch64/usr/bin/chaplin dwz: ./usr/bin/chaplin-1.10-12.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 68kB, size after compression: 68kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 53 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause * 'rpmbuild' to fail. To ignore these errors, you can set the * '$QA_RPATHS' environment variable which is a bitmask allowing the * values below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute * nor relative filenames and can therefore be a SECURITY risk * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a * SECURITY risk * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other * RPATHs; this is just a minor issue but usually unwanted * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs * and they cause unneeded work while loading libraries * 0x0020 ... an RPATH references '..' of an absolute path; this will break * the functionality when the path before '..' is a symlink * * * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like * $ RPM_BUILD_ROOT= /usr/lib/rpm/check-rpaths * ******************************************************************************* ERROR 0002: file '/usr/bin/chaplin' contains an invalid '/soft/libdvdread/lib' in [/soft/libdvdread/lib] error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ld6Q6k (%install) 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.ld6Q6k (%install) I: [iurt_root_command] ERROR: chroot