[Debian-med-packaging] Bug#932066: rna-star FTCBFS: does not pass cross tools to make

Helmut Grohne helmut at subdivi.de
Sun Jul 14 11:02:25 BST 2019


Source: rna-star
Version: 2.7.1a+dfsg-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

rna-star fails to cross build from source, because it does not pass
cross tools to make. The easiest way of fixing that - using
dh_auto_build - makes rna-star cross buildable. Please consider applying
the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru rna-star-2.7.1a+dfsg/debian/changelog rna-star-2.7.1a+dfsg/debian/changelog
--- rna-star-2.7.1a+dfsg/debian/changelog	2019-07-08 17:28:41.000000000 +0200
+++ rna-star-2.7.1a+dfsg/debian/changelog	2019-07-14 11:58:07.000000000 +0200
@@ -1,3 +1,10 @@
+rna-star (2.7.1a+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 14 Jul 2019 11:58:07 +0200
+
 rna-star (2.7.1a+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru rna-star-2.7.1a+dfsg/debian/rules rna-star-2.7.1a+dfsg/debian/rules
--- rna-star-2.7.1a+dfsg/debian/rules	2019-07-08 17:28:19.000000000 +0200
+++ rna-star-2.7.1a+dfsg/debian/rules	2019-07-14 11:58:02.000000000 +0200
@@ -15,7 +15,7 @@
 	dh $@
 
 override_dh_auto_build:
-	cd source && $(MAKE) CCFLAGS_common_add="-flto $(CCFLAGS)" CCFLAGS="$(CCFLAGS)" LDFLAGS_add="$(LDFLAGS)"
+	dh_auto_build --sourcedirectory=source -- CCFLAGS_common_add="-flto $(CCFLAGS)" CCFLAGS="$(CCFLAGS)" LDFLAGS_add="$(LDFLAGS)"
 
 override_dh_auto_clean:
 	cd source && $(MAKE) clean


More information about the Debian-med-packaging mailing list