[pkg-lxqt-devel] Bug#1015501: liblxqt: ftbfs with LTO (link time optimization) enabled

Matthias Klose doko at debian.org
Tue Jul 19 17:55:18 BST 2022


Package: src:liblxqt
Version: 0.16.0-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/liblxqt_0.16.0-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
   dh_perl -O--buildsystem=cmake
   dh_link -O--buildsystem=cmake
   dh_strip_nondeterminism -O--buildsystem=cmake
   dh_compress -O--buildsystem=cmake
   dh_fixperms -O--buildsystem=cmake
   debian/rules override_dh_missing
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_missing --fail-missing
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_dwz -O--buildsystem=cmake
dwz: debian/liblxqt0/usr/lib/x86_64-linux-gnu/liblxqt.so.0.16.0: DWARF compression not beneficial - old size 5441161 new size 5469408
   dh_strip -O--buildsystem=cmake
   dh_makeshlibs -O--buildsystem=cmake
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/liblxqt0/DEBIAN/symbols doesn't match completely debian/liblxqt0.symbols
--- debian/liblxqt0.symbols (liblxqt0_0.16.0-1_amd64)
+++ dpkg-gensymbolsdGw4wC	2022-06-10 09:03:24.623422869 +0000
@@ -279,12 +279,12 @@
  (c++)"non-virtual thunk to LXQt::GridLayout::~GridLayout()@Base" 0.9.0+20150911
  (c++)"non-virtual thunk to LXQt::PageSelectWidget::~PageSelectWidget()@Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::Application at Base" 0.9.0+20150911
- (c++)"typeinfo for LXQt::AutostartEntry at Base" 0.9.0+20150911
+#MISSING: 0.16.0-1# (c++)"typeinfo for LXQt::AutostartEntry at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::Backlight at Base" 0.13.0~
  (c++)"typeinfo for LXQt::ConfigDialog at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::GridLayout at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::HtmlDelegate at Base" 0.9.0+20150911
- (c++)"typeinfo for LXQt::MessageBox at Base" 0.9.0+20150911
+#MISSING: 0.16.0-1# (c++)"typeinfo for LXQt::MessageBox at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::Notification at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::PageSelectWidget at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::PluginInfo at Base" 0.9.0+20150911
@@ -293,7 +293,7 @@
  (c++)"typeinfo for LXQt::RotatedWidget at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::ScreenSaver at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::Settings at Base" 0.9.0+20150911
- (c++)"typeinfo for LXQt::SettingsCache at Base" 0.9.0+20150911
+#MISSING: 0.16.0-1# (c++)"typeinfo for LXQt::SettingsCache at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::SingleApplication at Base" 0.9.0+20150911
  (c++)"typeinfo for LXQt::VirtualBackEnd at Base" 0.13.0~
  (c++)"typeinfo name for LXQt::Application at Base" 0.9.0+20150911
@@ -314,14 +314,14 @@
  (c++)"typeinfo name for LXQt::SettingsCache at Base" 0.9.0+20150911
  (c++)"typeinfo name for LXQt::SingleApplication at Base" 0.9.0+20150911
  (c++)"typeinfo name for LXQt::VirtualBackEnd at Base" 0.13.0~
- (c++)"void std::vector<int, std::allocator<int> >::_M_realloc_insert<int>(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, int&&)@Base" 0.12.0
+#MISSING: 0.16.0-1# (c++)"void std::vector<int, std::allocator<int> >::_M_realloc_insert<int>(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, int&&)@Base" 0.12.0
  (c++)"vtable for LXQt::Application at Base" 0.9.0+20150911
- (c++)"vtable for LXQt::AutostartEntry at Base" 0.9.0+20150911
+#MISSING: 0.16.0-1# (c++)"vtable for LXQt::AutostartEntry at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::Backlight at Base" 0.13.0~
  (c++)"vtable for LXQt::ConfigDialog at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::GridLayout at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::HtmlDelegate at Base" 0.9.0+20150911
- (c++)"vtable for LXQt::MessageBox at Base" 0.9.0+20150911
+#MISSING: 0.16.0-1# (c++)"vtable for LXQt::MessageBox at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::Notification at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::PageSelectWidget at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::PluginInfo at Base" 0.9.0+20150911
@@ -330,6 +330,6 @@
  (c++)"vtable for LXQt::RotatedWidget at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::ScreenSaver at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::Settings at Base" 0.9.0+20150911
- (c++)"vtable for LXQt::SettingsCache at Base" 0.9.0+20150911
+#MISSING: 0.16.0-1# (c++)"vtable for LXQt::SettingsCache at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::SingleApplication at Base" 0.9.0+20150911
  (c++)"vtable for LXQt::VirtualBackEnd at Base" 0.13.0~
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the pkg-lxqt-devel mailing list