Bug#1097012: kf6-prison: ftbfs with GCC-15
Package: src:kf6-prison
Version: 6.10.0-1
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
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/kf6-prison_6.10.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
[...]
/usr/bin/ld: CMakeFiles/KF6Prison.dir/bitvector.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/code128barcode.cpp.o:(.rodata+0xda): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/code39barcode.cpp.o:(.rodata+0xec): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/code93barcode.cpp.o:(.rodata+0x2c0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/mecard.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/qrcodebarcode.cpp.o:(.rodata+0xc): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/reedsolomon.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/datamatrixbarcode.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/pdf417barcode.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/zxingutil.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/KF6Prison.dir/prison_debug.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o:(.rodata+0x0): first defined here
/build/reproducible-path/kf6-prison-6.10.0/src/scanner/videoscannerworker.cpp: In member function ‘void Prison::VideoScannerWorker::slotScanFrame(Prison::VideoScannerFrame)’:
/build/reproducible-path/kf6-prison-6.10.0/src/scanner/videoscannerworker.cpp:36:24: warning: ‘using ZXing::DecodeHints = class ZXing::ReaderOptions’ is deprecated [-Wdeprecated-declarations]
36 | ZXing::DecodeHints hints;
| ^~~~~
In file included from /usr/include/ZXing/Content.h:10,
from /usr/include/ZXing/Barcode.h:12,
from /usr/include/ZXing/Result.h:8:
/usr/include/ZXing/ReaderOptions.h:176:7: note: declared here
176 | using DecodeHints [[deprecated]] = ReaderOptions;
| ^~~~~~~~~~~
/build/reproducible-path/kf6-prison-6.10.0/src/scanner/videoscannerworker.cpp:47:102: warning: ‘ZXing::ImageFormat::XRGB’ is deprecated: use ARGB [-Wdeprecated-declarations]
47 | zxRes = ZXing::ReadBarcode({frame.bits(), frame.width(), frame.height(), ZXing::ImageFormat::XRGB, frame.bytesPerLine()}, hints);
| ^~~~
In file included from /usr/include/ZXing/Barcode.h:15:
/usr/include/ZXing/ImageView.h:28:9: note: declared here
28 | XRGB [[deprecated("use ARGB")]] = ARGB,
| ^~~~
/build/reproducible-path/kf6-prison-6.10.0/src/scanner/videoscannerworker.cpp:52:102: warning: ‘ZXing::ImageFormat::BGRX’ is deprecated: use BGRA [-Wdeprecated-declarations]
52 | zxRes = ZXing::ReadBarcode({frame.bits(), frame.width(), frame.height(), ZXing::ImageFormat::BGRX, frame.bytesPerLine()}, hints);
| ^~~~
/usr/include/ZXing/ImageView.h:29:9: note: declared here
29 | BGRX [[deprecated("use BGRA")]] = BGRA,
| ^~~~
/build/reproducible-path/kf6-prison-6.10.0/src/scanner/videoscannerworker.cpp:56:102: warning: ‘ZXing::ImageFormat::XBGR’ is deprecated: use ABGR [-Wdeprecated-declarations]
56 | zxRes = ZXing::ReadBarcode({frame.bits(), frame.width(), frame.height(), ZXing::ImageFormat::XBGR, frame.bytesPerLine()}, hints);
| ^~~~
/usr/include/ZXing/ImageView.h:30:9: note: declared here
30 | XBGR [[deprecated("use ABGR")]] = ABGR,
| ^~~~
/build/reproducible-path/kf6-prison-6.10.0/src/scanner/videoscannerworker.cpp:60:102: warning: ‘ZXing::ImageFormat::RGBX’ is deprecated: use RGBA [-Wdeprecated-declarations]
60 | zxRes = ZXing::ReadBarcode({frame.bits(), frame.width(), frame.height(), ZXing::ImageFormat::RGBX, frame.bytesPerLine()}, hints);
| ^~~~
/usr/include/ZXing/ImageView.h:27:9: note: declared here
27 | RGBX [[deprecated("use RGBA")]] = RGBA,
| ^~~~
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/kf6-prison-6.10.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libKF6Prison.so.6 -o ../../bin/libKF6Prison.so.6.10.0 CMakeFiles/KF6Prison.dir/KF6Prison_autogen/mocs_compilation.cpp.o CMakeFiles/KF6Prison.dir/abstractbarcode_p.cpp.o CMakeFiles/KF6Prison.dir/aztecbarcode.cpp.o CMakeFiles/KF6Prison.dir/barcode.cpp.o CMakeFiles/KF6Prison.dir/barcodeutil.cpp.o CMakeFiles/KF6Prison.dir/bitvec
tor.cpp.o CMakeFiles/KF6Prison.dir/code128barcode.cpp.o CMakeFiles/KF6Prison.dir/code39barcode.cpp.o CMakeFiles/KF6Prison.dir/code93barcode.cpp.o CMakeFiles/KF6Prison.dir/mecard.cpp.o CMakeFiles/KF6Prison.dir/qrcodebarcode.cpp.o CMakeFiles/KF6Prison.dir/reedsolomon.cpp.o CMakeFiles/KF6Prison.dir/datamatrixbarcode.cpp.o CMakeFiles/KF6Prison.dir/pdf417barcode.cpp.o CMakeFiles/KF6Prison.dir/zxingutil.cpp.o CMakeFiles/KF6Prison.dir/prison_debug.cpp.o /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.7.2 /usr/lib/x86_64-linux-gnu/libqrencode.so /usr/lib/x86_64-linux-gnu/libdmtx.so /usr/lib/x86_64-linux-gnu/libZXing.so.2.3.0 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.2
make[3]: *** [src/lib/CMakeFiles/KF6Prison.dir/build.make:364: bin/libKF6Prison.so.6.10.0] Error 1
make[3]: Leaving directory '/build/reproducible-path/kf6-prison-6.10.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:434: src/lib/CMakeFiles/KF6Prison.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 24%] Linking CXX shared library ../../bin/libKF6PrisonScanner.so
cd /build/reproducible-path/kf6-prison-6.10.0/obj-x86_64-linux-gnu/src/scanner && /usr/bin/cmake -E cmake_link_script CMakeFiles/KF6PrisonScanner.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/KF6PrisonScanner.dir/imagescanner.cpp.o:(.rodata+0x94): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6PrisonScanner.dir/format.cpp.o:(.rodata+0x368): first defined here
/usr/bin/ld: CMakeFiles/KF6PrisonScanner.dir/scanresult.cpp.o:(.rodata+0x1d0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6PrisonScanner.dir/format.cpp.o:(.rodata+0x368): first defined here
/usr/bin/ld: CMakeFiles/KF6PrisonScanner.dir/videoscanner.cpp.o:(.rodata+0x264): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6PrisonScanner.dir/format.cpp.o:(.rodata+0x368): first defined here
/usr/bin/ld: CMakeFiles/KF6PrisonScanner.dir/videoscannerframe.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6PrisonScanner.dir/format.cpp.o:(.rodata+0x368): first defined here
/usr/bin/ld: CMakeFiles/KF6PrisonScanner.dir/videoscannerworker.cpp.o:(.rodata+0x1f0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/KF6PrisonScanner.dir/format.cpp.o:(.rodata+0x368): first defined here
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/kf6-prison-6.10.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libKF6PrisonScanner.so.6 -o ../../bin/libKF6PrisonScanner.so.6.10.0 CMakeFiles/KF6PrisonScanner.dir/KF6PrisonScanner_autogen/mocs_compilation.cpp.o CMakeFiles/KF6PrisonScanner.dir/format.cpp.o CMakeFiles/KF6PrisonScanner.dir/imagescanner.cpp.o CMakeFiles/KF6PrisonScanner.dir/scanresult.cpp.o CMakeFiles/KF6PrisonScanner.dir/v
ideoscanner.cpp.o CMakeFiles/KF6PrisonScanner.dir/videoscannerframe.cpp.o CMakeFiles/KF6PrisonScanner.dir/videoscannerworker.cpp.o /usr/lib/x86_64-linux-gnu/libQt6Multimedia.so.6.7.2 /usr/lib/x86_64-linux-gnu/libZXing.so.2.3.0 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.7.2 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /usr/lib/x86_64-linux-gnu/libQt6Network.so.6.7.2 /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.2
make[3]: *** [src/scanner/CMakeFiles/KF6PrisonScanner.dir/build.make:218: bin/libKF6PrisonScanner.so.6.10.0] Error 1
make[3]: Leaving directory '/build/reproducible-path/kf6-prison-6.10.0/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1057: src/scanner/CMakeFiles/KF6PrisonScanner.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/kf6-prison-6.10.0/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/kf6-prison-6.10.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:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: