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

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


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

[...]
- _ZTv0_n24_N3bpp4FontD1Ev at Base 2.4.1
- _ZTv0_n24_N3bpp7Point2DIdED0Ev at Base 2.4.1
- _ZTv0_n24_N3bpp7Point2DIdED1Ev at Base 2.4.1
- _ZTv0_n24_N3bpp8RGBColorD0Ev at Base 2.4.1
- _ZTv0_n24_N3bpp8RGBColorD1Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp20UnvalidFlagExceptionD0Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp20UnvalidFlagExceptionD1Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp37NodeClickableAreasTreeDrawingListenerD0Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp37NodeClickableAreasTreeDrawingListenerD1Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp4FontD0Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp4FontD1Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp7Point2DIdED0Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp7Point2DIdED1Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp8RGBColorD0Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n24_N3bpp8RGBColorD1Ev at Base 2.4.1
  _ZTv0_n32_N3bpp15QtGraphicDevice5beginEv at Base 2.4.1
  _ZTv0_n40_N3bpp15QtGraphicDevice3endEv at Base 2.4.1
- _ZTv0_n48_N3bpp12MouseAdapter21mouseDoubleClickEventEP11QMouseEvent at Base 2.4.1
- _ZTv0_n48_N3bpp21AbstractGraphicDevice8setXUnitEd at Base 2.4.1
- _ZTv0_n48_N3bpp26TreeDrawingListenerAdapter14beforeDrawTreeERKNS_13DrawTreeEventE at Base 2.4.1
- _ZTv0_n48_NK3bpp13CladogramPlot7getNameB5cxx11Ev at Base 2.4.1
- _ZTv0_n48_NK3bpp13PhylogramPlot7getNameB5cxx11Ev at Base 2.4.1
- _ZTv0_n56_N3bpp12MouseAdapter14mouseMoveEventEP11QMouseEvent at Base 2.4.1
- _ZTv0_n56_N3bpp21AbstractGraphicDevice8setYUnitEd at Base 2.4.1
- _ZTv0_n56_N3bpp26TreeDrawingListenerAdapter13afterDrawTreeERKNS_13DrawTreeEventE at Base 2.4.1
- _ZTv0_n56_NK3bpp19AbstractTreeDrawing7hasTreeEv at Base 2.4.1
- _ZTv0_n64_N3bpp12MouseAdapter15mousePressEventEP11QMouseEvent at Base 2.4.1
- _ZTv0_n64_N3bpp26TreeDrawingListenerAdapter14beforeDrawNodeERKNS_13DrawNodeEventE at Base 2.4.1
- _ZTv0_n64_NK3bpp21AbstractGraphicDevice8getXUnitEv at Base 2.4.1
- _ZTv0_n72_N3bpp12MouseAdapter17mouseReleaseEventEP11QMouseEvent at Base 2.4.1
- _ZTv0_n72_N3bpp26TreeDrawingListenerAdapter13afterDrawNodeERKNS_13DrawNodeEventE at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n48_N3bpp12MouseAdapter21mouseDoubleClickEventEP11QMouseEvent at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n48_N3bpp21AbstractGraphicDevice8setXUnitEd at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n48_N3bpp26TreeDrawingListenerAdapter14beforeDrawTreeERKNS_13DrawTreeEventE at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n48_NK3bpp13CladogramPlot7getNameB5cxx11Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n48_NK3bpp13PhylogramPlot7getNameB5cxx11Ev at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n56_N3bpp12MouseAdapter14mouseMoveEventEP11QMouseEvent at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n56_N3bpp21AbstractGraphicDevice8setYUnitEd at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n56_N3bpp26TreeDrawingListenerAdapter13afterDrawTreeERKNS_13DrawTreeEventE at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n56_NK3bpp19AbstractTreeDrawing7hasTreeEv at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n64_N3bpp12MouseAdapter15mousePressEventEP11QMouseEvent at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n64_N3bpp26TreeDrawingListenerAdapter14beforeDrawNodeERKNS_13DrawNodeEventE at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n64_NK3bpp21AbstractGraphicDevice8getXUnitEv at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n72_N3bpp12MouseAdapter17mouseReleaseEventEP11QMouseEvent at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n72_N3bpp26TreeDrawingListenerAdapter13afterDrawNodeERKNS_13DrawNodeEventE at Base 2.4.1
  _ZTv0_n72_N3bpp37NodeClickableAreasTreeDrawingListener13afterDrawNodeERKNS_13DrawNodeEventE at Base 2.4.1
- _ZTv0_n72_NK3bpp21AbstractGraphicDevice8getYUnitEv at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n72_NK3bpp21AbstractGraphicDevice8getYUnitEv at Base 2.4.1
  _ZTv0_n80_N3bpp15QtGraphicDevice25setCurrentForegroundColorERKNS_8RGBColorE at Base 2.4.1
- _ZTv0_n80_N3bpp19AbstractTreeDrawing8setXUnitEd at Base 2.4.1
- _ZTv0_n80_N3bpp21AbstractGraphicDevice25setCurrentForegroundColorERKNS_8RGBColorE at Base 2.4.1
- _ZTv0_n80_N3bpp26TreeDrawingListenerAdapter16beforeDrawBranchERKNS_15DrawBranchEventE at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n80_N3bpp19AbstractTreeDrawing8setXUnitEd at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n80_N3bpp21AbstractGraphicDevice25setCurrentForegroundColorERKNS_8RGBColorE at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n80_N3bpp26TreeDrawingListenerAdapter16beforeDrawBranchERKNS_15DrawBranchEventE at Base 2.4.1
  _ZTv0_n88_N3bpp15QtGraphicDevice25setCurrentBackgroundColorERKNS_8RGBColorE at Base 2.4.1
- _ZTv0_n88_N3bpp19AbstractTreeDrawing8setYUnitEd at Base 2.4.1
- _ZTv0_n88_N3bpp21AbstractGraphicDevice25setCurrentBackgroundColorERKNS_8RGBColorE at Base 2.4.1
- _ZTv0_n88_N3bpp26TreeDrawingListenerAdapter15afterDrawBranchERKNS_15DrawBranchEventE at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n88_N3bpp19AbstractTreeDrawing8setYUnitEd at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n88_N3bpp21AbstractGraphicDevice25setCurrentBackgroundColorERKNS_8RGBColorE at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n88_N3bpp26TreeDrawingListenerAdapter15afterDrawBranchERKNS_15DrawBranchEventE at Base 2.4.1
  _ZTv0_n96_N3bpp15QtGraphicDevice14setCurrentFontERKNS_4FontE at Base 2.4.1
- _ZTv0_n96_N3bpp21AbstractGraphicDevice14setCurrentFontERKNS_4FontE at Base 2.4.1
- _ZTv0_n96_NK3bpp26TreeDrawingListenerAdapter12isAutonomousEv at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n96_N3bpp21AbstractGraphicDevice14setCurrentFontERKNS_4FontE at Base 2.4.1
+#MISSING: 2.4.1-6# _ZTv0_n96_NK3bpp26TreeDrawingListenerAdapter12isAutonomousEv 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