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

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


Package: src:libmuscle
Version: 3.7+4565-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/libmuscle_3.7+4565-7_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
  _ZN6muscle5BreakEv at Base 3.7+4565
@@ -683,10 +683,10 @@
  _ZNK6muscle11DistCalcMSA8GetCountEv at Base 3.7+4565
  _ZNK6muscle12DPRegionList5LogMeEv at Base 3.7+4565
  _ZNK6muscle12DPRegionList9GetDPAreaEv at Base 3.7+4565
- _ZNK6muscle12DistCalcTest13CalcDistRangeEjPf at Base 3.7+4565
- _ZNK6muscle12DistCalcTest5GetIdEj at Base 3.7+4565
- _ZNK6muscle12DistCalcTest7GetNameEj at Base 3.7+4565
- _ZNK6muscle12DistCalcTest8GetCountEv at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZNK6muscle12DistCalcTest13CalcDistRangeEjPf at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZNK6muscle12DistCalcTest5GetIdEj at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZNK6muscle12DistCalcTest7GetNameEj at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZNK6muscle12DistCalcTest8GetCountEv at Base 3.7+4565
  _ZNK6muscle12ScoreHistory5LogMeEv at Base 3.7+4565
  _ZNK6muscle12ScoreHistory8GetScoreEjjbb at Base 3.7+4565
  _ZNK6muscle3MSA10GetAvgConsEv at Base 3.7+4565
@@ -838,20 +838,20 @@
  _ZNK6muscle8EdgeList5LogMeEv at Base 3.7+4565
  _ZNK6muscle8EdgeList7GetEdgeEjPjS1_ at Base 3.7+4565
  _ZNK6muscle8EdgeList8GetCountEv at Base 3.7+4565
- _ZNSt6vectorIPN6muscle3SeqESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_ at Base 3.7+4565
- (optional)_ZNSt6vectorIcSaIcEE17_M_realloc_insertIJRKcEEEvN9__gnu_cxx17__normal_iteratorIPcS1_EEDpOT_ at Base 3.7+4565
- (optional)_ZNSt6vectorIcSaIcEE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPcS1_EE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZNSt6vectorIPN6muscle3SeqESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_ at Base 3.7+4565
+#MISSING: 3.7+4565-7# (optional)_ZNSt6vectorIcSaIcEE17_M_realloc_insertIJRKcEEEvN9__gnu_cxx17__normal_iteratorIPcS1_EEDpOT_ at Base 3.7+4565
+#MISSING: 3.7+4565-7# (optional)_ZNSt6vectorIcSaIcEE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPcS1_EE at Base 3.7+4565
  (arch-bits=32)_ZNSt6vectorIjSaIjEE17_M_realloc_insertIJRKjEEEvN9__gnu_cxx17__normal_iteratorIPjS1_EEDpOT_ at Base 3.7+4565
- (arch-bits=64)_ZNSt6vectorImSaImEE17_M_realloc_insertIJRKmEEEvN9__gnu_cxx17__normal_iteratorIPmS1_EEDpOT_ at Base 3.7+4565
- _ZTIN6muscle10ClustSetDFE at Base 3.7+4565
+#MISSING: 3.7+4565-7# (arch-bits=64)_ZNSt6vectorImSaImEE17_M_realloc_insertIJRKmEEEvN9__gnu_cxx17__normal_iteratorIPmS1_EEDpOT_ at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTIN6muscle10ClustSetDFE at Base 3.7+4565
  _ZTIN6muscle10DistCalcDFE at Base 3.7+4565
- _ZTIN6muscle11ClustSetMSAE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTIN6muscle11ClustSetMSAE at Base 3.7+4565
  _ZTIN6muscle11ClusterTreeE at Base 3.7+4565
  _ZTIN6muscle11DistCalcMSAE at Base 3.7+4565
- _ZTIN6muscle12DistCalcTestE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTIN6muscle12DistCalcTestE at Base 3.7+4565
  _ZTIN6muscle3MSAE at Base 3.7+4565
- _ZTIN6muscle3SeqE at Base 3.7+4565
- _ZTIN6muscle4TreeE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTIN6muscle3SeqE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTIN6muscle4TreeE at Base 3.7+4565
  _ZTIN6muscle5ClustE at Base 3.7+4565
  _ZTIN6muscle6PWPathE at Base 3.7+4565
  _ZTIN6muscle7SeqVectE at Base 3.7+4565
@@ -885,15 +885,15 @@
  _ZTSSt12_Vector_baseIcSaIcEE at Base 3.7+4565
  _ZTSSt6vectorIPN6muscle3SeqESaIS2_EE at Base 3.7+4565
  _ZTSSt6vectorIcSaIcEE at Base 3.7+4565
- _ZTVN6muscle10ClustSetDFE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTVN6muscle10ClustSetDFE at Base 3.7+4565
  _ZTVN6muscle10DistCalcDFE at Base 3.7+4565
- _ZTVN6muscle11ClustSetMSAE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTVN6muscle11ClustSetMSAE at Base 3.7+4565
  _ZTVN6muscle11ClusterTreeE at Base 3.7+4565
  _ZTVN6muscle11DistCalcMSAE at Base 3.7+4565
- _ZTVN6muscle12DistCalcTestE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTVN6muscle12DistCalcTestE at Base 3.7+4565
  _ZTVN6muscle3MSAE at Base 3.7+4565
- _ZTVN6muscle3SeqE at Base 3.7+4565
- _ZTVN6muscle4TreeE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTVN6muscle3SeqE at Base 3.7+4565
+#MISSING: 3.7+4565-7# _ZTVN6muscle4TreeE at Base 3.7+4565
  _ZTVN6muscle5ClustE at Base 3.7+4565
  _ZTVN6muscle6PWPathE at Base 3.7+4565
  _ZTVN6muscle7SeqVectE at Base 3.7+4565
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list