Bug#1015648: qwtplot3d: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 18:00:27 BST 2022


Package: src:qwtplot3d
Version: 0.2.7+svn191+gcc7-3
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/qwtplot3d_0.2.7+svn191+gcc7-3_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
- (optional=templinst)_ZNSt6vectorIN5Qwt3D5LabelESaIS1_EED2Ev at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIN5Qwt3D6TripleESaIS1_EE12emplace_backIJS1_EEEvDpOT_ at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIN5Qwt3D6TripleESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIN5Qwt3D6TripleESaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIN5Qwt3D6TripleESaIS1_EEaSERKS3_ at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIS_IPdSaIS0_EESaIS2_EED1Ev at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIS_IPdSaIS0_EESaIS2_EED2Ev at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIS_IjSaIjEESaIS1_EEaSERKS3_ at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_ at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIdSaIdEEaSERKS1_ at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIjSaIjEE12emplace_backIJjEEEvDpOT_ at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIjSaIjEE17_M_default_appendEm at Base 0.2.7
- (optional=templinst)_ZNSt6vectorIjSaIjEEaSERKS1_ at Base 0.2.7
- (optional=templinst)_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN5Qwt3D2IO5EntryESt6vectorIS4_SaIS4_EEEENS0_5__ops10_Iter_predINS3_13FormatCompareEEEET_SE_SE_T0_St26random_access_iterator_tag at Base 0.2.7
- (optional=templinst)_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN5Qwt3D2IO5EntryESt6vectorIS4_SaIS4_EEEENS0_5__ops10_Iter_predINS3_14FormatCompare2EEEET_SE_SE_T0_St26random_access_iterator_tag at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# _ZNK5Qwt3D9CrossHair5cloneEv at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D2IO5EntryESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D2IO5EntryESaIS2_EED1Ev at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D2IO5EntryESaIS2_EED2Ev at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D4RGBAESaIS1_EEaSERKS3_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D5LabelESaIS1_EE17_M_default_appendEm at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D5LabelESaIS1_EED1Ev at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D5LabelESaIS1_EED2Ev at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D6TripleESaIS1_EE12emplace_backIJS1_EEEvDpOT_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D6TripleESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D6TripleESaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIN5Qwt3D6TripleESaIS1_EEaSERKS3_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIS_IPdSaIS0_EESaIS2_EED1Ev at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIS_IPdSaIS0_EESaIS2_EED2Ev at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIS_IjSaIjEESaIS1_EEaSERKS3_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIdSaIdEE17_M_realloc_insertIJRKdEEEvN9__gnu_cxx17__normal_iteratorIPdS1_EEDpOT_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIdSaIdEEaSERKS1_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIjSaIjEE12emplace_backIJjEEEvDpOT_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIjSaIjEE17_M_default_appendEm at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZNSt6vectorIjSaIjEEaSERKS1_ at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN5Qwt3D2IO5EntryESt6vectorIS4_SaIS4_EEEENS0_5__ops10_Iter_predINS3_13FormatCompareEEEET_SE_SE_T0_St26random_access_iterator_tag at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# (optional=templinst)_ZSt9__find_ifIN9__gnu_cxx17__normal_iteratorIPN5Qwt3D2IO5EntryESt6vectorIS4_SaIS4_EEEENS0_5__ops10_Iter_predINS3_14FormatCompare2EEEET_SE_SE_T0_St26random_access_iterator_tag at Base 0.2.7
  _ZTIN5Qwt3D10AutoScalerE at Base 0.2.7
  _ZTIN5Qwt3D10EnrichmentE at Base 0.2.7
  _ZTIN5Qwt3D11ColorLegendE at Base 0.2.7
@@ -509,7 +509,7 @@
  _ZTIN5Qwt3D16VertexEnrichmentE at Base 0.2.7
  _ZTIN5Qwt3D17ParametricSurfaceE at Base 0.2.7
  _ZTIN5Qwt3D2IO7FunctorE at Base 0.2.7
- _ZTIN5Qwt3D2IO7WrapperE at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# _ZTIN5Qwt3D2IO7WrapperE at Base 0.2.7
  _ZTIN5Qwt3D3DotE at Base 0.2.7
  _ZTIN5Qwt3D4AxisE at Base 0.2.7
  _ZTIN5Qwt3D4ConeE at Base 0.2.7
@@ -559,7 +559,7 @@
  _ZTSN5Qwt3D8LogScaleE at Base 0.2.7
  _ZTSN5Qwt3D9CrossHairE at Base 0.2.7
  _ZTVN5Qwt3D11ColorLegendE at Base 0.2.7
- _ZTVN5Qwt3D11GridMappingE at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# _ZTVN5Qwt3D11GridMappingE at Base 0.2.7
  _ZTVN5Qwt3D11LinearScaleE at Base 0.2.7
  _ZTVN5Qwt3D11SurfacePlotE at Base 0.2.7
  _ZTVN5Qwt3D12NativeReaderE at Base 0.2.7
@@ -569,7 +569,7 @@
  _ZTVN5Qwt3D16CoordinateSystemE at Base 0.2.7
  _ZTVN5Qwt3D16LinearAutoScalerE at Base 0.2.7
  _ZTVN5Qwt3D17ParametricSurfaceE at Base 0.2.7
- _ZTVN5Qwt3D2IO7WrapperE at Base 0.2.7
+#MISSING: 0.2.7+svn191+gcc7-3# _ZTVN5Qwt3D2IO7WrapperE at Base 0.2.7
  _ZTVN5Qwt3D3DotE at Base 0.2.7
  _ZTVN5Qwt3D4AxisE at Base 0.2.7
  _ZTVN5Qwt3D4ConeE at Base 0.2.7
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list