Bug#1113389: parallel-hashmap: FTBFS with CMake 4

roehling at debian.org roehling at debian.org
Mon Sep 1 00:02:25 BST 2025


Source: parallel-hashmap
Version: 1.4.1+ds-2
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for CMake 4, parallel-hashmap failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
   72 |     #pragma clang diagnostic ignored "-Wunused-parameter"
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil.cc:73: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas]
   73 |     #pragma clang diagnostic ignored "-Wshadow"
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil.cc:77: warning: ignoring ‘#pragma clang diagnostic’ [-Wunknown-pragmas]
   77 |     #pragma clang diagnostic pop
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc: In member function ‘void spinlock_mutex::lock()’:
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:101:13: error: ‘__builtin_ia32_pause’ was not declared in this scope; did you mean ‘__builtin_iswspace’?
  101 |             __builtin_ia32_pause();
      |             ^~~~~~~~~~~~~~~~~~~~
      |             __builtin_iswspace
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc: In lambda function:
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:448:73: warning: declaration of ‘set’ shadows a previous local [-Wshadow]
  448 |             set.with_submap(i, [&](const string_cnt_set_t::EmbeddedSet& set) {
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:420:24: note: shadowed declaration is here
  420 |       string_cnt_set_t set;
      |                        ^~~
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc: In lambda function:
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:456:69: warning: declaration of ‘set’ shadows a previous local [-Wshadow]
  456 |             set.with_submap_m(i, [&](string_cnt_set_t::EmbeddedSet& set) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:420:24: note: shadowed declaration is here
  420 |       string_cnt_set_t set;
      |                        ^~~
[ 90%] Linking CXX executable test_parallel_node_hash_set
/usr/bin/cmake -E cmake_link_script CMakeFiles/test_parallel_node_hash_set.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parallel-hashmap-1.4.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_parallel_node_hash_set.dir/link.d CMakeFiles/test_parallel_node_hash_set.dir/tests/parallel_node_hash_set_test.cc.o -o test_parallel_node_hash_set  -lgmock_main -lgmock -lgtest
make[3]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
[ 90%] Built target test_parallel_node_hash_set
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-zero-variadic-macro-arguments’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
make[3]: *** [CMakeFiles/ex_llil4map.dir/build.make:82: CMakeFiles/ex_llil4map.dir/examples/llil4map.cc.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1283: CMakeFiles/ex_llil4map.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
cc1plus: note: unrecognized command-line option ‘-Wno-gnu-zero-variadic-macro-arguments’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
[ 91%] Linking CXX executable ex_llil
/usr/bin/cmake -E cmake_link_script CMakeFiles/ex_llil.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parallel-hashmap-1.4.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/ex_llil.dir/link.d CMakeFiles/ex_llil.dir/examples/llil.cc.o -o ex_llil
make[3]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
[ 91%] Built target ex_llil
[ 93%] Linking CXX executable test_flat_hash_map
/usr/bin/cmake -E cmake_link_script CMakeFiles/test_flat_hash_map.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parallel-hashmap-1.4.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_flat_hash_map.dir/link.d CMakeFiles/test_flat_hash_map.dir/tests/flat_hash_map_test.cc.o -o test_flat_hash_map  -lgmock_main -lgmock -lgtest
make[3]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
[ 93%] Built target test_flat_hash_map
[ 94%] Linking CXX executable test_parallel_node_hash_map
/usr/bin/cmake -E cmake_link_script CMakeFiles/test_parallel_node_hash_map.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parallel-hashmap-1.4.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_parallel_node_hash_map.dir/link.d CMakeFiles/test_parallel_node_hash_map.dir/tests/parallel_node_hash_map_test.cc.o -o test_parallel_node_hash_map  -lgmock_main -lgmock -lgtest
make[3]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
[ 94%] Built target test_parallel_node_hash_map
[ 95%] Linking CXX executable test_parallel_flat_hash_map
/usr/bin/cmake -E cmake_link_script CMakeFiles/test_parallel_flat_hash_map.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parallel-hashmap-1.4.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_parallel_flat_hash_map.dir/link.d CMakeFiles/test_parallel_flat_hash_map.dir/tests/parallel_flat_hash_map_test.cc.o -o test_parallel_flat_hash_map  -lgmock_main -lgmock -lgtest
make[3]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
[ 95%] Built target test_parallel_flat_hash_map
[ 97%] Linking CXX executable test_parallel_flat_hash_map_mutex
/usr/bin/cmake -E cmake_link_script CMakeFiles/test_parallel_flat_hash_map_mutex.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parallel-hashmap-1.4.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_parallel_flat_hash_map_mutex.dir/link.d CMakeFiles/test_parallel_flat_hash_map_mutex.dir/tests/parallel_flat_hash_map_mutex_test.cc.o -o test_parallel_flat_hash_map_mutex  -lgmock_main -lgmock -lgtest
make[3]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
[ 97%] Built target test_parallel_flat_hash_map_mutex
[ 98%] Linking CXX executable test_btree
/usr/bin/cmake -E cmake_link_script CMakeFiles/test_btree.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parallel-hashmap-1.4.1+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--dependency-file=CMakeFiles/test_btree.dir/link.d CMakeFiles/test_btree.dir/tests/btree_test.cc.o -o test_btree  -lgmock_main -lgmock -lgtest
make[3]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
[ 98%] Built target test_btree
make[2]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/parallel-hashmap-1.4.1+ds/obj-aarch64-linux-gnu'
dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T13:14:29Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2406826/

The most likely cause of build failures is the removed backwards compatibility for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:

https://lists.debian.org/debian-devel/2025/04/msg00310.html

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/154427/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,
Timo



More information about the debian-science-maintainers mailing list