Acknowledgement sent
to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian GNUstep maintainers <[email protected]>.
(Mon, 17 Feb 2025 17:07:32 GMT) (full text, mbox, link).
Package: src:cenon.app
Version: 4.0.6+ds1-5
Severity: important
Tags: sid forky
User: [email protected]
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
Information forwarded
to Debian GNUstep maintainers <[email protected]>: Bug#1096423; Package src:cenon.app.
(Tue, 04 Mar 2025 20:03:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Yavor Doganov <[email protected]>:
Extra info received and forwarded to maintainer. Copy sent to Debian GNUstep maintainers <[email protected]>.
(Tue, 04 Mar 2025 20:03:02 GMT) (full text, mbox, link).
Subject: Re: Bug#1096423: cenon.app: ftbfs with GCC-15
Date: Tue, 04 Mar 2025 22:01:54 +0200
Control: clone -1 -2
Control: reassign -2 gobjc-15 15-20250220-1
Control: retitle -2 Implementation of "if declarations" makes instance variables unknown under certain conditions
Control: forwarded -2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119117
Control: block -1 with -2
On Mon, 17 Feb 2025 19:06:45 +0200,
Matthias Klose wrote:
> VArc.m:3052:22: error: unknown type name ‘angle’
> 3052 | if ( angle*a <= 0.0 && Diff(angle, a) >= 180.0 )
> | ^~~~~
This is an instance variable which should always be accessible within
a method implementation. If I add a local declaration, I get "local
declaration shadows ivar" warning. That's absurd.
I included a minimal example that doesn't depend on gnustep-base in
the upstream report, and also pointed out the change that introduced
this bug.
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.