Bug#1015464: ktp-common-internals: ftbfs with LTO (link time optimization) enabled
Package: src:ktp-common-internals
Version: 21.12.3-1
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/ktp-common-internals_21.12.3-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
Normalized debian/kde-telepathy-data/usr/share/locale/ko/LC_MESSAGES/ktp-common-internals.mo
Normalized debian/kde-telepathy-data/usr/share/locale/nn/LC_MESSAGES/ktp-debugger.mo
Normalized debian/kde-telepathy-data/usr/share/locale/nn/LC_MESSAGES/ktp-common-internals.mo
Normalized debian/kde-telepathy-data/usr/share/locale/zh_CN/LC_MESSAGES/ktp-debugger.mo
Normalized debian/kde-telepathy-data/usr/share/locale/zh_CN/LC_MESSAGES/ktp-common-internals.mo
Normalized debian/kde-telepathy-data/usr/share/locale/kk/LC_MESSAGES/ktp-debugger.mo
Normalized debian/kde-telepathy-data/usr/share/locale/kk/LC_MESSAGES/ktp-common-internals.mo
Normalized debian/kde-telepathy-data/usr/share/locale/sv/LC_MESSAGES/ktp-debugger.mo
Normalized debian/kde-telepathy-data/usr/share/locale/sv/LC_MESSAGES/ktp-common-internals.mo
dh_compress -X.dcl -X.docbook -X-license -X.tag -X.sty -X.el
dh_fixperms
dh_missing
dh_dwz -a
dh_strip -a
dh_makeshlibs -a -Xusr/lib/libkdeinit5_\*
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libktpcommoninternals9abi1/DEBIAN/symbols doesn't match completely debian/libktpcommoninternals9abi1.symbols
--- debian/libktpcommoninternals9abi1.symbols (libktpcommoninternals9abi1_21.12.3-1_amd64)
+++ dpkg-gensymbolsK7bR09 2022-06-10 08:48:24.788499412 +0000
@@ -400,7 +400,7 @@
_ZTSN3KTp27TelepathyHandlerApplicationE@ABI_9_1 20.04.3
_ZTSN3KTp7ContactE@ABI_9_1 20.04.3
_ZTSN3KTp7MessageE@ABI_9_1 20.04.3
- _ZTVN2Tp10RefCountedE@ABI_9_1 20.04.3
+#MISSING: 21.12.3-1# _ZTVN2Tp10RefCountedE@ABI_9_1 20.04.3
_ZTVN3KTp10TextParserE@ABI_9_1 20.04.3
_ZTVN3KTp12LogsImporter7PrivateE@ABI_9_1 20.04.3
_ZTVN3KTp12LogsImporterE@ABI_9_1 20.04.3
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libktpmodels9abi1/DEBIAN/symbols doesn't match completely debian/libktpmodels9abi1.symbols
--- debian/libktpmodels9abi1.symbols (libktpmodels9abi1_21.12.3-1_amd64)
+++ dpkg-gensymbolsu__AAw 2022-06-10 08:48:25.176501642 +0000
@@ -308,7 +308,7 @@
_ZTSN3KTp28TextChannelWatcherProxyModelE@ABI_9_1 20.04.3
_ZTTN3KTp28TextChannelWatcherProxyModelE@ABI_9_1 20.04.3
_ZTV23KPeopleTranslationProxy@ABI_9_1 20.04.3
- _ZTVN2Tp10RefCountedE@ABI_9_1 20.04.3
+#MISSING: 21.12.3-1# _ZTVN2Tp10RefCountedE@ABI_9_1 20.04.3
_ZTVN3KTp10RoomsModelE@ABI_9_1 20.04.3
_ZTVN3KTp13ContactsModelE@ABI_9_1 20.04.3
_ZTVN3KTp13PresenceModelE@ABI_9_1 20.04.3
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libktpotr9/DEBIAN/symbols doesn't match completely debian/libktpotr9.symbols
--- debian/libktpotr9.symbols (libktpotr9_21.12.3-1_amd64)
+++ dpkg-gensymbolsBf2My_ 2022-06-10 08:48:25.368502746 +0000
@@ -115,7 +115,7 @@
_ZTSN3KTp14ChannelAdapterE@Base 15.04.2
_ZTSN3KTp6Client21ProxyServiceInterfaceE@Base 15.04.2
_ZTSN3KTp6Client33ChannelProxyInterfaceOTRInterfaceE@Base 15.04.2
- _ZTVN2Tp10RefCountedE@Base 15.04.2
+#MISSING: 21.12.3-1# _ZTVN2Tp10RefCountedE@Base 15.04.2
_ZTVN3KTp14ChannelAdapterE@Base 15.04.2
_ZTVN3KTp6Client21ProxyServiceInterfaceE@Base 15.04.2
_ZTVN3KTp6Client33ChannelProxyInterfaceOTRInterfaceE@Base 15.04.2
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libktpwidgets9/DEBIAN/symbols doesn't match completely debian/libktpwidgets9.symbols
--- debian/libktpwidgets9.symbols (libktpwidgets9_21.12.3-1_amd64)
+++ dpkg-gensymbolsA4QfpN 2022-06-10 08:48:25.584503988 +0000
@@ -180,7 +180,7 @@
_ZTSN3KTp17SettingsKcmDialogE@Base 15.04.2
_ZTSN3KTp18JoinChatRoomDialogE@Base 15.04.2
_ZTSN3KTp24NotificationConfigDialogE@Base 15.04.2
- _ZTVN2Tp10RefCountedE@Base 15.04.2
+#MISSING: 21.12.3-1# _ZTVN2Tp10RefCountedE@Base 15.04.2
_ZTVN3KTp15StartChatDialogE@Base 15.04.2
_ZTVN3KTp16AccountsComboBoxE@Base 15.04.2
_ZTVN3KTp16AddContactDialogE@Base 15.04.2
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: