Bug#916491: overgod FTCBFS: builds for the wrong architecture

Helmut Grohne helmut at subdivi.de
Sat Dec 15 00:19:45 GMT 2018


Source: overgod
Version: 1.0-5
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

overgod fails to cross build from source, because it uses the build
architecture compiler as a make default. Lettig dpkg's buildtools.mk
supply the values fixes the cross build. Please consider applying the
attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru overgod-1.0/debian/changelog overgod-1.0/debian/changelog
--- overgod-1.0/debian/changelog	2017-07-19 00:00:56.000000000 +0200
+++ overgod-1.0/debian/changelog	2018-12-15 01:16:47.000000000 +0100
@@ -1,3 +1,10 @@
+overgod (1.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CC). (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 15 Dec 2018 01:16:47 +0100
+
 overgod (1.0-5) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru overgod-1.0/debian/rules overgod-1.0/debian/rules
--- overgod-1.0/debian/rules	2017-07-19 00:00:56.000000000 +0200
+++ overgod-1.0/debian/rules	2018-12-15 01:16:46.000000000 +0100
@@ -5,6 +5,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+-include /usr/share/dpkg/buildtools.mk
+
 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)


More information about the Pkg-games-devel mailing list