Bug#1015640: qtquickcontrols2-opensource-src: ftbfs with LTO (link time optimization) enabled
Package: src:qtquickcontrols2-opensource-src
Version: 5.15.2+dfsg-4
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/qtquickcontrols2-opensource-src_5.15.2+dfsg-4_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_install
dh_qmlcdeps
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_dwz -a
dh_strip -a
dh_makeshlibs -a
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqt5quickcontrols2-5/DEBIAN/symbols doesn't match completely debian/libqt5quickcontrols2-5.symbols
--- debian/libqt5quickcontrols2-5.symbols (libqt5quickcontrols2-5_5.15.2+dfsg-4_amd64)
+++ dpkg-gensymbolslSp57C 2022-06-10 09:03:48.312709154 +0000
@@ -303,7 +303,7 @@
_ZTI21QQuickPaddedRectangle@Qt_5_PRIVATE_API 5.7.1
_ZTI21QQuickPlaceholderText@Qt_5_PRIVATE_API 5.9.0~rc
_ZTI22QQuickIconImagePrivate@Qt_5_PRIVATE_API 5.10.1
- _ZTI29QQuickImplicitSizeItemPrivate@Qt_5 5.10.1
+#MISSING: 5.15.2+dfsg-4# _ZTI29QQuickImplicitSizeItemPrivate@Qt_5 5.10.1
_ZTS11QQuickColor@Qt_5_PRIVATE_API 5.10.1
_ZTS15QQuickIconImage@Qt_5_PRIVATE_API 5.10.1
_ZTS15QQuickIconLabel@Qt_5_PRIVATE_API 5.10.1
@@ -336,7 +336,7 @@
_ZTV21QQuickPaddedRectangle@Qt_5_PRIVATE_API 5.7.1
_ZTV21QQuickPlaceholderText@Qt_5_PRIVATE_API 5.9.0~rc
_ZTV22QQuickIconImagePrivate@Qt_5_PRIVATE_API 5.10.1
- _ZTV29QQuickImplicitSizeItemPrivate@Qt_5 5.10.1
+#MISSING: 5.15.2+dfsg-4# _ZTV29QQuickImplicitSizeItemPrivate@Qt_5 5.10.1
(c++)"non-virtual thunk to QQuickIconImage::componentComplete()@Qt_5_PRIVATE_API" 5.10.1
(c++)"non-virtual thunk to QQuickIconLabel::componentComplete()@Qt_5_PRIVATE_API" 5.10.1
(c++)"non-virtual thunk to QQuickIconLabel::~QQuickIconLabel()@Qt_5_PRIVATE_API" 5.10.1
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqt5quicktemplates2-5/DEBIAN/symbols doesn't match completely debian/libqt5quicktemplates2-5.symbols
--- debian/libqt5quicktemplates2-5.symbols (libqt5quicktemplates2-5_5.15.2+dfsg-4_amd64)
+++ dpkg-gensymbolsm5YGfA 2022-06-10 09:03:49.036711657 +0000
@@ -2938,7 +2938,7 @@
_ZTI27QQuickAbstractButtonPrivate@Qt_5_PRIVATE_API 5.9.0~rc
_ZTI27QQuickSwipeDelegateAttached@Qt_5_PRIVATE_API 5.9.0~rc
_ZTI29QQuickDialogButtonBoxAttached@Qt_5_PRIVATE_API 5.9.0~rc
- _ZTI29QQuickImplicitSizeItemPrivate@Qt_5 5.12.3
+#MISSING: 5.15.2+dfsg-4# _ZTI29QQuickImplicitSizeItemPrivate@Qt_5 5.12.3
_ZTI29QQuickScrollIndicatorAttached@Qt_5_PRIVATE_API 5.6.0~beta
_ZTI31QQuickApplicationWindowAttached@Qt_5_PRIVATE_API 5.6.0~beta
_ZTI38QQuickItemViewTransitionChangeListener@Qt_5 5.12.3
@@ -3083,7 +3083,7 @@
_ZTV17QQuickRadioButton@Qt_5_PRIVATE_API 5.6.0~beta
_ZTV17QQuickRangeSlider@Qt_5_PRIVATE_API 5.6.0~beta
_ZTV17QQuickRoundButton@Qt_5_PRIVATE_API 5.9.0~rc
- _ZTV18QQuickFramePrivate@Qt_5_PRIVATE_API 5.6.0~beta
+#MISSING: 5.15.2+dfsg-4# _ZTV18QQuickFramePrivate@Qt_5_PRIVATE_API 5.6.0~beta
_ZTV18QQuickItemDelegate@Qt_5_PRIVATE_API 5.6.0~beta
_ZTV18QQuickPopupAnchors@Qt_5_PRIVATE_API 5.12.2
_ZTV19QQuickBusyIndicator@Qt_5_PRIVATE_API 5.6.0~beta
@@ -3124,7 +3124,7 @@
_ZTV27QQuickAbstractButtonPrivate@Qt_5_PRIVATE_API 5.9.0~rc
_ZTV27QQuickSwipeDelegateAttached@Qt_5_PRIVATE_API 5.9.0~rc
_ZTV29QQuickDialogButtonBoxAttached@Qt_5_PRIVATE_API 5.9.0~rc
- _ZTV29QQuickImplicitSizeItemPrivate@Qt_5 5.12.3
+#MISSING: 5.15.2+dfsg-4# _ZTV29QQuickImplicitSizeItemPrivate@Qt_5 5.12.3
_ZTV29QQuickScrollIndicatorAttached@Qt_5_PRIVATE_API 5.6.0~beta
_ZTV31QQuickApplicationWindowAttached@Qt_5_PRIVATE_API 5.6.0~beta
(c++)"non-virtual thunk to QQuickAbstractButton::componentComplete()@Qt_5_PRIVATE_API" 5.10.1
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
Reply to: