Source: nbsdgames
Version: 5-6
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

nbsdgames fails to cross build from source, because the
override_dh_auto_build does not pass cross tools to make. dh_auto_build
would do that by itself, but the override cancels this. Removing the
useless override makes the build advance until it fails running mmv.
That's due to the hosts' mmv being in use. This latter failure should be
fixed in mmv by marking it Multi-Arch: foreign rather than a change in
nbsdgames. I'm thus attaching a patch for the override only. Please
consider applying it.

Helmut
diff --minimal -Nru nbsdgames-5/debian/changelog nbsdgames-5/debian/changelog
--- nbsdgames-5/debian/changelog        2023-06-12 09:48:31.000000000 +0200
+++ nbsdgames-5/debian/changelog        2024-03-15 07:23:46.000000000 +0100
@@ -1,3 +1,10 @@
+nbsdgames (5-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Don't override dh_auto_build. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 15 Mar 2024 07:23:46 +0100
+
 nbsdgames (5-6) unstable; urgency=medium
 
   * Upload to unstable.
diff --minimal -Nru nbsdgames-5/debian/rules nbsdgames-5/debian/rules
--- nbsdgames-5/debian/rules    2022-02-09 20:11:08.000000000 +0100
+++ nbsdgames-5/debian/rules    2024-03-15 07:23:45.000000000 +0100
@@ -18,9 +18,6 @@
 override_dh_auto_clean:
        @echo BROKEN TARGET
 
-override_dh_auto_build:
-       $(MAKE)
-
 override_dh_auto_install:
        @echo USING d/install
 

Reply via email to