#1012976 libfastahack: ftbfs with GCC-12

#1012976#5
Date:
2022-06-16 12:10:51 UTC
From:
To:
[This bug is targeted to the upcoming bookworm release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/libfastahack_1.0.0+dfsg-9_unstable_gcc12.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
mv debian/tmp/usr/lib/*/pkgconfig/*.pc debian/libfastahack-dev/usr/lib/x86_64-linux-gnu/pkgconfig
find debian -name libfastahack.la -delete
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs
   dh_installchangelogs
   debian/rules override_dh_installman
make[1]: Entering directory '/<<PKGBUILDDIR>>'
help2man --no-discard-stderr --no-info --version-string=1.0.0+dfsg-9 \
	--name="fastahack - indexing and extracting sequences and subsequences from FASTA files" \
	./fastahack > debian/fastahack.1
dh_installman
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz -a
   dh_strip -a
   debian/rules override_dh_makeshlibs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
echo "On architecture amd64 symbols file is provided"
On architecture amd64 symbols file is provided
dh_makeshlibs
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libfastahack0/DEBIAN/symbols doesn't match completely debian/libfastahack0.symbols
--- debian/libfastahack0.symbols (libfastahack0_1.0.0+dfsg-9_amd64)
+++ dpkg-gensymbolsrGoZ_0	2022-06-10 09:08:13.263788947 +0000
@@ -32,9 +32,9 @@
  _ZN15FastaIndexEntryD1Ev@Base 0.0+git20160702.bbc645f
  _ZN15FastaIndexEntryD2Ev@Base 0.0+git20160702.bbc645f
  _ZNKSt5ctypeIcE8do_widenEc@Base 0.0+git20160702.bbc645f
- (optional)_ZNSt12_Destroy_auxILb0EE9__destroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvT_S9_@Base 1.0.0+dfsg
- (optional)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15FastaIndexEntryED1Ev@Base 1.0.0+dfsg
- (optional)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15FastaIndexEntryED2Ev@Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# (optional)_ZNSt12_Destroy_auxILb0EE9__destroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvT_S9_@Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# (optional)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15FastaIndexEntryED1Ev@Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# (optional)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15FastaIndexEntryED2Ev@Base 1.0.0+dfsg
  _ZNSt6vectorI15FastaIndexEntrySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_@Base 0.0+git20160702.bbc645f
  _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base 0.0+git20160702.bbc645f
  (optional)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base 0.0+git20160702.bbc645f
@@ -42,16 +42,18 @@
  (optional)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_@Base 1.0.0+dfsg
  _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev@Base 0.0+git20160702.bbc645f
  _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev@Base 0.0+git20160702.bbc645f
- _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE17_M_emplace_uniqueIJS6_IS5_S8_EEEES6_ISt17_Rb_tree_iteratorIS9_EbEDpOT_@Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE17_M_emplace_uniqueIJS6_IS5_S8_EEEES6_ISt17_Rb_tree_iteratorIS9_EbEDpOT_@Base 0.0+git20160702.bbc645f
+ _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE22_M_emplace_hint_uniqueIJS6_IS5_S8_EEEESt17_Rb_tree_iteratorIS9_ESt23_Rb_tree_const_iteratorIS9_EDpOT_@Base 1.0.0+dfsg-9
  _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE24_M_get_insert_unique_posERS7_@Base 0.0+git20160702.bbc645f
  _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS9_ERS7_@Base 0.0+git20160702.bbc645f
- (optional)_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_comp_valIPFbS2_S2_EEEEvT_T0_SE_T1_RT2_@Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# (optional)_ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops14_Iter_comp_valIPFbS2_S2_EEEEvT_T0_SE_T1_RT2_@Base 0.0+git20160702.bbc645f
  _ZSt11__remove_ifIPcN9__gnu_cxx5__ops16_Iter_equals_valIKcEEET_S6_S6_T0_@Base 0.0+git20160702.bbc645f
  _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_T0_SE_T1_T2_@Base 0.0+git20160702.bbc645f
  _ZSt13__heap_selectIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_SD_T0_@Base 1.0.0+dfsg
+ _ZSt16__do_uninit_copyIPK15FastaIndexEntryPS0_ET0_T_S5_S4_@Base 1.0.0+dfsg-9
  _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_T0_@Base 0.0+git20160702.bbc645f
  _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_T0_T1_@Base 0.0+git20160702.bbc645f
- (optional)_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_SD_SD_T0_@Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# (optional)_ZSt22__move_median_to_firstIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_SD_SD_T0_@Base 1.0.0+dfsg
  _ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_comp_iterIPFbS2_S2_EEEEvT_T0_@Base 0.0+git20160702.bbc645f
  _ZlsRSoR10FastaIndex@Base 0.0+git20160702.bbc645f
  _ZlsRSoRK15FastaIndexEntry@Base 0.0+git20160702.bbc645f
dh_makeshlibs: error: failing due to earlier errors
make[1]: *** [debian/rules:41: override_dh_makeshlibs] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1012976#8
Date:
2022-07-14 08:30:04 UTC
From:
To:
Hello,

Bug #1012976 in libfastahack 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/libfastahack/-/commit/09da3b1ec91859d110c1f9a0c72ea507a3d1138e
------------------------------------------------------------------------
d/libfastahack0.symbols: mark compiler specific symbols optional.

Closes: #1012976
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1012976

#1012976#15
Date:
2022-07-14 08:48:49 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libfastahack, 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 1012976@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <emollier@debian.org> (supplier of updated libfastahack 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: Thu, 14 Jul 2022 10:28:30 +0200
Source: libfastahack
Architecture: source
Version: 1.0.0+dfsg-10
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emollier@debian.org>
Closes: 1012976
Changes:
 libfastahack (1.0.0+dfsg-10) unstable; urgency=medium
 .
   * d/control: add myself to uploaders.
   * d/libfastahack0.symbols: mark GCC 12 specific symbols optional.
     (Closes: #1012976)
   * d/control: declare compliance to standards version 4.6.1.
Checksums-Sha1:
 f898d71813db27d118458e1c3b80d03e70b8989f 2357 libfastahack_1.0.0+dfsg-10.dsc
 0ad593ceaa74fab9b8f4db8eab93a3c66404128d 7428 libfastahack_1.0.0+dfsg-10.debian.tar.xz
Checksums-Sha256:
 e93d9f9693e1639b73e522a9e3082b508cf0267ecf1a9501fb2a195b39d29380 2357 libfastahack_1.0.0+dfsg-10.dsc
 b1efc6890b3b5a5b73a255bfe15e46b662a4d1e295bf291e825f5d74f40b7c31 7428 libfastahack_1.0.0+dfsg-10.debian.tar.xz
Files:
 47acb7ede7157c71800e1a9c32ed9cb5 2357 science optional libfastahack_1.0.0+dfsg-10.dsc
 7c38951f47fbeef73f5f5a088211160b 7428 science optional libfastahack_1.0.0+dfsg-10.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmLP1PcUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdpqxxAAqXRziaDKgIuApQfx0gsd2hci4+4U
hdZzKexIX35Ngt/SZU93ezahGnqRvMa1W1+TcSvJoN620Wpj/2DprIqDEIg2SNyf
febuuKt8+YuNXSZ3nrFmf2I/07kBG9F+XD00zA0NGXbt3fW/vR4vQyO77CvlX51b
C0BLeVQUgAyYFobZete9MK7ggy7ENKPASnuvQvEQRsdoVlVcscvvwrwAfX8E72u9
3CQZuMiW9D0zMB1izkGgs78l9ibuGv3QosueGgNjU5c6k1kk7YKRm/FQPcd0cXhG
DcbNThzZc2Rw1O4T0OahJ/B+q95GHr3o3BGpDocSZ3tFWpntoK8Y3oz1i0QkvuNI
9fveYAVgJA6egFy4DyFyM9SmcTKm2HjUFgF1hgRt6aIxPvP55sK20lQYsQ+Hp+J/
3h3vZ1sPhqqOoen2SAdpu5Yaa9RRpwT1IUiipquEkpWId7vKfsXBOFuU7M0pCbwr
KsSkhA/eNq7YcRW+b/mCiqpYvPYhmVGZ7lqO/85tZPmP/1I/73bI4Clu0I+4LAwb
NoqSj3Eg3BQyvmrYEJENKHB/FJ6FhEeRuxWb5TDaGcxZxkqoXMxHwvqTEK44TGre
nMnL7SFewKvPNVfTELx+r8VzLowub7df0ZV5tON9XPz5FVhEAfAKvgHczdcCczkR
a6IfvbCC8jU8Z74=
=nflM
-----END PGP SIGNATURE-----