Mock Version: 1.2.18 Mock Version: 1.2.18 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/p0f.spec'], logger=gid=425uid=1000chrootPath='/var/lib/mock/epel7-build-6316432-631422/root'user='mockbuild'shell=Falsetimeout=172800printOutput=Falseenv={'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64 --nodeps /builddir/build/SPECS/p0f.spec'] with env {'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '} and shell False warning: Could not canonicalize hostname: buildppc-04.phx2.fedoraproject.org Building target platforms: ppc64 Building for target ppc64 Wrote: /builddir/build/SRPMS/p0f-3.09b-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/p0f.spec'], logger=gid=425uid=1000private_network=TruechrootPath='/var/lib/mock/epel7-build-6316432-631422/root'user='mockbuild'shell=Falsetimeout=172800printOutput=Falseenv={'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64 --nodeps /builddir/build/SPECS/p0f.spec'] with env {'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: ppc64 Building for target ppc64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hLsOjX + 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/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/p0f-3.06b-compiler.patch patching file build.sh + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gx30ZF + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power7 -mtune=power7 -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 -mcpu=power7 -mtune=power7 -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 -mcpu=power7 -mtune=power7 -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power7 -mtune=power7 -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 -mcpu=power7 -mtune=power7 -DFP_FILE="/etc/p0f/p0f.fp" -O2' + rm -f COMPILER-WARNINGS [*] Checking for a sane build environment... + echo -n '[*] Checking for a sane build environment... ' + grep -q '^d.......w' + ls -ld ./ + TMP=.build-12941 + rm -f .build-12941 + '[' -f .build-12941 ']' + touch .build-12941 + '[' '!' -f .build-12941 ']' OK [*] Checking for working GCC... + '[' '!' -s p0f.c ']' + echo OK + echo -n '[*] Checking for working GCC... ' + rm -f .build-12941 + 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 -mcpu=power7 -mtune=power7 '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 .build-12941.c -o .build-12941 + '[' '!' -x .build-12941 ']' OK [*] Checking for *modern* GCC... + echo OK + echo -n '[*] Checking for *modern* GCC... ' + rm -f .build-12941 .build-12941.c .build-12941.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 -mcpu=power7 -mtune=power7 '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-12941.c -o .build-12941 + '[' '!' -x .build-12941 ']' + echo OK + echo -n '[*] Checking if memory alignment is required... ' OK [*] Checking if memory alignment is required... + rm -f .build-12941 .build-12941.c .build-12941.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 -mcpu=power7 -mtune=power7 '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-12941.c -o .build-12941 + '[' '!' -x .build-12941 ']' + ulimit -c 0 + ./.build-12941 nope [*] Checking for working libpcap... + '[' 0 = 0 ']' + echo nope + echo -n '[*] Checking for working libpcap... ' + rm -f .build-12941 .build-12941.c .build-12941.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 -mcpu=power7 -mtune=power7 '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-12941.c -o .build-12941 -lpcap + '[' '!' -x .build-12941 ']' + echo OK + echo -n '[*] Checking for working BPF... ' OK [*] Checking for working BPF... + rm -f .build-12941 .build-12941.c .build-12941.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 -mcpu=power7 -mtune=power7 '-DFP_FILE="/etc/p0f/p0f.fp"' -O2 -Wl,-z,relro -pie .build-12941.c -o .build-12941 -lpcap OK + '[' '!' -x .build-12941 ']' + echo OK + rm -f .build-12941 .build-12941.log .build-12941.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 -m64 -mcpu=power7 -mtune=power7 '-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-12941.log ']' OK (see COMPILER-WARNINGS) + echo 'OK (see COMPILER-WARNINGS)' + mv .build-12941.log COMPILER-WARNINGS + test all = debug Well, that's it. Be sure to review README. If you run into any problems, you can reach the author at . + 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LVbsLq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64 ++ dirname /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64 + cd p0f-3.09b + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/usr/sbin + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/etc/p0f + /usr/bin/cp p0f /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/usr/sbin + /usr/bin/cp p0f.fp /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/etc/p0f + cd tools + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power7 -mtune=power7' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power7 -mtune=power7 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 -mcpu=power7 -mtune=power7 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 -mcpu=power7 -mtune=power7 p0f-sendsyn6.c -o p0f-sendsyn6 + /usr/bin/cp p0f-client p0f-sendsyn p0f-sendsyn6 /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/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.ppc64/usr/sbin/p0f extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/usr/sbin/p0f-sendsyn extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/usr/sbin/p0f-sendsyn6 extracting debug info from /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/usr/sbin/p0f-client /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.ppc64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gGVkrc + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + DOCDIR=/builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/usr/share/doc/p0f-3.09b + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/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.ppc64/usr/share/doc/p0f-3.09b + cp -pr tools/README-TOOLS /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64/usr/share/doc/p0f-3.09b + exit 0 Provides: config(p0f) = 3.09b-1.el7 p0f = 3.09b-1.el7 p0f(ppc-64) = 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()(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-1.el7.ppc64 Provides: p0f-debuginfo = 3.09b-1.el7 p0f-debuginfo(ppc-64) = 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.ppc64 warning: Could not canonicalize hostname: buildppc-04.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/p0f-3.09b-1.el7.ppc64.rpm Wrote: /builddir/build/RPMS/p0f-debuginfo-3.09b-1.el7.ppc64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FVTuNv + umask 022 + cd /builddir/build/BUILD + cd p0f-3.09b + rm -rf /builddir/build/BUILDROOT/p0f-3.09b-1.el7.ppc64 + exit 0 Child return code was: 0