FS#80157 - [root] FTBFS
Attached to Project:
Arch Linux
Opened by Levi Zim (kxxt) - Saturday, 04 November 2023, 08:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 13 November 2023, 14:27 GMT
Opened by Levi Zim (kxxt) - Saturday, 04 November 2023, 08:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 13 November 2023, 14:27 GMT
|
Details
Description:
In file included from /usr/include/c++/13.2.1/cstring:42, from /build/root/src/root-6.28.04/core/textinput/src/textinput/Text.h:19, from /build/root/src/root-6.28.04/core/textinput/src/textinput/TextInputContext.h:20, from /build/root/src/root-6.28.04/core/textinput/src/Getline.cxx:19: /usr/include/string.h:506:15: error: declaration of ‘size_t strlcpy(char*, const char*, size_t) noexcept’ has a different exception specifier 506 | extern size_t strlcpy (char *__restrict __dest, | ^~~~~~~ In file included from /build/root/src/root-6.28.04/core/textinput/src/Getline.cxx:13: /build/root/src/root-6.28.04/core/clib/inc/strlcpy.h:26:8: note: from previous declaration ‘size_t strlcpy(char*, const char*, size_t)’ 26 | size_t strlcpy(char *dst, const char *src, size_t siz); | ^~~~~~~ /usr/include/string.h:512:15: error: declaration of ‘size_t strlcat(char*, const char*, size_t) noexcept’ has a different exception specifier 512 | extern size_t strlcat (char *__restrict __dest, | ^~~~~~~ /build/root/src/root-6.28.04/core/clib/inc/strlcpy.h:27:8: note: from previous declaration ‘size_t strlcat(char*, const char*, size_t)’ 27 | size_t strlcat(char *dst, const char *src, size_t siz); | ^~~~~~~ make[2]: *** [core/textinput/CMakeFiles/TextInput.dir/build.make:90: core/textinput/CMakeFiles/TextInput.dir/src/Getline.cxx.o] Error 1 make[2]: *** Waiting for unfinished jobs.... After fixing this error with https://github.com/root-project/root/issues/13529 There are other errors when building with cuda: CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:753 (message): Compiling the CUDA compiler identification source file "CMakeCUDACompilerId.cu" failed. Compiler: /opt/cuda/bin/nvcc Build flags: Id flags: --keep;--keep-dir;tmp -v The output was: 2 #$ _NVVM_BRANCH_=nvvm #$ _SPACE_= #$ _CUDART_=cudart #$ _HERE_=/opt/cuda/bin #$ _THERE_=/opt/cuda/bin #$ _TARGET_SIZE_= #$ _TARGET_DIR_= #$ _TARGET_DIR_=targets/x86_64-linux #$ TOP=/opt/cuda/bin/.. #$ NVVMIR_LIBRARY_DIR=/opt/cuda/bin/../nvvm/libdevice #$ LD_LIBRARY_PATH=/opt/cuda/bin/../lib: #$ PATH=/opt/cuda/bin/../nvvm/bin:/opt/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin #$ INCLUDES="-I/opt/cuda/bin/../targets/x86_64-linux/include" #$ LIBRARIES= "-L/opt/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/opt/cuda/bin/../targets/x86_64-linux/lib" #$ CUDAFE_FLAGS= #$ PTXAS_FLAGS= #$ rm tmp/a_dlink.reg.c #$ gcc -D__CUDA_ARCH_LIST__=520 -E -x c++ -D__CUDACC__ -D__NVCC__ "-I/opt/cuda/bin/../targets/x86_64-linux/include" -D__CUDACC_VER_MAJOR__=12 -D__CUDACC_VER_MINOR__=3 -D__CUDACC_VER_BUILD__=52 -D__CUDA_API_VER_MAJOR__=12 -D__CUDA_API_VER_MINOR__=3 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include "cuda_runtime.h" -m64 "CMakeCUDACompilerId.cu" -o "tmp/CMakeCUDACompilerId.cpp4.ii" #$ cudafe++ --c++17 --gnu_version=130201 --display_error_number [26/1980] --orig_src_file_name "CMakeCUDACompilerId.cu" --orig_src_path_name "/build/root/src/build-cuda/CMakeFiles/3.27.7/CompilerIdCUDA/CMakeCUDACompilerId.cu" --allow_managed --m64 --parse_templates --gen_c_file_name "tmp/CMakeCUDACompilerId.cudafe1.cpp" --stub_file_name "CMakeCUDACompilerId.cudafe1.stub.c" --gen_module_id_file --module_id_file_name "tmp/CMakeCUDACompilerId.module_id" "tmp/CMakeCUDACompilerId.cpp4.ii" /usr/include/bits/floatn.h(86): error: invalid combination of type specifiers typedef __float128 _Float128; ^ /usr/include/bits/floatn-common.h(214): error: invalid combination of type specifiers typedef float _Float32; Additional info: * package version(s) 6.28.04-2 * upstream issue: https://github.com/root-project/root/issues/13529 is fixed in https://github.com/root-project/root/pull/13393 |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Monday, 13 November 2023, 14:27 GMT
Reason for closing: Fixed
Monday, 13 November 2023, 14:27 GMT
Reason for closing: Fixed
Edit:
Now fixed in cuda 12.3.0-3.
[1]: https://github.com/root-project/root/commit/9d89f1ccf766b1d3e34c6da5949d2f4b019fa20a
[2]: https://root.cern.ch/download/
[3]: https://root.cern/install/all_releases/