[Debian-med-packaging] Bug#1015473: libbpp-core: ftbfs with LTO (link time optimization) enabled

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


Package: src:libbpp-core
Version: 2.4.1-7
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/libbpp-core_2.4.1-7_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
+#MISSING: 2.4.1-7# _ZTv0_n80_N3bpp22AbstractParametrizable22setAllParametersValuesERKNS_13ParameterListE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n80_N3bpp27AbstractNumericalDerivative22setAllParametersValuesERKNS_13ParameterListE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n80_N3bpp28AssociationGraphImplObserverINS_8OperatorEsNS_13TreeGraphImplINS_11GlobalGraphEEEE10createNodeESt10shared_ptrIS1_ES7_S6_IsE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n80_N3bpp33AbstractOptimizationStopCondition12setToleranceEd at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n80_N3bpp6StdErrlsERKj at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n80_N3bpp6StdOutlsERKj at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n80_NK3bpp17AbstractOptimizer17getParameterValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n80_NK3bpp30BppODiscreteDistributionFormat20getUnparsedArgumentsB5cxx11Ev at Base 2.4.1
  _ZTv0_n88_N3bpp11GlobalGraph18createNodeFromEdgeEj at Base 2.4.1
- _ZTv0_n88_N3bpp15FunctionWrapper17setParameterValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_N3bpp15FunctionWrapper17setParameterValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd at Base 2.4.1
  _ZTv0_n88_N3bpp16PgfGraphicDevice25setCurrentBackgroundColorERKNS_8RGBColorE at Base 2.4.1
  _ZTv0_n88_N3bpp17XFigGraphicDevice25setCurrentBackgroundColorERKNS_8RGBColorE at Base 2.4.1
- _ZTv0_n88_N3bpp21AbstractGraphicDevice25setCurrentBackgroundColorERKNS_8RGBColorE at Base 2.4.1
- _ZTv0_n88_N3bpp21ParametrizableAdapter17setParameterValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd at Base 2.4.1
- _ZTv0_n88_N3bpp22AbstractParametrizable17setParameterValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd at Base 2.4.1
- _ZTv0_n88_N3bpp27AbstractNumericalDerivative17setParameterValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd at Base 2.4.1
- _ZTv0_n88_N3bpp28AssociationGraphImplObserverINS_8OperatorEsNS_13TreeGraphImplINS_11GlobalGraphEEEE4linkESt10shared_ptrIS1_ES7_S6_IsE at Base 2.4.1
- _ZTv0_n88_N3bpp6StdErrlsERKl at Base 2.4.1
- _ZTv0_n88_N3bpp6StdOutlsERKl at Base 2.4.1
- _ZTv0_n88_NK3bpp17AbstractOptimizer16getFunctionValueEv at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_N3bpp21AbstractGraphicDevice25setCurrentBackgroundColorERKNS_8RGBColorE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_N3bpp21ParametrizableAdapter17setParameterValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_N3bpp22AbstractParametrizable17setParameterValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_N3bpp27AbstractNumericalDerivative17setParameterValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEd at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_N3bpp28AssociationGraphImplObserverINS_8OperatorEsNS_13TreeGraphImplINS_11GlobalGraphEEEE4linkESt10shared_ptrIS1_ES7_S6_IsE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_N3bpp6StdErrlsERKl at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_N3bpp6StdOutlsERKl at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_NK3bpp17AbstractOptimizer16getFunctionValueEv at Base 2.4.1
  _ZTv0_n88_NK3bpp19GoldenSectionSearch16getFunctionValueEv at Base 2.4.1
- _ZTv0_n88_NK3bpp33AbstractOptimizationStopCondition12getToleranceEv at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n88_NK3bpp33AbstractOptimizationStopCondition12getToleranceEv at Base 2.4.1
  _ZTv0_n96_N3bpp11GlobalGraph4linkEjj at Base 2.4.1
- _ZTv0_n96_N3bpp15FunctionWrapper19setParametersValuesERKNS_13ParameterListE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n96_N3bpp15FunctionWrapper19setParametersValuesERKNS_13ParameterListE at Base 2.4.1
  _ZTv0_n96_N3bpp16PgfGraphicDevice14setCurrentFontERKNS_4FontE at Base 2.4.1
  _ZTv0_n96_N3bpp17AbstractOptimizer8optimizeEv at Base 2.4.1
  _ZTv0_n96_N3bpp17BrentOneDimension8optimizeEv at Base 2.4.1
  _ZTv0_n96_N3bpp17XFigGraphicDevice14setCurrentFontERKNS_4FontE at Base 2.4.1
- _ZTv0_n96_N3bpp21AbstractGraphicDevice14setCurrentFontERKNS_4FontE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n96_N3bpp21AbstractGraphicDevice14setCurrentFontERKNS_4FontE at Base 2.4.1
  _ZTv0_n96_N3bpp21DownhillSimplexMethod8optimizeEv at Base 2.4.1
- _ZTv0_n96_N3bpp21ParametrizableAdapter19setParametersValuesERKNS_13ParameterListE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n96_N3bpp21ParametrizableAdapter19setParametersValuesERKNS_13ParameterListE at Base 2.4.1
  _ZTv0_n96_N3bpp21PowellMultiDimensions8optimizeEv at Base 2.4.1
- _ZTv0_n96_N3bpp22AbstractParametrizable19setParametersValuesERKNS_13ParameterListE at Base 2.4.1
- _ZTv0_n96_N3bpp27AbstractNumericalDerivative19setParametersValuesERKNS_13ParameterListE at Base 2.4.1
- _ZTv0_n96_N3bpp28AssociationGraphImplObserverINS_8OperatorEsNS_13TreeGraphImplINS_11GlobalGraphEEEE6unlinkESt10shared_ptrIS1_ES7_ at Base 2.4.1
- _ZTv0_n96_N3bpp6StdErrlsERKm at Base 2.4.1
- _ZTv0_n96_N3bpp6StdOutlsERKm at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n96_N3bpp22AbstractParametrizable19setParametersValuesERKNS_13ParameterListE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n96_N3bpp27AbstractNumericalDerivative19setParametersValuesERKNS_13ParameterListE at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n96_N3bpp28AssociationGraphImplObserverINS_8OperatorEsNS_13TreeGraphImplINS_11GlobalGraphEEEE6unlinkESt10shared_ptrIS1_ES7_ at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n96_N3bpp6StdErrlsERKm at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n96_N3bpp6StdOutlsERKm at Base 2.4.1
  _ZTv0_n96_NK3bpp17BrentOneDimension16BODStopCondition19getCurrentToleranceEv at Base 2.4.1
  _ZTv0_n96_NK3bpp19GoldenSectionSearch16GSSStopCondition19getCurrentToleranceEv at Base 2.4.1
  _ZTv0_n96_NK3bpp21DownhillSimplexMethod16DSMStopCondition19getCurrentToleranceEv at Base 2.4.1
  _ZTv0_n96_NK3bpp21FunctionStopCondition19getCurrentToleranceEv at Base 2.4.1
  _ZTv0_n96_NK3bpp21PowellMultiDimensions16PMDStopCondition19getCurrentToleranceEv at Base 2.4.1
  _ZTv0_n96_NK3bpp23ParametersStopCondition19getCurrentToleranceEv at Base 2.4.1
- _ZTv0_n96_NK3bpp27NewtonBacktrackOneDimension17NBODStopCondition19getCurrentToleranceEv at Base 2.4.1
- _ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits at Base 2.4.1
- _ZZNSt8__detail18__to_chars_10_implImEEvPcjT_E8__digits at Base 2.4.1
+#MISSING: 2.4.1-7# _ZTv0_n96_NK3bpp27NewtonBacktrackOneDimension17NBODStopCondition19getCurrentToleranceEv at Base 2.4.1
+#MISSING: 2.4.1-7# _ZZNSt8__detail18__to_chars_10_implIjEEvPcjT_E8__digits at Base 2.4.1
+#MISSING: 2.4.1-7# _ZZNSt8__detail18__to_chars_10_implImEEvPcjT_E8__digits at Base 2.4.1
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list