Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtracecmd.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42663-14591/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=991gid=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/libtracecmd.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/libtracecmd-1.2.0-3.oc9.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/libtracecmd.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42663-14591/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=991gid=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/libtracecmd.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.Z0ujJZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf trace-cmd-libtracecmd-1.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/trace-cmd-libtracecmd-1.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd trace-cmd-libtracecmd-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.b54CI0 + umask 022 + cd /builddir/build/BUILD + cd trace-cmd-libtracecmd-1.2.0 ++ rpm -ql docbook-style-xsl ++ grep manpages/docbook.xsl + MANPAGE_DOCBOOK_XSL=/usr/share/sgml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl + CFLAGS='-O2 -g -D_GNU_SOURCE' + LDFLAGS='%{build_ldflags}' + BUILD_TYPE=Release + make V=9999999999 MANPAGE_DOCBOOK_XSL=/usr/share/sgml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl prefix=/usr libdir=/usr/lib64 -j32 PYTHON_VERS=python3 libs doc Have zlib compression support Have ZSTD compression support COMPILE FPIC trace-filter-hash.o COMPILE FPIC trace-filter.o COMPILE FPIC trace-hash.o COMPILE FPIC trace-maps.o COMPILE FPIC trace-perf.o COMPILE FPIC trace-hooks.o COMPILE FPIC trace-output.o COMPILE FPIC trace-recorder.o COMPILE FPIC trace-util.o COMPILE FPIC trace-input.o COMPILE FPIC trace-timesync-kvm.o COMPILE FPIC trace-compress.o COMPILE FPIC trace-compress-zstd.o COMPILE FPIC trace-compress-zlib.o COMPILE FPIC trace-blk-hack.o COMPILE FPIC trace-ftrace.o COMPILE FPIC trace-msg.o COMPILE FPIC trace-plugin.o COMPILE FPIC trace-timesync.o COMPILE FPIC trace-timesync-ptp.o UPDATE build_prefix UPDATE ltc_version.h make -C /builddir/build/BUILD/trace-cmd-libtracecmd-1.2.0/Documentation all BUILD libtracecmd.pc make -C trace-cmd all make -C libtracecmd all make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. ASCIIDOC trace-cmd-agent.1.html ASCIIDOC libtracecmd-files.html ASCIIDOC trace-cmd-check-events.1.html ASCIIDOC libtracecmd-instances.html ASCIIDOC trace-cmd-clear.1.html ASCIIDOC libtracecmd-iterate.html ASCIIDOC trace-cmd-convert.1.html ASCIIDOC libtracecmd-log.html COMPILE SHARED LIB libtracecmd.so.1.2.0 /usr/bin/ld: cannot find %{build_ldflags}: No such file or directory collect2: error: ld returned 1 exit status make[1]: *** [Makefile:69: /builddir/build/BUILD/trace-cmd-libtracecmd-1.2.0/lib/trace-cmd/libtracecmd.so.1.2.0] Error 1 make: *** [Makefile:411: /builddir/build/BUILD/trace-cmd-libtracecmd-1.2.0/lib/trace-cmd/libtracecmd.so.1.2.0] Error 2 make: *** Waiting for unfinished jobs.... ASCIIDOC trace-cmd-dump.1.html ASCIIDOC libtracecmd-maps.html ASCIIDOC trace-cmd-extract.1.html ASCIIDOC libtracecmd-peer.html ASCIIDOC trace-cmd-hist.1.html ASCIIDOC libtracecmd-record.html ASCIIDOC trace-cmd-list.1.html ASCIIDOC libtracecmd-timestamp.html ASCIIDOC trace-cmd-listen.1.html ASCIIDOC libtracecmd.html ASCIIDOC trace-cmd-mem.1.html ASCIIDOC trace-cmd-options.1.html ASCIIDOC libtracecmd-files.xml ASCIIDOC trace-cmd-profile.1.html XMLTO libtracecmd-files.m ASCIIDOC trace-cmd-record.1.html ASCIIDOC libtracecmd-instances.xml XMLTO libtracecmd-instances.m ASCIIDOC trace-cmd-report.1.html ASCIIDOC libtracecmd-iterate.xml XMLTO libtracecmd-iterate.m ASCIIDOC trace-cmd-reset.1.html ASCIIDOC trace-cmd-restore.1.html ASCIIDOC libtracecmd-log.xml ASCIIDOC trace-cmd-set.1.html XMLTO libtracecmd-log.m ASCIIDOC trace-cmd-show.1.html ASCIIDOC libtracecmd-maps.xml ASCIIDOC trace-cmd-snapshot.1.html XMLTO libtracecmd-maps.m ASCIIDOC trace-cmd-split.1.html ASCIIDOC trace-cmd-stack.1.html ASCIIDOC libtracecmd-peer.xml ASCIIDOC trace-cmd-start.1.html XMLTO libtracecmd-peer.m ASCIIDOC trace-cmd-stat.1.html ASCIIDOC libtracecmd-record.xml ASCIIDOC trace-cmd-stop.1.html XMLTO libtracecmd-record.m ASCIIDOC trace-cmd-stream.1.html ASCIIDOC trace-cmd.1.html ASCIIDOC libtracecmd-timestamp.xml ASCIIDOC trace-cmd.dat.v6.5.html XMLTO libtracecmd-timestamp.m ASCIIDOC trace-cmd.dat.v7.5.html ASCIIDOC libtracecmd.xml ASCIIDOC trace-cmd-agent.1.xml XMLTO libtracecmd.m XMLTO trace-cmd-agent.1 rm libtracecmd.xml libtracecmd-instances.xml libtracecmd-files.xml libtracecmd-timestamp.xml libtracecmd-peer.xml libtracecmd-log.xml libtracecmd-iterate.xml libtracecmd-record.xml libtracecmd-maps.xml ASCIIDOC trace-cmd-check-events.1.xml XMLTO trace-cmd-check-events.1 ASCIIDOC trace-cmd-clear.1.xml XMLTO trace-cmd-clear.1 ASCIIDOC trace-cmd-convert.1.xml XMLTO trace-cmd-convert.1 ASCIIDOC trace-cmd-dump.1.xml XMLTO trace-cmd-dump.1 ASCIIDOC trace-cmd-extract.1.xml XMLTO trace-cmd-extract.1 ASCIIDOC trace-cmd-hist.1.xml XMLTO trace-cmd-hist.1 ASCIIDOC trace-cmd-list.1.xml XMLTO trace-cmd-list.1 ASCIIDOC trace-cmd-listen.1.xml XMLTO trace-cmd-listen.1 ASCIIDOC trace-cmd-mem.1.xml XMLTO trace-cmd-mem.1 ASCIIDOC trace-cmd-options.1.xml XMLTO trace-cmd-options.1 ASCIIDOC trace-cmd-profile.1.xml XMLTO trace-cmd-profile.1 ASCIIDOC trace-cmd-record.1.xml XMLTO trace-cmd-record.1 ASCIIDOC trace-cmd-report.1.xml XMLTO trace-cmd-report.1 ASCIIDOC trace-cmd-reset.1.xml XMLTO trace-cmd-reset.1 ASCIIDOC trace-cmd-restore.1.xml XMLTO trace-cmd-restore.1 ASCIIDOC trace-cmd-set.1.xml XMLTO trace-cmd-set.1 ASCIIDOC trace-cmd-show.1.xml XMLTO trace-cmd-show.1 ASCIIDOC trace-cmd-snapshot.1.xml XMLTO trace-cmd-snapshot.1 ASCIIDOC trace-cmd-split.1.xml XMLTO trace-cmd-split.1 ASCIIDOC trace-cmd-stack.1.xml XMLTO trace-cmd-stack.1 ASCIIDOC trace-cmd-start.1.xml XMLTO trace-cmd-start.1 ASCIIDOC trace-cmd-stat.1.xml XMLTO trace-cmd-stat.1 ASCIIDOC trace-cmd-stop.1.xml XMLTO trace-cmd-stop.1 ASCIIDOC trace-cmd-stream.1.xml XMLTO trace-cmd-stream.1 ASCIIDOC trace-cmd.1.xml XMLTO trace-cmd.1 ASCIIDOC trace-cmd.dat.v6.5.xml XMLTO trace-cmd.dat.v6.5 ASCIIDOC trace-cmd.dat.v7.5.xml XMLTO trace-cmd.dat.v7.5 rm trace-cmd-start.1.xml trace-cmd-check-events.1.xml trace-cmd-convert.1.xml trace-cmd.dat.v6.5.xml trace-cmd-agent.1.xml trace-cmd-clear.1.xml trace-cmd-stack.1.xml trace-cmd-options.1.xml trace-cmd-record.1.xml trace-cmd-stop.1.xml trace-cmd-listen.1.xml trace-cmd-dump.1.xml trace-cmd-profile.1.xml trace-cmd-show.1.xml trace-cmd-reset.1.xml trace-cmd-extract.1.xml trace-cmd-split.1.xml trace-cmd.1.xml trace-cmd.dat.v7.5.xml trace-cmd-hist.1.xml trace-cmd-snapshot.1.xml trace-cmd-stream.1.xml trace-cmd-set.1.xml trace-cmd-report.1.xml trace-cmd-list.1.xml trace-cmd-mem.1.xml trace-cmd-stat.1.xml trace-cmd-restore.1.xml RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.b54CI0 (%build) Bad exit status from /var/tmp/rpm-tmp.b54CI0 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtracecmd.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libtracecmd.spec