Package: src:cheesecutter Version: 2.9+git20211011-1 Severity: minor Tags: sid bookworm User: [email protected] Usertags: ftbfs-lto
This package currently fails to build (at least on the amd64 architecture) with link time optimizations enabled. For a background for LTO please see https://wiki.debian.org/ToolChain/LTO The goal is to enable this optimization by default in an upcoming Debian release in dpkg-buildflags for 64bit architectures. The goal is to get this package to build with link time optimizations, or to explicitly disable link time optimizations for this package build. To reproduce the build failure, enable the lto optimization in testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS in the debian/rules file, or if this macro is unset, just set it: export DEB_BUILD_MAINT_OPTIONS = optimize=+lto Please try to fix the build with lto enabled, fixing the packaging or forwarding the issue upstream. If the issue cannot be fixed, explicitly disallow building the package with lto by adding to your rules file: export DEB_BUILD_MAINT_OPTIONS = optimize=-lto or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS. The full build log can be found at: http://qa-logs.debian.net/2022/06/09/dpkglto/cheesecutter_2.9+git20211011-1_unstable_dpkglto.log The last lines of the build log are at the end of this report. [...] gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/derelict/sdl/macinit/NSZone.o src/derelict/sdl/macinit/NSZone.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/derelict/sdl/macinit/runtime.o src/derelict/sdl/macinit/runtime.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/derelict/sdl/macinit/SDLMain.o src/derelict/sdl/macinit/SDLMain.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/derelict/sdl/macinit/selectors.o src/derelict/sdl/macinit/selectors.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/derelict/sdl/macinit/string.o src/derelict/sdl/macinit/string.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/audio/audio.o src/audio/audio.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/audio/player.o src/audio/player.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/audio/timer.o src/audio/timer.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/audio/callback.o src/audio/callback.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/com/fb.o src/com/fb.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/com/kbd.o src/com/kbd.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/com/session.o src/com/session.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/main.o src/main.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ui/tables.o src/ui/tables.d src/ui/tables.d:226:44: warning: module ct.base is not accessible here, perhaps add 'static import ct.base;' [-Wdeprecated] 226 | song.tableIterator((ct.base.Song.Table t) { | ^ src/ui/tables.d:259:44: warning: module ct.base is not accessible here, perhaps add 'static import ct.base;' [-Wdeprecated] 259 | song.tableIterator((ct.base.Song.Table t) { | ^ gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ui/dialogs.o src/ui/dialogs.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ui/help.o src/ui/help.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ui/ui.o src/ui/ui.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/ui/input.o src/ui/input.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/seq/seqtable.o src/seq/seqtable.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/seq/tracktable.o src/seq/tracktable.d src/seq/tracktable.d:428:49: warning: function ct.base.Track.dup is deprecated [-Wdeprecated] 428 | v.trackValue = (cast(InputTrack)input).trk.dup; | ^ gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/seq/trackmap.o src/seq/trackmap.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/seq/fplay.o src/seq/fplay.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/seq/sequencer.o src/seq/sequencer.d gdc -O2 -g -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -I./src -J./src/c64 -J./src/font -c -o src/audio/resid/filter.o src/audio/resid/filter.d g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/audio/resid/residctrl.cpp -o src/audio/resid/residctrl.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/envelope.cpp -o src/resid/envelope.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/extfilt.cpp -o src/resid/extfilt.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/filter.cpp -o src/resid/filter.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/w6_ps_.cpp -o src/resid/w6_ps_.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/w6_pst.cpp -o src/resid/w6_pst.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/w6_p_t.cpp -o src/resid/w6_p_t.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/w6__st.cpp -o src/resid/w6__st.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/w8_ps_.cpp -o src/resid/w8_ps_.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/w8_pst.cpp -o src/resid/w8_pst.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/w8_p_t.cpp -o src/resid/w8_p_t.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/w8__st.cpp -o src/resid/w8__st.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/pot.cpp -o src/resid/pot.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/sid.cpp -o src/resid/sid.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/voice.cpp -o src/resid/voice.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid/wave.cpp -o src/resid/wave.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid-fp/envelopefp.cpp -o src/resid-fp/envelopefp.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid-fp/extfiltfp.cpp -o src/resid-fp/extfiltfp.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid-fp/filterfp.cpp -o src/resid-fp/filterfp.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid-fp/potfp.cpp -o src/resid-fp/potfp.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid-fp/sidfp.cpp -o src/resid-fp/sidfp.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid-fp/versionfp.cpp -o src/resid-fp/versionfp.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid-fp/voicefp.cpp -o src/resid-fp/voicefp.o g++ -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -I./src -c src/resid-fp/wavefp.cpp -o src/resid-fp/wavefp.o gdc -O2 -g -o ccutter 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/dereli ct/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/pot fp.o src/resid-fp/sidfp.o src/resid-fp/versionfp.o src/resid-fp/voicefp.o src/resid-fp/wavefp.o -ldl -lstdc++ gdc: fatal error: Killed signal terminated program lto1 compilation terminated. lto-wrapper: fatal error: gdc returned 1 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status make[2]: *** [Makefile:22: ccutter] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [debian/rules:16: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

