[Debian GNUstep maintainers] Bug#1096745: gnustep-back: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:16:58 GMT 2025
Package: src:gnustep-back
Version: 0.31.0-8
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15
[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/gnustep-back_0.31.0-8_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
[...]
/usr/include/X11/Xlib.h:1843:15: note: ‘XErrorHandler’ declared here
1843 | typedef int (*XErrorHandler) ( /* WARNING, this type not in Xlib spec */
| ^~~~~~~~~~~~~
xutil.c:143:26: error: passing argument 1 of ‘XSetErrorHandler’ from incompatible pointer type [-Wincompatible-pointer-types]
143 | XSetErrorHandler(oldErrorHandler);
| ^~~~~~~~~~~~~~~
| |
| int (*)(void)
/usr/include/X11/Xlib.h:1849:5: note: expected ‘XErrorHandler’ {aka ‘int (*)(Display *, XErrorEvent *)’} but argument is of type ‘int (*)(void)’
1849 | XErrorHandler /* handler */
| ^~~~~~~~~~~~~
/usr/include/X11/Xlib.h:1843:15: note: ‘XErrorHandler’ declared here
1843 | typedef int (*XErrorHandler) ( /* WARNING, this type not in Xlib spec */
| ^~~~~~~~~~~~~
make[7]: *** [/usr/share/GNUstep/Makefiles/rules.make:528: obj/x11.obj/xutil.c.o] Error 1
make[7]: *** Waiting for unfinished jobs....
scale.c: In function ‘box_filter’:
scale.c:259:1: warning: old-style function definition [-Wold-style-definition]
259 | box_filter(t)
| ^~~~~~~~~~
scale.c: In function ‘triangle_filter’:
scale.c:269:1: warning: old-style function definition [-Wold-style-definition]
269 | triangle_filter(t)
| ^~~~~~~~~~~~~~~
scale.c: In function ‘bell_filter’:
scale.c:280:1: warning: old-style function definition [-Wold-style-definition]
280 | bell_filter(t) /* box (*) box (*) box */
| ^~~~~~~~~~~
scale.c: In function ‘B_spline_filter’:
scale.c:295:1: warning: old-style function definition [-Wold-style-definition]
295 | B_spline_filter(t) /* box (*) box (*) box (*) box */
| ^~~~~~~~~~~~~~~
scale.c: In function ‘sinc’:
scale.c:312:1: warning: old-style function definition [-Wold-style-definition]
312 | sinc(x)
| ^~~~
scale.c: In function ‘Lanczos3_filter’:
scale.c:323:1: warning: old-style function definition [-Wold-style-definition]
323 | Lanczos3_filter(t)
| ^~~~~~~~~~~~~~~
scale.c: In function ‘Mitchell_filter’:
scale.c:337:1: warning: old-style function definition [-Wold-style-definition]
337 | Mitchell_filter(t)
| ^~~~~~~~~~~~~~~
scale.c: In function ‘RSmoothScaleImage’:
scale.c:453:28: error: too many arguments to function ‘filterf’; expected 0, have 1
453 | rweight = (*filterf)(rweight / fscale) / fscale;
| ~^~~~~~~~~ ~~~~~~~~~~~~~~~~
scale.c:477:28: error: too many arguments to function ‘filterf’; expected 0, have 1
477 | rweight = (*filterf)(rweight);
| ~^~~~~~~~~ ~~~~~~~
scale.c:537:28: error: too many arguments to function ‘filterf’; expected 0, have 1
537 | rweight = (*filterf)(rweight / fscale) / fscale;
| ~^~~~~~~~~ ~~~~~~~~~~~~~~~~
scale.c:560:28: error: too many arguments to function ‘filterf’; expected 0, have 1
560 | rweight = (*filterf)(rweight);
| ~^~~~~~~~~ ~~~~~~~
make[7]: *** [/usr/share/GNUstep/Makefiles/rules.make:528: obj/x11.obj/scale.c.o] Error 1
make[6]: *** [/usr/share/GNUstep/Makefiles/Instance/subproject.make:45: internal-subproject-all_] Error 2
make[5]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: x11.all.subproject.variables] Error 2
make[4]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: libgnustep-cairo-031.all.bundle.variables] Error 2
make[3]: *** [/usr/share/GNUstep/Makefiles/Master/bundle.make:37: internal-all] Error 2
make[3]: Leaving directory '/build/reproducible-path/gnustep-back-0.31.0/Source'
make[2]: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
make[2]: Leaving directory '/build/reproducible-path/gnustep-back-0.31.0'
dh_auto_build: error: make -j8 messages=yes SERIAL_SUBDIRECTORIES=Source ASFLAGS= ASFLAGS_FOR_BUILD= "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "CFLAGS_FOR_BUILD=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "CPPFLAGS_FOR_BUILD=-Wdate-time -D_FORTIFY_SOURCE=2" "CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "CXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" DFLAGS=-frelease DFLAGS_FOR_BUILD=-frelease "FCFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -fcf-protection" "FCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -fcf-protection" "FFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -fcf-protection" "FFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -fcf-protection" "LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--no-undefined" "LDFLAGS_FOR_BUILD=-Wl,-z,relro -Wl,-z,now" "OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "OBJCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "OBJCXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/gnustep-back-0.31.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" returned exit code 2
make[1]: *** [debian/rules:154: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/gnustep-back-0.31.0'
make: *** [debian/rules:44: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the pkg-GNUstep-maintainers
mailing list