Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/cuda.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-286616-64836/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/cuda.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689292800 Wrote: /builddir/build/SRPMS/cuda-12.1.1-3.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/cuda.spec'], chrootPath='/var/lib/mock/dist-an23-epao-build-286616-64836/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/cuda.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689292800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MYVA9s + umask 022 + cd /builddir/build/BUILD + rm -rf cuda-12.1.1 + mkdir cuda-12.1.1 + cd cuda-12.1.1 + sh /builddir/build/SOURCES/cuda_12.1.1_530.30.02_linux_sbsa.run --extract=/builddir/build/BUILD/cuda-12.1.1 + tar xf /builddir/build/SOURCES/cuda-devel.tar.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.U9krWV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cp cuda-12.1.1/EULA.txt LICENSE + pushd cuda-12.1.1 ~/build/BUILD/cuda-12.1.1 ~/build/BUILD + sed -i 's/{{CUDA_VERSION}}/12.1/g' cuda-devel/accinj64.pc cuda-devel/cublas.pc cuda-devel/cuda.pc cuda-devel/cudart.pc cuda-devel/cufft.pc cuda-devel/cufftw.pc cuda-devel/cufile.pc cuda-devel/cuinj64.pc cuda-devel/curand.pc cuda-devel/cusolver.pc cuda-devel/cusparse.pc cuda-devel/nppc.pc cuda-devel/nppi.pc cuda-devel/nppial.pc cuda-devel/nppicc.pc cuda-devel/nppicom.pc cuda-devel/nppidei.pc cuda-devel/nppif.pc cuda-devel/nppig.pc cuda-devel/nppim.pc cuda-devel/nppist.pc cuda-devel/nppisu.pc cuda-devel/nppitc.pc cuda-devel/npps.pc cuda-devel/nvToolsExt.pc cuda-devel/nvidia-ml.pc cuda-devel/nvjpeg.pc cuda-devel/nvrtc.pc cuda-devel/opencl.pc + popd ~/build/BUILD + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dKHPVL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64 ++ dirname /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64 + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/lib64/pkgconfig + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1 + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/extras + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/targets + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/targets/sbsa-linux + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/targets/sbsa-linux/include + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/targets/sbsa-linux/lib + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/targets/sbsa-linux/res + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/bin + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/src + mkdir -p /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/share + pushd /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1 ~/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1 ~/build/BUILD + ln -s targets/sbsa-linux/include include + ln -s targets/sbsa-linux/lib lib64 + ln -s targets/sbsa-linux/res res + popd ~/build/BUILD ~/build/BUILD/cuda-12.1.1 ~/build/BUILD + pushd /builddir/build/BUILD/cuda-12.1.1 ++ ls cuda-devel/accinj64.pc cuda-devel/cublas.pc cuda-devel/cuda.pc cuda-devel/cudart.pc cuda-devel/cufft.pc cuda-devel/cufftw.pc cuda-devel/cufile.pc cuda-devel/cuinj64.pc cuda-devel/curand.pc cuda-devel/cusolver.pc cuda-devel/cusparse.pc cuda-devel/nppc.pc cuda-devel/nppi.pc cuda-devel/nppial.pc cuda-devel/nppicc.pc cuda-devel/nppicom.pc cuda-devel/nppidei.pc cuda-devel/nppif.pc cuda-devel/nppig.pc cuda-devel/nppim.pc cuda-devel/nppist.pc cuda-devel/nppisu.pc cuda-devel/nppitc.pc cuda-devel/npps.pc cuda-devel/nvToolsExt.pc cuda-devel/nvidia-ml.pc cuda-devel/nvjpeg.pc cuda-devel/nvrtc.pc cuda-devel/opencl.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/accinj64.pc cuda-devel/accinj64-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/cublas.pc cuda-devel/cublas-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/cuda.pc cuda-devel/cuda-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/cudart.pc cuda-devel/cudart-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/cufft.pc cuda-devel/cufft-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/cufftw.pc cuda-devel/cufftw-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/cufile.pc cuda-devel/cufile-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/cuinj64.pc cuda-devel/cuinj64-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/curand.pc cuda-devel/curand-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/cusolver.pc cuda-devel/cusolver-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/cusparse.pc cuda-devel/cusparse-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppc.pc cuda-devel/nppc-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppi.pc cuda-devel/nppi-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppial.pc cuda-devel/nppial-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppicc.pc cuda-devel/nppicc-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppicom.pc cuda-devel/nppicom-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppidei.pc cuda-devel/nppidei-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppif.pc cuda-devel/nppif-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppig.pc cuda-devel/nppig-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppim.pc cuda-devel/nppim-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppist.pc cuda-devel/nppist-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppisu.pc cuda-devel/nppisu-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nppitc.pc cuda-devel/nppitc-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/npps.pc cuda-devel/npps-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nvToolsExt.pc cuda-devel/nvToolsExt-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nvidia-ml.pc cuda-devel/nvidia-ml-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nvjpeg.pc cuda-devel/nvjpeg-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/nvrtc.pc cuda-devel/nvrtc-12.1.pc + for f in $(ls cuda-devel/*.pc) + mv cuda-devel/opencl.pc cuda-devel/opencl-12.1.pc + cp cuda-devel/accinj64-12.1.pc cuda-devel/cublas-12.1.pc cuda-devel/cuda-12.1.pc cuda-devel/cudart-12.1.pc cuda-devel/cufft-12.1.pc cuda-devel/cufftw-12.1.pc cuda-devel/cufile-12.1.pc cuda-devel/cuinj64-12.1.pc cuda-devel/curand-12.1.pc cuda-devel/cusolver-12.1.pc cuda-devel/cusparse-12.1.pc cuda-devel/nppc-12.1.pc cuda-devel/nppi-12.1.pc cuda-devel/nppial-12.1.pc cuda-devel/nppicc-12.1.pc cuda-devel/nppicom-12.1.pc cuda-devel/nppidei-12.1.pc cuda-devel/nppif-12.1.pc cuda-devel/nppig-12.1.pc cuda-devel/nppim-12.1.pc cuda-devel/nppist-12.1.pc cuda-devel/nppisu-12.1.pc cuda-devel/nppitc-12.1.pc cuda-devel/npps-12.1.pc cuda-devel/nvToolsExt-12.1.pc cuda-devel/nvidia-ml-12.1.pc cuda-devel/nvjpeg-12.1.pc cuda-devel/nvrtc-12.1.pc cuda-devel/opencl-12.1.pc /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/lib64/pkgconfig/ + cp -r cuda_demo_suite/extras/demo_suite /builddir/build/BUILDROOT/cuda-12.1.1-3.an23.aarch64/usr/local/cuda-12.1/extras/ cp: cannot stat 'cuda_demo_suite/extras/demo_suite': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.dKHPVL (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.dKHPVL (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/cuda.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 598, 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 aarch64 --nodeps /builddir/build/SPECS/cuda.spec