Source: nstreams
Version: 1.0.4-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

nstreams fails to cross build from source, because it uses the build
architecture compiler. That is even though it uses dh_auto_configure and
thus passes --host and correctly detecting the host architecture,
configure happens to use plain "gcc". Exporting a suitable CC fixes
that. Please consider applying the attached patch.

Helmut
diff -u nstreams-1.0.4/debian/changelog nstreams-1.0.4/debian/changelog
--- nstreams-1.0.4/debian/changelog
+++ nstreams-1.0.4/debian/changelog
@@ -1,3 +1,10 @@
+nstreams (1.0.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply a CC to configure. (Closes: 
#-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 31 Aug 2019 20:56:33 +0200
+
 nstreams (1.0.4-1) unstable; urgency=medium
 
   * New upstream version
diff -u nstreams-1.0.4/debian/rules nstreams-1.0.4/debian/rules
--- nstreams-1.0.4/debian/rules
+++ nstreams-1.0.4/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+-include /usr/share/dpkg/buildtools.mk
+export CC
+
 %:
        dh $@ --with autotools_dev
 

Reply via email to