#1133438 cassiopee: ftbfs with GCC-16

#1133438#5
Date:
2026-04-13 13:01:48 UTC
From:
To:
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

#1133438#10
Date:
2026-08-11 05:36:42 UTC
From:
To:
Hello,

Bug #1133438 in cassiopee reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/med-team/cassiopee/-/commit/c1d1b7ad9bca7dfaa6ac8cd0f92588cb8e5e97d9

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1133438

#1133438#17
Date:
2026-08-11 05:49:50 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
cassiopee, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1133438@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated cassiopee package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 11 Aug 2026 07:34:21 +0200
Source: cassiopee
Architecture: source
Version: 1.0.9+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 1133438
Changes:
 cassiopee (1.0.9+dfsg-1) unstable; urgency=medium
 .
   * Team upload.
   * Fix build failure with GCC 16 / C++20
     Closes: #1133438
   * Standards-Version: 4.7.4 (routine-update)
   * Remove Priority field (cme)
   * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
   * d/copyright: Files-Excluded: src/win
Checksums-Sha1:
 cacdaafed50bd200408f1466cc081353c1acbd06 2289 cassiopee_1.0.9+dfsg-1.dsc
 971ce11bf1f621596d8d12abca77ec9c1946e43f 48440 cassiopee_1.0.9+dfsg.orig.tar.xz
 50441b20cd88ad5f4ac99e37ec340b1dadaa9760 5956 cassiopee_1.0.9+dfsg-1.debian.tar.xz
 efa8a76091de0693c54c065cbf93c6eb6687a127 9124 cassiopee_1.0.9+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 44d8ece271370f478d9de8c895a9d60496f3600bd3f05717d5ce80f26392d620 2289 cassiopee_1.0.9+dfsg-1.dsc
 98a136b2024ddf29111e8b8913877781cf50686613c675c559d16f4116136034 48440 cassiopee_1.0.9+dfsg.orig.tar.xz
 60ecc95351f24cd7201da743b7815c66d52ec374e31f942b566475c932d226f7 5956 cassiopee_1.0.9+dfsg-1.debian.tar.xz
 75dabe989e1838ca2e3f30d08d86a1efea627ba946969dddcfa9030feceb0860 9124 cassiopee_1.0.9+dfsg-1_amd64.buildinfo
Files:
 0295d1cf7dd08cafcda3a486adb8754a 2289 science optional cassiopee_1.0.9+dfsg-1.dsc
 59947b6e24fa31d6f279e0d23849e399 48440 science optional cassiopee_1.0.9+dfsg.orig.tar.xz
 fee6e83180267b024aa3e3ed26a7c909 5956 science optional cassiopee_1.0.9+dfsg-1.debian.tar.xz
 33f9d06fa45e58ead95b3fe4645e4db2 9124 science optional cassiopee_1.0.9+dfsg-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmp6tPwRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtELbQ//ffoi/jId5C5FB77o24iSQfkygtKO/aJT
XV/kFNXA8GeE0+bMVinbAi7wv0mys9OeGMORRRuJ/qv5gfFxZ38a3giiYhoD9d3k
iL43snuM32cscl/E8yvs/hKUlcSwSgMfw1x1OcG6qqGv8z3lz/9NzoZBqKw55Wgb
bRwEvAl7KT1sbT+f+4Hl/YIHazn8KqlNrwl2VepET4oPHZJlRxSN89ksLOemmF1v
LVp+HEWpeOyyxfmq/+PceZFJEBxE8+/NMDM47jAH3lfQ6DPoSjLCqRCjiNx2GNnf
Ra7oM2yPZpBa1ZzDUImNI/ie/1YM9UF6uAnGhTIuVW/XS8wM/+QHUL5IpSm4S2+f
wxkB+n90oTQ5sV39bSCAWzk4MrzVJ6mr/T1MyLpZVWmIgqdo5RgAszE3IJxHviCo
YMDq9OYPAhoE1mEgxBehvKT75+RucV6+4Zb9CBUE/MfeRX5LJ3/OCeJJDG+pSxVM
c4Dq23QoU6UydMVrCMmUQI8RAaE6GMsLgJs0y0TKDoKnvPPvXbEz8dIFqmXu5X/W
Oft9r5+ZTG8GgPQdAMse3FEVPLnCrQKxKWVslhp5ACzLeQfDeOTHvxwRkMOgE1Ec
U9PsnmSy5hXhbRQVvAdgiUUh68QUovElDdcFwTr1ARe3A2zmfKOAaBnLS5c+eWU6
J5RaFvGUJP4=
=NmI7
-----END PGP SIGNATURE-----