#1145849 nip2: FTBFS: filesel.c:487:9: error: void value not ignored as it ought to be

Package:
src:nip2
Source:
src:nip2
Submitter:
Santiago Vila
Date:
2026-08-27 09:57:09 UTC
Severity:
normal
Tags:
#1145849#5
Date:
2026-08-27 09:54:42 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:nip2, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
filesel.c: In function ‘filesel_add_mode’:
filesel.c:461:17: warning: ‘vips_snprintf’ is deprecated: Use 'g_snprintf' instead [-Wdeprecated-declarations]
  461 |                 im_snprintf( filename + l, FILENAME_MAX - l, ":%s", ext );
      |                 ^~~~~~~~~~~
/usr/include/vips/almostdeprecated.h:470:5: note: declared here
  470 | int vips_snprintf(char *str, size_t size, const char *format, ...)
      |     ^~~~~~~~~~~~~
filesel.c: In function ‘filesel_destroy’:
filesel.c:487:9: error: void value not ignored as it ought to be
  487 |         IM_FREEF( g_free, filesel->current_dir );
filesel.c: In function ‘filesel_add_volume’:
filesel.c:524:9: warning: ‘vips_strncpy’ is deprecated: Use 'g_strlcpy' instead [-Wdeprecated-declarations]
  524 |         im_strncpy( buf, dir, FILENAME_MAX );
      |         ^~~~~~~~~~
/usr/include/vips/almostdeprecated.h:461:7: note: declared here
  461 | char *vips_strncpy(char *dest, const char *src, int n);
      |       ^~~~~~~~~~~~
filesel.c: In function ‘filesel_dir_enter’:
filesel.c:592:25: warning: ‘vips_free’ is deprecated: Use 'g_free' instead [-Wdeprecated-declarations]
  592 |                         IM_SETSTR( filesel_last_dir, dir );
      |                         ^~~~~~~~~
/usr/include/vips/almostdeprecated.h:450:5: note: declared here
  450 | int vips_free(void *buf);
      |     ^~~~~~~~~
filesel.c: In function ‘filesel_set_filetype_from_filename’:
filesel.c:695:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  695 |         if( (p = strrchr( name, G_DIR_SEPARATOR )) &&
      |                ^
filesel.c: In function ‘filesel_set_filename’:
filesel.c:716:9: warning: ‘vips_strncpy’ is deprecated: Use 'g_strlcpy' instead [-Wdeprecated-declarations]
  716 |         im_strncpy( buf, name, FILENAME_MAX );
      |         ^~~~~~~~~~
/usr/include/vips/almostdeprecated.h:461:7: note: declared here
  461 | char *vips_strncpy(char *dest, const char *src, int n);
      |       ^~~~~~~~~~~~
filesel.c:733:25: warning: ‘im_skip_dir’ is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations]
  733 |                         im_skip_dir( buf ) );
      |                         ^~~~~~~~~~~
/usr/include/vips/vips7compat.h:1383:13: note: declared here
 1383 | const char *im_skip_dir(const char *filename);
      |             ^~~~~~~~~~~
filesel.c: In function ‘filesel_get_filename’:
filesel.c:771:9: warning: ‘vips_strncpy’ is deprecated: Use 'g_strlcpy' instead [-Wdeprecated-declarations]
  771 |         im_strncpy( tmp, name, FILENAME_MAX );
      |         ^~~~~~~~~~
/usr/include/vips/almostdeprecated.h:461:7: note: declared here
  461 | char *vips_strncpy(char *dest, const char *src, int n);
      |       ^~~~~~~~~~~~
filesel.c: In function ‘filesel_map_filename_multi’:
filesel.c:794:17: warning: ‘vips_strncpy’ is deprecated: Use 'g_strlcpy' instead [-Wdeprecated-declarations]
  794 |                 im_strncpy( tmp, filename, FILENAME_MAX );
      |                 ^~~~~~~~~~
/usr/include/vips/almostdeprecated.h:461:7: note: declared here
  461 | char *vips_strncpy(char *dest, const char *src, int n);
      |       ^~~~~~~~~~~~
filesel.c: In function ‘filesel_increment_filename’:
filesel.c:1042:17: warning: ‘vips_strncpy’ is deprecated: Use 'g_strlcpy' instead [-Wdeprecated-declarations]
 1042 |                 im_strncpy( name, filename, FILENAME_MAX );
      |                 ^~~~~~~~~~
/usr/include/vips/almostdeprecated.h:461:7: note: declared here
  461 | char *vips_strncpy(char *dest, const char *src, int n);
      |       ^~~~~~~~~~~~
make[4]: *** [Makefile:1463: nip2-filesel.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:33,
                 from ip.h:128,
                 from graphwindow.c:63:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtk.h:32:
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
  725 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:622:8: note: declared here
  622 | struct _GTimeVal
      |        ^~~~~~~~~
graphwindow.c: In function ‘graphwindow_destroy’:
graphwindow.c:156:9: warning: ‘vips_free’ is deprecated: Use 'g_free' instead [-Wdeprecated-declarations]
  156 |         IM_FREE( graphwindow->dot );
      |         ^~~~~~~
In file included from /usr/include/vips/vips7compat.h:1764,
                 from /usr/include/vips/vips.h:147,
                 from ip.h:158:
/usr/include/vips/almostdeprecated.h:450:5: note: declared here
  450 | int vips_free(void *buf);
      |     ^~~~~~~~~
graphwindow.c: In function ‘graphwindow_layout_cb’:
graphwindow.c:331:17: warning: ‘vips_free’ is deprecated: Use 'g_free' instead [-Wdeprecated-declarations]
  331 |                 IM_FREE( graphwindow->dot );
      |                 ^~~~~~~
/usr/include/vips/almostdeprecated.h:450:5: note: declared here
  450 | int vips_free(void *buf);
      |     ^~~~~~~~~
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:2888: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:569: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:434: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:39: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------