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.In2Fpl
+ 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.yQMGlt
+ 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.qUxpgO
+ 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/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/chkproc
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/chkdirs
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/chkdirs: 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/chkutmp: 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/ifpromisc: no symbols
nm: /home/iurt/rpmbuild/BUILDROOT/chkrootkit-0.55-1.mga9.aarch64/usr/lib64/chkrootkit/check_wtmpx: 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: 14664kB, size after compression: 14664kB
/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.fP7ZoU
+ 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)
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) = 179631eb7f77e4e0ca9a497dfcd1fd43fc7abfa9 debuginfo(build-id) = 2b8ed32a9f651b9f2079ab79fa87b061a49a8170 debuginfo(build-id) = 72b6ceebde5f54ea9cbbdd46979f6c786d364208 debuginfo(build-id) = a1fe2ef2bcda648d790f8b9d053a46a9ebbb770d debuginfo(build-id) = b67e78a828848f60305e3d2e3d98bb1fa5d1dab2 debuginfo(build-id) = d973e80d2a830467deb0bf5671185bec2791b520 debuginfo(build-id) = f03fb46d43041d0ae5db46bcc08418a58b9becda debuginfo(build-id) = fa7f7779a96e9bdc9203d897af90ed755d7efada
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.caVLce
+ 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.BH6Cm4
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf chkrootkit-0.55
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!