[Debian-med-packaging] Bug#1087552: nthash: FTBFS on arm64: undefined reference to `omp_get_num_threads'

Emanuele Rocca ema at debian.org
Fri Nov 15 08:33:11 GMT 2024


Source: nthash
Version: 2.3.0+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-arm at lists.debian.org
Usertags: arm64

During a rebuild of all packages in sid, this package failed to build on
arm64. On amd64 it builds correctly.

Here is the error message:

[ 75%] Linking CXX executable nthash                                                                                                    
/usr/bin/cmake -E cmake_link_script CMakeFiles/nthash.dir/link.txt --verbose=1                                                          
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libbtllib.a(_build_reproducible-path_btllib-1.4.10+dfsg_src_bt
llib_bloom_filter.cpp.o): in function `btllib::BloomFilter::get_pop_cnt() const [clone ._omp_fn.0]':                                    
(.text+0x24): undefined reference to `omp_get_num_threads'                                                                              
/usr/bin/ld: (.text+0x2c): undefined reference to `omp_get_thread_num'                                                                  
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/14/../../../aarch64-linux-gnu/libbtllib.a(_build_reproducible-path_btllib-1.4.10+dfsg_src_bt
llib_bloom_filter.cpp.o): in function `btllib::BloomFilter::get_pop_cnt() const':                                                       
(.text+0xd84): undefined reference to `GOMP_parallel'                                                                                   
collect2: error: ld returned 1 exit status                                                                                              
/usr/bin/c++ -g -Wall -Wextra -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file,CMakeFiles/nthash.dir/link.d CMakeFiles/nthash.dir/main.cpp.
o -o nthash  libnthash.a -lbtllib                                                                                                       
make[4]: *** [CMakeFiles/nthash.dir/build.make:105: nthash] Error 1                                                                     



More information about the Debian-med-packaging mailing list