#1133604 pbdagcon: ftbfs with GCC-16

#1133604#5
Date:
2026-04-13 13:09:42 UTC
From:
To:
Hi,

pbdagcon 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/pbdagcon_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.

[...]


  402 |                         SWAlign(qFragment, tFragment, fragScoreMat, fragPathMat, frontAlignment,
      |                         ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  403 |                                 scoreFn, EndAnchored);
      |                                 ~~~~~~~~~~~~~~~~~~~~~
/usr/include/pbseq/alignment/algorithms/alignment/SDPAlignImpl.hpp:41:20:   required from ‘int SDPAlign(T_QuerySequence&, T_TargetSequence&, T_ScoreFn&, int, int, int, float, blasr::Alignment&, AlignmentType, bool, bool, DNALength, bool, unsigned int) [with T_QuerySequence = FASTQSequence; T_TargetSequence = DNASequence; T_ScoreFn = DistanceMatrixScoreFunction<DNASequence, FASTQSequence>; DNALength = unsigned int]’
   41 |     return SDPAlign(query, target, scoreFn, wordSize, sdpIns, sdpDel, indelRate, alignment,
      |            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   42 |                     fragmentSet, prefixFragmentSet, suffixFragmentSet, targetTupleList,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   43 |                     targetPrefixTupleList, targetSuffixTupleList, maxFragmentChain, alignType,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   44 |                     detailedAlignment, extendFrontByLocalAlignment, noRecurseUnder, fastSDP,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   45 |                     minFragmentsToUseGraphPaper);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimpleAligner.cpp:35:13:   required from here
   35 |     SDPAlign(query, target, distScoreFn_, tupleMetrics_.tupleSize,
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   36 |              config_.sdpIndel, config_.sdpIndel, config_.indelRate*2,
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |              initialAln, Local);
      |              ~~~~~~~~~~~~~~~~~~
/usr/include/pbseq/alignment/algorithms/alignment/SWAlignImpl.hpp:135:10: warning: variable ‘matchScorePtr’ set but not used [-Wunused-but-set-variable=]
  135 |     int *matchScorePtr = &scoreMat[0];
      |          ^~~~~~~~~~~~~
/usr/include/pbseq/alignment/algorithms/alignment/SWAlignImpl.hpp:136:10: warning: variable ‘gapQScorePtr’ set but not used [-Wunused-but-set-variable=]
  136 |     int *gapQScorePtr = &scoreMat[1];
      |          ^~~~~~~~~~~~
/usr/include/pbseq/alignment/algorithms/alignment/SWAlignImpl.hpp:137:10: warning: variable ‘gapTScorePtr’ set but not used [-Wunused-but-set-variable=]
  137 |     int *gapTScorePtr = &scoreMat[tSeq.length + 1];
      |          ^~~~~~~~~~~~
In file included from /usr/include/pbseq/alignment/tuples/TupleList.hpp:64,
                 from /usr/include/pbseq/alignment/tuples/DNATuple.hpp:13,
                 from /usr/include/pbseq/alignment/tuples/TupleMatching.hpp:5:
/usr/include/pbseq/alignment/tuples/TupleListImpl.hpp: In instantiation of ‘void TupleList<T>::FindAll(T&, typename std::vector<T>::const_iterator&, typename std::vector<T>::const_iterator&) [with T = PositionDNATuple; typename std::vector<T>::const_iterator = std::vector<PositionDNATuple, std::allocator<PositionDNATuple> >::const_iterator]’:
/usr/include/pbseq/alignment/tuples/TupleMatchingImpl.hpp:51:40:   required from ‘int StoreMatchingPositions(TSequence&, TupleMetrics&, T_TupleList&, std::vector<CharType>&) [with TSequence = DNASequence; TMatch = Fragment; T_TupleList = TupleList<PositionDNATuple>]’
   51 |                 targetTupleList.FindAll(queryTuple, curIt, endIt);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pbseq/alignment/algorithms/alignment/SDPAlignImpl.hpp:163:27:   required from ‘int SDPAlign(T_QuerySequence&, T_TargetSequence&, T_ScoreFn&, int, int, int, float, blasr::Alignment&, std::vector<Fragment>&, std::vector<Fragment>&, std::vector<Fragment>&, T_TupleList&, T_TupleList&, T_TupleList&, std::vector<int>&, AlignmentType, bool, bool, DNALength, bool, unsigned int) [with T_QuerySequence = FASTQSequence; T_TargetSequence = DNASequence; T_ScoreFn = DistanceMatrixScoreFunction<DNASequence, FASTQSequence>; T_TupleList = TupleList<PositionDNATuple>; DNALength = unsigned int]’
  163 |     StoreMatchingPositions(qPrefix, tmSmall, targetPrefixTupleList, prefixFragmentSet);
      |     ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pbseq/alignment/algorithms/alignment/SDPAlignImpl.hpp:41:20:   required from ‘int SDPAlign(T_QuerySequence&, T_TargetSequence&, T_ScoreFn&, int, int, int, float, blasr::Alignment&, AlignmentType, bool, bool, DNALength, bool, unsigned int) [with T_QuerySequence = FASTQSequence; T_TargetSequence = DNASequence; T_ScoreFn = DistanceMatrixScoreFunction<DNASequence, FASTQSequence>; DNALength = unsigned int]’
   41 |     return SDPAlign(query, target, scoreFn, wordSize, sdpIns, sdpDel, indelRate, alignment,
      |            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   42 |                     fragmentSet, prefixFragmentSet, suffixFragmentSet, targetTupleList,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   43 |                     targetPrefixTupleList, targetSuffixTupleList, maxFragmentChain, alignType,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   44 |                     detailedAlignment, extendFrontByLocalAlignment, noRecurseUnder, fastSDP,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   45 |                     minFragmentsToUseGraphPaper);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SimpleAligner.cpp:35:13:   required from here
   35 |     SDPAlign(query, target, distScoreFn_, tupleMetrics_.tupleSize,
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   36 |              config_.sdpIndel, config_.sdpIndel, config_.indelRate*2,
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |              initialAln, Local);
      |              ~~~~~~~~~~~~~~~~~~
/usr/include/pbseq/alignment/tuples/TupleListImpl.hpp:107:21: error: return type of ‘int PositionDNATuple::operator==(const PositionDNATuple&) const’ is not ‘bool’
  107 |         if (*endPos != tuple) {
      |             ~~~~~~~~^~~~~~~~
/usr/include/pbseq/alignment/tuples/TupleListImpl.hpp:107:21: note: used as rewritten candidate for comparison of ‘const PositionDNATuple’ and ‘PositionDNATuple’
make[2]: *** [<builtin>: SimpleAligner.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/reproducible-path/pbdagcon-0.3+git20180411.c14c422+dfsg/src/cpp'
make[1]: *** [makefile:34: cpp] Error 2
make[1]: Leaving directory '/build/reproducible-path/pbdagcon-0.3+git20180411.c14c422+dfsg'
dh_auto_build: error: make -j128 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

#1133604#12
Date:
2026-08-12 12:25:21 UTC
From:
To:
The problem in pbdagcon described above is caused by pbseqlib violating C++20 standard.

Kind regards
    Andreas.

#1133604#21
Date:
2026-08-12 12:34:01 UTC
From:
To:
Hello,

Bug #1133604 in pbseqlib 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/pbseqlib/-/commit/5226d6c78ba72b3e448621b1554c8fbbee29628e

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1133604

#1133604#28
Date:
2026-08-12 13:04:37 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pbseqlib, 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 1133604@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 pbseqlib 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: Wed, 12 Aug 2026 14:47:18 +0200
Source: pbseqlib
Architecture: source
Version: 5.3.5+dfsg-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 1133604
Changes:
 pbseqlib (5.3.5+dfsg-12) unstable; urgency=medium
 .
   * Build with gcc-16
     Closes: #1133604
   * Standards-Version: 4.7.4 (routine-update)
   * Reflow Uploaders field (cme)
   * Remove Priority field (cme)
   * lintian-brush: add d/u/metadata (routine-update)
   * debputy lint --auto-fix (routine-update)
Checksums-Sha1:
 f2412e1781607298dae2b11084ff9847190e9a79 2494 pbseqlib_5.3.5+dfsg-12.dsc
 5013e41d38886e4e61deb2e4cb742a14bd8433da 12580 pbseqlib_5.3.5+dfsg-12.debian.tar.xz
 00e76b65e3460277c98f040e2747966edb685155 11787 pbseqlib_5.3.5+dfsg-12_amd64.buildinfo
Checksums-Sha256:
 c734485e6a0f128ad31accd629f801fbafcfc4a9eaf2a45f6e8f11e3397dd430 2494 pbseqlib_5.3.5+dfsg-12.dsc
 2741547bbeddd06f6d6a8ee582b55053386eb87594b980994b84402db0b5f521 12580 pbseqlib_5.3.5+dfsg-12.debian.tar.xz
 717a2a78691f584a2dcc744cc9cfe20e8d36a255f4b6330a58d17283e8644e2d 11787 pbseqlib_5.3.5+dfsg-12_amd64.buildinfo
Files:
 59a045830a3516a29f49da940c68a920 2494 science optional pbseqlib_5.3.5+dfsg-12.dsc
 bbb3b0f17f370ba07e958892a9d0110c 12580 science optional pbseqlib_5.3.5+dfsg-12.debian.tar.xz
 8a3da2efcb7171733bc561e5b5b022a2 11787 science optional pbseqlib_5.3.5+dfsg-12_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmp8bE0RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtGlZQ/9GJ03rZRPxi9LPnjV2kAS57qlEkyihet9
3F/5+jU3G7eUgtNeyi1F7VOeiRAZK2QVdsC5kimhKyApV+7vUn1tz7/9lGLqfku5
W/5GtLQogxHd83SORyQYRanxJMS9ySugkBphQNZPrXAE7uc9wI3c98xqeDXKx2CG
M/1UeWOep6z4s72UaOezpqG3N88bygQFlxcm3tuJqOJcoOqOEtYUSzBApwduHJBS
WLZzHXFtPkkeSYpM7QNgqcpPzh6CcX6lYi1m4er/GHQfqhR7dBvwJV2yeMozNJzi
Ls8WncMO+W5Fox2uWlrqWiLZo/SticEetSWECvkL6dDELDmjh8V/MOuimJ0h3k6q
pGAfEVJzej92xMwfyl0JDBIMM3UuXiaZFCDbCqNza8y4pUKKAACv+nExdvDz4OGe
HOfQfCKcIylo4xVZ3RUUXjCsAEG13AS/RODZMI+BkBwlAx0mshEdaAOxjrGt7ZJp
dfPQVoaVR9c8lHQ/BIkwCybb8oFrWeMdhn5KLiJvvjCMrlwMg8A5hXKeeMF4IRmz
QYaGGF6AsEsw4xRbF5cOto3SUNWu925827cLj4KKSIG0suN6q8nbGdhmTOerQelh
CkMAnP8lFy8KyL7szvA/zhWIBG9DWCX6NWea3fsyJ/vxiyDrki/O12s3UsfXlL0h
OaQNQENSQWA=
=Inul
-----END PGP SIGNATURE-----