Source: avrp
Version: 1.0beta3-7
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

avrp fails to cross build from source, because it uses the build
architecture compiler. The upstream build system does not honour the
environment variables that cdbs passes. Rather, they should be passed as
command arguments. Please consider using the attached patch or switching
to use dh_auto_build to make avrp cross buildable.

Helmut
diff -u avrp-1.0beta3/debian/changelog avrp-1.0beta3/debian/changelog
--- avrp-1.0beta3/debian/changelog
+++ avrp-1.0beta3/debian/changelog
@@ -1,3 +1,10 @@
+avrp (1.0beta3-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use a cross compiler. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 24 Aug 2018 06:05:48 +0200
+
 avrp (1.0beta3-7) unstable; urgency=low
 
   * Adopt the package (Closes: #404468).
diff -u avrp-1.0beta3/debian/rules avrp-1.0beta3/debian/rules
--- avrp-1.0beta3/debian/rules
+++ avrp-1.0beta3/debian/rules
@@ -5,6 +5,7 @@
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_MAKE_MAKEFILE := Makefile.linux
+DEB_MAKE_EXTRA_ARGS += 'CC=$(CC)' 'LD=$(CC)'
 
 DEB_INSTALL_MANPAGES_avrp := avrp.1
 

Reply via email to