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

Matthias Klose doko at debian.org
Tue Jul 19 17:59:52 BST 2022


Package: src:qtdbusextended
Version: 0.0.3-5
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/qtdbusextended_0.0.3-5_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
   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/libdbusextended-qt5-1/DEBIAN/symbols doesn't match completely debian/libdbusextended-qt5-1.symbols
--- debian/libdbusextended-qt5-1.symbols (libdbusextended-qt5-1_0.0.3-5_amd64)
+++ dpkg-gensymbolswKsX8e	2022-06-10 08:49:49.673854504 +0000
@@ -1,7 +1,7 @@
 libdbusextended-qt5.so.1 libdbusextended-qt5-1 #MINVER#
 * Build-Depends-Package: libdbusextended-qt5-dev
- _ZN10QByteArrayD1Ev at Base 0.0.3
- _ZN10QByteArrayD2Ev at Base 0.0.3
+#MISSING: 0.0.3-5# _ZN10QByteArrayD1Ev at Base 0.0.3
+#MISSING: 0.0.3-5# _ZN10QByteArrayD2Ev at Base 0.0.3
  (optional=templinst)_ZN17QtMetaTypePrivate19IteratorOwnerCommonIN4QMapI7QString8QVariantE14const_iteratorEE5equalEPKPvS9_ at Base 0.0.3
  (optional=templinst)_ZN17QtMetaTypePrivate19IteratorOwnerCommonIN4QMapI7QString8QVariantE14const_iteratorEE6assignEPPvPKS7_ at Base 0.0.3
  (optional=templinst)_ZN17QtMetaTypePrivate19IteratorOwnerCommonIN4QMapI7QString8QVariantE14const_iteratorEE7destroyEPPv at Base 0.0.3
@@ -30,7 +30,7 @@
  (optional=templinst)_ZN17QtMetaTypePrivate24QAssociativeIterableImpl8sizeImplI5QHashI7QString8QVariantEEEiPKv at Base 0.0.3
  (optional=templinst)_ZN17QtMetaTypePrivate24QAssociativeIterableImpl9beginImplI4QMapI7QString8QVariantEEEvPKvPPv at Base 0.0.3
  (optional=templinst)_ZN17QtMetaTypePrivate24QAssociativeIterableImpl9beginImplI5QHashI7QString8QVariantEEEvPKvPPv at Base 0.0.3
- (optional=templinst)_ZN18QMetaTypeIdQObjectIP23QDBusPendingCallWatcherLi8EE14qt_metatype_idEv at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN18QMetaTypeIdQObjectIP23QDBusPendingCallWatcherLi8EE14qt_metatype_idEv at Base 0.0.3
  _ZN29DBusExtendedAbstractInterface10demarshallERK7QStringRK13QMetaPropertyRK8QVariantP10QDBusError at Base 0.0.3
  _ZN29DBusExtendedAbstractInterface11qt_metacallEN11QMetaObject4CallEiPPv at Base 0.0.3
  _ZN29DBusExtendedAbstractInterface11qt_metacastEPKc at Base 0.0.3
@@ -64,24 +64,24 @@
  _ZN30DBusExtendedPendingCallWatcherD0Ev at Base 0.0.3
  _ZN30DBusExtendedPendingCallWatcherD1Ev at Base 0.0.3
  _ZN30DBusExtendedPendingCallWatcherD2Ev at Base 0.0.3
- (optional=templinst)_ZN4QMapI7QString8QVariantED1Ev at Base 0.0.3
- (optional=templinst)_ZN4QMapI7QString8QVariantED2Ev at Base 0.0.3
- (optional=templinst)_ZN5QListI7QStringE18detach_helper_growEii at Base 0.0.3
- (optional=templinst)_ZN5QListI7QStringE6appendERKS0_ at Base 0.0.3
- (optional=templinst)_ZN5QListI7QStringED1Ev at Base 0.0.3
- (optional=templinst)_ZN5QListI7QStringED2Ev at Base 0.0.3
- (optional=templinst)_ZN5QListI8QVariantED1Ev at Base 0.0.3
- (optional=templinst)_ZN5QListI8QVariantED2Ev at Base 0.0.3
- _ZN7QStringD1Ev at Base 0.0.3
- _ZN7QStringD2Ev at Base 0.0.3
- (optional=templinst)_ZN8QMapDataI7QString8QVariantE7destroyEv at Base 0.0.3
- (optional=templinst)_ZN8QMapNodeI7QString8QVariantE14destroySubTreeEv at Base 0.0.3
- (optional=templinst)_ZN9QtPrivate19QVariantValueHelperI13QDBusArgumentE8metaTypeERK8QVariant at Base 0.0.3
- (optional=templinst)_ZN9QtPrivate28QVariantValueHelperInterfaceI20QAssociativeIterableE6invokeERK8QVariant at Base 0.0.3
- (optional=templinst)_ZN9QtPrivate28QVariantValueHelperInterfaceI4QMapI7QString8QVariantEE6invokeERKS3_ at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN4QMapI7QString8QVariantED1Ev at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN4QMapI7QString8QVariantED2Ev at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN5QListI7QStringE18detach_helper_growEii at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN5QListI7QStringE6appendERKS0_ at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN5QListI7QStringED1Ev at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN5QListI7QStringED2Ev at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN5QListI8QVariantED1Ev at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN5QListI8QVariantED2Ev at Base 0.0.3
+#MISSING: 0.0.3-5# _ZN7QStringD1Ev at Base 0.0.3
+#MISSING: 0.0.3-5# _ZN7QStringD2Ev at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN8QMapDataI7QString8QVariantE7destroyEv at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN8QMapNodeI7QString8QVariantE14destroySubTreeEv at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN9QtPrivate19QVariantValueHelperI13QDBusArgumentE8metaTypeERK8QVariant at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN9QtPrivate28QVariantValueHelperInterfaceI20QAssociativeIterableE6invokeERK8QVariant at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZN9QtPrivate28QVariantValueHelperInterfaceI4QMapI7QString8QVariantEE6invokeERKS3_ at Base 0.0.3
  _ZNK29DBusExtendedAbstractInterface10metaObjectEv at Base 0.0.3
  _ZNK30DBusExtendedPendingCallWatcher10metaObjectEv at Base 0.0.3
- (optional=templinst)_ZNK8QMapNodeI7QString8QVariantE4copyEP8QMapDataIS0_S1_E at Base 0.0.3
+#MISSING: 0.0.3-5# (optional=templinst)_ZNK8QMapNodeI7QString8QVariantE4copyEP8QMapDataIS0_S1_E at Base 0.0.3
  _ZTI29DBusExtendedAbstractInterface at Base 0.0.3
  _ZTI30DBusExtendedPendingCallWatcher at Base 0.0.3
  _ZTS29DBusExtendedAbstractInterface at Base 0.0.3
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 Pkg-deepin-devel mailing list