[Debian GNUstep maintainers] Bug#1096423: cenon.app: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:06:45 GMT 2025


Package: src:cenon.app
Version: 4.0.6+ds1-5
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/cenon.app_4.0.6+ds1-5_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

[...]
VArc.m:3052:22: error: unknown type name ‘angle’
 3052 |                 if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
      |                      ^~~~~
VArc.m:3052:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<=’ token
 3052 |                 if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
      |                              ^~
VArc.m:3052:22: error: declaration in the controlling expression must have an initializer
 3052 |                 if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
      |                      ^~~~~
VArc.m:3053:57: error: expected ‘)’ before ‘angle’
 3053 |                     a = (angle>0.0) ? 360.0+a : a-360.0;
      |                                                         ^
      |                                                         )
 3054 |                 angle = a;
      |                 ~~~~~                                    
VArc.m:3052:20: note: to match this ‘(’
 3052 |                 if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
      |                    ^
VArc.m:3055:13: error: expected expression before ‘}’ token
 3055 |             }
      |             ^
VArc.m:3060:22: error: unknown type name ‘angle’
 3060 |                 if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
      |                      ^~~~~
VArc.m:3060:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<=’ token
 3060 |                 if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
      |                              ^~
VArc.m:3060:22: error: declaration in the controlling expression must have an initializer
 3060 |                 if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
      |                      ^~~~~
VArc.m:3061:57: error: expected ‘)’ before ‘angle’
 3061 |                     a = (angle>0.0) ? 360.0+a : a-360.0;
      |                                                         ^
      |                                                         )
 3062 |                 angle = a;
      |                 ~~~~~                                    
VArc.m:3060:20: note: to match this ‘(’
 3060 |                 if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
      |                    ^
VArc.m:3065:13: error: expected expression before ‘}’ token
 3065 |             }
      |             ^
VArc.m: In function ‘-[VArc getListOfObjectsSplittedFrom::]’:
VArc.m:3607:22: warning: variable ‘pv1’ set but not used [-Wunused-but-set-variable]
 3607 |         NSPoint pv0, pv1;
      |                      ^~~
VArc.m: In function ‘-[VArc getListOfObjectsSplittedAtPoint:]’:
VArc.m:3674:22: warning: variable ‘pv1’ set but not used [-Wunused-but-set-variable]
 3674 |         NSPoint pv0, pv1;
      |                      ^~~
VArc.m: In function ‘-[VArc getListOfObjectsSplittedFromGraphic:]’:
VArc.m:4118:22: warning: variable ‘pv1’ set but not used [-Wunused-but-set-variable]
 4118 |         NSPoint pv0, pv1;
      |                      ^~~
VArc.m: In function ‘-[VArc getIntersectionsAndSplittedObjects::with:]’:
VArc.m:4260:22: warning: variable ‘pv1’ set but not used [-Wunused-but-set-variable]
 4260 |         NSPoint pv0, pv1;
      |                      ^~~
make[6]: *** [/usr/share/GNUstep/Makefiles/rules.make:534: obj/GraphicObjects.obj/VArc.m.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [/usr/share/GNUstep/Makefiles/Instance/subproject.make:45: internal-subproject-all_] Error 2
make[4]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: GraphicObjects.all.subproject.variables] Error 2
make[3]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: Cenon.all.app.variables] Error 2
make[2]: *** [/usr/share/GNUstep/Makefiles/Master/application.make:38: internal-all] Error 2
make[2]: Leaving directory '/build/reproducible-path/cenon.app-4.0.6+ds1'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" messages=yes ASFLAGS= ASFLAGS_FOR_BUILD= "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/cenon.app-4.0.6+ds1=. -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/cenon.app-4.0.6+ds1=. -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/cenon.app-4.0.6+ds1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "CXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/cenon.app-4.0.6+ds1=. -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/cenon.app-4.0.6+ds1=. -fstack-protector-strong -fstack-clash-protection -fcf-protection" "FCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/cenon.app-4.0.6+ds1=. -fstack-protector-strong -fstack-clash-protection -fcf-protection" "FFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/cenon.app-4.0.6+ds1=. -fstack-protector-strong -fstack-clash-protection -fcf-protection" "FFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/cenon.app-4.0.6+ds1=. -fstack-protector-strong -fstack-clash-protection -fcf-protection" "LDFLAGS=-Wl,-z,relro -Wl,-z,now" "LDFLAGS_FOR_BUILD=-Wl,-z,relro -Wl,-z,now" "OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/cenon.app-4.0.6+ds1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "OBJCFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/cenon.app-4.0.6+ds1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "OBJCXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/cenon.app-4.0.6+ds1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" "OBJCXXFLAGS_FOR_BUILD=-g -O2 -ffile-prefix-map=/build/reproducible-path/cenon.app-4.0.6+ds1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection" returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/cenon.app-4.0.6+ds1'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-GNUstep-maintainers mailing list