[Debichem-devel] Bug#911021: tandem-mass FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Sun Oct 14 20:31:21 BST 2018


Source: tandem-mass
Version: 1:20170201.1-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

tandem-mass fails to cross build from source, because it uses the build
architecture compiler and consequently fails finding -lexpat, which is
only requested for the host architecture by Build-Depends. dh_auto_build
passes cross tools to make and once using dh_auto_build, tandem-mass
cross builds successfully. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru tandem-mass-20170201.1/debian/changelog tandem-mass-20170201.1/debian/changelog
--- tandem-mass-20170201.1/debian/changelog	2017-08-22 15:36:59.000000000 +0200
+++ tandem-mass-20170201.1/debian/changelog	2018-10-14 21:26:59.000000000 +0200
@@ -1,3 +1,10 @@
+tandem-mass (1:20170201.1-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 Oct 2018 21:26:59 +0200
+
 tandem-mass (1:20170201.1-1) unstable; urgency=low
 
   * debian/control: add secure vcs-git url.
diff --minimal -Nru tandem-mass-20170201.1/debian/rules tandem-mass-20170201.1/debian/rules
--- tandem-mass-20170201.1/debian/rules	2017-08-22 15:36:59.000000000 +0200
+++ tandem-mass-20170201.1/debian/rules	2018-10-14 21:26:55.000000000 +0200
@@ -29,7 +29,7 @@
 # Proper Makefile settings have been defined in src/Makefile_ubuntu
 # with a corresponding patch.
 
-	cd src && $(MAKE) -f Makefile_ubuntu
+	dh_auto_build --sourcedirectory=src --buildsystem=makefile -- -f Makefile_ubuntu
 
 	touch build-stamp
 


More information about the Debichem-devel mailing list