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/nccl-cuda-12.8.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-230016-81432/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 x86_64 --nodeps /builddir/build/SPECS/nccl-cuda-12.8.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/nccl-cuda-12.8-2.28.9.1-1.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/nccl-cuda-12.8.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-230016-81432/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 x86_64 --nodeps /builddir/build/SPECS/nccl-cuda-12.8.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.UMNIo7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nccl-2.28.9-1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v2.28.9-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nccl-2.28.9-1 + /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.KjpIpB + umask 022 + cd /builddir/build/BUILD + cd nccl-2.28.9-1 + export CXX=g++ + CXX=g++ + export CC=gcc + CC=gcc + export CXXFLAGS=-ffat-lto-objects + CXXFLAGS=-ffat-lto-objects + export CUDA_HOME=/usr/local/cuda-12.8 + CUDA_HOME=/usr/local/cuda-12.8 + cmake '-GUnix Makefiles' -S . -B nccl_build '-DCMAKE_CUDA_ARCHITECTURES=70;75;80;86;87;89;90;100;103;120' -DBUILD_SHARED_LIBS=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR=/etc -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -- The CUDA compiler identification is NVIDIA 12.8.93 -- The CXX compiler identification is GNU 12.3.1 -- The C compiler identification is GNU 12.3.1 -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - failed -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCUDACompiler.cmake:100 (message): The CUDA compiler "/usr/local/cuda/bin/nvcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /builddir/build/BUILD/nccl-2.28.9-1/nccl_build/CMakeFiles/CMakeScratch/TryCompile-iewjD9 Run Build Command(s):/usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile cmTC_4677a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_4677a.dir/build.make CMakeFiles/cmTC_4677a.dir/build gmake[1]: Entering directory '/builddir/build/BUILD/nccl-2.28.9-1/nccl_build/CMakeFiles/CMakeScratch/TryCompile-iewjD9' Building CUDA object CMakeFiles/cmTC_4677a.dir/main.cu.o /usr/local/cuda/bin/nvcc -forward-unknown-to-host-compiler --generate-code=arch=compute_70,code=[compute_70,sm_70] --generate-code=arch=compute_75,code=[compute_75,sm_75] --generate-code=arch=compute_80,code=[compute_80,sm_80] --generate-code=arch=compute_86,code=[compute_86,sm_86] --generate-code=arch=compute_87,code=[compute_87,sm_87] --generate-code=arch=compute_89,code=[compute_89,sm_89] --generate-code=arch=compute_90,code=[compute_90,sm_90] --generate-code=arch=compute_100,code=[compute_100,sm_100] --generate-code=arch=compute_103,code=[compute_103,sm_103] --generate-code=arch=compute_120,code=[compute_120,sm_120] -MD -MT CMakeFiles/cmTC_4677a.dir/main.cu.o -MF CMakeFiles/cmTC_4677a.dir/main.cu.o.d -x cu -c /builddir/build/BUILD/nccl-2.28.9-1/nccl_build/CMakeFiles/CMakeScratch/TryCompile-iewjD9/main.cu -o CMakeFiles/cmTC_4677a.dir/main.cu.o nvcc fatal : Unsupported gpu architecture 'compute_103' gmake[1]: *** [CMakeFiles/cmTC_4677a.dir/build.make:79: CMakeFiles/cmTC_4677a.dir/main.cu.o] Error 1 gmake[1]: Leaving directory '/builddir/build/BUILD/nccl-2.28.9-1/nccl_build/CMakeFiles/CMakeScratch/TryCompile-iewjD9' gmake: *** [Makefile:127: cmTC_4677a/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:24 (project) -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.KjpIpB (%build) Bad exit status from /var/tmp/rpm-tmp.KjpIpB (%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/nccl-cuda-12.8.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/nccl-cuda-12.8.spec