Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/p0f.spec'], chrootPath='/var/lib/mock/f33-build-292157-54814/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/p0f.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/p0f-3.09b-10.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/p0f.spec'], chrootPath='/var/lib/mock/f33-build-292157-54814/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/p0f.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CHlhgh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf p0f-3.09b + /usr/bin/gzip -dc /builddir/build/SOURCES/p0f-3.09b.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd p0f-3.09b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (p0f-3.06b-compiler.patch):' Patch #1 (p0f-3.06b-compiler.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file build.sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HNm55g + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + make -j4 '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 -fasynchronous-unwind-tables -fstack-clash-protection -DFP_FILE="/etc/p0f/p0f.fp"' + PROGNAME=p0f + VERSION=3.09b + test '' = '' + CC=gcc + BASIC_CFLAGS='-Wall -Werror=format-security -DVERSION="3.09b" -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 -fasynchronous-unwind-tables -fstack-clash-protection -DFP_FILE="/etc/p0f/p0f.fp"' + BASIC_LDFLAGS= + USE_CFLAGS='-fPIE -g -ggdb -Wall -Werror=format-security -DVERSION="3.09b" -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 -fasynchronous-unwind-tables -fstack-clash-protection -DFP_FILE="/etc/p0f/p0f.fp"' + USE_LDFLAGS='-Wl,-z,relro -pie ' + '[' linux-gnu = cygwin ']' Welcome to the build script for p0f 3.09b! Copyright (C) 2012 by Michal Zalewski [+] Configuring production build. + '[' linux-gnu = solaris ']' + USE_LIBS='-lpcap ' + OBJFILES='api.c process.c fp_tcp.c fp_mtu.c fp_http.c readfp.c' + echo 'Welcome to the build script for p0f 3.09b!' + echo 'Copyright (C) 2012 by Michal Zalewski ' + echo + '[' 1 -gt 1 ']' + '[' all = clean -o all = publish ']' + '[' all = all -o all = '' ']' + echo '[+] Configuring production build.' + BASIC_CFLAGS='-Wall -Werror=format-security -DVERSION="3.09b" -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 -fasynchronous-unwind-tables -fstack-clash-protection -DFP_FILE="/etc/p0f/p0f.fp" -O2' + USE_CFLAGS='-fPIE -g -ggdb -Wall -Werror=format-security -DVERSION="3.09b" -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 -fasynchronous-unwind-tables -fstack-clash-protection -DFP_FILE="/etc/p0f/p0f.fp" -O2' + rm -f COMPILER-WARNINGS + echo -n '[*] Checking for a sane build environment... ' [*] Checking for a sane build environment... + ls -ld ./ + grep -q '^d.......w' + TMP=.build-162192 + rm -f .build-162192 + '[' -f .build-162192 ']' + touch .build-162192 + '[' '!' -f .build-162192 ']' OK [*] Checking for working GCC... + '[' '!' -s p0f.c ']' + echo OK + echo -n '[*] Checking for working GCC... ' + rm -f .build-162192 + echo 'int main() { return 0; }' + gcc -Wall -Werror=format-security '-DVERSION="3.09b"' -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 -fasynchronous-unwind-tables -fstack-clash-protection '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 .build-162192.c -o .build-162192 + '[' '!' -x .build-162192 ']' OK [*] Checking for *modern* GCC... + echo OK + echo -n '[*] Checking for *modern* GCC... ' + rm -f .build-162192 .build-162192.c .build-162192.log + echo 'int main() { return 0; }' + gcc -fPIE -g -ggdb -Wall -Werror=format-security '-DVERSION="3.09b"' -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 -fasynchronous-unwind-tables -fstack-clash-protection '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-162192.c -o .build-162192 + '[' '!' -x .build-162192 ']' OK + echo OK + echo -n '[*] Checking if memory alignment is required... ' + rm -f .build-162192 .build-162192.c .build-162192.log [*] Checking if memory alignment is required... + echo -e '#include "types.h"\nvolatile u8 tmp[6]; int main() { printf("%d\x5cn", *(u32*)(tmp+1)); return 0; }' + gcc -fPIE -g -ggdb -Wall -Werror=format-security '-DVERSION="3.09b"' -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 -fasynchronous-unwind-tables -fstack-clash-protection '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-162192.c -o .build-162192 + '[' '!' -x .build-162192 ']' + ulimit -c 0 + ./.build-162192 + '[' 0 = 0 ']' nope [*] Checking for working libpcap... + echo nope + echo -n '[*] Checking for working libpcap... ' + rm -f .build-162192 .build-162192.c .build-162192.log + echo -e '#include \nint main() { char i[PCAP_ERRBUF_SIZE]; pcap_lookupdev(i); return 0; }' + gcc -fPIE -g -ggdb -Wall -Werror=format-security '-DVERSION="3.09b"' -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 -fasynchronous-unwind-tables -fstack-clash-protection '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-162192.c -o .build-162192 -lpcap + '[' '!' -x .build-162192 ']' OK [*] Checking for working BPF... + echo OK + echo -n '[*] Checking for working BPF... ' + rm -f .build-162192 .build-162192.c .build-162192.log + echo -e '#include \n#include \nint main() { return 0; }' + gcc -fPIE -g -ggdb -Wall -Werror=format-security '-DVERSION="3.09b"' -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 -fasynchronous-unwind-tables -fstack-clash-protection '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-162192.c -o .build-162192 -lpcap + '[' '!' -x .build-162192 ']' + echo OK OK + rm -f .build-162192 .build-162192.log .build-162192.c [+] Okay, you seem to be good to go. Fingers crossed! [*] Compiling p0f... + echo '[+] Okay, you seem to be good to go. Fingers crossed!' + echo -n '[*] Compiling p0f... ' + rm -f p0f + gcc -fPIE -g -ggdb -Wall -Werror=format-security '-DVERSION="3.09b"' -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 -fasynchronous-unwind-tables -fstack-clash-protection '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie p0f.c api.c process.c fp_tcp.c fp_mtu.c fp_http.c readfp.c -o p0f -lpcap + '[' '!' -x p0f ']' OK (see COMPILER-WARNINGS) Well, that's it. Be sure to review README. If you run into any problems, you can reach the author at . + '[' -s .build-162192.log ']' + echo 'OK (see COMPILER-WARNINGS)' + mv .build-162192.log COMPILER-WARNINGS + test all = debug + echo + echo 'Well, that'\''s it. Be sure to review README. If you run into any problems, you' + echo 'can reach the author at .' + echo + exit 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QyJbfj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64 + cd p0f-3.09b + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/etc/p0f + /usr/bin/cp p0f /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin + /usr/bin/cp p0f.fp /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/etc/p0f + cd tools + make -j4 '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 -fasynchronous-unwind-tables -fstack-clash-protection' 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 -fasynchronous-unwind-tables -fstack-clash-protection p0f-client.c -o p0f-client 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 -fasynchronous-unwind-tables -fstack-clash-protection p0f-sendsyn.c -o p0f-sendsyn 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 -fasynchronous-unwind-tables -fstack-clash-protection p0f-sendsyn6.c -o p0f-sendsyn6 + /usr/bin/cp p0f-client p0f-sendsyn p0f-sendsyn6 /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.09b-10.fc33 --unique-debug-suffix -3.09b-10.fc33.riscv64 --unique-debug-src-base p0f-3.09b-10.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/p0f-3.09b explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin/p0f-sendsyn explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin/p0f explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin/p0f-client explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin/p0f-sendsyn6 extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin/p0f extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin/p0f-sendsyn6 extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin/p0f-client extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/sbin/p0f-sendsyn original debug info size: 1464kB, size after compression: 1428kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 407 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: p0f-3.09b-10.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.54A47i + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + DOCDIR=/builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/share/doc/p0f + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/share/doc/p0f + cp -pr docs/COPYING docs/ChangeLog docs/README docs/TODO docs/existential-notes.txt docs/extra-sigs.txt /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/share/doc/p0f + cp -pr tools/README-TOOLS /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64/usr/share/doc/p0f + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(p0f) = 3.09b-10.fc33 p0f = 3.09b-10.fc33 p0f(riscv-64) = 3.09b-10.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: p0f-debugsource-3.09b-10.fc33.riscv64 Provides: p0f-debugsource = 3.09b-10.fc33 p0f-debugsource(riscv-64) = 3.09b-10.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: p0f-debuginfo-3.09b-10.fc33.riscv64 Provides: debuginfo(build-id) = 2df094cebf0ea431a9aac25cb17d0dd348973907 debuginfo(build-id) = 50cb5fccef8087f700f3370326da092bbf45875e debuginfo(build-id) = 8fa5011c14a7cc44a1737cab763efc0fbf390f24 debuginfo(build-id) = f5ef229e9ab84ff2f704d9fb982abfd5eef886bd p0f-debuginfo = 3.09b-10.fc33 p0f-debuginfo(riscv-64) = 3.09b-10.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: p0f-debugsource(riscv-64) = 3.09b-10.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64 Wrote: /builddir/build/RPMS/p0f-3.09b-10.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/p0f-debugsource-3.09b-10.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/p0f-debuginfo-3.09b-10.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oHAGNh + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + /usr/bin/rm -rf /builddir/build/BUILDROOT/p0f-3.09b-10.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0