Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/chkrootkit.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667626374.034754/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6_d3hkm7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6_d3hkm7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '359cac8545bd468e9794fa8c9b3d22d3', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667626374.034754/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6_d3hkm7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/chkrootkit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/chkrootkit-0.55-5.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/chkrootkit.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667626374.034754/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6_d3hkm7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6_d3hkm7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8691b9a2a6804f829c0ffb33d2d0c317', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667626374.034754/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6_d3hkm7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/chkrootkit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LrOsr2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chkrootkit-0.55 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/chkrootkit-0.55.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd chkrootkit-0.55 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (chkrootkit-0.44-getCMD.patch): + echo 'Patch #1 (chkrootkit-0.44-getCMD.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .getCMD --fuzz=0 patching file chkrootkit Hunk #1 succeeded at 1441 (offset 381 lines). Patch #2 (chkrootkit-0.44-inetd.patch): + echo 'Patch #2 (chkrootkit-0.44-inetd.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .inetd --fuzz=0 patching file chkrootkit Hunk #1 succeeded at 1613 (offset 397 lines). Patch #3 (chkrootkit-0.47-chklastlog.patch): + echo 'Patch #3 (chkrootkit-0.47-chklastlog.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .chklastlog --fuzz=0 patching file chklastlog.c Hunk #1 succeeded at 65 (offset 3 lines). patching file README.chklastlog Patch #4 (chkrootkit-0.49-chkproc-psver.patch): + echo 'Patch #4 (chkrootkit-0.49-chkproc-psver.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .chkproc-psver --fuzz=0 patching file chkproc.c Hunk #1 succeeded at 156 (offset 10 lines). Patch #5 (chkrootkit-0.49-CVE-2014-0476.patch): + echo 'Patch #5 (chkrootkit-0.49-CVE-2014-0476.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file debian/patches/CVE-2014-0476.patch Patch #6 (chkrootkit-0.53-netstat-l2cap.patch): + echo 'Patch #6 (chkrootkit-0.53-netstat-l2cap.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file chkrootkit Hunk #4 succeeded at 2600 (offset 73 lines). + sed -i -e 's!\s\+@strip.*!!g' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2jvaiu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chkrootkit-0.55 + make sense 'CC=gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DHAVE_LASTLOG_H -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:535, from chklastlog.c:45: In function 'memcpy', inlined from 'main' at chklastlog.c:112:9: /usr/include/bits/string_fortified.h:29:10: warning: 'memcpy' forming offset [14, 126] is out of the bounds [0, 14] [-Warray-bounds] 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: 'memcpy' forming offset [17, 126] is out of the bounds [0, 17] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, | ^ 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, | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c In file included from /usr/include/string.h:535, from chkwtmp.c:28: In function 'memcpy', inlined from 'main' at chkwtmp.c:73:8: /usr/include/bits/string_fortified.h:29:10: warning: 'memcpy' forming offset [14, 126] is out of the bounds [0, 14] [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -DHAVE_LASTLOG_H -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ifpromisc.c: In function 'if_print': ifpromisc.c:310:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 310 | strncpy(ife->name, ifname, sizeof(ife->name)); | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o chkproc chkproc.c chkproc.c: In function 'main': chkproc.c:197:32: warning: "/*" within comment [-Wcomment] 197 | /* printf("pv = %d\n\r", pv); /* -- DEBUG */ | chkproc.c:200:37: warning: "/*" within comment [-Wcomment] 200 | /* printf("pscmd = %s\n\r", pscmd); /* -- DEBUG */ | chkproc.c:245:32: warning: "/*" within comment [-Wcomment] 245 | /* printf(">>PS %s<<\n", p); /* -- DEBUG */ | chkproc.c:280:37: warning: "/*" within comment [-Wcomment] 280 | /* printf("%s\n", tmp_d_name); /* -- DEBUG */ | chkproc.c: In function 'readline': chkproc.c:131:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | fgets(buf, MAX_BUF, stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ chkproc.c:134:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 134 | fgets(buf, MAX_BUF, stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o chkdirs chkdirs.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o check_wtmpx check_wtmpx.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -static -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o strings-static strings.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o chkutmp chkutmp.c chkutmp.c: In function 'fetchps': chkutmp.c:90:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | fgets(line, MAXREAD, ps_fp); /* skip header */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ chkutmp.c:122:20: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | fgets(line, MAXREAD, ps_fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7pk77g + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chkrootkit-0.55 + mkdir -p /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/sbin + cat + install -p -D -m0755 .tmp.chkrootkit.sbin /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/sbin/chkrootkit + mkdir -p /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/bin + ln -s /usr/bin/consolehelper /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/bin/chkrootkit + install -p -D -m0644 /builddir/build/SOURCES/chkrootkit.png /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/pixmaps/chkrootkit.png + install -p -D -m0644 /builddir/build/SOURCES/chkrootkit.console /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/etc/security/console.apps/chkrootkit + perl -pi -e 's!/usr/sbin!/usr/sbin!' /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/etc/security/console.apps/chkrootkit + install -p -D -m0644 /builddir/build/SOURCES/chkrootkit.pam /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/etc/pam.d/chkrootkit + for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static + install -p -D -m0755 check_wtmpx /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/check_wtmpx + for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static + install -p -D -m0755 chkdirs /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chkdirs + for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static + install -p -D -m0755 chklastlog /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chklastlog + for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static + install -p -D -m0755 chkproc /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chkproc + for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static + install -p -D -m0755 chkrootkit /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chkrootkit + for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static + install -p -D -m0755 chkutmp /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chkutmp + for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static + install -p -D -m0755 chkwtmp /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chkwtmp + for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static + install -p -D -m0755 ifpromisc /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/ifpromisc + for f in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static + install -p -D -m0755 strings-static /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/strings-static + ln -s strings-static /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/strings + desktop-file-install --dir /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/applications /builddir/build/SOURCES/chkrootkit.desktop + install -p -m0644 /builddir/build/SOURCES/README.false_positives . + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.55-5.fc38 --unique-debug-suffix -0.55-5.fc38.x86_64 --unique-debug-src-base chkrootkit-0.55-5.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/chkrootkit-0.55 extracting debug info from /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/check_wtmpx extracting debug info from /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chkdirs extracting debug info from /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chklastlog extracting debug info from /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chkproc extracting debug info from /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chkutmp extracting debug info from /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/chkwtmp extracting debug info from /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/ifpromisc extracting debug info from /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/strings-static nm: /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/lib64/chkrootkit-0.55/strings-static: no symbols original debug info size: 588kB, size after compression: 572kB /usr/bin/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 103 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib64/chkrootkit-0.55/chkrootkit from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/sbin/chkrootkit from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: chkrootkit-0.55-5.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sUICr7 + umask 022 + cd /builddir/build/BUILD + cd chkrootkit-0.55 + DOCDIR=/builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/doc/chkrootkit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/doc/chkrootkit + cp -pr ACKNOWLEDGMENTS /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/doc/chkrootkit + cp -pr README /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/doc/chkrootkit + cp -pr README.chklastlog /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/doc/chkrootkit + cp -pr README.chkwtmp /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/doc/chkrootkit + cp -pr chkrootkit.lsm /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/doc/chkrootkit + cp -pr README.false_positives /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/doc/chkrootkit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.U9GSBF + umask 022 + cd /builddir/build/BUILD + cd chkrootkit-0.55 + LICENSEDIR=/builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/licenses/chkrootkit + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/licenses/chkrootkit + cp -pr COPYRIGHT /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64/usr/share/licenses/chkrootkit + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/bin/chkrootkit -> /usr/bin/consolehelper Provides: application() application(chkrootkit.desktop) chkrootkit = 0.55-5.fc38 chkrootkit(x86-64) = 0.55-5.fc38 config(chkrootkit) = 0.55-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: chkrootkit-debugsource-0.55-5.fc38.x86_64 Provides: chkrootkit-debugsource = 0.55-5.fc38 chkrootkit-debugsource(x86-64) = 0.55-5.fc38 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-5.fc38.x86_64 Provides: chkrootkit-debuginfo = 0.55-5.fc38 chkrootkit-debuginfo(x86-64) = 0.55-5.fc38 debuginfo(build-id) = 0927949f3e8cb93265007aa41aa3e3b776a4faad debuginfo(build-id) = 1e52bf1834498f844970c89303f87946c78387a7 debuginfo(build-id) = 4606ec05cea1e3a6a515370fece4eda91e565d21 debuginfo(build-id) = 62ac186471503747b1b9b0e05606fd6c7fb035ba debuginfo(build-id) = 77ad0b137fd118fa21f893b4b16b1612a21c96b6 debuginfo(build-id) = 7e6abd5f7fe8017807b05bcf2c630c178509f9c2 debuginfo(build-id) = aafc6cc61a1ed9610f0149634239d15cd1121e1e debuginfo(build-id) = e03ac16463a1b49b263139726deb207329683481 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: chkrootkit-debugsource(x86-64) = 0.55-5.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64 Wrote: /builddir/build/RPMS/chkrootkit-debuginfo-0.55-5.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/chkrootkit-debugsource-0.55-5.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/chkrootkit-0.55-5.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KLrAbU + umask 022 + cd /builddir/build/BUILD + cd chkrootkit-0.55 + /usr/bin/rm -rf /builddir/build/BUILDROOT/chkrootkit-0.55-5.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.nHVLC3 + umask 022 + cd /builddir/build/BUILD + rm -rf chkrootkit-0.55 chkrootkit-0.55.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: absolute symlink: /usr/bin/chkrootkit -> /usr/bin/consolehelper Child return code was: 0