[Debian-astro-maintainers] Bug#901151: fitsverify FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Sat Jun 9 14:37:54 BST 2018


Source: fitsverify
Version: 4.18-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

fitsverify fails to cross build from source, because it uses the build
architecture compiler as a make default. The attached patch makes it
cross buildable, by letting dpkg's buildtools.mk set up CC. Please
consider applying it.

Helmut
-------------- next part --------------
diff --minimal -Nru fitsverify-4.18/debian/changelog fitsverify-4.18/debian/changelog
--- fitsverify-4.18/debian/changelog	2016-04-16 23:22:10.000000000 +0200
+++ fitsverify-4.18/debian/changelog	2018-06-09 15:35:32.000000000 +0200
@@ -1,3 +1,10 @@
+fitsverify (4.18-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk set up $(CC). (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 09 Jun 2018 15:35:32 +0200
+
 fitsverify (4.18-1) unstable; urgency=low
 
   * New upstream version
diff --minimal -Nru fitsverify-4.18/debian/rules fitsverify-4.18/debian/rules
--- fitsverify-4.18/debian/rules	2016-04-16 23:13:21.000000000 +0200
+++ fitsverify-4.18/debian/rules	2018-06-09 15:35:30.000000000 +0200
@@ -3,6 +3,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+-include /usr/share/dpkg/buildtools.mk
+
 %:
 	dh  $@
 


More information about the Debian-astro-maintainers mailing list