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/libtermkey.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42616-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/libtermkey.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/libtermkey-0.22-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/libtermkey.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42616-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/libtermkey.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.mAWJBP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtermkey-0.22 + /usr/bin/gzip -dc /builddir/build/SOURCES/libtermkey-0.22.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtermkey-0.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-build-take-into-account-CFLAGS-LDFLAGS-for-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/0002-include-stdlib.h-for-putenv.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AFYVWP + umask 022 + cd /builddir/build/BUILD + cd libtermkey-0.22 + CFLAGS='%{__global_cflags}' + LDFLAGS='%{__global_ldflags}' + /usr/bin/make -O -j32 V=1 VERBOSE=1 libtool --mode=compile --tag=CC cc %{__global_cflags} -Wall -std=c99 -DHAVE_UNIBILIUM -o driver-csi.lo -c driver-csi.c libtool: compile: cc "%{__global_cflags}" -Wall -std=c99 -DHAVE_UNIBILIUM -c driver-csi.c -fPIC -DPIC -o .libs/driver-csi.o cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [Makefile:70: driver-csi.lo] Error 1 make: *** Waiting for unfinished jobs.... libtool --mode=compile --tag=CC cc %{__global_cflags} -Wall -std=c99 -DHAVE_UNIBILIUM -o driver-ti.lo -c driver-ti.c libtool: compile: cc "%{__global_cflags}" -Wall -std=c99 -DHAVE_UNIBILIUM -c driver-ti.c -fPIC -DPIC -o .libs/driver-ti.o cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [Makefile:70: driver-ti.lo] Error 1 libtool --mode=compile --tag=CC cc %{__global_cflags} -Wall -std=c99 -DHAVE_UNIBILIUM -o demo.lo -c demo.c libtool: compile: cc "%{__global_cflags}" -Wall -std=c99 -DHAVE_UNIBILIUM -c demo.c -fPIC -DPIC -o .libs/demo.o cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [Makefile:70: demo.lo] Error 1 libtool --mode=compile --tag=CC cc %{__global_cflags} -Wall -std=c99 -DHAVE_UNIBILIUM -o termkey.lo -c termkey.c libtool: compile: cc "%{__global_cflags}" -Wall -std=c99 -DHAVE_UNIBILIUM -c termkey.c -fPIC -DPIC -o .libs/termkey.o cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [Makefile:70: termkey.lo] Error 1 libtool --mode=compile --tag=CC cc %{__global_cflags} -Wall -std=c99 -DHAVE_UNIBILIUM -o demo-async.lo -c demo-async.c libtool: compile: cc "%{__global_cflags}" -Wall -std=c99 -DHAVE_UNIBILIUM -c demo-async.c -fPIC -DPIC -o .libs/demo-async.o cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [Makefile:70: demo-async.lo] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.AFYVWP (%build) Bad exit status from /var/tmp/rpm-tmp.AFYVWP (%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/libtermkey.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/libtermkey.spec