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/blktrace.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40747-14590/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/blktrace.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/blktrace-1.3.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/blktrace.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40747-14590/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/blktrace.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.BgQ1rd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf blktrace-1.3.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/blktrace-1.3.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd blktrace-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pathfix.py -i /usr/bin/python3 -pn btt/bno_plot.py btt/btt_plot.py btt/bno_plot.py: updating btt/btt_plot.py: updating + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8b1LJS + umask 022 + cd /builddir/build/BUILD + cd blktrace-1.3.0 + /usr/bin/make -O -j32 V=1 VERBOSE=1 'CFLAGS=-O2 -g %{build_ldflags}' all gcc -o act_mask.o -c -O2 -g %{build_ldflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 act_mask.c gcc: warning: %{build_ldflags}: linker input file unused because linking not done gcc: error: %{build_ldflags}: linker input file not found: No such file or directory make: *** [Makefile:22: act_mask.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -o verify_blkparse.o -c -O2 -g %{build_ldflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 verify_blkparse.c gcc: warning: %{build_ldflags}: linker input file unused because linking not done gcc: error: %{build_ldflags}: linker input file not found: No such file or directory make: *** [Makefile:22: verify_blkparse.o] Error 1 gcc -o rbtree.o -c -O2 -g %{build_ldflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 rbtree.c gcc: warning: %{build_ldflags}: linker input file unused because linking not done gcc: error: %{build_ldflags}: linker input file not found: No such file or directory make: *** [Makefile:22: rbtree.o] Error 1 gcc: warning: %{build_ldflags}: linker input file unused because linking not done gcc: error: %{build_ldflags}: linker input file not found: No such file or directory make: *** [Makefile:52: depend] Error 1 gcc -o blkrawverify.o -c -O2 -g %{build_ldflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blkrawverify.c gcc: warning: %{build_ldflags}: linker input file unused because linking not done gcc: error: %{build_ldflags}: linker input file not found: No such file or directory make: *** [Makefile:22: blkrawverify.o] Error 1 gcc -o blkparse_fmt.o -c -O2 -g %{build_ldflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blkparse_fmt.c gcc: warning: %{build_ldflags}: linker input file unused because linking not done gcc: error: %{build_ldflags}: linker input file not found: No such file or directory make: *** [Makefile:22: blkparse_fmt.o] Error 1 gcc -o blkiomon.o -c -O2 -g %{build_ldflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blkiomon.c gcc: warning: %{build_ldflags}: linker input file unused because linking not done gcc: error: %{build_ldflags}: linker input file not found: No such file or directory make: *** [Makefile:22: blkiomon.o] Error 1 gcc -o blktrace.o -c -O2 -g %{build_ldflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blktrace.c gcc: warning: %{build_ldflags}: linker input file unused because linking not done gcc: error: %{build_ldflags}: linker input file not found: No such file or directory make: *** [Makefile:22: blktrace.o] Error 1 gcc -o blkparse.o -c -O2 -g %{build_ldflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 blkparse.c gcc: warning: %{build_ldflags}: linker input file unused because linking not done gcc: error: %{build_ldflags}: linker input file not found: No such file or directory make: *** [Makefile:22: blkparse.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.8b1LJS (%build) Bad exit status from /var/tmp/rpm-tmp.8b1LJS (%build) RPM build errors: 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/blktrace.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/blktrace.spec