Source: curseofwar Version: 1.3.0-2 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
curseofwar fails to cross build from source, because it uses the build architecture compiler for building curseofwar-sdl. It does so during dh_auto_install where debhelper does not pass cross tools. I recommend performing the build during the dh_auto_build step where debhelper passes cross tools and am attaching a patch to that end. Helmut
diff --minimal -Nru curseofwar-1.3.0/debian/changelog curseofwar-1.3.0/debian/changelog --- curseofwar-1.3.0/debian/changelog 2025-01-15 13:39:26.000000000 +0100 +++ curseofwar-1.3.0/debian/changelog 2025-02-23 16:30:51.000000000 +0100 @@ -1,3 +1,10 @@ +curseofwar (1.3.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Build curseofwar-sdl via dh_auto_build. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 23 Feb 2025 16:30:51 +0100 + curseofwar (1.3.0-2) unstable; urgency=medium * Team upload. diff --minimal -Nru curseofwar-1.3.0/debian/rules curseofwar-1.3.0/debian/rules --- curseofwar-1.3.0/debian/rules 2025-01-15 13:39:26.000000000 +0100 +++ curseofwar-1.3.0/debian/rules 2025-02-23 16:30:51.000000000 +0100 @@ -8,6 +8,9 @@ DESTDIR_SDL=debian/curseofwar-sdl DESTDIR_COMMON=debian/curseofwar-common +execute_after_dh_auto_build: + dh_auto_build -- SDL=yes + override_dh_auto_install: # curseofwar-console make DESTDIR=$(DESTDIR_CONSOLE) BINDIR=$(DESTDIR_CONSOLE)/usr/games install