Bug#1133533: libraw: ftbfs with GCC-16
Emanuele Rocca
ema at debian.org
Mon Apr 13 14:06:18 BST 2026
Package: src:libraw
Version: 0.21.5b-1
Severity: important
Tags: sid forky ftbfs
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-16
Hi,
libraw fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.
The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/libraw_arm64.build.xz
The last lines of the build log are at the end of this report.
To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html
Please only close this issue after double-checking that the package can be
built correctly with GCC 16.
Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.
[...]
/usr/bin/install -c -m 644 libraw.pc libraw_r.pc '/build/reproducible-path/libraw-0.21.5b/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig'
make[2]: Leaving directory '/build/reproducible-path/libraw-0.21.5b'
make[1]: Leaving directory '/build/reproducible-path/libraw-0.21.5b'
debian/rules override_dh_install
make[1]: Entering directory '/build/reproducible-path/libraw-0.21.5b'
rm -f debian/tmp/usr/lib/aarch64-linux-gnu/*.la
rm -f debian/tmp/usr/share/doc/libraw/LICENSE.*
rm -f debian/tmp/usr/share/doc/libraw/Changelog.txt
rm -f debian/tmp/usr/share/doc/libraw/COPYRIGHT
dh_install
make[1]: Leaving directory '/build/reproducible-path/libraw-0.21.5b'
dh_installdocs
dh_installchangelogs
dh_lintian
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_dwz -a
dh_strip -a
dh_makeshlibs -a
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/libraw23t64/DEBIAN/symbols does not match completely debian/libraw23t64.symbols
--- debian/libraw23t64.symbols (libraw23t64_0.21.5b-1_arm64)
+++ dpkg-gensymbolsKt_BqE 2026-03-18 13:51:40.885489990 +0000
@@ -564,14 +564,15 @@
_ZNK6LibRaw20get_mem_image_formatEPiS0_S0_S0_ at Base 0.16.0
_ZNSt12_Vector_baseIhSaIhEE12_Vector_implD1Ev at Base 0.21.2
_ZNSt12_Vector_baseIhSaIhEE12_Vector_implD2Ev at Base 0.21.2
- _ZNSt12_Vector_baseIhSaIhEED1Ev at Base 0.21.2
- _ZNSt12_Vector_baseIhSaIhEED2Ev at Base 0.21.2
+#MISSING: 0.21.5b-1# _ZNSt12_Vector_baseIhSaIhEED1Ev at Base 0.21.2
+#MISSING: 0.21.5b-1# _ZNSt12_Vector_baseIhSaIhEED2Ev at Base 0.21.2
(optional=templinst|arch=armhf hppa hurd-i386 i386 m68k powerpc sh4 x32)_ZNSt12_Vector_baseIjSaIjEED1Ev at Base 0.21.2
(optional=templinst|arch=armhf hppa hurd-i386 i386 m68k powerpc sh4 x32)_ZNSt12_Vector_baseIjSaIjEED2Ev at Base 0.21.2
- (arch=!armhf !hppa !hurd-i386 !i386 !m68k !powerpc !sh4 !x32)_ZNSt12_Vector_baseImSaImEED1Ev at Base 0.21.2
- (arch=!armhf !hppa !hurd-i386 !i386 !m68k !powerpc !sh4 !x32)_ZNSt12_Vector_baseImSaImEED2Ev at Base 0.21.2
+#MISSING: 0.21.5b-1# (arch=!armhf !hppa !hurd-i386 !i386 !m68k !powerpc !sh4 !x32)_ZNSt12_Vector_baseImSaImEED1Ev at Base 0.21.2
+#MISSING: 0.21.5b-1# (arch=!armhf !hppa !hurd-i386 !i386 !m68k !powerpc !sh4 !x32)_ZNSt12_Vector_baseImSaImEED2Ev at Base 0.21.2
_ZNSt12_Vector_baseItSaItEE12_Vector_implD1Ev at Base 0.21.2
_ZNSt12_Vector_baseItSaItEE12_Vector_implD2Ev at Base 0.21.2
+ _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP13p1_row_info_tSt6vectorIS2_SaIS2_EEEElS2_St4lessIvEEvT_T0_SB_T1_T2_ at Base 0.21.5b-1
(optional=templinst|arch=hurd-i386 i386 m68k)_ZSt13__heap_selectIN9__gnu_cxx17__normal_iteratorIP13p1_row_info_tSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_T0_ at Base 0.21.2
_ZTI17LibRaw_exceptions at Base 0.16.0
_ZTI24LibRaw_buffer_datastream at Base 0.16.0
@@ -1212,14 +1213,15 @@
_ZNK6LibRaw20get_mem_image_formatEPiS0_S0_S0_ at Base 0.16.0
_ZNSt12_Vector_baseIhSaIhEE12_Vector_implD1Ev at Base 0.21.2
_ZNSt12_Vector_baseIhSaIhEE12_Vector_implD2Ev at Base 0.21.2
- _ZNSt12_Vector_baseIhSaIhEED1Ev at Base 0.21.2
- _ZNSt12_Vector_baseIhSaIhEED2Ev at Base 0.21.2
+#MISSING: 0.21.5b-1# _ZNSt12_Vector_baseIhSaIhEED1Ev at Base 0.21.2
+#MISSING: 0.21.5b-1# _ZNSt12_Vector_baseIhSaIhEED2Ev at Base 0.21.2
(optional=templinst|arch=armhf hppa hurd-i386 i386 m68k powerpc sh4 x32)_ZNSt12_Vector_baseIjSaIjEED1Ev at Base 0.21.2
(optional=templinst|arch=armhf hppa hurd-i386 i386 m68k powerpc sh4 x32)_ZNSt12_Vector_baseIjSaIjEED2Ev at Base 0.21.2
- (arch=!armhf !hppa !hurd-i386 !i386 !m68k !powerpc !sh4 !x32)_ZNSt12_Vector_baseImSaImEED1Ev at Base 0.21.2
- (arch=!armhf !hppa !hurd-i386 !i386 !m68k !powerpc !sh4 !x32)_ZNSt12_Vector_baseImSaImEED2Ev at Base 0.21.2
+#MISSING: 0.21.5b-1# (arch=!armhf !hppa !hurd-i386 !i386 !m68k !powerpc !sh4 !x32)_ZNSt12_Vector_baseImSaImEED1Ev at Base 0.21.2
+#MISSING: 0.21.5b-1# (arch=!armhf !hppa !hurd-i386 !i386 !m68k !powerpc !sh4 !x32)_ZNSt12_Vector_baseImSaImEED2Ev at Base 0.21.2
_ZNSt12_Vector_baseItSaItEE12_Vector_implD1Ev at Base 0.21.2
_ZNSt12_Vector_baseItSaItEE12_Vector_implD2Ev at Base 0.21.2
+ _ZSt13__adjust_heapIN9__gnu_cxx17__normal_iteratorIP13p1_row_info_tSt6vectorIS2_SaIS2_EEEElS2_St4lessIvEEvT_T0_SB_T1_T2_ at Base 0.21.5b-1
(optional=templinst|arch=hurd-i386 i386 m68k)_ZSt13__heap_selectIN9__gnu_cxx17__normal_iteratorIP13p1_row_info_tSt6vectorIS2_SaIS2_EEEENS0_5__ops15_Iter_less_iterEEvT_SA_SA_T0_ at Base 0.21.2
_ZTI17LibRaw_exceptions at Base 0.16.0
_ZTI24LibRaw_buffer_datastream at Base 0.16.0
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
More information about the Pkg-phototools-devel
mailing list