[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015642: marked as done (qtscxml-everywhere-src: ftbfs with LTO (link time optimization) enabled)



Your message dated Sat, 30 Jul 2022 20:41:33 +0300
with message-id <YuVtTSrmlCOV9AHm@mitya57.me>
and subject line Re: Bug#1015642: qtscxml-everywhere-src: ftbfs with LTO (link time optimization) enabled
has caused the Debian Bug report #1015642,
regarding qtscxml-everywhere-src: ftbfs with LTO (link time optimization) enabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1015642: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015642
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:qtscxml-everywhere-src
Version: 5.15.2-2
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/qtscxml-everywhere-src_5.15.2-2_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/doc/qtscxml /<<PKGBUILDDIR>>/debian/tmp/usr/share/qt5/doc/qtscxml
/usr/lib/qt5/bin/qmake -install qinstall /<<PKGBUILDDIR>>/doc/qtscxml.qch /<<PKGBUILDDIR>>/debian/tmp/usr/share/qt5/doc/qtscxml.qch
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/scxml'
cd imports/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/src/imports/imports.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_LFLAGS
 _RELEASE=-flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now' 'QMAKE_LFLAGS_DEBUG=-flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now' QMAKE_STRIP=: PREFIX=/usr QT_BUILD_PARTS+=tests ) && /usr/bin/make -f Makefile install_docs
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/imports'
cd scxmlstatemachine/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/src/imports/scxmlstatemachine/scxmlstatemachine.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-t
 ime -D_FORTIFY_SOURCE=2' 'QMAKE_LFLAGS_RELEASE=-flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now' 'QMAKE_LFLAGS_DEBUG=-flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now' QMAKE_STRIP=: PREFIX=/usr QT_BUILD_PARTS+=tests ) && /usr/bin/make -f Makefile install_docs
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/imports/scxmlstatemachine'
make[4]: Nothing to be done for 'install_docs'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/imports/scxmlstatemachine'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/imports'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install
   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/libqt5scxml5/DEBIAN/symbols doesn't match completely debian/libqt5scxml5.symbols
--- debian/libqt5scxml5.symbols (libqt5scxml5_5.15.2-2_amd64)
+++ dpkg-gensymbolsq7Naeg	2022-06-10 08:49:57.538518336 +0000
@@ -383,13 +383,13 @@
  _ZNK29QScxmlInvokableServiceFactory5namesEv@Qt_5 5.10.1
  _ZNK31QScxmlStaticScxmlServiceFactory10metaObjectEv@Qt_5 5.10.1
  _ZNK32QScxmlDynamicScxmlServiceFactory10metaObjectEv@Qt_5 5.10.1
- (optional=templinst|subst)_ZNSt6vectorIP29QScxmlInvokableServiceFactorySaIS1_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS1_S3_EE{size_t}RKS1_@Qt_5 5.10.1
- (optional=templinst)_ZNSt6vectorISt4pairIiP11QScxmlEventESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_@Qt_5 5.10.1
- (optional=templinst)_ZNSt6vectorISt4pairIiP11QScxmlEventESaIS3_EE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPS3_S5_EE@Qt_5 5.15.1
- (optional=templinst|subst)_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iterator{size_t}b@Qt_5 5.10.1
- (optional=templinst)_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_@Qt_5 5.10.1
- (optional=templinst|subst)_ZNSt6vectorIiSaIiEE7reserveE{size_t}@Qt_5 5.10.1
- (optional=templinst|arch=amd64 arm64 armel armhf m68k mips64el ppc64el riscv64 sh4 x32)_ZNSt6vectorIiSaIiEE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPiS1_EE@Qt_5 5.10.1
+#MISSING: 5.15.2-2# (optional=templinst|subst)_ZNSt6vectorIP29QScxmlInvokableServiceFactorySaIS1_EE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPS1_S3_EE{size_t}RKS1_@Qt_5 5.10.1
+#MISSING: 5.15.2-2# (optional=templinst)_ZNSt6vectorISt4pairIiP11QScxmlEventESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_@Qt_5 5.10.1
+#MISSING: 5.15.2-2# (optional=templinst)_ZNSt6vectorISt4pairIiP11QScxmlEventESaIS3_EE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPS3_S5_EE@Qt_5 5.15.1
+#MISSING: 5.15.2-2# (optional=templinst|subst)_ZNSt6vectorIbSaIbEE14_M_fill_insertESt13_Bit_iterator{size_t}b@Qt_5 5.10.1
+#MISSING: 5.15.2-2# (optional=templinst)_ZNSt6vectorIiSaIiEE17_M_realloc_insertIJRKiEEEvN9__gnu_cxx17__normal_iteratorIPiS1_EEDpOT_@Qt_5 5.10.1
+#MISSING: 5.15.2-2# (optional=templinst|subst)_ZNSt6vectorIiSaIiEE7reserveE{size_t}@Qt_5 5.10.1
+#MISSING: 5.15.2-2# (optional=templinst|arch=amd64 arm64 armel armhf m68k mips64el ppc64el riscv64 sh4 x32)_ZNSt6vectorIiSaIiEE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPiS1_EE@Qt_5 5.10.1
  _ZTI15QScxmlDataModel@Qt_5 5.10.1
  _ZTI15QScxmlTableData@Qt_5 5.10.1
  _ZTI18QScxmlCppDataModel@Qt_5 5.10.1
@@ -398,7 +398,7 @@
  _ZTI19QScxmlNullDataModel@Qt_5 5.10.1
  _ZTI22QScxmlInvokableService@Qt_5 5.10.1
  _ZTI22QScxmlStateMachineInfo@Qt_5_PRIVATE_API 5.10.1 1
- _ZTI25QScxmlCppDataModelPrivate@Qt_5_PRIVATE_API 5.10.1 1
+#MISSING: 5.15.2-2# _ZTI25QScxmlCppDataModelPrivate@Qt_5_PRIVATE_API 5.10.1 1
  _ZTI25QScxmlEcmaScriptDataModel@Qt_5 5.10.1
  _ZTI29QScxmlInvokableServiceFactory@Qt_5 5.10.1
  _ZTI31QScxmlStaticScxmlServiceFactory@Qt_5 5.10.1
@@ -434,7 +434,7 @@
  _ZTV19QScxmlNullDataModel@Qt_5 5.10.1
  _ZTV22QScxmlInvokableService@Qt_5 5.10.1
  _ZTV22QScxmlStateMachineInfo@Qt_5_PRIVATE_API 5.10.1 1
- _ZTV25QScxmlCppDataModelPrivate@Qt_5_PRIVATE_API 5.10.1 1
+#MISSING: 5.15.2-2# _ZTV25QScxmlCppDataModelPrivate@Qt_5_PRIVATE_API 5.10.1 1
  _ZTV25QScxmlEcmaScriptDataModel@Qt_5 5.10.1
  _ZTV29QScxmlInvokableServiceFactory@Qt_5 5.10.1
  _ZTV31QScxmlStaticScxmlServiceFactory@Qt_5 5.10.1
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Version: 5.15.4-2

On Tue, Jul 19, 2022 at 05:00:13PM +0000, Matthias Klose wrote:
> 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

This was fixed in 5.15.4-2 by using symver directive to catch all private
symbols at once.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: