[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/devilspie_0.23-3_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
[...]
file=`echo es | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file es.po
file=`echo fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file fr.po
file=`echo nb | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file nb.po
file=`echo oc | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file oc.po
file=`echo pt_BR | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file pt_BR.po
file=`echo ro | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file ro.po
file=`echo sl | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file sl.po
file=`echo sv | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file sv.po
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && /usr/bin/msgfmt -o $file zh_CN.po
make[2]: Leaving directory '/build/reproducible-path/devilspie-0.23/po'
Making all in src
make[2]: Entering directory '/build/reproducible-path/devilspie-0.23/src'
/usr/bin/make all-am
make[3]: Entering directory '/build/reproducible-path/devilspie-0.23/src'
gcc -DHAVE_CONFIG_H -I. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/libwnck-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -I/usr/include/startup-notification-1.0 -DLOCALEDIR=\""/usr/share/locale"\" -DSYSCONFDIR=\""/etc"\" -DDATADIR=\""/usr/share"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DWNCK_I_KNOW_THIS_IS_UNSTABLE -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/devilspie-0.23=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c devilspie.c
In file included from devilspie.c:28:
e-sexp.h:43:21: error: ‘bool’ cannot be used here
43 | int bool;
| ^~~~
e-sexp.h:43:21: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
e-sexp.h:43:25: warning: declaration does not declare anything
43 | int bool;
| ^
e-sexp.h:81:21: error: ‘bool’ cannot be used here
81 | int bool;
| ^~~~
e-sexp.h:81:21: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
e-sexp.h:81:25: warning: declaration does not declare anything
81 | int bool;
| ^
devilspie.c: In function ‘init_screens’:
devilspie.c:88:3: warning: ‘gdk_display_get_n_screens’ is deprecated [-Wdeprecated-declarations]
88 | const int num_screens = gdk_display_get_n_screens (gdk_display_get_default());
| ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from /usr/include/libwnck-3.0/libwnck/misc.h:30,
from /usr/include/libwnck-3.0/libwnck/util.h:30,
from /usr/include/libwnck-3.0/libwnck/wnck-handle.h:27,
from /usr/include/libwnck-3.0/libwnck/libwnck.h:26,
from devilspie.c:26:
/usr/include/gtk-3.0/gdk/gdkdisplay.h:54:13: note: declared here
54 | gint gdk_display_get_n_screens (GdkDisplay *display);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
devilspie.c:90:5: warning: ‘wnck_screen_get’ is deprecated: Use 'wnck_handle_get_screen' instead [-Wdeprecated-declarations]
90 | WnckScreen *screen = wnck_screen_get (i);
| ^~~~~~~~~~
In file included from /usr/include/libwnck-3.0/libwnck/wnck-handle.h:26:
/usr/include/libwnck-3.0/libwnck/screen.h:203:16: note: declared here
203 | WnckScreen* wnck_screen_get (int index);
| ^~~~~~~~~~~~~~~
make[3]: *** [Makefile:398: devilspie.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/devilspie-0.23/src'
make[2]: *** [Makefile:279: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/devilspie-0.23/src'
make[1]: *** [Makefile:390: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/devilspie-0.23'
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