Subject: plasma-sdk: ftbfs with GCC-15

From: Matthias Klose <[email-masked]>
Date: Mon, 17 Feb 2025 17:44:37 +0000

Package: src:plasma-sdk
Version: 6.3.0-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/plasma-sdk_6.3.0-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

[...]
make[3]: *** [iconexplorer/autotests/CMakeFiles/iconmodeltest.dir/build.make:160: bin/iconmodeltest] Error 1
make[3]: Leaving directory '/build/reproducible-path/plasma-sdk-6.3.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:3347: iconexplorer/autotests/CMakeFiles/iconmodeltest.dir/all] Error 2
[ 86%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Iconexplorer_qml.cpp.o
[ 87%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/GlobalMenuBar_qml.cpp.o
[ 88%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/IconGridDelegate_qml.cpp.o
[ 88%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/IconGrid_qml.cpp.o
[ 89%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/IconMontage_qml.cpp.o
[ 89%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Menu_qml.cpp.o
[ 89%] Linking CXX executable ../bin/plasmaengineexplorer
cd /build/reproducible-path/plasma-sdk-6.3.0/obj-x86_64-linux-gnu/engineexplorer && /usr/bin/cmake -E cmake_link_script CMakeFiles/plasmaengineexplorer.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/plasmaengineexplorer.dir/ktreeviewsearchline.cpp.o:(.rodata+0x730): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/plasmaengineexplorer.dir/engineexplorer.cpp.o:(.rodata+0x354): first defined here
/usr/bin/ld: CMakeFiles/plasmaengineexplorer.dir/main.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/plasmaengineexplorer.dir/engineexplorer.cpp.o:(.rodata+0x354): first defined here
/usr/bin/ld: CMakeFiles/plasmaengineexplorer.dir/serviceviewer.cpp.o:(.rodata+0x1c8): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/plasmaengineexplorer.dir/engineexplorer.cpp.o:(.rodata+0x354): first defined here
/usr/bin/ld: CMakeFiles/plasmaengineexplorer.dir/modelviewer.cpp.o:(.rodata+0xf4): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/plasmaengineexplorer.dir/engineexplorer.cpp.o:(.rodata+0x354): first defined here
[ 90%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Preview_qml.cpp.o
collect2: error: ld returned 1 exit status
make[3]: *** [engineexplorer/CMakeFiles/plasmaengineexplorer.dir/build.make:199: bin/plasmaengineexplorer] Error 1
make[3]: Leaving directory '/build/reproducible-path/plasma-sdk-6.3.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:3444: engineexplorer/CMakeFiles/plasmaengineexplorer.dir/all] Error 2
[ 91%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/ResponsivePreview_qml.cpp.o
[ 91%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Screenshot_qml.cpp.o
[ 92%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Tools_qml.cpp.o
[ 93%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/ToolsResponsive_qml.cpp.o
[ 93%] Building CXX object iconexplorer/src/CMakeFiles/iconexplorer.dir/.qt/rcc/qrc_iconexplorer_raw_qml_0.cpp.o
[ 94%] Linking CXX executable ../../bin/iconexplorer
cd /build/reproducible-path/plasma-sdk-6.3.0/obj-x86_64-linux-gnu/iconexplorer/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/iconexplorer.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/iconexplorer.dir/iconmodel.cpp.o:(.rodata+0x25c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/colorschemes.cpp.o:(.rodata+0x144): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/sortfiltermodel.cpp.o:(.rodata+0x1cc): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/iconexplorer_qmltyperegistrations.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qmlcache_loader.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Actions_qml.cpp.o:(.rodata+0x216c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Comparison_qml.cpp.o:(.rodata+0x34d0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Iconexplorer_qml.cpp.o:(.rodata+0x38a0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/GlobalMenuBar_qml.cpp.o:(.rodata+0x18ec): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/IconGridDelegate_qml.cpp.o:(.rodata+0x2710): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/IconGrid_qml.cpp.o:(.rodata+0x13d8): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/IconMontage_qml.cpp.o:(.rodata+0x2118): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Menu_qml.cpp.o:(.rodata+0x1694): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Preview_qml.cpp.o:(.rodata+0x29ac): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/ResponsivePreview_qml.cpp.o:(.rodata+0x1d18): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Screenshot_qml.cpp.o:(.rodata+0x17dc): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/Tools_qml.cpp.o:(.rodata+0x2ef0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
/usr/bin/ld: CMakeFiles/iconexplorer.dir/.rcc/qmlcache/iconexplorer_qml/ToolsResponsive_qml.cpp.o:(.rodata+0x248c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/iconexplorer.dir/main.cpp.o:(.rodata+0x14): first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [iconexplorer/src/CMakeFiles/iconexplorer.dir/build.make:645: bin/iconexplorer] Error 1
make[3]: Leaving directory '/build/reproducible-path/plasma-sdk-6.3.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:2832: iconexplorer/src/CMakeFiles/iconexplorer.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/plasma-sdk-6.3.0/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/plasma-sdk-6.3.0/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:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2