Bug#1075056: gutenprint: ftbfs with GCC-14
Package: src:gutenprint
Version: 5.3.4.20220624T01008808d602-2
Severity: important
Tags: sid trixie
User: debian-gcc@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/gutenprint_5.3.4.20220624T01008808d602-2_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
[...]
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41:
/usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here
52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID);
| ^~~~~~~~~~~~~~~~~
print.c:254:3: warning: ‘gimp_gamma’ is deprecated [-Wdeprecated-declarations]
254 | stp_set_float_parameter(gimp_vars.v, "AppGamma", gimp_gamma());
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gimp-2.0/libgimp/gimp.h:348:16: note: declared here
348 | gdouble gimp_gamma (void) G_GNUC_CONST;
| ^~~~~~~~~~
print.c:514:7: warning: ‘gimp_tile_cache_ntiles’ is deprecated [-Wdeprecated-declarations]
514 | gimp_tile_cache_ntiles ((drawable->height + gimp_tile_width () - 1) /
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:63:
/usr/include/gimp-2.0/libgimp/gimptile.h:60:9: note: declared here
60 | void gimp_tile_cache_ntiles (gulong ntiles);
| ^~~~~~~~~~~~~~~~~~~~~~
print.c:517:7: warning: ‘gimp_tile_cache_ntiles’ is deprecated [-Wdeprecated-declarations]
517 | gimp_tile_cache_ntiles ((drawable->width + gimp_tile_width () - 1) /
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gimp-2.0/libgimp/gimptile.h:60:9: note: declared here
60 | void gimp_tile_cache_ntiles (gulong ntiles);
| ^~~~~~~~~~~~~~~~~~~~~~
print.c:539:3: warning: ‘gimp_drawable_detach’ is deprecated [-Wdeprecated-declarations]
539 | gimp_drawable_detach (drawable);
| ^~~~~~~~~~~~~~~~~~~~
/usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here
54 | void gimp_drawable_detach (GimpDrawable *drawable);
| ^~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:558: print.o] Error 1
make[4]: *** Waiting for unfinished jobs....
print-image-gimp.c: In function ‘Image_GimpDrawable_new’:
print-image-gimp.c:155:3: warning: ‘gimp_pixel_rgn_init’ is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
155 | gimp_pixel_rgn_init(&(im->rgn), drawable, 0, 0,
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57,
from print_gimp.h:41:
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here
48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr,
| ^~~~~~~~~~~~~~~~~~~
print-image-gimp.c:165:7: warning: ‘gimp_image_get_cmap’ is deprecated: Use 'gimp_image_get_colormap' instead [-Wdeprecated-declarations]
165 | im->cmap = gimp_image_get_cmap(image_ID, &(im->ncolors));
| ^~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:47:
/usr/include/gimp-2.0/libgimp/gimpimage.h:49:16: note: declared here
49 | guchar * gimp_image_get_cmap (gint32 image_ID,
| ^~~~~~~~~~~~~~~~~~~
print-image-gimp.c: In function ‘Image_get_row’:
print-image-gimp.c:244:5: warning: ‘gimp_pixel_rgn_get_col’ is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations]
244 | gimp_pixel_rgn_get_col(&(im->rgn), inter,
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:74:11: note: declared here
74 | void gimp_pixel_rgn_get_col (GimpPixelRgn *pr,
| ^~~~~~~~~~~~~~~~~~~~~~
print-image-gimp.c:247:5: warning: ‘gimp_pixel_rgn_get_row’ is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations]
247 | gimp_pixel_rgn_get_row(&(im->rgn), inter,
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gimp-2.0/libgimp/gimppixelrgn.h:68:11: note: declared here
68 | void gimp_pixel_rgn_get_row (GimpPixelRgn *pr,
| ^~~~~~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/gimp2'
make[3]: *** [Makefile:486: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:603: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:534: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Reply to: