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/hwinfo.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41660-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f9013cae8d0>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/hwinfo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/hwinfo-21.82-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/hwinfo.spec'], chrootPath='/var/lib/mock/dist-oc9-build-41660-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f9013cae8d0>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/hwinfo.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.Z01ZKH
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf hwinfo-21.82
+ /usr/bin/gzip -dc /builddir/build/SOURCES/hwinfo-21.82.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd hwinfo-21.82
+ /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.7LfYve
+ umask 022
+ cd /builddir/build/BUILD
+ cd hwinfo-21.82
+ make 'LDFLAGS=%{__global_ldflags} -Lsrc' LIBDIR=/usr/lib64 HWINFO_VERSION=21.82
cc: warning: %{__global_ldflags}: linker input file unused because linking not done
cc: error: %{__global_ldflags}: linker input file not found: No such file or directory
make[1]: Entering directory '/builddir/build/BUILD/hwinfo-21.82/src'
make[2]: Entering directory '/builddir/build/BUILD/hwinfo-21.82/src/hd'
cc: warning: %{__global_ldflags}: linker input file unused because linking not done
cc: error: %{__global_ldflags}: linker input file not found: No such file or directory
cc -c -O2 -g -Wall -Wno-pointer-sign -pipe -g   -I/builddir/build/BUILD/hwinfo-21.82/src/hd -O2 -g -Wall -Wno-pointer-sign -pipe -g -fPIC  -I../src/hd -O2 -g -Wall -Wno-pointer-sign -pipe -g -fPIC  -I../../src/hd  %{__global_ldflags} -Lsrc bios.c
cc: warning: %{__global_ldflags}: linker input file unused because linking not done
cc: error: %{__global_ldflags}: linker input file not found: No such file or directory
make[2]: Leaving directory '/builddir/build/BUILD/hwinfo-21.82/src/hd'
make[2]: *** [../../Makefile.common:44: bios.o] Error 1
make[1]: *** [../Makefile.common:52: subdirs] Error 2
make[1]: Leaving directory '/builddir/build/BUILD/hwinfo-21.82/src'
make: *** [Makefile.common:52: subdirs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.7LfYve (%build)
    Bad exit status from /var/tmp/rpm-tmp.7LfYve (%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/hwinfo.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/hwinfo.spec