Your message dated Sat, 7 Dec 2019 08:01:58 +0100
with message-id <[email protected]>
and subject line Re: Bug#871480: aview FTCBFS: uses the build architecture
compiler
has caused the Debian Bug report #871480,
regarding aview FTCBFS: uses the build architecture compiler
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
871480: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871480
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: aview
Version: 1.3.0rc1-9
Severity: normal
Tags: patch
aview fails to cross build from source, because its ancient ./configure
does not understand --host and needs to be told about the cross compiler
via CC. After doing so, aview cross builds successfully. Please consider
applying the attached patch.
Helmut
diff -u aview-1.3.0rc1/debian/rules aview-1.3.0rc1/debian/rules
--- aview-1.3.0rc1/debian/rules
+++ aview-1.3.0rc1/debian/rules
@@ -15,6 +15,11 @@
binary-pre-install/aview::
rm -f $(CURDIR)/debian/aview/usr/share/man/man1/asciiview.1
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
+export CC
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
diff -u aview-1.3.0rc1/debian/changelog aview-1.3.0rc1/debian/changelog
--- aview-1.3.0rc1/debian/changelog
+++ aview-1.3.0rc1/debian/changelog
@@ -1,3 +1,10 @@
+aview (1.3.0rc1-9.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Export a triplet-prefixed CC. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Tue, 08 Aug 2017 13:03:17 +0200
+
aview (1.3.0rc1-9) unstable; urgency=low
* Acknowledge NMU, thanks to Gerfried Fuchs (Closes: #496422).
--- End Message ---
--- Begin Message ---
On Tue, Aug 08, 2017 at 01:05:42PM +0200, Helmut Grohne wrote:
> aview fails to cross build from source, because its ancient ./configure
> does not understand --host and needs to be told about the cross compiler
> via CC. After doing so, aview cross builds successfully. Please consider
> applying the attached patch.
In the mean time, cdbs started passing CC to ./configure to fix this
problem generically. Thus aview now cross builds with no source changes.
Closing the bug.
Helmut
--- End Message ---