[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#934968: marked as done (ng FTCBFS: configures for the build architecture)



Your message dated Wed, 21 Aug 2019 08:37:51 -0700
with message-id <CAECZVPB4Na1roUqbTM5EzReRDWPneOS8UT+r3Vaud+pMDGoiJg@mail.gmail.com>
and subject line Closing
has caused the Debian Bug report #934968,
regarding ng FTCBFS: configures for the build architecture
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 owner@bugs.debian.org
immediately.)


-- 
934968: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934968
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ng
Version: 1.5~beta1-4
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

ng fails to cross build from source, because it configures for the build
architecture. Usually this is due to a missing --host flag and the
easiest way of supplying it is using dh_auto_configure. Unfortunately,
the ./configure of ng is too old to understand --host. Here we have to
supply a cross compiler in a CC variable. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru ng-1.5~beta1/debian/changelog ng-1.5~beta1/debian/changelog
--- ng-1.5~beta1/debian/changelog	2016-12-12 11:01:12.000000000 +0100
+++ ng-1.5~beta1/debian/changelog	2019-08-17 07:38:49.000000000 +0200
@@ -1,3 +1,9 @@
+ng (1.5~beta1-5) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply a CC. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 17 Aug 2019 07:38:49 +0200
+
 ng (1.5~beta1-4) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru ng-1.5~beta1/debian/rules ng-1.5~beta1/debian/rules
--- ng-1.5~beta1/debian/rules	2016-12-12 10:48:43.000000000 +0100
+++ ng-1.5~beta1/debian/rules	2019-08-17 07:38:47.000000000 +0200
@@ -6,6 +6,9 @@
 # architecture-dependant package, as well as an architecture-independent
 # package.
 
+-include /usr/share/dpkg/buildtools.mk
+export CC
+
 # Uncomment this to turn on verbose mode. 
 #export DH_VERBOSE=1
 

--- End Message ---
--- Begin Message ---
This was fixed in ng 1.5~beta1-7.

-- 
Masayuki Hatta
Associate Professor, Faculty of Economics and Management, Surugadai
University, Japan

http://about.me/mhatta

mhatta@gnu.org  / mhatta@debian.org / mhatta@opensource.jp /
hatta.masayuki@surugadai.ac.jp

--- End Message ---

Reply to: