[Pkg-kde-extras] Bug#1015686: telepathy-logger-qt: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 18:01:38 BST 2022


Package: src:telepathy-logger-qt
Version: 17.09.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/telepathy-logger-qt_17.09.0-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
+#MISSING: 17.09.0-1# (optional=templinst)_ZN5QListI5QDateE18detach_helper_growEii at Base 15.04.0
+#MISSING: 17.09.0-1# (optional=templinst)_ZN5QListI5QDateE6appendERKS0_ at Base 15.04.0
+#MISSING: 17.09.0-1# (optional=templinst)_ZN5QListI5QDateEC1ERKS1_ at Base 15.04.0
+#MISSING: 17.09.0-1# (optional=templinst)_ZN5QListI5QDateEC2ERKS1_ at Base 15.04.0
+#MISSING: 17.09.0-1# (optional=templinst)_ZN5QListIN3Tpl9SearchHitEE18detach_helper_growEii at Base 15.04.0
+#MISSING: 17.09.0-1# (optional=templinst)_ZN5QListIN3Tpl9SearchHitEE6appendERKS1_ at Base 15.04.0
+#MISSING: 17.09.0-1# (optional=templinst)_ZN5QListIN3Tpl9SearchHitEEC1ERKS2_ at Base 15.04.0
+#MISSING: 17.09.0-1# (optional=templinst)_ZN5QListIN3Tpl9SearchHitEEC2ERKS2_ at Base 15.04.0
+#MISSING: 17.09.0-1# _ZN7QStringD1Ev at Base 15.04.0
+#MISSING: 17.09.0-1# _ZN7QStringD2Ev at Base 15.04.0
  (optional=templinst)_ZNK2Tp9SharedPtrINS_7AccountEEntEv at Base 15.04.0
  _ZNK3Tpl10LogManager17accountManagerPtrEv at Base 0.6.0
  _ZNK3Tpl10LogManager6existsERKN2Tp9SharedPtrINS1_7AccountEEERK14QSharedPointerINS_6EntityEENS_13EventTypeMaskE at Base 15.04.0
@@ -237,8 +237,8 @@
  _ZNK3Tpl9TextEvent13editTimestampEv at Base 0.6.0
  _ZNK3Tpl9TextEvent15supersedesTokenEv at Base 0.8.0
  _ZNK3Tpl9TextEvent7messageEv at Base 0.6.0
- (optional=templinst)_ZNK5QHashIN2Tp7FeatureE15QHashDummyValueE8findNodeERKS1_j at Base 17.08.0
- _ZTIN3Tpl10LogManagerE at Base 0.6.0
+#MISSING: 17.09.0-1# (optional=templinst)_ZNK5QHashIN2Tp7FeatureE15QHashDummyValueE8findNodeERKS1_j at Base 17.08.0
+#MISSING: 17.09.0-1# _ZTIN3Tpl10LogManagerE at Base 0.6.0
  _ZTIN3Tpl12PendingDatesE at Base 0.6.0
  _ZTIN3Tpl13PendingEventsE at Base 0.6.0
  _ZTIN3Tpl13PendingSearchE at Base 0.6.0
@@ -247,11 +247,11 @@
  _ZTIN3Tpl16PendingOperationE at Base 0.6.0
  _ZTIN3Tpl25PendingLogWalkerOperationE at Base 0.8.0
  _ZTIN3Tpl5EventE at Base 0.6.0
- _ZTIN3Tpl6EntityE at Base 0.6.0
+#MISSING: 17.09.0-1# _ZTIN3Tpl6EntityE at Base 0.6.0
  _ZTIN3Tpl6ObjectE at Base 15.04.0
- _ZTIN3Tpl9CallEventE at Base 0.6.0
- _ZTIN3Tpl9LogWalkerE at Base 0.8.0
- _ZTIN3Tpl9TextEventE at Base 0.6.0
+#MISSING: 17.09.0-1# _ZTIN3Tpl9CallEventE at Base 0.6.0
+#MISSING: 17.09.0-1# _ZTIN3Tpl9LogWalkerE at Base 0.8.0
+#MISSING: 17.09.0-1# _ZTIN3Tpl9TextEventE at Base 0.6.0
  _ZTSN3Tpl10LogManagerE at Base 0.6.0
  _ZTSN3Tpl12PendingDatesE at Base 0.6.0
  _ZTSN3Tpl13PendingEventsE at Base 0.6.0
@@ -266,7 +266,7 @@
  _ZTSN3Tpl9CallEventE at Base 0.6.0
  _ZTSN3Tpl9LogWalkerE at Base 0.8.0
  _ZTSN3Tpl9TextEventE at Base 0.6.0
- _ZTVN3Tpl10LogManagerE at Base 0.6.0
+#MISSING: 17.09.0-1# _ZTVN3Tpl10LogManagerE at Base 0.6.0
  _ZTVN3Tpl12PendingDatesE at Base 0.6.0
  _ZTVN3Tpl13PendingEventsE at Base 0.6.0
  _ZTVN3Tpl13PendingSearchE at Base 0.6.0
@@ -274,12 +274,12 @@
  _ZTVN3Tpl15PendingEntitiesE at Base 0.6.0
  _ZTVN3Tpl16PendingOperationE at Base 0.6.0
  _ZTVN3Tpl25PendingLogWalkerOperationE at Base 0.8.0
- _ZTVN3Tpl5EventE at Base 0.6.0
- _ZTVN3Tpl6EntityE at Base 0.6.0
+#MISSING: 17.09.0-1# _ZTVN3Tpl5EventE at Base 0.6.0
+#MISSING: 17.09.0-1# _ZTVN3Tpl6EntityE at Base 0.6.0
  _ZTVN3Tpl6ObjectE at Base 15.04.0
- _ZTVN3Tpl9CallEventE at Base 0.6.0
- _ZTVN3Tpl9LogWalkerE at Base 0.8.0
- _ZTVN3Tpl9TextEventE at Base 0.6.0
+#MISSING: 17.09.0-1# _ZTVN3Tpl9CallEventE at Base 0.6.0
+#MISSING: 17.09.0-1# _ZTVN3Tpl9LogWalkerE at Base 0.8.0
+#MISSING: 17.09.0-1# _ZTVN3Tpl9TextEventE at Base 0.6.0
  (optional=templinst)_ZZN11QMetaTypeIdI15QDBusObjectPathE14qt_metatype_idEvE11metatype_id at Base 15.04.0
  (optional=templinst)_ZZN18QMetaTypeIdQObjectIP23QDBusPendingCallWatcherLi8EE14qt_metatype_idEvE11metatype_id at Base 15.04.0
  (optional=templinst)_ZZN18QMetaTypeIdQObjectIPN3Tpl16PendingOperationELi8EE14qt_metatype_idEvE11metatype_id at Base 15.04.0
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the pkg-kde-extras mailing list