[Debian-med-packaging] Bug#1133438: cassiopee: ftbfs with GCC-16

Emanuele Rocca ema at debian.org
Mon Apr 13 14:01:48 BST 2026


Package: src:cassiopee
Version: 1.0.9-5
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16

Hi,

cassiopee fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/cassiopee_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


            |       ^~~~~~~~
      • candidate expects 1 argument, 2 provided
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:903:16: error: ‘class std::allocator<tree_node_<TreeNode> >’ has no member named ‘construct’
  903 |         alloc_.construct(tmp, x);
      |         ~~~~~~~^~~~~~~~~
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh: In instantiation of ‘iter tree<T, tree_node_allocator>::insert_after(iter, const T&) [with iter = tree<TreeNode>::pre_order_iterator; T = TreeNode; tree_node_allocator = std::allocator<tree_node_<TreeNode> >]’:
/build/reproducible-path/cassiopee-1.0.9/src/cassiopee.cxx:781:30:   required from here
  781 |                 sib = this->tr.insert_after(this->tr.begin(),*node);
      |                       ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:1075:41: error: no matching function for call to ‘std::allocator<tree_node_<TreeNode> >::allocate(int, int)’
 1075 |         tree_node* tmp = alloc_.allocate(1,0);
      |                          ~~~~~~~~~~~~~~~^~~~~
  • there is 1 candidate
    • candidate 1: ‘constexpr _Tp* std::allocator< <template-parameter-1-1> >::allocate(std::size_t) [with _Tp = tree_node_<TreeNode>; std::size_t = long unsigned int]’
      /usr/include/c++/16/bits/allocator.h:194:7:
        194 |       allocate(size_t __n)
            |       ^~~~~~~~
      • candidate expects 1 argument, 2 provided
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:1076:16: error: ‘class std::allocator<tree_node_<TreeNode> >’ has no member named ‘construct’
 1076 |         alloc_.construct(tmp, x);
      |         ~~~~~~~^~~~~~~~~
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh: In instantiation of ‘void tree<T, tree_node_allocator>::head_initialise_() [with T = TreeNode; tree_node_allocator = std::allocator<tree_node_<TreeNode> >]’:
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:479:2:   required from ‘tree<T, tree_node_allocator>::tree() [with T = TreeNode; tree_node_allocator = std::allocator<tree_node_<TreeNode> >]’
  479 |         head_initialise_();
      |         ^~~~~~~~~~~~~~~~
/build/reproducible-path/cassiopee-1.0.9/src/cassiopee.cxx:504:286:   required from here
  504 | CassieIndexer::CassieIndexer(const char* path): loaded_from_file(false),max_depth(0),do_reduction(false), filename(path), seqstream(path, ios_base::in | ios_base::binary), matches(), serialized_nodes(), MAX_SUFFIX(SUFFIX_CHUNK_SIZE),suffix_position(-1), suffix(NULL), max_index_depth(0)
      |                                                                                                                                                                                                                                                                                              ^
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:510:26: error: no matching function for call to ‘std::allocator<tree_node_<TreeNode> >::allocate(int, int)’
  510 |    head = alloc_.allocate(1,0); // MSVC does not have default second argument
      |           ~~~~~~~~~~~~~~~^~~~~
  • there is 1 candidate
    • candidate 1: ‘constexpr _Tp* std::allocator< <template-parameter-1-1> >::allocate(std::size_t) [with _Tp = tree_node_<TreeNode>; std::size_t = long unsigned int]’
      /usr/include/c++/16/bits/allocator.h:194:7:
        194 |       allocate(size_t __n)
            |       ^~~~~~~~
      • candidate expects 1 argument, 2 provided
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:511:31: error: no matching function for call to ‘std::allocator<tree_node_<TreeNode> >::allocate(int, int)’
  511 |         feet = alloc_.allocate(1,0);
      |                ~~~~~~~~~~~~~~~^~~~~
  • there is 1 candidate
    • candidate 1: ‘constexpr _Tp* std::allocator< <template-parameter-1-1> >::allocate(std::size_t) [with _Tp = tree_node_<TreeNode>; std::size_t = long unsigned int]’
      /usr/include/c++/16/bits/allocator.h:194:7:
        194 |       allocate(size_t __n)
            |       ^~~~~~~~
      • candidate expects 1 argument, 2 provided
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:512:16: error: ‘class std::allocator<tree_node_<TreeNode> >’ has no member named ‘construct’
  512 |         alloc_.construct(head, tree_node_<T>());
      |         ~~~~~~~^~~~~~~~~
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:513:16: error: ‘class std::allocator<tree_node_<TreeNode> >’ has no member named ‘construct’
  513 |         alloc_.construct(feet, tree_node_<T>());
      |         ~~~~~~~^~~~~~~~~
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh: In instantiation of ‘iter tree<T, tree_node_allocator>::erase(iter) [with iter = tree<TreeNode>::pre_order_iterator; T = TreeNode; tree_node_allocator = std::allocator<tree_node_<TreeNode> >]’:
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:569:9:   required from ‘void tree<T, tree_node_allocator>::clear() [with T = TreeNode; tree_node_allocator = std::allocator<tree_node_<TreeNode> >]’
  569 |                         erase(pre_order_iterator(head->next_sibling));
      |                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/cassiopee-1.0.9/src/cassiopee.cxx:718:16:   required from here
  718 |         this->tr.clear();
      |         ~~~~~~~~~~~~~~^~
/build/reproducible-path/cassiopee-1.0.9/src/tree/tree.hh:618:16: error: ‘class std::allocator<tree_node_<TreeNode> >’ has no member named ‘destroy’
  618 |         alloc_.destroy(cur);
      |         ~~~~~~~^~~~~~~
make[3]: *** [src/CMakeFiles/cassie.dir/build.make:82: src/CMakeFiles/cassie.dir/cassiopee.cxx.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/cassiopee-1.0.9/obj-aarch64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:201: src/CMakeFiles/cassie.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/cassiopee-1.0.9/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/cassiopee-1.0.9/obj-aarch64-linux-gnu'
dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j128 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2



More information about the Debian-med-packaging mailing list