[Pkg-ayatana-devel] Bug#1015665: snapd-glib: ftbfs with LTO (link time optimization) enabled

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


Package: src:snapd-glib
Version: 1.60-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/snapd-glib_1.60-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI7QStringE6appendERKS0_ at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI7QStringEC1ERKS1_ at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI7QStringEC2ERKS1_ at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI7QStringED1Ev at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI7QStringED2Ev at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI8QVariantE13detach_helperEi at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI8QVariantE18detach_helper_growEii at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI8QVariantE6appendERKS0_ at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI8QVariantED1Ev at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN5QListI8QVariantED2Ev at Base 1.58
  (arch=!amd64 !arm64 !hppa !x32)_ZN7QStringC1ERKS_ at Base 1.59
  (arch=!amd64 !arm64 !hppa !x32)_ZN7QStringC2ERKS_ at Base 1.59
- _ZN7QStringD1Ev at Base 1.58
- _ZN7QStringD2Ev at Base 1.58
- (optional=templinst)_ZN8QMapNodeI7QString8QVariantE14destroySubTreeEv at Base 1.58
+#MISSING: 1.60-1# _ZN7QStringD1Ev at Base 1.58
+#MISSING: 1.60-1# _ZN7QStringD2Ev at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZN8QMapNodeI7QString8QVariantE14destroySubTreeEv at Base 1.58
  _ZN9QSnapdApp11qt_metacallEN11QMetaObject4CallEiPPv at Base 1.58
  _ZN9QSnapdApp11qt_metacastEPKc at Base 1.58
  _ZN9QSnapdApp16staticMetaObjectE at Base 1.58
  _ZN9QSnapdAppC1EPvP7QObject at Base 1.58
  _ZN9QSnapdAppC2EPvP7QObject at Base 1.58
- _ZN9QSnapdAppD0Ev at Base 1.58
- _ZN9QSnapdAppD1Ev at Base 1.58
- _ZN9QSnapdAppD2Ev at Base 1.58
+#MISSING: 1.60-1# _ZN9QSnapdAppD0Ev at Base 1.58
+#MISSING: 1.60-1# _ZN9QSnapdAppD1Ev at Base 1.58
+#MISSING: 1.60-1# _ZN9QSnapdAppD2Ev at Base 1.58
  _ZNK10QSnapdIcon10metaObjectEv at Base 1.58
  _ZNK10QSnapdIcon4dataEv at Base 1.58
  _ZNK10QSnapdIcon8mimeTypeEv at Base 1.58
@@ -1198,10 +1198,10 @@
  _ZNK29QSnapdConnectInterfaceRequest10metaObjectEv at Base 1.58
  _ZNK32QSnapdDisconnectInterfaceRequest10metaObjectEv at Base 1.58
  _ZNK33QSnapdGetSystemInformationRequest10metaObjectEv at Base 1.58
- (optional=templinst)_ZNK5QHashI7QString11QStringListE8findNodeERKS0_j at Base 1.58
- (optional=templinst)_ZNK5QHashI7QString8QVariantE8findNodeERKS0_j at Base 1.58
- _ZNK7QString11toStdStringB5cxx11Ev at Base 1.58
- (optional=templinst)_ZNK8QMapNodeI7QString8QVariantE4copyEP8QMapDataIS0_S1_E at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZNK5QHashI7QString11QStringListE8findNodeERKS0_j at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZNK5QHashI7QString8QVariantE8findNodeERKS0_j at Base 1.58
+#MISSING: 1.60-1# _ZNK7QString11toStdStringB5cxx11Ev at Base 1.58
+#MISSING: 1.60-1# (optional=templinst)_ZNK8QMapNodeI7QString8QVariantE4copyEP8QMapDataIS0_S1_E at Base 1.58
  _ZNK9QSnapdApp10daemonTypeEv at Base 1.58
  _ZNK9QSnapdApp10metaObjectEv at Base 1.58
  _ZNK9QSnapdApp11desktopFileEv at Base 1.58
@@ -1280,7 +1280,7 @@
  _ZTI27QSnapdDisableAliasesRequest at Base 1.58
  _ZTI27QSnapdGetConnectionsRequest at Base 1.58
  _ZTI27QSnapdGetInterfaces2Request at Base 1.58
- _ZTI27QSnapdInstallRequestPrivate at Base 1.58
+#MISSING: 1.60-1# _ZTI27QSnapdInstallRequestPrivate at Base 1.58
  _ZTI28QSnapdFindRefreshableRequest at Base 1.58
  _ZTI29QSnapdConnectInterfaceRequest at Base 1.58
  _ZTI32QSnapdDisconnectInterfaceRequest at Base 1.58
@@ -1430,7 +1430,7 @@
  _ZTV27QSnapdDisableAliasesRequest at Base 1.58
  _ZTV27QSnapdGetConnectionsRequest at Base 1.58
  _ZTV27QSnapdGetInterfaces2Request at Base 1.58
- _ZTV27QSnapdInstallRequestPrivate at Base 1.58
+#MISSING: 1.60-1# _ZTV27QSnapdInstallRequestPrivate at Base 1.58
  _ZTV28QSnapdFindRefreshableRequest at Base 1.58
  _ZTV29QSnapdConnectInterfaceRequest at Base 1.58
  _ZTV32QSnapdDisconnectInterfaceRequest at Base 1.58
dh_makeshlibs: error: failing due to earlier errors
make[1]: *** [debian/rules:17: override_dh_makeshlibs] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-ayatana-devel mailing list