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

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


Package: src:libqtxdg
Version: 3.6.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/libqtxdg_3.6.0-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
-- Set runtime path of "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/qt5/plugins/iconengines/libQt5XdgIconPlugin.so" to ""
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libQt5Xdg.so.3.6.0
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libQt5Xdg.so.3
-- Set runtime path of "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libQt5Xdg.so.3.6.0" to ""
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/libQt5Xdg.so
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgaction.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgdesktopfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgdirs.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgicon.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgmenu.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgmenuwidget.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xmlhelper.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgautostart.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgmacros.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgmimetype.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgmimeapps.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/xdgdefaultapps.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgAction
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgDesktopFile
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgDirs
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgIcon
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgMenu
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgMenuWidget
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XmlHelper
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgAutoStart
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgMimeType
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgMimeApps
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/qt5xdg/XdgDefaultApps
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/qtxdg-mat
-- Set runtime path of "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/qtxdg-mat" to ""
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/qtxdg-desktop-file-start
-- Set runtime path of "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/qtxdg-desktop-file-start" to ""
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/bin/qtxdg-iconfinder
-- Set runtime path of "/<<PKGBUILDDIR>>/debian/tmp/usr/bin/qtxdg-iconfinder" to ""
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
   dh_install -O--buildsystem=cmake
   dh_installdocs -O--buildsystem=cmake
   dh_installchangelogs -O--buildsystem=cmake
   dh_installexamples -O--buildsystem=cmake
   dh_installinit -O--buildsystem=cmake
   dh_installsystemduser -O--buildsystem=cmake
   dh_lintian -O--buildsystem=cmake
   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
   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/libqt5xdg3/DEBIAN/symbols doesn't match completely debian/libqt5xdg3.symbols
--- debian/libqt5xdg3.symbols (libqt5xdg3_3.6.0-1_amd64)
+++ dpkg-gensymbolsspNh9V	2022-06-10 09:02:10.994153213 +0000
@@ -150,7 +150,7 @@
  _ZN14XdgDefaultApps13setWebBrowserERK14XdgDesktopFile at Base 3.6.0
  _ZN14XdgDefaultApps14setEmailClientERK14XdgDesktopFile at Base 3.6.0
  _ZN14XdgDefaultApps14setFileManagerERK14XdgDesktopFile at Base 3.6.0
- _ZNSt6vectorISt10unique_ptrI14XdgDesktopFileSt14default_deleteIS1_EESaIS4_EE17_M_realloc_insertIJS4_EEEvN9__gnu_cxx17__normal_iteratorIPS4_S6_EEDpOT_ at Base 3.6.0
+#MISSING: 3.6.0-1# _ZNSt6vectorISt10unique_ptrI14XdgDesktopFileSt14default_deleteIS1_EESaIS4_EE17_M_realloc_insertIJS4_EEEvN9__gnu_cxx17__normal_iteratorIPS4_S6_EEDpOT_ at Base 3.6.0
  (c++)"non-virtual thunk to XdgMenuWidget::~XdgMenuWidget()@Base" 1.0.0
  (c++)"typeinfo for XdgAction at Base" 1.0.0
  (c++)"typeinfo for XdgDesktopFile at Base" 1.0.0
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2



More information about the pkg-lxqt-devel mailing list