Bug#1074998: gimp: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:27:49 BST 2024
Package: src:gimp
Version: 2.10.38-1
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/gimp_2.10.38-1_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
[...]
file-tiff-load.c:1239:9: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
1239 | uint32 count = 0;
| ^~~~~~
file-tiff-load.c:1372:56: error: passing argument 2 of ‘gimp_image_get_resolution’ from incompatible pointer type [-Wincompatible-pointer-types]
1372 | gimp_image_get_resolution (*image, &xres, &yres);
| ^~~~~
| |
| gfloat * {aka float *}
In file included from ../../libgimp/gimp_pdb_headers.h:55,
from ../../libgimp/gimp.h:66,
from file-tiff-load.c:52:
../../libgimp/gimpimage_pdb.h:179:86: note: expected ‘gdouble *’ {aka ‘double *’} but argument is of type ‘gfloat *’ {aka ‘float *’}
179 | gdouble *xresolution,
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
file-tiff-load.c:1372:63: error: passing argument 3 of ‘gimp_image_get_resolution’ from incompatible pointer type [-Wincompatible-pointer-types]
1372 | gimp_image_get_resolution (*image, &xres, &yres);
| ^~~~~
| |
| gfloat * {aka float *}
../../libgimp/gimpimage_pdb.h:180:86: note: expected ‘gdouble *’ {aka ‘double *’} but argument is of type ‘gfloat *’ {aka ‘float *’}
180 | gdouble *yresolution);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
file-tiff-load.c: In function ‘load_profile’:
file-tiff-load.c:1759:3: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
1759 | uint32 profile_size;
| ^~~~~~
file-tiff-load.c: In function ‘load_rgba’:
file-tiff-load.c:1788:3: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
1788 | buffer = g_new (uint32, image_width * image_height);
| ^~~~~~
file-tiff-load.c:1788:3: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
make[4]: *** [Makefile:776: file-tiff-load.o] Error 1
make[4]: *** Waiting for unfinished jobs....
file-tiff-save.c: In function ‘save_metadata’:
file-tiff-save.c:879:7: warning: ‘gexiv2_metadata_clear_tag’ is deprecated: Use 'gexiv2_metadata_try_clear_tag' instead [-Wdeprecated-declarations]
879 | gexiv2_metadata_clear_tag (GEXIV2_METADATA (metadata),
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gexiv2/gexiv2.h:13,
from file-tiff-save.c:51:
/usr/include/gexiv2/gexiv2-metadata.h:442:25: note: declared here
442 | gboolean gexiv2_metadata_clear_tag (GExiv2Metadata *self, const gchar* tag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
file-tiff-save.c:892:9: warning: ‘gexiv2_metadata_clear_tag’ is deprecated: Use 'gexiv2_metadata_try_clear_tag' instead [-Wdeprecated-declarations]
892 | gexiv2_metadata_clear_tag (GEXIV2_METADATA (metadata), *tag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gexiv2/gexiv2-metadata.h:442:25: note: declared here
442 | gboolean gexiv2_metadata_clear_tag (GExiv2Metadata *self, const gchar* tag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
file-tiff-save.c:896:9: warning: ‘gexiv2_metadata_clear_tag’ is deprecated: Use 'gexiv2_metadata_try_clear_tag' instead [-Wdeprecated-declarations]
896 | gexiv2_metadata_clear_tag (GEXIV2_METADATA (metadata), *tag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gexiv2/gexiv2-metadata.h:442:25: note: declared here
442 | gboolean gexiv2_metadata_clear_tag (GExiv2Metadata *self, const gchar* tag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
file-tiff-save.c:898:9: warning: ‘gexiv2_metadata_clear_tag’ is deprecated: Use 'gexiv2_metadata_try_clear_tag' instead [-Wdeprecated-declarations]
898 | gexiv2_metadata_clear_tag (GEXIV2_METADATA (metadata), *tag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gexiv2/gexiv2-metadata.h:442:25: note: declared here
442 | gboolean gexiv2_metadata_clear_tag (GExiv2Metadata *self, const gchar* tag);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/plug-ins/file-tiff'
make[3]: *** [Makefile:711: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/plug-ins'
make[2]: *** [Makefile:863: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:764: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-gnome-maintainers
mailing list