Mock Version: 2.17 Mock Version: 2.17 Mock Version: 2.17 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/intel-igc.spec'], chrootPath='/var/lib/mock/v8.3-u-tescande1-6796-16049/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 -bs --target x86_64 --nodeps /builddir/build/SPECS/intel-igc.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/intel-igc-5.10.214-3.0.tescande.1.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/intel-igc.spec'], chrootPath='/var/lib/mock/v8.3-u-tescande1-6796-16049/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/intel-igc.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.R1LgBt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf intel-igc-5.10.214 + /usr/bin/gzip -dc /builddir/build/SOURCES/intel-igc.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd intel-igc-5.10.214 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Change-makefile-for-building-igc.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-Some-backports-from-higher-kernel-version.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-gettimex64-is-not-supported-until-kernel-v5.0.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-supported_coalesce_params-is-not-supported-until-ker.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0005-TAPRIO-was-not-supported-until-kernel-v5.18.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/1000-showversion.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/1001-i226.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6DPXN1 + umask 022 + cd /builddir/build/BUILD + cd intel-igc-5.10.214 ++ pwd + /usr/bin/make -j8 -C /lib/modules/4.19.0+1/build M=/builddir/build/BUILD/intel-igc-5.10.214 KSRC=/lib/modules/4.19.0+1/build modules ./scripts/gcc-version.sh: line 26: gcc: command not found ./scripts/gcc-version.sh: line 27: gcc: command not found make: Entering directory `/usr/src/kernels/4.19.0+1-x86_64' make: gcc: Command not found make: gcc: Command not found make: gcc: Command not found make: gcc: Command not found CC [M] /builddir/build/BUILD/intel-igc-5.10.214/igc_main.o /bin/sh: gcc: command not found CC [M] /builddir/build/BUILD/intel-igc-5.10.214/igc_mac.o make[1]: *** [/builddir/build/BUILD/intel-igc-5.10.214/igc_main.o] Error 127 make[1]: *** Waiting for unfinished jobs.... /bin/sh: gcc: command not found make[1]: *** [/builddir/build/BUILD/intel-igc-5.10.214/igc_mac.o] Error 127 CC [M] /builddir/build/BUILD/intel-igc-5.10.214/igc_i225.o /bin/sh: gcc: command not found make[1]: *** [/builddir/build/BUILD/intel-igc-5.10.214/igc_i225.o] Error 127 make: *** [_module_/builddir/build/BUILD/intel-igc-5.10.214] Error 2 make: Leaving directory `/usr/src/kernels/4.19.0+1-x86_64' error: Bad exit status from /var/tmp/rpm-tmp.6DPXN1 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6DPXN1 (%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/intel-igc.spec