[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/t4kcommon_0.1.1-12_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
[...]
| ^~~~~~~~~
t4k_loaders.c:209:5: warning: 'rsvg_term' is deprecated [-Wdeprecated-declarations]
209 | rsvg_term();
| ^~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:1218:6: note: declared here
1218 | void rsvg_term (void);
| ^~~~~~~~~
t4k_loaders.c:226:3: warning: 'rsvg_term' is deprecated [-Wdeprecated-declarations]
226 | rsvg_term();
| ^~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:1218:6: note: declared here
1218 | void rsvg_term (void);
| ^~~~~~~~~
t4k_loaders.c:199:7: warning: unused variable 'i' [-Wunused-variable]
199 | int i;
| ^
t4k_loaders.c: In function 'render_svg_from_handle':
t4k_loaders.c:242:3: warning: 'rsvg_handle_get_dimensions' is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead [-Wdeprecated-declarations]
242 | rsvg_handle_get_dimensions(file_handle, &dimensions);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:661:6: note: declared here
661 | void rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_data);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
t4k_loaders.c:289:3: warning: 'rsvg_handle_render_cairo_sub' is deprecated: Use 'rsvg_handle_render_layer' instead [-Wdeprecated-declarations]
289 | rsvg_handle_render_cairo_sub(file_handle, context, layer_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/librsvg-2.0/librsvg/rsvg.h:1329:
/usr/include/librsvg-2.0/librsvg/rsvg-cairo.h:157:10: note: declared here
157 | gboolean rsvg_handle_render_cairo_sub (RsvgHandle *handle, cairo_t *cr, const char *id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
t4k_loaders.c: In function 'get_svg_dimensions':
t4k_loaders.c:313:3: warning: 'rsvg_init' is deprecated: Use 'g_type_init' instead [-Wdeprecated-declarations]
313 | rsvg_init();
| ^~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:1207:6: note: declared here
1207 | void rsvg_init (void);
| ^~~~~~~~~
t4k_loaders.c:319:5: warning: 'rsvg_term' is deprecated [-Wdeprecated-declarations]
319 | rsvg_term();
| ^~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:1218:6: note: declared here
1218 | void rsvg_term (void);
| ^~~~~~~~~
t4k_loaders.c:323:3: warning: 'rsvg_handle_get_dimensions' is deprecated: Use 'rsvg_handle_get_intrinsic_size_in_pixels' instead [-Wdeprecated-declarations]
323 | rsvg_handle_get_dimensions(file_handle, &dimensions);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:661:6: note: declared here
661 | void rsvg_handle_get_dimensions (RsvgHandle *handle, RsvgDimensionData *dimension_data);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
t4k_loaders.c:331:3: warning: 'rsvg_term' is deprecated [-Wdeprecated-declarations]
331 | rsvg_term();
| ^~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:1218:6: note: declared here
1218 | void rsvg_term (void);
| ^~~~~~~~~
t4k_loaders.c: In function 'saveSVGInfo':
t4k_loaders.c:840:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
840 | int ret = 0;
| ^~~
make[4]: *** [Makefile:608: t4k_loaders.lo] Error 1
make[4]: Leaving directory '/build/reproducible-path/t4kcommon-0.1.1/src'
make[3]: *** [Makefile:644: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/t4kcommon-0.1.1/src'
make[2]: *** [Makefile:624: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/t4kcommon-0.1.1'
make[1]: *** [Makefile:530: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/t4kcommon-0.1.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2