D: [iurt_root_command] chroot Building target platforms: aarch64 Building for target aarch64 Installing /home/iurt/rpmbuild/SRPMS/@2392493:chkrootkit-0.59-1.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.zbQC7E Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.p82Jt5 + umask 022 + cd /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + rm -rf chkrootkit-0.59 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/chkrootkit-0.59.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd chkrootkit-0.59 + /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.59-fix-grep.patch):' Patch #1 (chkrootkit-0.59-fix-grep.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file chkrootkit Hunk #2 succeeded at 777 (offset 3 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 1124 (offset 118 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 rt 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.lI78uc + umask 022 + cd /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chkrootkit-0.59 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -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.59-build/chkrootkit-0.59' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LASTLOG_H -DLASTLOG_FILENAME='"/var/log/lastlog"' -DWTMP_FILENAME='"/var/log/wtmp"' -o chklastlog chklastlog.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_LASTLOG_H -DLASTLOG_FILENAME='"/var/log/lastlog"' -DWTMP_FILENAME='"/var/log/wtmp"' -o chkwtmp chkwtmp.c chkwtmp.c: In function 'printit': chkwtmp.c:46:6: warning: old-style function definition [-Wold-style-definition] 46 | void printit(counter, start, end) | ^~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -static -o chkproc chkproc.c gcc -static -o chkdirs chkdirs.c gcc -static -o check_wtmpx check_wtmpx.c gcc -static -static -o strings-static strings.c gcc -static -o chkutmp chkutmp.c make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/chkrootkit-0.59' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gWZKu0 + umask 022 + cd /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT ++ dirname /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT + mkdir -p /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + mkdir /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chkrootkit-0.59 + '[' 1 -eq 1 ']' + install -d /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/sbin + install -d /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/lib64/chkrootkit + install -m 0755 chkrootkit /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/sbin/ + install -m 0755 check_wtmpx chkdirs chklastlog chkproc chkutmp chkwtmp ifpromisc strings-static /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/lib64/chkrootkit/ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.59-1.1.mga10 --unique-debug-suffix -0.59-1.1.mga10.aarch64 --unique-debug-src-base chkrootkit-0.59-1.1.mga10.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/chkrootkit-0.59 find-debuginfo: starting Extracting debug info from 7 files nm: /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/lib64/chkrootkit/chkproc: no symbols nm: /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/lib64/chkrootkit/chkdirs: no symbols nm: /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/lib64/chkrootkit/chkutmp: no symbols nm: nm: /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/lib64/chkrootkit/check_wtmpx: no symbols/home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/lib64/chkrootkit/strings-static: no symbols DWARF-compressing 7 files sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/chkrootkit-0.59-1.1.mga10.aarch64 find-debuginfo: done + /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/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 + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/SPECPARTS/rpm-debuginfo.specpart Processing files: chkrootkit-0.59-1.1.mga10.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.SZ9QwB + umask 022 + cd /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + cd chkrootkit-0.59 + DOCDIR=/home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/share/doc/chkrootkit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/share/doc/chkrootkit + cp -pr /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/chkrootkit-0.59/ACKNOWLEDGMENTS /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/share/doc/chkrootkit + cp -pr /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/chkrootkit-0.59/README /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/share/doc/chkrootkit + cp -pr /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/chkrootkit-0.59/README.chklastlog /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/share/doc/chkrootkit + cp -pr /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/chkrootkit-0.59/README.chkwtmp /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/share/doc/chkrootkit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Dcy14O + umask 022 + cd /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + cd chkrootkit-0.59 + LICENSEDIR=/home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/share/licenses/chkrootkit + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/share/licenses/chkrootkit + cp -pr /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/chkrootkit-0.59/COPYRIGHT /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT/usr/share/licenses/chkrootkit + RPM_EC=0 ++ jobs -p + exit 0 Provides: chkrootkit = 0.59-1.1.mga10 chkrootkit(aarch-64) = 0.59-1.1.mga10 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.59-1.1.mga10.aarch64 Provides: chkrootkit-debugsource = 0.59-1.1.mga10 chkrootkit-debugsource(aarch-64) = 0.59-1.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: chkrootkit-debuginfo-0.59-1.1.mga10.aarch64 Provides: chkrootkit-debuginfo = 0.59-1.1.mga10 chkrootkit-debuginfo(aarch-64) = 0.59-1.1.mga10 debuginfo(build-id) = 176a6eb8d9217f556f45aada3d8a45c9bf233a83 debuginfo(build-id) = 5a8f81f9a12b9e5a1bfb813fb8ad9f60b9537c0f debuginfo(build-id) = 64cc159ab48acada6cd0d9a305cfe7137dab39e2 debuginfo(build-id) = 804a7014c94375f7900ba8d8c8b380f1bb52cd76 debuginfo(build-id) = 85937ef7923d02a4f33b5c593448efdadcf10922 debuginfo(build-id) = e2b159716cc5ddce42b19305d699ac76d480772e debuginfo(build-id) = ef664aac24c910e95e2ffa9f648659a48d526785 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.59-1.1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build/BUILDROOT Wrote: /home/iurt/rpmbuild/RPMS/aarch64/chkrootkit-debugsource-0.59-1.1.mga10.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/chkrootkit-0.59-1.1.mga10.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/chkrootkit-debuginfo-0.59-1.1.mga10.aarch64.rpm Executing(rmbuild): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.PXNRH4 + umask 022 + cd /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + test -d /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + rm -rf /home/iurt/rpmbuild/BUILD/chkrootkit-0.59-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!