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

Matthias Klose doko at debian.org
Tue Jul 19 17:55:26 BST 2022


Package: src:libncl
Version: 2.1.21+git20210811.b1213a7-1
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/libncl_2.1.21+git20210811.b1213a7-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZTV25NxsUnimplementedException at Base 2.1.18
  _ZTV26NxsAssumptionsBlockFactory at Base 2.1.18
- _ZTV26NxsTaxaAssociationBlockAPI at Base 2.1.18
- _ZTV27DefaultErrorReportNxsReader at Base 2.1.18
- _ZTV27DuplicatedLabelNxsException at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZTV26NxsTaxaAssociationBlockAPI at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZTV27DefaultErrorReportNxsReader at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZTV27DuplicatedLabelNxsException at Base 2.1.18
  _ZTV28NxsDefaultPublicBlockFactory at Base 2.1.18
  _ZTV30NxsTaxaAssociationBlockFactory at Base 2.1.18
- _ZTV31NxsSignalCanceledParseException at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZTV31NxsSignalCanceledParseException at Base 2.1.18
  _ZTV8NxsBlock at Base 2.1.18
  _ZTV8NxsToken at Base 2.1.18
  _ZTV9NxsReader at Base 2.1.18
- _ZThn192_N12NxsDataBlockD0Ev at Base 2.1.18
- _ZThn192_N12NxsDataBlockD1Ev at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_N12NxsDataBlockD0Ev at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_N12NxsDataBlockD1Ev at Base 2.1.18
  _ZThn192_N12NxsTaxaBlock14AddNewIndexSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3setIjSt4lessIjESaIjEE at Base 2.1.18
- _ZThn192_N12NxsTaxaBlock14AppendNewLabelERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_N12NxsTaxaBlock14AppendNewLabelERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 2.1.18
  _ZThn192_N12NxsTaxaBlock15AddNewPartitionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_4listISt4pairIS5_St3setIjSt4lessIjESaIjEEESaISF_EEE at Base 2.1.18
  _ZThn192_N12NxsTaxaBlockD0Ev at Base 2.1.18
  _ZThn192_N12NxsTaxaBlockD1Ev at Base 2.1.18
@@ -1335,27 +1336,27 @@
  _ZThn192_N17NxsUnalignedBlockD1Ev at Base 2.1.18
  _ZThn192_N18NxsCharactersBlock14AddNewIndexSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3setIjSt4lessIjESaIjEE at Base 2.1.18
  _ZThn192_N18NxsCharactersBlock15AddNewPartitionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_4listISt4pairIS5_St3setIjSt4lessIjESaIjEEESaISF_EEE at Base 2.1.18
- _ZThn192_N18NxsCharactersBlockD0Ev at Base 2.1.18
- _ZThn192_N18NxsCharactersBlockD1Ev at Base 2.1.18
- _ZThn192_NK12NxsTaxaBlock11GetIndexSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3setIjSt4lessIjESaIjEE at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_N18NxsCharactersBlockD0Ev at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_N18NxsCharactersBlockD1Ev at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_NK12NxsTaxaBlock11GetIndexSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3setIjSt4lessIjESaIjEE at Base 2.1.18
  _ZThn192_NK12NxsTaxaBlock11GetMaxIndexEv at Base 2.1.18
  _ZThn192_NK12NxsTaxaBlock18GetIndicesForLabelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3setIjSt4lessIjESaIjEE at Base 2.1.18
  _ZThn192_NK12NxsTaxaBlock27GetNumLabelsCurrentlyStoredEv at Base 2.1.18
- _ZThn192_NK13NxsTreesBlock11GetIndexSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3setIjSt4lessIjESaIjEE at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_NK13NxsTreesBlock11GetIndexSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3setIjSt4lessIjESaIjEE at Base 2.1.18
  _ZThn192_NK13NxsTreesBlock11GetMaxIndexEv at Base 2.1.18
  _ZThn192_NK13NxsTreesBlock18GetIndicesForLabelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3setIjSt4lessIjESaIjEE at Base 2.1.18
- _ZThn192_NK17NxsDistancesBlock12GetBlockNameB5cxx11Ev at Base 2.1.21+git20171002.4becff7
- _ZThn192_NK17NxsUnalignedBlock12GetBlockNameB5cxx11Ev at Base 2.1.21+git20171002.4becff7
- _ZThn192_NK17NxsUnalignedBlock12GetNTaxTotalEv at Base 2.1.18
- _ZThn192_NK18NxsCharactersBlock11GetIndexSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3setIjSt4lessIjESaIjEE at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_NK17NxsDistancesBlock12GetBlockNameB5cxx11Ev at Base 2.1.21+git20171002.4becff7
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_NK17NxsUnalignedBlock12GetBlockNameB5cxx11Ev at Base 2.1.21+git20171002.4becff7
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_NK17NxsUnalignedBlock12GetNTaxTotalEv at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn192_NK18NxsCharactersBlock11GetIndexSetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3setIjSt4lessIjESaIjEE at Base 2.1.18
  _ZThn192_NK18NxsCharactersBlock11GetMaxIndexEv at Base 2.1.18
  _ZThn192_NK18NxsCharactersBlock18GetIndicesForLabelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3setIjSt4lessIjESaIjEE at Base 2.1.18
- _ZThn200_N12NxsDataBlockD0Ev at Base 2.1.18
- _ZThn200_N12NxsDataBlockD1Ev at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn200_N12NxsDataBlockD0Ev at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn200_N12NxsDataBlockD1Ev at Base 2.1.18
  _ZThn200_N13NxsTreesBlockD0Ev at Base 2.1.18
  _ZThn200_N13NxsTreesBlockD1Ev at Base 2.1.18
- _ZThn200_N18NxsCharactersBlockD0Ev at Base 2.1.18
- _ZThn200_N18NxsCharactersBlockD1Ev at Base 2.1.18
- _ZThn200_NK13NxsTreesBlock12GetBlockNameB5cxx11Ev at Base 2.1.21+git20171002.4becff7
- _ZThn200_NK18NxsCharactersBlock12GetBlockNameB5cxx11Ev at Base 2.1.21+git20171002.4becff7
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn200_N18NxsCharactersBlockD0Ev at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn200_N18NxsCharactersBlockD1Ev at Base 2.1.18
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn200_NK13NxsTreesBlock12GetBlockNameB5cxx11Ev at Base 2.1.21+git20171002.4becff7
+#MISSING: 2.1.21+git20210811.b1213a7-1# _ZThn200_NK18NxsCharactersBlock12GetBlockNameB5cxx11Ev at Base 2.1.21+git20171002.4becff7
  gFormatNames at Base 2.1.18
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list