[Pkg-kde-extras] Bug#1015445: kdiagram: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 17:53:31 BST 2022


Package: src:kdiagram
Version: 2.8.0-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/kdiagram_2.8.0-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttForwardingProxyModel
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttSummaryHandlingProxyModel
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttProxyModel
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttConstraintModel
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttAbstractGrid
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttDateTimeGrid
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttLegend
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttDateTimeTimeLine
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttDateTimeTimeLineDialog
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/KGanttPenStyleComboBox
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttglobal.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttprintingcontext.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttview.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttstyleoptionganttitem.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttgraphicsview.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttabstractrowcontroller.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kgantttreeviewrowcontroller.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttlistviewrowcontroller.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttgraphicsscene.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttgraphicsitem.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttconstraint.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttconstraintproxy.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttconstraintgraphicsitem.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttitemdelegate.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttforwardingproxymodel.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttsummaryhandlingproxymodel.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttproxymodel.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttconstraintmodel.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttabstractgrid.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttdatetimegrid.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttlegend.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttdatetimetimeline.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttdatetimetimelinedialog.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttpenstylecombobox.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KGantt/kganttabstractgrid_p.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/kgantt_version.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/KGantt/KGanttConfig.cmake
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/KGantt/KGanttConfigVersion.cmake
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/KGantt/KGanttTargets.cmake
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/KGantt/KGanttTargets-none.cmake
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KGantt.pri
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz -a
   dh_strip -a
   dh_makeshlibs -a
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libkchart2/DEBIAN/symbols doesn't match completely debian/libkchart2.symbols
--- debian/libkchart2.symbols (libkchart2_2.8.0-1_amd64)
+++ dpkg-gensymbolsua3WrZ	2022-06-10 08:48:09.512879354 +0000
@@ -2155,7 +2155,7 @@
  _ZTVN6KChart6LegendE at Base 2.6.0
  _ZTVN6KChart6WidgetE at Base 2.6.0
  _ZTVN6KChart7PaletteE at Base 2.6.0
- _ZTVN6KChart7Plotter11PlotterTypeE at Base 2.6.0
+#MISSING: 2.8.0-1# _ZTVN6KChart7Plotter11PlotterTypeE at Base 2.6.0
  _ZTVN6KChart7PlotterE at Base 2.6.0
  _ZTVN6KChart8TextAreaE at Base 2.6.0
  _Zls6QDebugN6KChart13CartesianAxis8PositionE at Base 2.6.2
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 pkg-kde-extras mailing list