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 aarch64 --nodeps /builddir/build/SPECS/magma.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-229909-81416/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/magma.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 Wrote: /builddir/build/SRPMS/magma-2.6.2-1.oc9.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/magma.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-229909-81416/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/magma.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JqD9PQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf magma-2.6.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v2.6.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd magma-2.6.2 + /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.rIhlmW + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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 + cd magma-2.6.2 + cp /builddir/build/SOURCES/make.inc.openblas make.inc ++ arch + export CPLUS_INCLUDE_PATH=/usr/local/cuda-12.9/targets/aarch64-linux/include: + CPLUS_INCLUDE_PATH=/usr/local/cuda-12.9/targets/aarch64-linux/include: ++ arch + export C_INCLUDE_PATH=/usr/local/cuda-12.9/targets/aarch64-linux/include: + C_INCLUDE_PATH=/usr/local/cuda-12.9/targets/aarch64-linux/include: ++ arch + export LIBRARY_PATH=/usr/local/cuda-12.9/targets/aarch64-linux/lib: + LIBRARY_PATH=/usr/local/cuda-12.9/targets/aarch64-linux/lib: ++ arch + export LD_LIBRARY_PATH=/usr/local/cuda-12.9/targets/aarch64-linux/lib: + LD_LIBRARY_PATH=/usr/local/cuda-12.9/targets/aarch64-linux/lib: + make -j8 lib shared cp include/magma_config.h.in include/magma_config.h gcc -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c99 -c -o control/sizeptr.o control/sizeptr.c sed -i -e 's/#cmakedefine MAGMA_CUDA_ARCH_MIN @MAGMA_CUDA_ARCH_MIN@/#define MAGMA_CUDA_ARCH_MIN 700/g' include/magma_config.h touch control/sizeptr.o gcc -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c99 -fPIC -fopenmp -o control/sizeptr control/sizeptr.o sed -i -e 's/#cmakedefine MAGMA_HAVE_CUDA/#define MAGMA_HAVE_CUDA/g' include/magma_config.h sed -i -e 's/#cmakedefine MAGMA_HAVE_HIP/#undef MAGMA_HAVE_HIP/g' include/magma_config.h g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++14 -I/usr/include -I./include -I./testing -I./control -c -o control/magma_f77.o control/magma_f77.cpp g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++14 -I/usr/include -I./include -I./testing -I./control -c -o control/abs.o control/abs.cpp g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++14 -I/usr/include -I./include -I./testing -I./control -c -o control/affinity.o control/affinity.cpp touch control/sizeptr g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++14 -I/usr/include -I./include -I./testing -I./control -c -o control/auxiliary.o control/auxiliary.cpp g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++14 -I/usr/include -I./include -I./testing -I./control -c -o control/constants.o control/constants.cpp g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++14 -I/usr/include -I./include -I./testing -I./control -c -o control/get_batched_crossover.o control/get_batched_crossover.cpp g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++14 -I/usr/include -I./include -I./testing -I./control -c -o control/get_batched_gemm_decision.o control/get_batched_gemm_decision.cpp g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++14 -I/usr/include -I./include -I./testing -I./control -c -o control/get_nb.o control/get_nb.cpp In file included from control/constants.cpp:4: ./include/magma_types.h:71:14: fatal error: cuda.h: No such file or directory 71 | #include // for CUDA_VERSION | ^~~~~~~~ compilation terminated. In file included from ./include/magma_copy.h:12, from ./include/magmablas.h:12, from ./include/magma_v2.h:22, from control/magma_internal.h:63, from control/abs.cpp:8: ./include/magma_types.h:71:14: fatal error: cuda.h: No such file or directory 71 | #include // for CUDA_VERSION | ^~~~~~~~ compilation terminated. In file included from ./include/magma_copy.h:12, from ./include/magmablas.h:12, from ./include/magma_v2.h:22, from control/magma_f77.cpp:1: ./include/magma_types.h:71:14: fatal error: cuda.h: No such file or directory 71 | #include // for CUDA_VERSION | ^~~~~~~~ compilation terminated. In file included from ./include/magma_copy.h:12, from ./include/magmablas.h:12, from ./include/magma_v2.h:22, from control/magma_internal.h:63, from control/get_batched_crossover.cpp:12: ./include/magma_types.h:71:14: fatal error: cuda.h: No such file or directory 71 | #include // for CUDA_VERSION | ^~~~~~~~ compilation terminated. make: *** [Makefile:851: control/magma_f77.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:851: control/abs.o] Error 1 make: *** [Makefile:851: control/constants.o] Error 1 make: *** [Makefile:851: control/get_batched_crossover.o] Error 1 In file included from ./include/magma_copy.h:12, from ./include/magmablas.h:12, from ./include/magma_v2.h:22, from control/magma_internal.h:63, from control/auxiliary.cpp:10: ./include/magma_types.h:71:14: fatal error: cuda.h: No such file or directory 71 | #include // for CUDA_VERSION | ^~~~~~~~ compilation terminated. make: *** [Makefile:851: control/auxiliary.o] Error 1 In file included from ./include/magma_copy.h:12, from ./include/magmablas.h:12, from ./include/magma_v2.h:22, from control/magma_internal.h:63, from control/get_batched_gemm_decision.cpp:12: ./include/magma_types.h:71:14: fatal error: cuda.h: No such file or directory 71 | #include // for CUDA_VERSION | ^~~~~~~~ compilation terminated. make: *** [Makefile:851: control/get_batched_gemm_decision.o] Error 1 In file included from ./include/magma_copy.h:12, from ./include/magmablas.h:12, from ./include/magma_v2.h:22, from control/magma_internal.h:63, from control/get_nb.cpp:13: ./include/magma_types.h:71:14: fatal error: cuda.h: No such file or directory 71 | #include // for CUDA_VERSION | ^~~~~~~~ compilation terminated. make: *** [Makefile:851: control/get_nb.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.rIhlmW (%build) Bad exit status from /var/tmp/rpm-tmp.rIhlmW (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/magma.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 aarch64 --nodeps /builddir/build/SPECS/magma.spec