#1015685 telepathy-qt: ftbfs with LTO (link time optimization) enabled

#1015685#5
Date:
2022-07-19 17:01:40 UTC
From:
To:
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-qt_0.9.8+ds-4_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
+#MISSING: 0.9.8+ds-4# _ZTIN2Tp14ChannelFactory12SubclassCtorINS_20StreamedMediaChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTIN2Tp14ChannelFactory12SubclassCtorINS_23IncomingDBusTubeChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTIN2Tp14ChannelFactory12SubclassCtorINS_23OutgoingDBusTubeChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTIN2Tp14ChannelFactory12SubclassCtorINS_25IncomingStreamTubeChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTIN2Tp14ChannelFactory12SubclassCtorINS_25OutgoingStreamTubeChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTIN2Tp14ChannelFactory12SubclassCtorINS_27IncomingFileTransferChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTIN2Tp14ChannelFactory12SubclassCtorINS_27OutgoingFileTransferChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTIN2Tp14ChannelFactory12SubclassCtorINS_27ServerAuthenticationChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTIN2Tp14ChannelFactory12SubclassCtorINS_7ChannelEEE@Base 0.9.5
  _ZTIN2Tp14ChannelFactoryE@Base 0.9.5
  _ZTIN2Tp14ChannelRequestE@Base 0.9.5
  _ZTIN2Tp14ContactFactoryE@Base 0.9.5
@@ -4555,7 +4555,7 @@
  _ZTVN2Tp10AccountSetE@Base 0.9.5
  _ZTVN2Tp10CallStreamE@Base 0.9.5
  _ZTVN2Tp10ConnectionE@Base 0.9.5
- _ZTVN2Tp10RefCountedE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp10RefCountedE@Base 0.9.5
  _ZTVN2Tp11CallChannelE@Base 0.9.5
  _ZTVN2Tp11CallContentE@Base 0.9.5
  _ZTVN2Tp11PendingVoidE@Base 0.9.5
@@ -4569,20 +4569,20 @@
  _ZTVN2Tp14AbstractClientE@Base 0.9.5
  _ZTVN2Tp14AccountFactoryE@Base 0.9.5
  _ZTVN2Tp14AccountManagerE@Base 0.9.5
- (optional)_ZTVN2Tp14ChannelFactory11ConstructorE@Base 0.9.8
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_11CallChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_11TextChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_15RoomListChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_20ContactSearchChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_20StreamedMediaChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_23IncomingDBusTubeChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_23OutgoingDBusTubeChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_25IncomingStreamTubeChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_25OutgoingStreamTubeChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_27IncomingFileTransferChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_27OutgoingFileTransferChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_27ServerAuthenticationChannelEEE@Base 0.9.5
- _ZTVN2Tp14ChannelFactory12SubclassCtorINS_7ChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# (optional)_ZTVN2Tp14ChannelFactory11ConstructorE@Base 0.9.8
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_11CallChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_11TextChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_15RoomListChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_20ContactSearchChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_20StreamedMediaChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_23IncomingDBusTubeChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_23OutgoingDBusTubeChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_25IncomingStreamTubeChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_25OutgoingStreamTubeChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_27IncomingFileTransferChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_27OutgoingFileTransferChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_27ServerAuthenticationChannelEEE@Base 0.9.5
+#MISSING: 0.9.8+ds-4# _ZTVN2Tp14ChannelFactory12SubclassCtorINS_7ChannelEEE@Base 0.9.5
  _ZTVN2Tp14ChannelFactoryE@Base 0.9.5
  _ZTVN2Tp14ChannelRequestE@Base 0.9.5
  _ZTVN2Tp14ContactFactoryE@Base 0.9.5
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libtelepathy-qt5-farstream0/DEBIAN/symbols doesn't match completely debian/libtelepathy-qt5-farstream0.symbols
--- debian/libtelepathy-qt5-farstream0.symbols (libtelepathy-qt5-farstream0_0.9.8+ds-4_amd64)
+++ dpkg-gensymbols9nIqWf	2022-06-10 08:49:53.203991972 +0000
@@ -11,5 +11,6 @@
  _ZNK2Tp9Farstream14PendingChannel11callChannelEv@Base 0.9.5
  _ZNK2Tp9Farstream14PendingChannel9tfChannelEv@Base 0.9.5
  _ZTIN2Tp9Farstream14PendingChannelE@Base 0.9.5
+ _ZTSN2Tp10RefCountedE@Base 0.9.8+ds-4
  _ZTSN2Tp9Farstream14PendingChannelE@Base 0.9.5
  _ZTVN2Tp9Farstream14PendingChannelE@Base 0.9.5
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1015685#16
Date:
2026-05-13 01:31:22 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
telepathy-qt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1015685@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andres Salomon <dilinger@debian.org> (supplier of updated telepathy-qt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 12 May 2026 20:57:55 -0400
Source: telepathy-qt
Architecture: source
Version: 0.9.8+git16.g04302908-3
Distribution: unstable
Urgency: medium
Maintainer: Debian UBports Team <team+ubports@tracker.debian.org>
Changed-By: Andres Salomon <dilinger@debian.org>
Closes: 1015685
Changes:
 telepathy-qt (0.9.8+git16.g04302908-3) unstable; urgency=medium
 .
   * Explicitly disable LTO due to ABI breakage (closes: #1015685).
   * Update Vcs in d/control for new path.
Checksums-Sha1:
 bbefa66f6dfe38dec0310fff1fbc784855708ed7 2842 telepathy-qt_0.9.8+git16.g04302908-3.dsc
 7a4d927c9ea637859183ded56dc515da5a881183 87400 telepathy-qt_0.9.8+git16.g04302908-3.debian.tar.xz
 753cb6601bd373c9fb710c037334ea28a27db66b 16854 telepathy-qt_0.9.8+git16.g04302908-3_source.buildinfo
Checksums-Sha256:
 d7acfd04eee4bfa3572be58f469f747e28eed74f3d454494ece051eedd1e0e53 2842 telepathy-qt_0.9.8+git16.g04302908-3.dsc
 01fc0329a4870d1138a55286e67f00761a321cc0d4e9542a4a80c79e1093a7f2 87400 telepathy-qt_0.9.8+git16.g04302908-3.debian.tar.xz
 d55225bc83324ce676b10f5dd4162e342cc9531740c843b840e4abcc1da54ace 16854 telepathy-qt_0.9.8+git16.g04302908-3_source.buildinfo
Files:
 044d9d8f3e554eaad6dec656c55aacc3 2842 libs optional telepathy-qt_0.9.8+git16.g04302908-3.dsc
 3d06d51ce0154a8e4678a1f6e8dea79f 87400 libs optional telepathy-qt_0.9.8+git16.g04302908-3.debian.tar.xz
 dbd4c5d192215819b5ad0e5b434eddcf 16854 libs optional telepathy-qt_0.9.8+git16.g04302908-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEUAUk+X1YiTIjs19qZF0CR8NudjcFAmoDz3wUHGRpbGluZ2Vy
QGRlYmlhbi5vcmcACgkQZF0CR8NudjePpA/9EFj+rCszPoCGjaGoVDD1jRGfSz3Y
jCt0WHqqqwgTxrEo+W+iDfQlHX6bMU5NAiQoCEv+a1zqvadSOBJYRlKvXKJC3Rrx
SZ13R/gcKqMo7Y8n3ftUXpW/mj/z6AW2d09B3+ttU7zpkriLk+psdhsS7dSdbeT2
sdoXq8BsmPODpLf9tVn3KIBGYlYk10Ty8D1ZWa6bd4i5qoXQtDGE8qRNRIPNDyV4
xmyiGT/XLf2FurodKMexirsoRF6DpIzR55QTI7gGvtqzpZtwgLNllzjTtRBaRT3m
PsajMcVkYM4qGQT/75anQaHL6mJnFElVhECEhQ0guXMPSktzX/pn8aqoSMhUOkGB
0Z5l10wuiasRAqavomkSvTitbv0ZB5Ni8Kx/S1VhSEWHTIzTxfdhVVH8vs0ZlZHk
e37TEhORq9+baN+ZKif1oTwe3E3C7qCqX9/PUhDIjT5NBER9bZHQhiTeJ0ZvsBk5
KVSrRiqIPuHJXQMeOF8WEjbym/3iL6DsHk/Ie1zIRLLGv0vtdnGRuw2Gca5ZF/cS
g5beYLjHl1N6b2zAh8lqdehrFft/FRqE3P0mKxemzwdnmRYWTSaF6cwIYlE9Qduu
S9GU3C6hknbIlHUnKz075ZQz1Ylqh0sBlvcAg2ugJyVMDL7U8jCckJ2fA22SebbT
08/oBFho3SZGT64=
=hWDK
-----END PGP SIGNATURE-----