Bug#1103144: parallel-hashmap: FTBFS in testing/i386: llil4map.cc:68:30: error: static assertion failed: size_t too small, need a 64-bit compile
Lucas Nussbaum
lucas at debian.org
Mon Apr 14 12:35:59 BST 2025
Source: parallel-hashmap
Version: 1.4.1+ds-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250414 ftbfs-trixie
Hi,
During a rebuild of all packages in testing (trixie), your package failed
to build on i386.
Relevant part (hopefully):
> /usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/parallel-hashmap-1.4.1+ds=. -fstack-protector-strong -Wformat -Werror=format-security -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-i686-linux-gnu'
> [ 90%] Built target test_parallel_node_hash_set
> In file included from /build/reproducible-path/parallel-hashmap-1.4.1+ds/parallel_hashmap/phmap.h:120,
> from /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:66:
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/parallel_hashmap/phmap_utils.h: In member function ‘H phmap::Combiner<H, 8>::operator()(H, size_t)’:
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/parallel_hashmap/phmap_utils.h:324:16: warning: right shift count >= width of type [-Wshift-count-overflow]
> 324 | k ^= k >> r;
> | ~~^~~~
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc: At global scope:
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:68:30: error: static assertion failed: size_t too small, need a 64-bit compile
> 68 | static_assert(sizeof(size_t) == sizeof(int64_t), "size_t too small, need a 64-bit compile");
> | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:68:30: note: the comparison reduces to ‘(4 == 8)’
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:108:67: error: requested alignment ‘192’ is not a positive power of 2
> 108 | alignas(4 * sizeof(std::max_align_t)) std::atomic_bool lock_ = false;
> | ^~~~~
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc: In member function ‘void string_cnt::set(const char*)’:
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:181:28: error: static assertion failed
> 181 | static_assert(buffsz == 12);
> | ~~~~~~~^~~~~
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:181:28: note: the comparison reduces to ‘(8 == 12)’
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:183:40: error: static assertion failed
> 183 | static_assert(sizeof(string_cnt) == 16);
> | ~~~~~~~~~~~~~~~~~~~^~~~~
> /build/reproducible-path/parallel-hashmap-1.4.1+ds/examples/llil4map.cc:183:40: note: the comparison reduces to ‘(12 == 16)’
> /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;
> | ^~~
> 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
The full build log is available from:
http://qa-logs.debian.net/2025/04/14/parallel-hashmap_1.4.1+ds-1_testing-i386.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250414;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250414&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list