[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/sylpheed_3.8.0~beta1-2_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html
[...]
| ^~~~~~~~
mainwindow.c:2613:47: note: (near initialization for ‘reply_entries[3].callback’)
mainwindow.c:342:13: note: ‘reply_cb’ declared here
342 | static void reply_cb (MainWindow *mainwin,
| ^~~~~~~~
mainwindow.c:2618:47: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(MainWindow *, guint, GtkWidget *)’ {aka ‘void (*)(struct _MainWindow *, unsigned int, struct _GtkWidget *)’} [-Wincompatible-pointer-types]
2618 | {N_("/_Forward"), NULL, reply_cb, COMPOSE_FORWARD, NULL},
| ^~~~~~~~
mainwindow.c:2618:47: note: (near initialization for ‘forward_entries[0].callback’)
mainwindow.c:342:13: note: ‘reply_cb’ declared here
342 | static void reply_cb (MainWindow *mainwin,
| ^~~~~~~~
mainwindow.c:2619:47: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(MainWindow *, guint, GtkWidget *)’ {aka ‘void (*)(struct _MainWindow *, unsigned int, struct _GtkWidget *)’} [-Wincompatible-pointer-types]
2619 | {N_("/For_ward as attachment"), NULL, reply_cb, COMPOSE_FORWARD_AS_ATTACH, NULL},
| ^~~~~~~~
mainwindow.c:2619:47: note: (near initialization for ‘forward_entries[1].callback’)
mainwindow.c:342:13: note: ‘reply_cb’ declared here
342 | static void reply_cb (MainWindow *mainwin,
| ^~~~~~~~
mainwindow.c:2620:47: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(MainWindow *, guint, GtkWidget *)’ {aka ‘void (*)(struct _MainWindow *, unsigned int, struct _GtkWidget *)’} [-Wincompatible-pointer-types]
2620 | {N_("/Redirec_t"), NULL, reply_cb, COMPOSE_REDIRECT, NULL}
| ^~~~~~~~
mainwindow.c:2620:47: note: (near initialization for ‘forward_entries[2].callback’)
mainwindow.c:342:13: note: ‘reply_cb’ declared here
342 | static void reply_cb (MainWindow *mainwin,
| ^~~~~~~~
main.c: In function ‘migrate_old_config’:
main.c:1911:17: warning: ‘g_pattern_match_string’ is deprecated: Use 'g_pattern_spec_match_string' instead [-Wdeprecated-declarations]
1911 | if (g_pattern_match_string(pspec, dir_name)) {
| ^~
In file included from /usr/include/glib-2.0/glib.h:68:
/usr/include/glib-2.0/glib/gpattern.h:57:15: note: declared here
57 | gboolean g_pattern_match_string (GPatternSpec *pspec,
| ^~~~~~~~~~~~~~~~~~~~~~
summaryview.c: In function ‘summary_status_show’:
summaryview.c:2243:25: warning: ‘g_basename’ is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations]
2243 | (g_basename(summaryview->folder_item->path),
| ^
In file included from /usr/include/glib-2.0/glib.h:50:
/usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here
207 | const gchar *g_basename (const gchar *file_name);
| ^~~~~~~~~~
summaryview.c: In function ‘summary_save_as’:
summaryview.c:3970:34: warning: ‘g_basename’ is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations]
3970 | g_basename(utf8_dest));
| ^~~~~~~~~~
/usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here
207 | const gchar *g_basename (const gchar *file_name);
| ^~~~~~~~~~
make[5]: *** [Makefile:989: mainwindow.o] Error 1
summaryview.c: In function ‘summary_drag_data_get’:
summaryview.c:6457:33: warning: ‘g_basename’ is deprecated: Use 'g_path_get_basename' instead [-Wdeprecated-declarations]
6457 | filename = g_strdup(g_basename(file));
| ^~~~~~~~
/usr/include/glib-2.0/glib/gfileutils.h:207:14: note: declared here
207 | const gchar *g_basename (const gchar *file_name);
| ^~~~~~~~~~
make[5]: *** [Makefile:989: summaryview.o] Error 1
make[5]: Leaving directory '/build/reproducible-path/sylpheed-3.8.0~beta1/src'
make[4]: *** [Makefile:1045: all-recursive] Error 1
make[4]: Leaving directory '/build/reproducible-path/sylpheed-3.8.0~beta1/src'
make[3]: *** [Makefile:748: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/sylpheed-3.8.0~beta1/src'
make[2]: *** [Makefile:557: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/sylpheed-3.8.0~beta1'
make[1]: *** [Makefile:466: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/sylpheed-3.8.0~beta1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2