Subject: Bug#1096773 closed by Marco Mattiolo <[email-masked]> (ftbfs with GCC-15)

From: "Debian Bug Tracking System" <[email-masked]>
Date: Mon, 21 Apr 2025 10:33:05 +0000

This is an automatic notification regarding your Bug report
which was filed against the src:grantleetheme package:

#1096773: grantleetheme: ftbfs with GCC-15

It has been closed by Marco Mattiolo <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Marco Mattiolo <[email-masked]> by
replying to this email.

-- 
1096773: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096773
Debian Bug Tracking System
Contact [email-masked] with problems

Subject: ftbfs with GCC-15
From: Marco Mattiolo <[email-masked]>
To: [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked], [email-masked],
Date: Mon, 21 Apr 2025 12:28:35 +0200

Duplicate(s) of
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097717

Subject: grantleetheme: ftbfs with GCC-15
From: Matthias Klose <[email-masked]>
To: [email-masked]
Date: Mon, 17 Feb 2025 17:17:57 +0000

Package: src:grantleetheme
Version: 24.12.1-1
Severity: important
Tags: sid forky
User: [email-masked]
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/grantleetheme_24.12.1-1_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
AutoGen: Writing the parse cache file "SRC:/obj-x86_64-linux-gnu/src/plugin/CMakeFiles/kde_grantlee_plugin_autogen.dir/ParseCache.txt"
[ 25%] Building CXX object src/CMakeFiles/KPim6GrantleeTheme.dir/grantleethemeengine.cpp.o
[ 25%] Building CXX object src/CMakeFiles/KPim6GrantleeTheme.dir/grantleethememanager.cpp.o
AutoGen: Writing the settings file "SRC:/obj-x86_64-linux-gnu/src/plugin/CMakeFiles/kde_grantlee_plugin_autogen.dir/AutogenUsed.txt"
[ 34%] Building CXX object src/CMakeFiles/KPim6GrantleeTheme.dir/grantleeki18nlocalizer.cpp.o
[ 34%] Building CXX object src/CMakeFiles/KPim6GrantleeTheme.dir/qtresourcetemplateloader.cpp.o
[ 34%] Building CXX object src/CMakeFiles/KPim6GrantleeTheme.dir/grantleetheme.cpp.o
cd /build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu/src/plugin && /usr/bin/cmake -E touch /build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu/src/plugin/kde_grantlee_plugin_autogen/timestamp
make[3]: Leaving directory '/build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu'
[ 34%] Built target kde_grantlee_plugin_autogen
make  -f src/plugin/CMakeFiles/kde_grantlee_plugin.dir/build.make src/plugin/CMakeFiles/kde_grantlee_plugin.dir/depend
[ 37%] Building CXX object src/CMakeFiles/KPim6GrantleeTheme.dir/grantleetheme_debug.cpp.o
make[3]: Entering directory '/build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu'
Dependencies file "src/plugin/kde_grantlee_plugin_autogen/deps" is newer than depends file "/build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu/src/plugin/CMakeFiles/kde_grantlee_plugin.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target kde_grantlee_plugin
make[3]: Leaving directory '/build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu'
make  -f src/plugin/CMakeFiles/kde_grantlee_plugin.dir/build.make src/plugin/CMakeFiles/kde_grantlee_plugin.dir/build
make[3]: Entering directory '/build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu'
[ 40%] Building CXX object src/plugin/CMakeFiles/kde_grantlee_plugin.dir/kde_grantlee_plugin_autogen/mocs_compilation.cpp.o
[ 43%] Building CXX object src/plugin/CMakeFiles/kde_grantlee_plugin.dir/kdegrantleeplugin.cpp.o
[ 46%] Building CXX object src/plugin/CMakeFiles/kde_grantlee_plugin.dir/color.cpp.o
[ 50%] Building CXX object src/plugin/CMakeFiles/kde_grantlee_plugin.dir/colorscheme.cpp.o
[ 53%] Building CXX object src/plugin/CMakeFiles/kde_grantlee_plugin.dir/icon.cpp.o
[ 56%] Building CXX object src/plugin/CMakeFiles/kde_grantlee_plugin.dir/palette.cpp.o
[ 59%] Linking CXX shared module ../../bin/grantlee/kde_grantlee_plugin.so
cd /build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu/src/plugin && /usr/bin/cmake -E cmake_link_script CMakeFiles/kde_grantlee_plugin.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/kde_grantlee_plugin.dir/color.cpp.o:(.rodata+0xb4): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/kde_grantlee_plugin.dir/kdegrantleeplugin.cpp.o:(.rodata+0x5c): first defined here
/usr/bin/ld: CMakeFiles/kde_grantlee_plugin.dir/colorscheme.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/kde_grantlee_plugin.dir/kdegrantleeplugin.cpp.o:(.rodata+0x5c): first defined here
/usr/bin/ld: CMakeFiles/kde_grantlee_plugin.dir/icon.cpp.o:(.rodata+0xb0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/kde_grantlee_plugin.dir/kdegrantleeplugin.cpp.o:(.rodata+0x5c): first defined here
/usr/bin/ld: CMakeFiles/kde_grantlee_plugin.dir/palette.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/kde_grantlee_plugin.dir/kdegrantleeplugin.cpp.o:(.rodata+0x5c): first defined here
[ 62%] Linking CXX shared library ../bin/libKPim6GrantleeTheme.so
cd /build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/KPim6GrantleeTheme.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/KPim6GrantleeTheme.dir/grantleetheme.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KPim6GrantleeTheme.dir/genericformatter.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KPim6GrantleeTheme.dir/grantleethememanager.cpp.o:(.rodata+0x150): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KPim6GrantleeTheme.dir/genericformatter.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KPim6GrantleeTheme.dir/grantleethemeengine.cpp.o:(.rodata+0x60): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KPim6GrantleeTheme.dir/genericformatter.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KPim6GrantleeTheme.dir/grantleeki18nlocalizer.cpp.o:(.rodata+0x8c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KPim6GrantleeTheme.dir/genericformatter.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KPim6GrantleeTheme.dir/qtresourcetemplateloader.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KPim6GrantleeTheme.dir/genericformatter.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KPim6GrantleeTheme.dir/grantleetheme_debug.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KPim6GrantleeTheme.dir/genericformatter.cpp.o:(.rodata+0x0): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [src/plugin/CMakeFiles/kde_grantlee_plugin.dir/build.make:191: bin/grantlee/kde_grantlee_plugin.so] Error 1
make[3]: Leaving directory '/build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:894: src/plugin/CMakeFiles/kde_grantlee_plugin.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[3]: *** [src/CMakeFiles/KPim6GrantleeTheme.dir/build.make:223: bin/libKPim6GrantleeTheme.so.6.3.1] Error 1
make[3]: Leaving directory '/build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:797: src/CMakeFiles/KPim6GrantleeTheme.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/grantleetheme-24.12.1/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2