Bug#870770: simutrans FTCBFS: uses the build architecture compiler for makeobj/
    Helmut Grohne 
    helmut at subdivi.de
       
    Fri Aug  4 21:23:29 UTC 2017
    
    
  
Source: simutrans
Version: 120.2.2-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
simutrans fails to cross build from source, because it uses the build
architecture compiler for the makeobj folder (as a GNU make default).
Wrapping that invocation up in dh_auto_build fixes the issue as
debhelper knows ho to pass cross compilers. Please consider applying the
attached patch.
Helmut
-------------- next part --------------
diff --minimal -Nru simutrans-120.2.2/debian/changelog simutrans-120.2.2/debian/changelog
--- simutrans-120.2.2/debian/changelog	2017-08-01 00:30:13.000000000 +0200
+++ simutrans-120.2.2/debian/changelog	2017-08-04 23:17:12.000000000 +0200
@@ -1,3 +1,10 @@
+simutrans (120.2.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 04 Aug 2017 23:17:12 +0200
+
 simutrans (120.2.2-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru simutrans-120.2.2/debian/rules simutrans-120.2.2/debian/rules
--- simutrans-120.2.2/debian/rules	2017-08-01 00:30:13.000000000 +0200
+++ simutrans-120.2.2/debian/rules	2017-08-04 23:17:08.000000000 +0200
@@ -20,7 +20,7 @@
 
 override_dh_auto_build:
 	dh_auto_build
-	$(MAKE) -C makeobj
+	dh_auto_build --sourcedirectory=makeobj
 
 override_dh_auto_clean:
 	dh_quilt_patch
    
    
More information about the Pkg-games-devel
mailing list