Bug#1075173: libimage-librsvg-perl: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:33:23 BST 2024
Package: src:libimage-librsvg-perl
Version: 0.07-9
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14
[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/libimage-librsvg-perl_0.07-9_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
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-14/porting_to.html
[...]
| ^~~~~~~~~~~~~~~~~~~~
LibRSVG.xs: In function ‘XS_Image__LibRSVG_loadFromFileAtSize’:
LibRSVG.xs:802:9: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations]
802 | g_type_init ();
| ^~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:737:23: note: declared here
737 | void g_type_init (void);
| ^~~~~~~~~~~
LibRSVG.xs:805:13: warning: ‘rsvg_set_default_dpi’ is deprecated [-Wdeprecated-declarations]
805 | rsvg_set_default_dpi (dpi);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:468:6: note: declared here
468 | void rsvg_set_default_dpi (double dpi);
| ^~~~~~~~~~~~~~~~~~~~
LibRSVG.xs:812:9: warning: ‘rsvg_pixbuf_from_file_at_size’ is deprecated [-Wdeprecated-declarations]
812 | THIS->pixbuf = rsvg_pixbuf_from_file_at_size( svgfile, width, height, NULL );
| ^~~~
LibRSVG.xs:260:1: note: declared here
260 | rsvg_pixbuf_from_file_at_size (const gchar *file_name, gint width, gint height, GError **error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LibRSVG.xs: In function ‘XS_Image__LibRSVG_loadFromStringAtSize’:
LibRSVG.xs:830:9: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations]
830 | g_type_init ();
| ^~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:737:23: note: declared here
737 | void g_type_init (void);
| ^~~~~~~~~~~
LibRSVG.xs:833:13: warning: ‘rsvg_set_default_dpi’ is deprecated [-Wdeprecated-declarations]
833 | rsvg_set_default_dpi (dpi);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:468:6: note: declared here
468 | void rsvg_set_default_dpi (double dpi);
| ^~~~~~~~~~~~~~~~~~~~
LibRSVG.xs: In function ‘XS_Image__LibRSVG_loadFromFileAtZoomWithMax’:
LibRSVG.xs:867:9: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations]
867 | g_type_init ();
| ^~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:737:23: note: declared here
737 | void g_type_init (void);
| ^~~~~~~~~~~
LibRSVG.xs:870:13: warning: ‘rsvg_set_default_dpi’ is deprecated [-Wdeprecated-declarations]
870 | rsvg_set_default_dpi (dpi);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:468:6: note: declared here
468 | void rsvg_set_default_dpi (double dpi);
| ^~~~~~~~~~~~~~~~~~~~
LibRSVG.xs:877:9: warning: ‘rsvg_pixbuf_from_file_at_zoom_with_max’ is deprecated [-Wdeprecated-declarations]
877 | THIS->pixbuf = rsvg_pixbuf_from_file_at_zoom_with_max( svgfile, x_zoom, y_zoom, width, height, NULL );
| ^~~~
LibRSVG.xs:223:1: note: declared here
223 | rsvg_pixbuf_from_file_at_zoom_with_max (const gchar *file_name, double x_zoom, double y_zoom, gint max_width, gint max_height, GError **error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LibRSVG.xs: In function ‘XS_Image__LibRSVG_loadFromStringAtZoomWithMax’:
LibRSVG.xs:898:9: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations]
898 | g_type_init ();
| ^~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:737:23: note: declared here
737 | void g_type_init (void);
| ^~~~~~~~~~~
LibRSVG.xs:901:13: warning: ‘rsvg_set_default_dpi’ is deprecated [-Wdeprecated-declarations]
901 | rsvg_set_default_dpi (dpi);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/librsvg-2.0/librsvg/rsvg.h:468:6: note: declared here
468 | void rsvg_set_default_dpi (double dpi);
| ^~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:339: LibRSVG.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-perl-maintainers
mailing list