[Debian-med-packaging] Bug#1096362: beads: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:04:50 GMT 2025


Package: src:beads
Version: 1.1.22-1
Severity: important
Tags: sid forky
User: debian-gcc at 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/beads_1.1.22-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

[...]
52823 |       uint16 spp = _spectrum, bpp = sizeof(t)*8, photometric;
      |                                                  ^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/tiff.h:83:38: note: declared here
   83 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/build/reproducible-path/beads-1.1.22/src/cimg/CImg.h:52856:18: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
52856 |           uint32 nrow = (row + rowsperstrip>_height?_height - row:rowsperstrip);
      |                  ^~~~
/usr/include/x86_64-linux-gnu/tiff.h:86:38: note: declared here
   86 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
[ 97%] Linking CXX executable qtbeads
cd /build/reproducible-path/beads-1.1.22/obj-x86_64-linux-gnu/src/qtbeads && /usr/bin/cmake -E cmake_link_script CMakeFiles/qtbeads.dir/link.txt --verbose=1
/usr/bin/ld: CMakeFiles/qtbeads.dir/main_window.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/qtbeads.dir/properties.cpp.o:(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/qtbeads.dir/beads_results.cpp.o:(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/qtbeads.dir/QCimg.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/qtbeads.dir/q_gel_image.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/qtbeads.dir/q_gel_image_scroll.cpp.o:(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/qtbeads.dir/moc_main_window.cpp.o:(.rodata+0x428): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: CMakeFiles/qtbeads.dir/moc_q_gel_image.cpp.o:(.rodata+0x13c): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(imageIntensity.cpp.o):(.rodata+0x2fd): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(imageDirect.cpp.o):(.rodata+0x1dd): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(imageCoule.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(imagePaths.cpp.o):(.rodata+0x1bd): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(imageConfluent.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(imageProb.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(detection.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(imageNumber.cpp.o):(.rodata+0x1dd): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(imageContours.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(spotPROTICdbDocument.cpp.o):(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(spot.cpp.o):(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(spotDocument.cpp.o):(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
/usr/bin/ld: ../libcppbeads-qt6.a(spotSvgDocument.cpp.o):(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/qtbeads.dir/qtbeads.cpp.o:(.rodata+0x0): first defined here
collect2: error: ld returned 1 exit status
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/beads-1.1.22=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -Dcimg_use_tiff -Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_png    -Dcimg_use_tiff -Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_png   -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/qtbeads.dir/link.d CMakeFiles/qtbeads.dir/qtbeads.cpp.o CMakeFiles/qtbeads.dir/main_window.cpp.o CMakeFiles/qtbeads.dir/properties.cpp.o CMakeFiles/qtbeads.dir/beads_results.cpp.o CMakeFiles/qtbeads.dir/QCimg.cpp.o CMakeFiles/qtbeads.dir/q_gel_image.cpp.o CMakeFiles/qtbeads.dir/q_gel_image_scroll.cpp.o CMakeFiles/qtbeads.dir/moc_main_window.cpp.o CMakeFiles/qtbeads.dir/moc_q_gel_image.cpp.o -o qtbeads  ../libcppbeads-qt6.a /usr/lib/x86_64-linux-gnu/libodsstream.so.0.9.7 -ltiff -ljpeg -lz -lpng -lz -lXext -lXrandr -lX11 -lXext /usr/lib/x86_64-linux-gnu/libQt6Xml.so.6.7.2 /usr/lib/x86_64-linux-gnu/libQt6PrintSupport.so.6.7.2 /usr/lib/x86_64-linux-gnu/libquazip1-qt6.so.1.4 /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libQt6Core5Compat.so.6.7.2 -lbz2 -lpng -lXext -lXrandr -lX11 -lXext /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.7.2 /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/libQt6Core.so.6.7.2
make[4]: *** [src/qtbeads/CMakeFiles/qtbeads.dir/build.make:263: src/qtbeads/qtbeads] Error 1
make[4]: Leaving directory '/build/reproducible-path/beads-1.1.22/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:264: src/qtbeads/CMakeFiles/qtbeads.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
[100%] Linking CXX executable beads
cd /build/reproducible-path/beads-1.1.22/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/beads.dir/link.txt --verbose=1
/usr/bin/ld: libcppbeads-qt6.a(imageIntensity.cpp.o):(.rodata+0x2fd): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(imageDirect.cpp.o):(.rodata+0x1dd): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(imageCoule.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(imagePaths.cpp.o):(.rodata+0x1bd): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(imageConfluent.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(imageProb.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(detection.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(imageDetection.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(imageNumber.cpp.o):(.rodata+0x1dd): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(imageContours.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(spotPROTICdbDocument.cpp.o):(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(spot.cpp.o):(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(spotDocument.cpp.o):(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(spotSvgDocument.cpp.o):(.rodata+0x0): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
/usr/bin/ld: libcppbeads-qt6.a(imageDeNovo.cpp.o):(.rodata+0x1): multiple definition of `QtPrivate::IsFloatType_v<_Float16>'; CMakeFiles/beads.dir/beads.cpp.o:(.rodata+0x1bd): first defined here
collect2: error: ld returned 1 exit status
/usr/bin/c++ -g -O2 -ffile-prefix-map=/build/reproducible-path/beads-1.1.22=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2  -Dcimg_use_tiff -Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_png    -Dcimg_use_tiff -Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_png   -Wl,-z,relro -Wl,-z,now -rdynamic -Wl,--dependency-file=CMakeFiles/beads.dir/link.d CMakeFiles/beads.dir/beads.cpp.o -o beads  libcppbeads-qt6.a -ltiff -ljpeg -lz -lpng -lz -lXext -lXrandr -lX11 -lXext /usr/lib/x86_64-linux-gnu/libodsstream.so.0.9.7 -lpng -lXext -lXrandr -lX11 -lXext /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/libQt6Xml.so.6.7.2 /usr/lib/x86_64-linux-gnu/libquazip1-qt6.so.1.4 /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libQt6Core5Compat.so.6.7.2 /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.2 -lbz2
make[4]: *** [src/CMakeFiles/beads.dir/build.make:125: src/beads] Error 1
make[4]: Leaving directory '/build/reproducible-path/beads-1.1.22/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:200: src/CMakeFiles/beads.dir/all] Error 2
make[3]: Leaving directory '/build/reproducible-path/beads-1.1.22/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:159: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/beads-1.1.22/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[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/beads-1.1.22'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list