D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/chkrootkit-0.55-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.G8pmpi + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf chkrootkit-0.55 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/chkrootkit-0.55.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd chkrootkit-0.55 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (chkrootkit_fix_apache_false_positive.diff):' Patch #0 (chkrootkit_fix_apache_false_positive.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file chkutmp.c Hunk #1 succeeded at 44 (offset 1 line). + echo 'Patch #1 (chkrootkit-0.49-bug57979.diff):' Patch #1 (chkrootkit-0.49-bug57979.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file chkrootkit Hunk #1 succeeded at 1464 (offset 232 lines). + echo 'Patch #2 (chkrootkit-0.52-suckit-false-positive.diff):' Patch #2 (chkrootkit-0.52-suckit-false-positive.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file chkrootkit Hunk #1 succeeded at 1040 (offset 34 lines). + sed -i -e 's!\s\+@strip.*!!g' Makefile + chmod 644 ACKNOWLEDGMENTS COPYRIGHT Makefile README README.chklastlog README.chkwtmp check_wtmpx.c chkdirs.c chklastlog.c chkproc.c chkrootkit chkrootkit.lsm chkutmp.c chkwtmp.c ifpromisc.c patch strings.c ++ ls -1 check_wtmpx.c chkdirs.c chklastlog.c chkproc.c chkutmp.c chkwtmp.c ifpromisc.c strings.c ++ sed 's/\.c//' + for i in `ls -1 *.c|sed "s/\.c//"` + perl -pi -e 's|\./check_wtmpx|/usr/lib64/chkrootkit/check_wtmpx|g' chkrootkit + for i in `ls -1 *.c|sed "s/\.c//"` + perl -pi -e 's|\./chkdirs|/usr/lib64/chkrootkit/chkdirs|g' chkrootkit + for i in `ls -1 *.c|sed "s/\.c//"` + perl -pi -e 's|\./chklastlog|/usr/lib64/chkrootkit/chklastlog|g' chkrootkit + for i in `ls -1 *.c|sed "s/\.c//"` + perl -pi -e 's|\./chkproc|/usr/lib64/chkrootkit/chkproc|g' chkrootkit + for i in `ls -1 *.c|sed "s/\.c//"` + perl -pi -e 's|\./chkutmp|/usr/lib64/chkrootkit/chkutmp|g' chkrootkit + for i in `ls -1 *.c|sed "s/\.c//"` + perl -pi -e 's|\./chkwtmp|/usr/lib64/chkrootkit/chkwtmp|g' chkrootkit + for i in `ls -1 *.c|sed "s/\.c//"` + perl -pi -e 's|\./ifpromisc|/usr/lib64/chkrootkit/ifpromisc|g' chkrootkit + for i in `ls -1 *.c|sed "s/\.c//"` + perl -pi -e 's|\./strings|/usr/lib64/chkrootkit/strings|g' chkrootkit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.hynLN2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd chkrootkit-0.55 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DHAVE_LASTLOG_H -DLASTLOG_FILENAME='\''"/var/log/lastlog"'\'' -DWTMP_FILENAME='\''"/var/log/wtmp"'\''' LDFLAGS=-static *** stopping make sense *** make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/chkrootkit-0.55' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DHAVE_LASTLOG_H -DLASTLOG_FILENAME='"/var/log/lastlog"' -DWTMP_FILENAME='"/var/log/wtmp"' -o chklastlog chklastlog.c chklastlog.c: In function 'main': chklastlog.c:170:49: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 170 | fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", MAX_ID, *uid ); | ~~^ | | | long int | %d chklastlog.c:170:72: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'uid_t' {aka 'unsigned int'} [-Wformat=] 170 | fprintf(stderr, "MAX_ID is %ld and current uid is %ld, please check\n\r", MAX_ID, *uid ); | ~~^ ~~~~ | | | | long int uid_t {aka unsigned int} | %d In file included from /usr/include/string.h:519, from chklastlog.c:45: In function 'memcpy', inlined from 'main' at chklastlog.c:112:9: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'main' at chklastlog.c:113:9: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 17 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DHAVE_LASTLOG_H -DLASTLOG_FILENAME='"/var/log/lastlog"' -DWTMP_FILENAME='"/var/log/wtmp"' -o chkwtmp chkwtmp.c In file included from /usr/include/string.h:519, from chkwtmp.c:28: In function 'memcpy', inlined from 'main' at chkwtmp.c:73:8: /usr/include/bits/string_fortified.h:29:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DHAVE_LASTLOG_H -DLASTLOG_FILENAME='"/var/log/lastlog"' -DWTMP_FILENAME='"/var/log/wtmp"' -static -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c ifpromisc.c: In function 'read_proc_net_packet': ifpromisc.c:108:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 108 | fgets(buf, 80, proc); | ^~~~~~~~~~~~~~~~~~~~ ifpromisc.c: In function 'walk_process': ifpromisc.c:204:13: warning: ignoring return value of 'readlink' declared with attribute 'warn_unused_result' [-Wunused-result] 204 | readlink(path, link, sizeof(link) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -static -o chkproc chkproc.c cc -static -o chkdirs chkdirs.c cc -static -o check_wtmpx check_wtmpx.c cc -static -static -o strings-static strings.c cc -static -o chkutmp chkutmp.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/chkrootkit-0.55' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.escX41 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64 + cd chkrootkit-0.55 + '[' 1 -eq 1 ']' + install -d /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/sbin + install -d /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit + install -m 0755 chkrootkit /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/sbin/ + install -m 0755 check_wtmpx chkdirs chklastlog chkproc chkutmp chkwtmp ifpromisc strings-static /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.55-1.mga9 --unique-debug-suffix -0.55-1.mga9.aarch64 --unique-debug-src-base chkrootkit-0.55-1.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/chkrootkit-0.55 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/check_wtmpx extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/chkdirs extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/chkproc extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/chklastlog extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/chkutmp extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/chkwtmp extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/ifpromisc extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/strings-static nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/check_wtmpx: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/strings-static: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/chkdirs: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/chkutmp: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/chkproc: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/ifpromisc: no symbols dwz: ./usr/lib64/chkrootkit/check_wtmpx-0.55-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/lib64/chkrootkit/chkdirs-0.55-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/lib64/chkrootkit/chklastlog-0.55-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/lib64/chkrootkit/chkproc-0.55-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/lib64/chkrootkit/chkutmp-0.55-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/lib64/chkrootkit/chkwtmp-0.55-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/lib64/chkrootkit/ifpromisc-0.55-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: ./usr/lib64/chkrootkit/strings-static-0.55-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str dwz: Too few files for multifile optimization original debug info size: 15488kB, size after compression: 15488kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 8 CRC32s did match. 38 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 + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/chkrootkit from /bin/sh to #!/usr/bin/sh Processing files: chkrootkit-0.55-1.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.7OVFGn + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd chkrootkit-0.55 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/share/doc/chkrootkit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/share/doc/chkrootkit + cp -pr ACKNOWLEDGMENTS /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/share/doc/chkrootkit + cp -pr README README.chklastlog README.chkwtmp /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/share/doc/chkrootkit + cp -pr COPYRIGHT /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/share/doc/chkrootkit + RPM_EC=0 ++ jobs -p + exit 0 Provides: chkrootkit = 0.55-1.mga9 chkrootkit(aarch-64) = 0.55-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) Processing files: chkrootkit-debugsource-0.55-1.mga9.aarch64 Provides: chkrootkit-debugsource = 0.55-1.mga9 chkrootkit-debugsource(aarch-64) = 0.55-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: chkrootkit-debuginfo-0.55-1.mga9.aarch64 Provides: chkrootkit-debuginfo = 0.55-1.mga9 chkrootkit-debuginfo(aarch-64) = 0.55-1.mga9 debuginfo(build-id) = 289da18d1ac7cc4960a23a89be7124a3fe4f44b8 debuginfo(build-id) = 3af8ee5a498deba94f740f49211dc7e91c1e5ee8 debuginfo(build-id) = b26b86724f67107f3c44aa4d51c7546e567d8b4b debuginfo(build-id) = c0a3a208a429793cbb8fd0acc1dfc8433881022c debuginfo(build-id) = dc53a5e022b2be99400fc392663ae486a2fb3945 debuginfo(build-id) = f13bccb9e00226df9700dc7b2d84dc353c429c09 debuginfo(build-id) = f732b9c9fca55069807abb0ae6024e53cf92df71 debuginfo(build-id) = fc194ed4dd41eb12b657620de0d081d547e6d5c8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: chkrootkit-debugsource(aarch-64) = 0.55-1.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/chkrootkit-debugsource-0.55-1.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/chkrootkit-0.55-1.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/chkrootkit-debuginfo-0.55-1.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6kiOD5 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd chkrootkit-0.55 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VAhrJT + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf chkrootkit-0.55 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!