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

Bug#1012961: kjs: ftbfs with GCC-12



Package: src:kjs
Version: 5.94.0-1
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/kjs_5.94.0-1_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.

[...]
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/HashTable.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/HashTraits.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/ListRefPtr.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/MathExtras.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/Noncopyable.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/OwnArrayPtr.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/OwnPtr.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/PassRefPtr.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/Platform.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/RefCounted.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/RefPtr.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/RefPtrHashMap.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/SharedPtr.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/UnusedParam.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/Vector.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/wtf/VectorTraits.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1/kjs5.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/KF5JS/KF5JSConfig.cmake
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/KF5JS/KF5JSConfigVersion.cmake
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/KF5JS/KF5JSTargets.cmake
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/KF5JS/KF5JSTargets-debian.cmake
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/KF5/kjs_version.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/ca/man1/kjs5.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/de/man1/kjs5.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/es/man1/kjs5.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/it/man1/kjs5.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/nl/man1/kjs5.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pt/man1/kjs5.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/pt_BR/man1/kjs5.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/sv/man1/kjs5.1
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/uk/man1/kjs5.1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
   dh_install -O--buildsystem=kf5
   dh_movelibkdeinit -O--buildsystem=kf5
   dh_installdocs -O--buildsystem=kf5
   dh_installchangelogs -O--buildsystem=kf5
   dh_installman -O--buildsystem=kf5
   dh_installsystemduser -O--buildsystem=kf5
   dh_perl -O--buildsystem=kf5
   dh_link -O--buildsystem=kf5
   dh_strip_nondeterminism -O--buildsystem=kf5
   dh_compress -X.dcl -X.docbook -X-license -X.tag -X.sty -X.el -O--buildsystem=kf5
   debian/rules override_dh_fixperms
make[1]: Entering directory '/<<PKGBUILDDIR>>'
chmod +x debian/libkf5kjs-dev/usr/share/kf5/kjs/create_hash_table
dh_fixperms
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_missing -O--buildsystem=kf5
   dh_dwz -a -O--buildsystem=kf5
   dh_strip -a -O--buildsystem=kf5
   dh_makeshlibs -a -Xusr/lib/libkdeinit5_\* -O--buildsystem=kf5
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/libkf5js5/DEBIAN/symbols doesn't match completely debian/libkf5js5.symbols
--- debian/libkf5js5.symbols (libkf5js5_5.94.0-1_amd64)
+++ dpkg-gensymbolsHzZ5us	2022-06-10 09:02:04.579425454 +0000
@@ -206,8 +206,9 @@
  _ZN3KJS7JSValue16toUInt32SlowCaseEdRb@Base 4.96.0
  _ZN3KJS7JSValue20toIntegerPreserveNaNEPKS0_PNS_9ExecStateE@Base 5.89.0
  _ZN3KJS7JSValue7toFloatEPKS0_PNS_9ExecStateE@Base 5.89.0
+ _ZN3KJS7JSValue8toNumberEPKS0_PNS_9ExecStateE@Base 5.94.0-1
  _ZN3KJS7JSValue8toObjectEPKS0_PNS_9ExecStateE@Base 5.89.0
- _ZN3KJS7JSValue8toStringEPKS0_PNS_9ExecStateE@Base 5.89.0
+#MISSING: 5.94.0-1# _ZN3KJS7JSValue8toStringEPKS0_PNS_9ExecStateE@Base 5.89.0
  _ZN3KJS7JSValue8toUInt16EPKS0_PNS_9ExecStateE@Base 5.89.0
  _ZN3KJS7JSValue9toIntegerEPKS0_PNS_9ExecStateE@Base 5.89.0
  (optional=gccinternal|arch=!armel !armhf)_ZN3KJS7JSValueD0Ev@Base 5.25.0
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: