[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1096432: cheesecutter: ftbfs with GCC-15



Package: src:cheesecutter
Version: 2.9+git20211011-3
Severity: important
Tags: sid forky
User: debian-gcc@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/cheesecutter_2.9+git20211011-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

[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j8 clean
make[1]: Entering directory '/build/reproducible-path/cheesecutter-2.9+git20211011'
Makefile:29: warning: ignoring prerequisites on suffix rule definition
Makefile:26: warning: ignoring prerequisites on suffix rule definition
rm -f *.o *~ resid/*.o resid-fp/*.o ccutter ct2util \
	src/c64/player.bin src/derelict/util/compat.o src/derelict/util/sharedlib.o src/derelict/util/exception.o src/derelict/util/loader.o src/derelict/util/wintypes.o src/derelict/util/xtypes.o src/derelict/sdl/sdl.o src/derelict/sdl/net.o src/derelict/sdl/ttf.o src/derelict/sdl/mixer.o src/derelict/sdl/image.o src/derelict/sdl/sdlfuncs.o src/derelict/sdl/sdltypes.o src/derelict/sdl/macinit/CoreFoundation.o src/derelict/sdl/macinit/DerelictSDLMacLoader.o src/derelict/sdl/macinit/ID.o src/derelict/sdl/macinit/MacTypes.o src/derelict/sdl/macinit/NSApplication.o src/derelict/sdl/macinit/NSArray.o src/derelict/sdl/macinit/NSAutoreleasePool.o src/derelict/sdl/macinit/NSDictionary.o src/derelict/sdl/macinit/NSEnumerator.o src/derelict/sdl/macinit/NSEvent.o src/derelict/sdl/macinit/NSGeometry.o src/derelict/sdl/macinit/NSMenu.o src/derelict/sdl/macinit/NSMenuItem.o src/derelict/sdl/macinit/NSNotification.o src/derelict/sdl/macinit/NSObject.o src/derelict/sdl/macinit/NSProcessInfo.o src/derelict
 /sdl/macinit/NSString.o src/derelict/sdl/macinit/NSZone.o src/derelict/sdl/macinit/runtime.o src/derelict/sdl/macinit/SDLMain.o src/derelict/sdl/macinit/selectors.o src/derelict/sdl/macinit/string.o src/audio/audio.o src/audio/player.o src/audio/timer.o src/audio/callback.o src/ct/purge.o src/ct/base.o src/ct/dump.o src/com/fb.o src/com/cpu.o src/com/kbd.o src/com/session.o src/com/util.o src/main.o src/ui/tables.o src/ui/dialogs.o src/ui/ui.o src/ui/input.o src/ui/help.o src/seq/seqtable.o src/seq/tracktable.o src/seq/trackmap.o src/seq/fplay.o src/seq/sequencer.o src/audio/resid/filter.o  src/audio/resid/residctrl.o src/resid/envelope.o src/resid/extfilt.o src/resid/filter.o src/resid/w6_ps_.o src/resid/w6_pst.o src/resid/w6_p_t.o src/resid/w6__st.o src/resid/w8_ps_.o src/resid/w8_pst.o src/resid/w8_p_t.o src/resid/w8__st.o src/resid/pot.o src/resid/sid.o src/resid/voice.o src/resid/wave.o src/resid-fp/envelopefp.o src/resid-fp/extfiltfp.o src/resid-fp/filterfp.o src/resid-fp/potf
 p.o src/resid-fp/sidfp.o src/resid-fp/versionfp.o src/resid-fp/voicefp.o src/resid-fp/wavefp.o src/ct2util.o src/ct/base.o src/com/cpu.o src/com/util.o src/ct/purge.o src/ct/dump.o src/ct/build.o src/asm/acme.o src/asm/alu.o src/asm/basics.o src/asm/cpu.o src/asm/dynabuf.o src/asm/encoding.o src/asm/flow.o src/asm/global.o src/asm/input.o src/asm/label.o src/asm/macro.o src/asm/mnemo.o src/asm/output.o src/asm/platform.o src/asm/section.o src/asm/tree.o src/asm/acme.o src/asm/alu.o src/asm/basics.o src/asm/cpu.o src/asm/dynabuf.o src/asm/encoding.o src/asm/flow.o src/asm/global.o src/asm/input.o src/asm/label.o src/asm/macro.o src/asm/mnemo.o src/asm/output.o src/asm/platform.o src/asm/section.o src/asm/tree.o
make[1]: Leaving directory '/build/reproducible-path/cheesecutter-2.9+git20211011'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/cheesecutter-2.9+git20211011'
/usr/bin/make
make[2]: Entering directory '/build/reproducible-path/cheesecutter-2.9+git20211011'
Makefile:29: warning: ignoring prerequisites on suffix rule definition
Makefile:26: warning: ignoring prerequisites on suffix rule definition
acme -f cbm --outfile src/c64/player.bin src/c64/player_v4.acme
Warning - File src/c64/player_v4.acme, line 1687 (Zone <untitled>): Found old "!for" syntax.
Warning - File src/c64/player_v4.acme, line 1693 (Zone <untitled>): Found old "!for" syntax.
Warning - File src/c64/player_v4.acme, line 1699 (Zone <untitled>): Found old "!for" syntax.
Warning - File src/c64/player_v4.acme, line 1707 (Zone <untitled>): Found old "!for" syntax.
Warning - File src/c64/player_v4.acme, line 1721 (Zone <untitled>): Found old "!for" syntax.
gdc -O2 -g -Wl,-z,relro -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ct2util.o src/ct2util.d
gdc -O2 -g -Wl,-z,relro -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ct/base.o src/ct/base.d
src/ct/base.d:385:41: warning: function ‘ct.base.Track.dup’ is deprecated [-Wdeprecated]
  385 |                         list[i+1] = list[i].dup;
      |                                         ^
src/ct/base.d:397:39: warning: function ‘ct.base.Track.dup’ is deprecated [-Wdeprecated]
  397 |                         list[i] = list[i+1].dup;
      |                                       ^
gdc -O2 -g -Wl,-z,relro -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/com/cpu.o src/com/cpu.d
gdc -O2 -g -Wl,-z,relro -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/com/util.o src/com/util.d
gdc -O2 -g -Wl,-z,relro -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ct/purge.o src/ct/purge.d
gdc -O2 -g -Wl,-z,relro -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ct/dump.o src/ct/dump.d
gdc -O2 -g -Wl,-z,relro -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ct/build.o src/ct/build.d
cc -c src/asm/acme.c -o src/asm/acme.o
In file included from src/asm/acme.h:10,
                 from src/asm/acme.c:31:
src/asm/config.h:53:17: error: ‘bool’ cannot be defined via ‘typedef’
   53 | typedef int     bool;
      |                 ^~~~
src/asm/config.h:53:17: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
src/asm/config.h:53:1: warning: useless type name in empty declaration
   53 | typedef int     bool;
      | ^~~~~~~
src/asm/acme.c: In function ‘acme_assemble’:
src/asm/acme.c:157:32: error: too many arguments to function ‘Output_get_final_data’; expected 0, have 1
  157 |                         return Output_get_final_data(length);
      |                                ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~
In file included from src/asm/acme.c:44:
src/asm/output.h:43:14: note: declared here
   43 | extern char* Output_get_final_data();
      |              ^~~~~~~~~~~~~~~~~~~~~
In file included from src/asm/acme.c:39:
src/asm/global.h: At top level:
src/asm/global.h:82:25: warning: inline function ‘safe_malloc’ declared but never defined
   82 | extern inline void*     safe_malloc(size_t);
      |                         ^~~~~~~~~~~
make[2]: *** [Makefile:29: src/asm/acme.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/cheesecutter-2.9+git20211011'
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/cheesecutter-2.9+git20211011'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: