Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/p0f.spec'], printOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-13247/root'shell=Falsetimeout=0gid=135user='mockbuild'env={'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/p0f.spec'] with env {'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False warning: Could not canonicalize hostname: copr-builder-39542967.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/p0f-3.09b-3.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/p0f.spec'], printOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-13247/root'shell=Falsetimeout=0gid=135private_network=Trueuser='mockbuild'env={'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/p0f.spec'] with env {'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O7Thrg + 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 -xf - + 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/cat /builddir/build/SOURCES/p0f-3.06b-compiler.patch + /usr/bin/patch -p1 --fuzz=0 patching file build.sh + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WOViBA + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + make -j2 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFP_FILE="/etc/p0f/p0f.fp"' + PROGNAME=p0f + VERSION=3.09b + test '' = '' + CC=gcc + BASIC_CFLAGS='-Wall -Werror=format-security -DVERSION="3.09b" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFP_FILE="/etc/p0f/p0f.fp"' + BASIC_LDFLAGS= + USE_CFLAGS='-fPIE -g -ggdb -Wall -Werror=format-security -DVERSION="3.09b" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFP_FILE="/etc/p0f/p0f.fp"' + USE_LDFLAGS='-Wl,-z,relro -pie ' + '[' linux-gnu = cygwin ']' + '[' 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!' Welcome to the build script for p0f 3.09b! + echo 'Copyright (C) 2012 by Michal Zalewski ' Copyright (C) 2012 by Michal Zalewski + echo + '[' 1 -gt 1 ']' + '[' all = clean -o all = publish ']' + '[' all = all -o all = '' ']' + echo '[+] Configuring production build.' [+] Configuring production build. + BASIC_CFLAGS='-Wall -Werror=format-security -DVERSION="3.09b" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DFP_FILE="/etc/p0f/p0f.fp" -O2' + USE_CFLAGS='-fPIE -g -ggdb -Wall -Werror=format-security -DVERSION="3.09b" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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-13899 + rm -f .build-13899 + '[' -f .build-13899 ']' + touch .build-13899 + '[' '!' -f .build-13899 ']' + '[' '!' -s p0f.c ']' + echo OK OK + echo -n '[*] Checking for working GCC... ' [*] Checking for working GCC... + rm -f .build-13899 + echo 'int main() { return 0; }' + gcc -Wall -Werror=format-security '-DVERSION="3.09b"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 .build-13899.c -o .build-13899 + '[' '!' -x .build-13899 ']' + echo OK OK + echo -n '[*] Checking for *modern* GCC... ' [*] Checking for *modern* GCC... + rm -f .build-13899 .build-13899.c .build-13899.log + echo 'int main() { return 0; }' + gcc -fPIE -g -ggdb -Wall -Werror=format-security '-DVERSION="3.09b"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-13899.c -o .build-13899 + '[' '!' -x .build-13899 ']' + echo OK OK + echo -n '[*] Checking if memory alignment is required... ' [*] Checking if memory alignment is required... + rm -f .build-13899 .build-13899.c .build-13899.log + 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-13899.c -o .build-13899 + '[' '!' -x .build-13899 ']' + ulimit -c 0 + ./.build-13899 + '[' 0 = 0 ']' + echo nope nope + echo -n '[*] Checking for working libpcap... ' [*] Checking for working libpcap... + rm -f .build-13899 .build-13899.c .build-13899.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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-13899.c -o .build-13899 -lpcap + '[' '!' -x .build-13899 ']' + echo OK OK + echo -n '[*] Checking for working BPF... ' [*] Checking for working BPF... + rm -f .build-13899 .build-13899.c .build-13899.log + echo -e '#include \n#include \nint main() { return 0; }' + gcc -fPIE -g -ggdb -Wall -Werror=format-security '-DVERSION="3.09b"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-13899.c -o .build-13899 -lpcap + '[' '!' -x .build-13899 ']' + echo OK OK + rm -f .build-13899 .build-13899.log .build-13899.c + echo '[+] Okay, you seem to be good to go. Fingers crossed!' [+] Okay, you seem to be good to go. Fingers crossed! + echo -n '[*] Compiling p0f... ' [*] Compiling p0f... + rm -f p0f + gcc -fPIE -g -ggdb -Wall -Werror=format-security '-DVERSION="3.09b"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic '-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 ']' + '[' -s .build-13899.log ']' + echo 'OK (see COMPILER-WARNINGS)' OK (see COMPILER-WARNINGS) + mv .build-13899.log COMPILER-WARNINGS + test all = debug + echo + echo 'Well, that'\''s it. Be sure to review README. If you run into any problems, you' Well, that's it. Be sure to review README. If you run into any problems, you + echo 'can reach the author at .' can reach the author at . + echo + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6uLUx1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64 + cd p0f-3.09b + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/sbin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/etc/p0f + /usr/bin/cp p0f /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/sbin + /usr/bin/cp p0f.fp /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/etc/p0f + cd tools + make -j2 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic p0f-client.c -o p0f-client gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic p0f-sendsyn.c -o p0f-sendsyn gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic p0f-sendsyn6.c -o p0f-sendsyn6 + /usr/bin/cp p0f-client p0f-sendsyn p0f-sendsyn6 /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/sbin + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/p0f-3.09b extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/sbin/p0f-sendsyn6 extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/sbin/p0f-sendsyn extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/sbin/p0f-client extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/sbin/p0f /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 407 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: p0f-3.09b-3.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oduZQt + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + DOCDIR=/builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/share/doc/p0f-3.09b + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/share/doc/p0f-3.09b + cp -pr docs/COPYING docs/ChangeLog docs/README docs/TODO docs/existential-notes.txt docs/extra-sigs.txt /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/share/doc/p0f-3.09b + cp -pr tools/README-TOOLS /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64/usr/share/doc/p0f-3.09b + exit 0 Provides: config(p0f) = 3.09b-3.el7.centos p0f = 3.09b-3.el7.centos p0f(x86-64) = 3.09b-3.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: p0f-debuginfo-3.09b-3.el7.centos.x86_64 Provides: p0f-debuginfo = 3.09b-3.el7.centos p0f-debuginfo(x86-64) = 3.09b-3.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-39542967.novalocal Wrote: /builddir/build/RPMS/p0f-3.09b-3.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/p0f-debuginfo-3.09b-3.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CZY2JR + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-3.el7.centos.x86_64 + exit 0 Child return code was: 0