Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/p0f.spec'], nspawn_args=[]shell=Falseuid=1000env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd991635f63da4685a3533d4162137954', '-D', '/var/lib/mock/centos-7-epel-i386/root', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/p0f.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system warning: Could not canonicalize hostname: kvm.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/p0f-3.09b-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/p0f.spec'], nspawn_args=['--private-network']shell=Falseuid=1000env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5b05bf1ff4754812984fc82aca321124', '-D', '/var/lib/mock/centos-7-epel-i386/root', '--private-network', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/p0f.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z5GfSs + 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 . Patch #1 (p0f-3.06b-compiler.patch): + echo '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.vAoI1A + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + make -j6 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -DFP_FILE="/etc/p0f/p0f.fp"' + PROGNAME=p0f + VERSION=3.09b + test '' = '' + CC=gcc Welcome to the build script for p0f 3.09b! Copyright (C) 2012 by Michal Zalewski + 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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!' + 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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -DFP_FILE="/etc/p0f/p0f.fp" -O2' + rm -f COMPILER-WARNINGS [+] Configuring production build. [*] Checking for a sane build environment... + echo -n '[*] Checking for a sane build environment... ' + ls -ld ./ + grep -q '^d.......w' + TMP=.build-30 + rm -f .build-30 + '[' -f .build-30 ']' + touch .build-30 + '[' '!' -f .build-30 ']' + '[' '!' -s p0f.c ']' OK [*] Checking for working GCC... + echo OK + echo -n '[*] Checking for working GCC... ' + rm -f .build-30 + 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 .build-30.c -o .build-30 + '[' '!' -x .build-30 ']' + echo OK OK [*] Checking for *modern* GCC... + echo -n '[*] Checking for *modern* GCC... ' + rm -f .build-30 .build-30.c .build-30.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-30.c -o .build-30 OK [*] Checking if memory alignment is required... + '[' '!' -x .build-30 ']' + echo OK + echo -n '[*] Checking if memory alignment is required... ' + rm -f .build-30 .build-30.c .build-30.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-30.c -o .build-30 + '[' '!' -x .build-30 ']' + ulimit -c 0 + ./.build-30 + '[' 0 = 0 ']' + echo nope nope [*] Checking for working libpcap... + echo -n '[*] Checking for working libpcap... ' + rm -f .build-30 .build-30.c .build-30.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-30.c -o .build-30 -lpcap OK [*] Checking for working BPF... + '[' '!' -x .build-30 ']' + echo OK + echo -n '[*] Checking for working BPF... ' + rm -f .build-30 .build-30.c .build-30.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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-30.c -o .build-30 -lpcap + '[' '!' -x .build-30 ']' OK + echo OK + rm -f .build-30 .build-30.log .build-30.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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables '-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-30.log ']' + echo 'OK (see COMPILER-WARNINGS)' + mv .build-30.log COMPILER-WARNINGS 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 . + 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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MEQGy1 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386 ++ dirname /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386 + cd p0f-3.09b + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/usr/sbin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/etc/p0f + /usr/bin/cp p0f /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/usr/sbin + /usr/bin/cp p0f.fp /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/etc/p0f + cd tools + make -j6 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables p0f-sendsyn6.c -o p0f-sendsyn6 + /usr/bin/cp p0f-client p0f-sendsyn p0f-sendsyn6 /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/usr/sbin + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/p0f-3.09b extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/usr/sbin/p0f extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/usr/sbin/p0f-client extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/usr/sbin/p0f-sendsyn extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/usr/sbin/p0f-sendsyn6 /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-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6fS1Uy + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + DOCDIR=/builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/usr/share/doc/p0f-3.09b + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/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-1.el7.i386/usr/share/doc/p0f-3.09b + cp -pr tools/README-TOOLS /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386/usr/share/doc/p0f-3.09b + exit 0 Provides: config(p0f) = 3.09b-1.el7 p0f = 3.09b-1.el7 p0f(x86-32) = 3.09b-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libpcap.so.1 rtld(GNU_HASH) Processing files: p0f-debuginfo-3.09b-1.el7.i686 Provides: p0f-debuginfo = 3.09b-1.el7 p0f-debuginfo(x86-32) = 3.09b-1.el7 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-1.el7.i386 warning: Could not canonicalize hostname: kvm.centos.org Wrote: /builddir/build/RPMS/p0f-3.09b-1.el7.i686.rpm Wrote: /builddir/build/RPMS/p0f-debuginfo-3.09b-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GUNxSe + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-1.el7.i386 + exit 0 Child return code was: 0