Package: src:gimp-gap
Version: 2.6.0+dfsg-8
Severity: important
Tags: sid trixie
User: debian-...@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-gap_2.6.0+dfsg-8_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

[...]
      |                                                 
~~~~~~~~~~~~~~~~~~~~~^~~~~~
gap_mov_dialog.c: In function ‘mov_grab_bezier_path’:
gap_mov_dialog.c:1194:10: warning: variable ‘image_id’ set but not used 
[-Wunused-but-set-variable]
 1194 |   gint32 image_id;
      |          ^~~~~~~~
gap_mov_dialog.c: In function ‘mov_pgrab_callback’:
gap_mov_dialog.c:1396:5: warning: ‘gimp_vectors_get_name’ is deprecated: Use 
'gimp_item_get_name' instead [-Wdeprecated-declarations]
 1396 |     vectorname = gimp_vectors_get_name(vectors_id);
      |     ^~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:64,
                 from gap_mov_dialog.c:112:
/usr/include/gimp-2.0/libgimp/gimpvectors.h:38:16: note: declared here
   38 | gchar        * gimp_vectors_get_name        (gint32              
vectors_ID);
      |                ^~~~~~~~~~~~~~~~~~~~~
gap_mov_dialog.c: In function ‘mov_imglayer_menu_callback’:
gap_mov_dialog.c:2088:3: warning: ‘gimp_drawable_get_image’ is deprecated: Use 
'gimp_item_get_image' instead [-Wdeprecated-declarations]
 2088 |   l_image_id = gimp_drawable_get_image(id);
      |   ^~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41:
/usr/include/gimp-2.0/libgimp/gimpdrawable.h:99:16: note: declared here
   99 | gint32         gimp_drawable_get_image              (gint32             
 drawable_ID);
      |                ^~~~~~~~~~~~~~~~~~~~~~~
gap_mov_dialog.c: In function ‘p_points_from_tab’:
gap_mov_dialog.c:2507:15: warning: cast from pointer to integer of different 
size [-Wpointer-to-int-cast]
 2507 |               (int)scale, (int)spinbutton);
      |               ^
gap_mov_dialog.c:2507:27: warning: cast from pointer to integer of different 
size [-Wpointer-to-int-cast]
 2507 |               (int)scale, (int)spinbutton);
      |                           ^
gap_mov_dialog.c: In function ‘mov_path_prevw_preview_init’:
gap_mov_dialog.c:4416:5: warning: ‘gimp_drawable_get_image’ is deprecated: Use 
'gimp_item_get_image' instead [-Wdeprecated-declarations]
 4416 |     image_id = gimp_drawable_get_image(mgp->drawable->drawable_id);
      |     ^~~~~~~~
/usr/include/gimp-2.0/libgimp/gimpdrawable.h:99:16: note: declared here
   99 | gint32         gimp_drawable_get_image              (gint32             
 drawable_ID);
      |                ^~~~~~~~~~~~~~~~~~~~~~~
gap_mov_dialog.c: In function ‘p_get_flattened_drawable’:
gap_mov_dialog.c:5050:3: warning: ‘gimp_drawable_get’ is deprecated: Use 
'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations]
 5050 |   l_drawable_ptr = gimp_drawable_get 
(gap_image_merge_visible_layers(image_id, GIMP_CLIP_TO_IMAGE));
      |   ^~~~~~~~~~~~~~
/usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here
   52 | GimpDrawable * gimp_drawable_get                    (gint32         
drawable_ID);
      |                ^~~~~~~~~~~~~~~~~
gap_mov_dialog.c: In function ‘p_mov_spinbutton_new’:
gap_mov_dialog.c:5240:3: warning: ‘gimp_spin_button_new’ is deprecated: Use 
'gtk_spin_button_new' instead [-Wdeprecated-declarations]
 5240 |   spinbutton = gimp_spin_button_new (&adj  /* return value */
      |   ^~~~~~~~~~
In file included from /usr/include/gimp-2.0/libgimpwidgets/gimpwidgets.h:78,
                 from /usr/include/gimp-2.0/libgimp/gimpui.h:24,
                 from gap_mov_dialog.c:113:
/usr/include/gimp-2.0/libgimpwidgets/gimpspinbutton.h:85:3: note: declared here
   85 |   gimp_spin_button_new (_1, _2, _3, _4, _5, _6, _7, _8, _9)
      |   ^~~~~~~~~~~~~~~~~~~~
/usr/include/gimp-2.0/libgimpwidgets/gimpspinbutton.h:81:3: note: in expansion 
of macro ‘gimp_spin_button_new_I_9’
   81 |   gimp_spin_button_new_I_##n (_1, _2, _3, _4, _5, _6, _7, _8, _9)
      |   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gimp-2.0/libgimpwidgets/gimpspinbutton.h:78:35: note: in expansion 
of macro ‘gimp_spin_button_new_I’
   78 | #define gimp_spin_button_new(...) gimp_spin_button_new_I (__VA_ARGS__, \
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gimp-2.0/libgimpwidgets/gimpwidgets.h:151:13: note: in expansion 
of macro ‘gimp_spin_button_new’
  151 | GtkWidget * gimp_spin_button_new   (/* return value: */
      |             ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1356: gap_mov_dialog.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gap'
make[2]: *** [Makefile:474: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:415: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] 
Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to