[Pkg-deepin-devel] Bug#1015637: qtmpris: ftbfs with LTO (link time optimization) enabled

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


Package: src:qtmpris
Version: 1.0.6-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/qtmpris_1.0.6-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
+#MISSING: 1.0.6-1# (optional=templinst)_ZN5QListI7QStringED2Ev at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZN5QListI8QVariantE18detach_helper_growEii at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZN5QListI8QVariantE6appendERKS0_ at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZN5QListI8QVariantED1Ev at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZN5QListI8QVariantED2Ev at Base 1.0.3
+#MISSING: 1.0.6-1# _ZN6QDebuglsEPKc at Base 1.0.3
+#MISSING: 1.0.6-1# _ZN7QStringD1Ev at Base 1.0.3
+#MISSING: 1.0.6-1# _ZN7QStringD2Ev at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZN8QMapDataI7QString8QVariantE7destroyEv at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZN8QMapNodeI7QString8QVariantE14destroySubTreeEv at Base 1.0.3
  (optional=templinst)_ZN9QtPrivate11QSlotObjectIM12MprisManagerFvvENS_4ListIJEEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb at Base 1.0.3
  (optional=templinst)_ZN9QtPrivate11QSlotObjectIM12MprisManagerFvxENS_4ListIJxEEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb at Base 1.0.3
  (optional=templinst)_ZN9QtPrivate11QSlotObjectIM15MprisControllerFvvENS_4ListIJEEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb at Base 1.0.3
  (optional=templinst)_ZN9QtPrivate11QSlotObjectIM15MprisControllerFvxENS_4ListIJxEEEvE4implEiPNS_15QSlotObjectBaseEP7QObjectPPvPb at Base 1.0.3
- (optional=templinst)_ZN9QtPrivate28QVariantValueHelperInterfaceI20QAssociativeIterableE6invokeERK8QVariant at Base 1.0.3
- (optional=templinst)_ZN9QtPrivate28QVariantValueHelperInterfaceI4QMapI7QString8QVariantEE6invokeERKS3_ at Base 1.0.3
- (optional=templinst)_ZN9QtPrivate7indexOfI14QSharedPointerI15MprisControllerES3_EEiRK5QListIT_ERKT0_i at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZN9QtPrivate28QVariantValueHelperInterfaceI20QAssociativeIterableE6invokeERK8QVariant at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZN9QtPrivate28QVariantValueHelperInterfaceI4QMapI7QString8QVariantEE6invokeERKS3_ at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZN9QtPrivate7indexOfI14QSharedPointerI15MprisControllerES3_EEiRK5QListIT_ERKT0_i at Base 1.0.3
  _ZNK11MprisPlayer10canControlEv at Base 1.0.3
  _ZNK11MprisPlayer10fullscreenEv at Base 1.0.3
  _ZNK11MprisPlayer10loopStatusEv at Base 1.0.3
@@ -484,9 +523,11 @@
  _ZNK18MprisPlayerAdaptor9canGoNextEv at Base 1.0.3
  _ZNK18MprisRootInterface10metaObjectEv at Base 1.0.3
  _ZNK20MprisPlayerInterface10metaObjectEv at Base 1.0.3
+ _ZNK29DBusExtendedAbstractInterface10metaObjectEv at Base 1.0.6-1
+ _ZNK30DBusExtendedPendingCallWatcher10metaObjectEv at Base 1.0.6-1
  _ZNK5Mpris10metaObjectEv at Base 1.0.3
- (optional=templinst)_ZNK5QListI7QStringEeqERKS1_ at Base 1.0.3
- (optional=templinst)_ZNK8QMapNodeI7QString8QVariantE4copyEP8QMapDataIS0_S1_E at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZNK5QListI7QStringEeqERKS1_ at Base 1.0.3
+#MISSING: 1.0.6-1# (optional=templinst)_ZNK8QMapNodeI7QString8QVariantE4copyEP8QMapDataIS0_S1_E at Base 1.0.3
  _ZTI11MprisPlayer at Base 1.0.3
  _ZTI12MprisManager at Base 1.0.3
  _ZTI12QDBusContext at Base 1.0.3
@@ -495,6 +536,8 @@
  _ZTI18MprisPlayerAdaptor at Base 1.0.3
  _ZTI18MprisRootInterface at Base 1.0.3
  _ZTI20MprisPlayerInterface at Base 1.0.3
+ _ZTI29DBusExtendedAbstractInterface at Base 1.0.6-1
+ _ZTI30DBusExtendedPendingCallWatcher at Base 1.0.6-1
  _ZTI5Mpris at Base 1.0.3
  _ZTS11MprisPlayer at Base 1.0.3
  _ZTS12MprisManager at Base 1.0.3
@@ -504,6 +547,8 @@
  _ZTS18MprisPlayerAdaptor at Base 1.0.3
  _ZTS18MprisRootInterface at Base 1.0.3
  _ZTS20MprisPlayerInterface at Base 1.0.3
+ _ZTS29DBusExtendedAbstractInterface at Base 1.0.6-1
+ _ZTS30DBusExtendedPendingCallWatcher at Base 1.0.6-1
  _ZTS5Mpris at Base 1.0.3
  _ZTV11MprisPlayer at Base 1.0.3
  _ZTV12MprisManager at Base 1.0.3
@@ -512,6 +557,11 @@
  _ZTV18MprisPlayerAdaptor at Base 1.0.3
  _ZTV18MprisRootInterface at Base 1.0.3
  _ZTV20MprisPlayerInterface at Base 1.0.3
+ _ZTV29DBusExtendedAbstractInterface at Base 1.0.6-1
+ _ZTV30DBusExtendedPendingCallWatcher at Base 1.0.6-1
  _ZTV5Mpris at Base 1.0.3
+ _ZZN11QMetaTypeIdI12QDBusVariantE14qt_metatype_idEvE11metatype_id at Base 1.0.6-1
+ _ZZN11QMetaTypeIdI13QDBusArgumentE14qt_metatype_idEvE11metatype_id at Base 1.0.6-1
  (optional=templinst)_ZZN11QMetaTypeIdI15QDBusObjectPathE14qt_metatype_idEvE11metatype_id at Base 1.0.3
  (optional=templinst)_ZZN11QMetaTypeIdIN17QtMetaTypePrivate24QAssociativeIterableImplEE14qt_metatype_idEvE11metatype_id at Base 1.0.3
+ _ZZN18QMetaTypeIdQObjectIP23QDBusPendingCallWatcherLi8EE14qt_metatype_idEvE11metatype_id at Base 1.0.6-1
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the Pkg-deepin-devel mailing list