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/varstored-1.0.0-2.xcpng8.3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/varstored.spec'], chrootPath='/var/lib/mock/v8.3-base-4062-3965/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/varstored.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.USQBZT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf varstored-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/varstored-1.0.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd varstored-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qLUdBK + umask 022 + cd /builddir/build/BUILD + cd varstored-1.0.0 + make -j8 varstored tools PK.auth create-auth gcc -o guid.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.guid.o.d -MT ./guid.o -c guid.c gcc -o depriv.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.depriv.o.d -MT ./depriv.o -c depriv.c gcc -o handler.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.handler.o.d -MT ./handler.o -c handler.c /bin/sh: gcc: command not found gcc -o io_port.o -I/builddir/build/BUILD/varstored-1.0.0/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE $(pkg-config --cflags libxml-2.0) -g -O2 -std=gnu99 -Wall -Wstrict-prototypes -Wold-style-declaration -Wmissing-prototypes -Wunused -Wp,-MD,./.io_port.o.d -MT ./io_port.o -c io_port.c make: *** [guid.o] Error 127 make: *** Waiting for unfinished jobs.... /bin/sh: gcc: command not found make: *** [depriv.o] Error 127 /bin/sh: gcc: command not found make: *** [handler.o] Error 127 /bin/sh: gcc: command not found make: *** [io_port.o] Error 127 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.qLUdBK (%build) Bad exit status from /var/tmp/rpm-tmp.qLUdBK (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/varstored.spec