D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/chkrootkit-0.53-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3m7ove + 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.53 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/chkrootkit-0.53.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd chkrootkit-0.53 + /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 -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 -p0 --fuzz=0 patching file chkrootkit Hunk #1 succeeded at 1401 (offset 169 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 -p1 --fuzz=0 patching file chkrootkit Hunk #1 succeeded at 1022 (offset 16 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 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.gXQ9Ma + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd chkrootkit-0.53 + '[' 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.53' 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:494, from chklastlog.c:45: In function 'memcpy', inlined from 'main' at chklastlog.c:112:9: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memcpy', inlined from 'main' at chklastlog.c:113:9: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 17 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__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:494, from chkwtmp.c:28: In function 'memcpy', inlined from 'main' at chkwtmp.c:73:8: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' reading 127 bytes from a region of size 14 [-Wstringop-overflow=] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__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.53' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.N1KWSc + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64 + cd chkrootkit-0.53 + '[' 1 -eq 1 ']' + install -d /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/sbin + install -d /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit + install -m 0755 chkrootkit /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/sbin/ + install -m 0755 check_wtmpx chkdirs chklastlog chkproc chkutmp chkwtmp ifpromisc strings-static /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/ + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 0.53-1.mga8 --unique-debug-suffix -0.53-1.mga8.aarch64 --unique-debug-src-base chkrootkit-0.53-1.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/chkrootkit-0.53 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkproc explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/ifpromisc explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chklastlog explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/check_wtmpx explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkwtmp explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkutmp explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/strings-static extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkproc extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/ifpromisc extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chklastlog extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/check_wtmpx extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkutmp extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkwtmp extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/strings-static explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkdirs extracting debug info from /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkdirs nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkutmp: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkproc: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/chkdirs: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/check_wtmpx: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/strings-static: no symbols nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/lib64/chkrootkit/ifpromisc: no symbols original debug info size: 27244kB, size after compression: 15292kB /usr/lib/rpm/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 38 blocks + '[' -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/translate_menu + '[' -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/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/chkrootkit from /bin/sh to #!/usr/bin/sh Processing files: chkrootkit-0.53-1.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Uclb79 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd chkrootkit-0.53 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/share/doc/chkrootkit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/share/doc/chkrootkit + cp -pr ACKNOWLEDGMENTS /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/share/doc/chkrootkit + cp -pr README README.chklastlog README.chkwtmp /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/share/doc/chkrootkit + cp -pr COPYRIGHT /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64/usr/share/doc/chkrootkit + RPM_EC=0 ++ jobs -p + exit 0 Provides: chkrootkit = 0.53-1.mga8 chkrootkit(aarch-64) = 0.53-1.mga8 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) Processing files: chkrootkit-debugsource-0.53-1.mga8.aarch64 Provides: chkrootkit-debugsource = 0.53-1.mga8 chkrootkit-debugsource(aarch-64) = 0.53-1.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: chkrootkit-debuginfo-0.53-1.mga8.aarch64 Provides: chkrootkit-debuginfo = 0.53-1.mga8 chkrootkit-debuginfo(aarch-64) = 0.53-1.mga8 debuginfo(build-id) = 2291332657eafaf86eba8c1c4a18815b28b48f1b debuginfo(build-id) = 39ee909f773c7813f7a39d86bcb390a162e8e24a debuginfo(build-id) = 52b4b143fc36eab16271d90c3935109a6db736bb debuginfo(build-id) = 6230e6c5cdc0835e6010eb656ffaaf84f4ce42e0 debuginfo(build-id) = 8f501d9a55bfd75d92630f1aa0265171dd67945d debuginfo(build-id) = c471fae2f16cdd19f412fab948fea9b63125ae2a debuginfo(build-id) = caa1264e163aff74ad6593c3f02e306de5be5020 debuginfo(build-id) = ff7b50ed0187b715f97937bb5ceb1e1f67534a7b 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.53-1.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/chkrootkit-debugsource-0.53-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/chkrootkit-0.53-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/chkrootkit-debuginfo-0.53-1.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.7UQwHb + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd chkrootkit-0.53 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.53-1.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ukEE8b + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf chkrootkit-0.53 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!