[Debian-med-packaging] Bug#1040128: relion-cuda: FTBFS with cub 2.0.1: error: function "cub::Debug" has already been defined
Andreas Beckmann
anbe at debian.org
Sun Jul 2 08:47:44 BST 2023
Source: relion-cuda
Version: 3.1.3-2
Severity: serious
Tags: ftbfs sid trixie
Justification: fails to build from source
Hi,
relion-cuda FTBFS in the combination of CUDA 11.8 and CUB 2.0.1:
...
nvcc warning : The 'compute_35', 'compute_37', 'sm_35', and 'sm_37' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/usr/include/cub/util_debug.cuh(184): error: function "cub::Debug" has already been defined
/usr/include/cub/util_debug.cuh(184): error: function "cub::Debug" has already been defined
/usr/include/cub/util_debug.cuh(184): error: function "cub::Debug" has already been defined
Generated /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_backprojector.cu.o successfully.
Generated /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_projector.cu.o successfully.
/usr/include/cub/util_debug.cuh(184): error: function "cub::Debug" has already been defined
1 error detected in the compilation of "/build/relion-cuda-3.1.3/src/acc/cuda/cuda_projector_plan.cu".
-- Removing /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_projector_plan.cu.o
/usr/bin/cmake -E rm -f /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_projector_plan.cu.o
CMake Error at relion_gpu_util_generated_cuda_projector_plan.cu.o.Release.cmake:280 (message):
Error generating file
/build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_projector_plan.cu.o
make[4]: *** [src/apps/CMakeFiles/relion_gpu_util.dir/build.make:129: src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/relion_gpu_util_generated_cuda_projector_plan.cu.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Generated /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_benchmark_utils.cu.o successfully.
1 error detected in the compilation of "/build/relion-cuda-3.1.3/src/acc/cuda/cuda_autopicker.cu".
1 error detected in the compilation of "/build/relion-cuda-3.1.3/src/acc/cuda/cuda_helper_functions.cu".
-- Removing /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_autopicker.cu.o
-- Removing /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_helper_functions.cu.o
/usr/bin/cmake -E rm -f /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_autopicker.cu.o
/usr/bin/cmake -E rm -f /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_helper_functions.cu.o
CMake Error at relion_gpu_util_generated_cuda_autopicker.cu.o.Release.cmake:280 (message):
Error generating file
/build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_autopicker.cu.o
make[4]: *** [src/apps/CMakeFiles/relion_gpu_util.dir/build.make:80: src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/relion_gpu_util_generated_cuda_autopicker.cu.o] Error 1
CMake Error at relion_gpu_util_generated_cuda_helper_functions.cu.o.Release.cmake:280 (message):
Error generating file
/build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_helper_functions.cu.o
make[4]: *** [src/apps/CMakeFiles/relion_gpu_util.dir/build.make:101: src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/relion_gpu_util_generated_cuda_helper_functions.cu.o] Error 1
1 error detected in the compilation of "/build/relion-cuda-3.1.3/src/acc/cuda/cuda_ml_optimiser.cu".
-- Removing /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_ml_optimiser.cu.o
/usr/bin/cmake -E rm -f /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_ml_optimiser.cu.o
CMake Error at relion_gpu_util_generated_cuda_ml_optimiser.cu.o.Release.cmake:280 (message):
Error generating file
/build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/./relion_gpu_util_generated_cuda_ml_optimiser.cu.o
make[4]: *** [src/apps/CMakeFiles/relion_gpu_util.dir/build.make:115: src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/relion_gpu_util_generated_cuda_ml_optimiser.cu.o] Error 1
Generated /build/relion-cuda-3.1.3/build/src/apps/CMakeFiles/relion_gpu_util.dir/__/acc/cuda/cuda_kernels/./relion_gpu_util_generated_helper.cu.o successfully.
make[4]: Leaving directory '/build/relion-cuda-3.1.3/build'
make[3]: *** [CMakeFiles/Makefile2:300: src/apps/CMakeFiles/relion_gpu_util.dir/all] Error 2
make[3]: Leaving directory '/build/relion-cuda-3.1.3/build'
make[2]: *** [Makefile:139: all] Error 2
make[2]: Leaving directory '/build/relion-cuda-3.1.3/build'
make[1]: *** [debian/rules:41: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/relion-cuda-3.1.3'
make: *** [debian/rules:33: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: relion-cuda.sid.build.gz
Type: application/gzip
Size: 21452 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20230702/709c2813/attachment-0001.gz>
More information about the Debian-med-packaging
mailing list