Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/linuxptp.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-313258-67288/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=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/linuxptp.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/linuxptp-3.1.1-3.an8.2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/linuxptp.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-313258-67288/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=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/linuxptp.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ep1wyO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf linuxptp-3.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/linuxptp-3.1.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd linuxptp-3.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/linuxptp-testsuite-c66922.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /builddir/build/SOURCES/clknetsim-ce3c4a.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (linuxptp-logmsgs.patch):' Patch #1 (linuxptp-logmsgs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .logmsgs --fuzz=0 patching file clock.c Hunk #1 succeeded at 698 (offset -7 lines). Hunk #2 succeeded at 1850 (offset -90 lines). Hunk #3 succeeded at 1860 (offset -90 lines). patching file port.c Hunk #1 succeeded at 2506 (offset -30 lines). Patch #2 (linuxptp-classthreshold.patch): + echo 'Patch #2 (linuxptp-classthreshold.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .classthreshold --fuzz=0 patching file clock.c Hunk #1 succeeded at 113 (offset -1 lines). Hunk #2 succeeded at 972 (offset -7 lines). Hunk #3 succeeded at 1658 (offset -55 lines). patching file clock.h patching file config.c Hunk #1 succeeded at 230 (offset -1 lines). patching file configs/default.cfg patching file ds.h patching file port.c Hunk #1 succeeded at 1861 (offset -9 lines). patching file ptp4l.8 Hunk #1 succeeded at 451 (offset -4 lines). Patch #3 (linuxptp-deftxtout.patch): + echo 'Patch #3 (linuxptp-deftxtout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .deftxtout --fuzz=0 patching file config.c Hunk #1 succeeded at 320 (offset -4 lines). patching file configs/default.cfg patching file ptp4l.8 Hunk #1 succeeded at 488 (offset -8 lines). Patch #4 (linuxptp-ucastrate.patch): + echo 'Patch #4 (linuxptp-ucastrate.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ucastrate --fuzz=0 patching file unicast_service.c Patch #5 (linuxptp-udsro.patch): + echo 'Patch #5 (linuxptp-udsro.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .udsro --fuzz=0 patching file port.c patching file clock.c Hunk #1 succeeded at 1426 (offset 3 lines). patching file clock.c Hunk #2 succeeded at 130 (offset 1 line). Hunk #3 succeeded at 246 (offset 1 line). Hunk #4 succeeded at 268 (offset 1 line). Hunk #5 succeeded at 443 (offset 1 line). Hunk #6 succeeded at 786 (offset 2 lines). Hunk #7 succeeded at 1047 (offset 3 lines). Hunk #8 succeeded at 1183 (offset 3 lines). Hunk #9 succeeded at 1210 (offset 3 lines). Hunk #10 succeeded at 1318 (offset 3 lines). Hunk #11 succeeded at 1335 (offset 3 lines). Hunk #12 succeeded at 1366 (offset 3 lines). Hunk #13 succeeded at 1418 (offset 3 lines). Hunk #14 succeeded at 1427 (offset 3 lines). Hunk #15 succeeded at 1439 (offset 3 lines). Hunk #16 succeeded at 1504 (offset 3 lines). Hunk #17 succeeded at 1608 (offset 3 lines). patching file clock.c Hunk #2 succeeded at 132 (offset 1 line). Hunk #3 succeeded at 271 (offset 1 line). Hunk #4 succeeded at 448 (offset 1 line). Hunk #5 succeeded at 780 (offset 2 lines). Hunk #6 succeeded at 828 (offset 2 lines). Hunk #7 succeeded at 1054 (offset 3 lines). Hunk #8 succeeded at 1074 (offset 3 lines). Hunk #9 succeeded at 1210 (offset 3 lines). Hunk #10 succeeded at 1246 (offset 3 lines). Hunk #11 succeeded at 1317 (offset 3 lines). Hunk #12 succeeded at 1355 (offset 3 lines). Hunk #13 succeeded at 1372 (offset 3 lines). Hunk #14 succeeded at 1458 (offset 3 lines). Hunk #15 succeeded at 1467 (offset 3 lines). Hunk #16 succeeded at 1479 (offset 3 lines). Hunk #17 succeeded at 1590 (offset 3 lines). Hunk #18 succeeded at 1644 (offset 3 lines). Hunk #19 succeeded at 1653 (offset 3 lines). patching file config.c Hunk #1 succeeded at 324 (offset 1 line). patching file configs/default.cfg Hunk #1 succeeded at 91 (offset 1 line). patching file ptp4l.8 Hunk #1 succeeded at 620 (offset 5 lines). patching file timemaster.c Patch #7 (linuxptp-manfix.patch): + echo 'Patch #7 (linuxptp-manfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manfix --fuzz=0 patching file ptp4l.8 Hunk #1 succeeded at 771 (offset -17 lines). Patch #8 (linuxptp-fclose.patch): + echo 'Patch #8 (linuxptp-fclose.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fclose --fuzz=0 patching file lstab.c Patch #9 (linuxptp-zerolength.patch): + echo 'Patch #9 (linuxptp-zerolength.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .zerolength --fuzz=0 patching file sk.c Patch #10 (linuxptp-clockcheck.patch): + echo 'Patch #10 (linuxptp-clockcheck.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .clockcheck --fuzz=0 patching file clock.c Hunk #1 succeeded at 1909 (offset -31 lines). patching file clock.c Hunk #1 succeeded at 1911 (offset -31 lines). patching file clockcheck.c patching file clockcheck.h patching file port.c Hunk #1 succeeded at 2731 (offset -18 lines). patching file port.c Hunk #1 succeeded at 1805 (offset -6 lines). patching file clockcheck.c Patch #11 (linuxptp-phcerr.patch): + echo 'Patch #11 (linuxptp-phcerr.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .phcerr --fuzz=0 patching file clockadj.c patching file clockadj.h patching file phc2sys.c patching file clockadj.c patching file clockadj.h patching file sysoff.c patching file sysoff.h patching file sysoff.c patching file sysoff.c patching file phc2sys.c Patch #17 (linuxptp-faultrearm.patch): + echo 'Patch #17 (linuxptp-faultrearm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .faultrearm --fuzz=0 patching file clock.c Hunk #1 succeeded at 1585 (offset -1 lines). Hunk #2 succeeded at 1609 (offset -1 lines). Hunk #3 succeeded at 1625 (offset -1 lines). Patch #18 (linuxptp-soerror.patch): + echo 'Patch #18 (linuxptp-soerror.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .soerror --fuzz=0 patching file clock.c patching file sk.c Hunk #1 succeeded at 410 (offset -3 lines). patching file sk.h + mv linuxptp-testsuite-c66922b5f88b6c9ac5b0f2c70c9d6acd94886042 testsuite + mv clknetsim-ce3c4a7583bf89d6a30093237f15d548d0781257 testsuite/clknetsim + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KmIiGb + umask 022 + cd /builddir/build/BUILD + cd linuxptp-3.1.1 + make -j80 'EXTRA_CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'EXTRA_LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'