[Debian-med-packaging] Bug#1015486: libfastahack: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 17:54:49 BST 2022


Package: src:libfastahack
Version: 1.0.0+dfsg-9
Severity: minor
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

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

[...]
   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: 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-gensymbolsJoS60v	2022-06-10 09:07:55.623548709 +0000
@@ -31,27 +31,27 @@
  _ZN15FastaIndexEntryC2Ev at Base 0.0+git20160702.bbc645f
  _ZN15FastaIndexEntryD1Ev at Base 0.0+git20160702.bbc645f
  _ZN15FastaIndexEntryD2Ev at Base 0.0+git20160702.bbc645f
- _ZNKSt5ctypeIcE8do_widenEc at Base 0.0+git20160702.bbc645f
- (optional)_ZNSt12_Destroy_auxILb0EE9__destroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvT_S9_ at Base 1.0.0+dfsg
- (optional)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15FastaIndexEntryED1Ev at Base 1.0.0+dfsg
- (optional)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15FastaIndexEntryED2Ev at Base 1.0.0+dfsg
- _ZNSt6vectorI15FastaIndexEntrySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_ at Base 0.0+git20160702.bbc645f
- _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ at Base 0.0+git20160702.bbc645f
- (optional)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ at Base 0.0+git20160702.bbc645f
- (optional)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC1ERKS7_ at Base 1.0.0+dfsg
- (optional)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_ at Base 1.0.0+dfsg
- _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev at Base 0.0+git20160702.bbc645f
- _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev at 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_ at Base 0.0+git20160702.bbc645f
- _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE24_M_get_insert_unique_posERS7_ at 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_ at 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_ at Base 0.0+git20160702.bbc645f
- _ZSt11__remove_ifIPcN9__gnu_cxx5__ops16_Iter_equals_valIKcEEET_S6_S6_T0_ at 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_ at Base 0.0+git20160702.bbc645f
- _ZSt13__heap_selectIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_SD_T0_ at Base 1.0.0+dfsg
- _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_T0_ at Base 0.0+git20160702.bbc645f
- _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_T0_T1_ at 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_ at Base 1.0.0+dfsg
- _ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_comp_iterIPFbS2_S2_EEEEvT_T0_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZNKSt5ctypeIcE8do_widenEc at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# (optional)_ZNSt12_Destroy_auxILb0EE9__destroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvT_S9_ at Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# (optional)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15FastaIndexEntryED1Ev at Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# (optional)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE15FastaIndexEntryED2Ev at Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# _ZNSt6vectorI15FastaIndexEntrySaIS0_EE17_M_realloc_insertIJRKS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# (optional)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# (optional)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC1ERKS7_ at Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# (optional)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEC2ERKS7_ at Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED1Ev at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev at 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_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE24_M_get_insert_unique_posERS7_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_15FastaIndexEntryESt10_Select1stIS9_ESt4lessIS5_ESaIS9_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS9_ERS7_ at 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_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZSt11__remove_ifIPcN9__gnu_cxx5__ops16_Iter_equals_valIKcEEET_S6_S6_T0_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEElS2_NS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_T0_SE_T1_T2_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZSt13__heap_selectIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_SD_T0_ at Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# _ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_T0_ at Base 0.0+git20160702.bbc645f
+#MISSING: 1.0.0+dfsg-9# _ZSt16__introsort_loopIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEElNS0_5__ops15_Iter_comp_iterIPFbS2_S2_EEEEvT_SD_T0_T1_ at Base 0.0+git20160702.bbc645f
+#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_ at Base 1.0.0+dfsg
+#MISSING: 1.0.0+dfsg-9# _ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIP15FastaIndexEntrySt6vectorIS2_SaIS2_EEEENS0_5__ops14_Val_comp_iterIPFbS2_S2_EEEEvT_T0_ at Base 0.0+git20160702.bbc645f
  _ZlsRSoR10FastaIndex at Base 0.0+git20160702.bbc645f
  _ZlsRSoRK15FastaIndexEntry at 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



More information about the Debian-med-packaging mailing list