[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015638: qtpim-opensource-src: ftbfs with LTO (link time optimization) enabled



Package: src:qtpim-opensource-src
Version: 5.0~git20190618.8fec622c+dfsg1-10
Severity: minor
Tags: sid bookworm
User: debian-gcc@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/qtpim-opensource-src_5.0~git20190618.8fec622c+dfsg1-10_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
  Qt_5.1@Qt_5.1 5.0~git20190618.8fec622c
  Qt_5.2@Qt_5.2 5.0~git20190618.8fec622c
  Qt_5.3@Qt_5.3 5.0~git20190618.8fec622c
@@ -1005,6 +1006,6 @@
  _ZTVN10QtContacts31QContactRelationshipSaveRequestE@Qt_5 5.0~git20190618.8fec622c
  _ZTVN10QtContacts32QContactRelationshipFetchRequestE@Qt_5 5.0~git20190618.8fec622c
  _ZTVN10QtContacts33QContactRelationshipRemoveRequestE@Qt_5 5.0~git20190618.8fec622c
- _ZTVN10QtContacts37QContactManagerEngineFactoryInterfaceE@Qt_5 5.0~git20190618.8fec622c
+#MISSING: 5.0~git20190618.8fec622c+dfsg1-10# _ZTVN10QtContacts37QContactManagerEngineFactoryInterfaceE@Qt_5 5.0~git20190618.8fec622c
  (c++)"non-virtual thunk to QtContacts::QContactManagerEngineFactory::keys() const@Qt_5" 5.0~git20190618.8fec622c
  (c++)"non-virtual thunk to QtContacts::QContactManagerEngineFactory::~QContactManagerEngineFactory()@Qt_5" 5.0~git20190618.8fec622c
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqt5organizer5/DEBIAN/symbols doesn't match completely debian/libqt5organizer5.symbols
--- debian/libqt5organizer5.symbols (libqt5organizer5_5.0~git20190618.8fec622c+dfsg1-10_amd64)
+++ dpkg-gensymbols2He_eN	2022-06-10 08:48:33.473644212 +0000
@@ -6,6 +6,7 @@
  Qt_5.12@Qt_5.12 5.0~git20190618.8fec622c
  Qt_5.13@Qt_5.13 5.0~git20190618.8fec622c
  Qt_5.14@Qt_5.14 5.0~git20190618.8fec622c
+ Qt_5.15@Qt_5.15 5.0~git20190618.8fec622c+dfsg1-10
  Qt_5.1@Qt_5.1 5.0~git20190618.8fec622c
  Qt_5.2@Qt_5.2 5.0~git20190618.8fec622c
  Qt_5.3@Qt_5.3 5.0~git20190618.8fec622c
@@ -901,6 +902,6 @@
  _ZTVN11QtOrganizer33QOrganizerCollectionRemoveRequestE@Qt_5 5.0~git20190618.8fec622c
  _ZTVN11QtOrganizer35QOrganizerItemFetchForExportRequestE@Qt_5 5.0~git20190618.8fec622c
  _ZTVN11QtOrganizer36QOrganizerItemOccurrenceFetchRequestE@Qt_5 5.0~git20190618.8fec622c
- _ZTVN11QtOrganizer39QOrganizerManagerEngineFactoryInterfaceE@Qt_5 5.0~git20190618.8fec622c
+#MISSING: 5.0~git20190618.8fec622c+dfsg1-10# _ZTVN11QtOrganizer39QOrganizerManagerEngineFactoryInterfaceE@Qt_5 5.0~git20190618.8fec622c
  (c++)"non-virtual thunk to QtOrganizer::QOrganizerManagerEngineFactory::keys() const@Qt_5" 5.0~git20190618.8fec622c
  (c++)"non-virtual thunk to QtOrganizer::QOrganizerManagerEngineFactory::~QOrganizerManagerEngineFactory()@Qt_5" 5.0~git20190618.8fec622c
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqt5versit5/DEBIAN/symbols doesn't match completely debian/libqt5versit5.symbols
--- debian/libqt5versit5.symbols (libqt5versit5_5.0~git20190618.8fec622c+dfsg1-10_amd64)
+++ dpkg-gensymbolssSVtEu	2022-06-10 08:48:33.709642712 +0000
@@ -6,6 +6,7 @@
  Qt_5.12@Qt_5.12 5.0~git20190618.8fec622c
  Qt_5.13@Qt_5.13 5.0~git20190618.8fec622c+dfsg1
  Qt_5.14@Qt_5.14 5.0~git20190618.8fec622c+dfsg1
+ Qt_5.15@Qt_5.15 5.0~git20190618.8fec622c+dfsg1-10
  Qt_5.1@Qt_5.1 5.0~git20190618.8fec622c
  Qt_5.2@Qt_5.2 5.0~git20190618.8fec622c
  Qt_5.3@Qt_5.3 5.0~git20190618.8fec622c
@@ -135,8 +136,8 @@
  _ZN8QtVersit15QVersitPropertyD1Ev@Qt_5 5.0~git20190618.8fec622c
  _ZN8QtVersit15QVersitPropertyD2Ev@Qt_5 5.0~git20190618.8fec622c
  _ZN8QtVersit15QVersitPropertyaSERKS0_@Qt_5 5.0~git20190618.8fec622c
-#MISSING: 5.0~git20190618.8fec622c+dfsg1-2# (optional=templinst)_ZN8QtVersit20QVersitReaderPrivate10containsAtI10QByteArrayEEbRKT_RKS2_i@Qt_5_PRIVATE_API 5.0~git20190618.8fec622c
-#MISSING: 5.0~git20190618.8fec622c+dfsg1-2# (optional=templinst)_ZN8QtVersit20QVersitReaderPrivate10containsAtINS_10LByteArrayEEEbRKT_RK10QByteArrayi@Qt_5_PRIVATE_API 5.0~git20190618.8fec622c
+#MISSING: 5.0~git20190618.8fec622c+dfsg1-10# (optional=templinst)_ZN8QtVersit20QVersitReaderPrivate10containsAtI10QByteArrayEEbRKT_RKS2_i@Qt_5_PRIVATE_API 5.0~git20190618.8fec622c
+#MISSING: 5.0~git20190618.8fec622c+dfsg1-10# (optional=templinst)_ZN8QtVersit20QVersitReaderPrivate10containsAtINS_10LByteArrayEEEbRKT_RK10QByteArrayi@Qt_5_PRIVATE_API 5.0~git20190618.8fec622c
  _ZN8QtVersit20QVersitReaderPrivate10splitValueERK7QStringRK5QCharNS1_13SplitBehaviorEb@Qt_5_PRIVATE_API 5.0~git20190618.8fec622c
  _ZN8QtVersit20QVersitReaderPrivate11isCancelingEv@Qt_5_PRIVATE_API 5.0~git20190618.8fec622c
  _ZN8QtVersit20QVersitReaderPrivate11qt_metacallEN11QMetaObject4CallEiPPv@Qt_5_PRIVATE_API 5.0~git20190618.8fec622c
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqt5versitorganizer5/DEBIAN/symbols doesn't match completely debian/libqt5versitorganizer5.symbols
--- debian/libqt5versitorganizer5.symbols (libqt5versitorganizer5_5.0~git20190618.8fec622c+dfsg1-10_amd64)
+++ dpkg-gensymbolsfBU8F3	2022-06-10 08:48:33.825641976 +0000
@@ -6,6 +6,7 @@
  Qt_5.12@Qt_5.12 5.0~git20190618.8fec622c
  Qt_5.13@Qt_5.13 5.0~git20190618.8fec622c+dfsg1
  Qt_5.14@Qt_5.14 5.0~git20190618.8fec622c+dfsg1
+ Qt_5.15@Qt_5.15 5.0~git20190618.8fec622c+dfsg1-10
  Qt_5.1@Qt_5.1 5.0~git20190618.8fec622c
  Qt_5.2@Qt_5.2 5.0~git20190618.8fec622c
  Qt_5.3@Qt_5.3 5.0~git20190618.8fec622c
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: