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

Bug#1013024: marked as done (qtdeclarative-opensource-src: ftbfs with GCC-12)



Your message dated Fri, 1 Jul 2022 22:48:22 +0300
with message-id <Yr9PhokhDXc6reL3@mitya57.me>
and subject line Re: Bug#1013024: qtdeclarative-opensource-src: ftbfs with GCC-12
has caused the Debian Bug report #1013024,
regarding qtdeclarative-opensource-src: ftbfs with GCC-12
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.)


-- 
1013024: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013024
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:qtdeclarative-opensource-src
Version: 5.15.2+dfsg-10
Severity: normal
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/qtdeclarative-opensource-src_5.15.2+dfsg-10_unstable_gcc12.log
The last lines of the build log are at the end of this report.

To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
	dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/{} usr/lib/x86_64-linux-gnu/qt5/bin/{}
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmlcachegen usr/lib/x86_64-linux-gnu/qt5/bin/qmlcachegen
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmleasing usr/lib/x86_64-linux-gnu/qt5/bin/qmleasing
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmlformat usr/lib/x86_64-linux-gnu/qt5/bin/qmlformat
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmlimportscanner usr/lib/x86_64-linux-gnu/qt5/bin/qmlimportscanner
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmllint usr/lib/x86_64-linux-gnu/qt5/bin/qmllint
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmlmin usr/lib/x86_64-linux-gnu/qt5/bin/qmlmin
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmlplugindump usr/lib/x86_64-linux-gnu/qt5/bin/qmlplugindump
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmlpreview usr/lib/x86_64-linux-gnu/qt5/bin/qmlpreview
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmlprofiler usr/lib/x86_64-linux-gnu/qt5/bin/qmlprofiler
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmltestrunner usr/lib/x86_64-linux-gnu/qt5/bin/qmltestrunner
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmltime usr/lib/x86_64-linux-gnu/qt5/bin/qmltime
dh_link -pqtdeclarative5-dev-tools usr/lib/qt5/bin/qmltyperegistrar usr/lib/x86_64-linux-gnu/qt5/bin/qmltyperegistrar
dh_link -pqmlscene usr/lib/qt5/bin/qmlscene usr/lib/x86_64-linux-gnu/qt5/bin/qmlscene
dh_link -pqml usr/lib/qt5/bin/qml usr/lib/x86_64-linux-gnu/qt5/bin/qml
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz -a
   dh_strip -a
   dh_makeshlibs -a
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libqt5qml5/DEBIAN/symbols doesn't match completely debian/libqt5qml5.symbols
--- debian/libqt5qml5.symbols (libqt5qml5_5.15.2+dfsg-10_amd64)
+++ dpkg-gensymbolsMylgr8	2022-06-10 08:40:25.755445062 +0000
@@ -3020,7 +3020,7 @@
  (optional=templinst)_ZNSt6vectorIPKN3QV44Heap6StringESaIS4_EE17_M_realloc_insertIJRKS4_EEEvN9__gnu_cxx17__normal_iteratorIPS4_S6_EEDpOT_@Qt_5_PRIVATE_API 5.9.1 1
  (optional=templinst)_ZNSt6vectorISt4pairIPKciESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_@Qt_5 5.10.0
  (optional=templinst|arch=armel armhf hppa i386 mipsel powerpc sh4 x32)_ZNSt6vectorIbSaIbEE13_M_insert_auxESt13_Bit_iteratorb@Qt_5 5.10.0
- (optional=templinst|arch=alpha armel armhf i386 ia64 mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64|subst)_ZNSt6vectorIbSaIbEE13_M_reallocateE{size_t}@Qt_5 5.12.5
+ (optional=templinst|subst)_ZNSt6vectorIbSaIbEE13_M_reallocateE{size_t}@Qt_5 5.12.5
  (optional=templinst|arch=armel armhf hppa i386 mipsel powerpc sh4 x32)_ZNSt6vectorIbSaIbEE8_M_eraseESt13_Bit_iteratorS2_@Qt_5 5.14.2
  (optional=templinst|arch=amd64 arm64 armhf|subst)_ZNSt6vectorIcSaIcEE17_M_default_appendE{size_t}@Qt_5 5.14.1
  (optional=templinst|arch=!alpha !armel !hppa !hurd-i386 !i386 !ia64 !m68k !mips !mips64el !mipsel !powerpc !ppc64 !ppc64el !riscv64 !s390x !sh4 !sparc64 !x32)_ZNSt6vectorIcSaIcEE17_M_realloc_insertIJRKcEEEvN9__gnu_cxx17__normal_iteratorIPcS1_EEDpOT_@Qt_5 5.12.2
@@ -3252,7 +3252,8 @@
  (arch=!armel !riscv64)_ZTISt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Qt_5 5.14.1
  (arch=armel armhf)_ZTISt19_Sp_make_shared_tag@Qt_5 5.14.1
  (arch=armel riscv64)_ZTISt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE1EE@Qt_5_PRIVATE_API 5.14.1 1
- (arch=!armel !riscv64)_ZTISt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.14.1 1
+#MISSING: 5.15.2+dfsg-10# (arch=!armel !riscv64)_ZTISt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.14.1 1
+ _ZTISt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIvELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.15.2+dfsg-10
  _ZTIZN3QV48Compiler7Codegen29VolatileMemoryLocationScanner18collectIdentifiersER7QVectorI11QStringViewEPN6QQmlJS3AST4NodeEE9Collector@Qt_5_PRIVATE_API 5.12.3 1
  _ZTS10QQmlEngine@Qt_5 5.0.2
  _ZTS11QQmlBinding@Qt_5_PRIVATE_API 5.0.2 1
@@ -3475,7 +3476,8 @@
  (arch=!armel !riscv64)_ZTSSt16_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE@Qt_5 5.14.1
  _ZTSSt19_Sp_make_shared_tag@Qt_5 5.14.1
  (arch=armel riscv64)_ZTSSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE1EE@Qt_5_PRIVATE_API 5.14.1 1
- (arch=!armel !riscv64)_ZTSSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.14.1 1
+#MISSING: 5.15.2+dfsg-10# (arch=!armel !riscv64)_ZTSSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.14.1 1
+ _ZTSSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIvELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.15.2+dfsg-10
  _ZTSZN3QV48Compiler7Codegen29VolatileMemoryLocationScanner18collectIdentifiersER7QVectorI11QStringViewEPN6QQmlJS3AST4NodeEE9Collector@Qt_5_PRIVATE_API 5.12.3 1
  _ZTV10QQmlEngine@Qt_5 5.0.2
  _ZTV11QQmlBinding@Qt_5_PRIVATE_API 5.0.2 1
@@ -3685,7 +3687,8 @@
  _ZTVN6QQmlJS3AST9StatementE@Qt_5 5.3.0
  _ZTVN6QQmlJS3AST9UiProgramE@Qt_5 5.3.0
  (arch=armel riscv64)_ZTVSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE1EE@Qt_5_PRIVATE_API 5.14.1 1
- (arch=!armel !riscv64)_ZTVSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.14.1 1
+#MISSING: 5.15.2+dfsg-10# (arch=!armel !riscv64)_ZTVSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.14.1 1
+ _ZTVSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIvELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.15.2+dfsg-10
  _ZTVZN3QV48Compiler7Codegen29VolatileMemoryLocationScanner18collectIdentifiersER7QVectorI11QStringViewEPN6QQmlJS3AST4NodeEE9Collector@Qt_5_PRIVATE_API 5.12.3 1
  _ZZN8QQmlData4initEvE11initialized@Qt_5_PRIVATE_API 5.0.2 1
  (optional=templinst)_ZZN9QMetaType17registerConverterI8QJSValue11QStringListPFS2_RKS1_EEEbT1_E1f@Qt_5 5.4.0
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

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

On Thu, Jun 16, 2022 at 12:13:02PM +0000, Matthias Klose wrote:
> The package fails to build in a test rebuild on at least amd64 with
> gcc-12/g++-12, but succeeds to build with gcc-11/g++-11. The
> severity of this report will be raised before the bookworm release.
>
> [...]
>
> - (optional=templinst|arch=alpha armel armhf i386 ia64 mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sparc64|subst)_ZNSt6vectorIbSaIbEE13_M_reallocateE{size_t}@Qt_5 5.12.5

This symbol is optional...

> - (arch=!armel !riscv64)_ZTISt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.14.1 1
> - (arch=!armel !riscv64)_ZTSSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.14.1 1
> - (arch=!armel !riscv64)_ZTVSt23_Sp_counted_ptr_inplaceIN14QQmlTypeLoader4Blob13PendingImportESaIS2_ELN9__gnu_cxx12_Lock_policyE2EE@Qt_5_PRIVATE_API 5.14.1 1

...and these are Qt_5_PRIVATE_API, and we don't track them individually since
5.15.4+dfsg-2.

So that version should build fine. Marking as fixed.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: