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

Bug#812667: marked as done (discover FTCBFS: uses build architecture compiler)



Your message dated Sun, 25 Dec 2016 19:18:32 +0000
with message-id <E1cLEJU-000CTQ-FK@fasolo.debian.org>
and subject line Bug#812667: fixed in discover 2.1.2-7.1
has caused the Debian Bug report #812667,
regarding discover FTCBFS: uses 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 owner@bugs.debian.org
immediately.)


-- 
812667: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812667
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: discover
Version: 2.1.2-7
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

Hi,

discover fails to cross build from source, because it uses the build
architecture compilers. This causes configure to fail some of its
requirements, which are only available to the host architecture. The
correct solution of course is to use the host architecture compiler.
This can be achieved by passing --build and --host to the configure
script. I am attaching a patch implementing this for your convenience.

Helmut
diff -u discover-2.1.2/debian/rules discover-2.1.2/debian/rules
--- discover-2.1.2/debian/rules
+++ discover-2.1.2/debian/rules
@@ -23,6 +23,8 @@
 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 # DEALINGS IN THE SOFTWARE.
 
+include /usr/share/dpkg/architecture.mk
+
 VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
 ARCH=$(shell dpkg --print-architecture)
 
@@ -64,6 +66,10 @@
 		--with-default-url=file:///lib/discover/list.xml \
 		--disable-curl
 
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+RUN_CONFIGURE += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+endif
+
 configure: configure-deb
 
 configure-deb: configure-deb-stamp
diff -u discover-2.1.2/debian/changelog discover-2.1.2/debian/changelog
--- discover-2.1.2/debian/changelog
+++ discover-2.1.2/debian/changelog
@@ -1,3 +1,10 @@
+discover (2.1.2-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass --host to configure (Closes: #-1).
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 25 Jan 2016 20:52:03 +0100
+
 discover (2.1.2-7) unstable; urgency=medium
 
   * Ack NMUs 2.1.2-5.1 and 2.1.2-5.2 and merge them into subversion.

--- End Message ---
--- Begin Message ---
Source: discover
Source-Version: 2.1.2-7.1

We believe that the bug you reported is fixed in the latest version of
discover, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 812667@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fernando Seiti Furusato <ferseiti@linux.vnet.ibm.com> (supplier of updated discover package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 30 Nov 2016 14:12:47 +0000
Source: discover
Binary: discover libdiscover2 libdiscover-dev
Architecture: source
Version: 2.1.2-7.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Fernando Seiti Furusato <ferseiti@linux.vnet.ibm.com>
Description:
 discover   - hardware identification system
 libdiscover-dev - hardware identification library development files
 libdiscover2 - hardware identification library
Closes: 533688 812667
Changes:
 discover (2.1.2-7.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Gianfranco Costamagna ]
   * Build with -O1, for some reasons even a no-change
     rebuild of the existent code makes the program
     segfault on startup
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Pass --host to configure (Closes: #812667).
 .
   [ Logan Rosen ]
   * Fix FTBFS on various archs: Use autotools-dev to update
     config.guess and config.sub. (Closes: #533688)
Checksums-Sha1:
 8286a469df94caae25fa92cc8eb22bd6a1940a28 1996 discover_2.1.2-7.1.dsc
 c4b2bacf19115fa5297d705e95f9db72c06eb8bd 188632 discover_2.1.2-7.1.diff.gz
Checksums-Sha256:
 e8a7105599737b772b3f330bcc81e9a7904e348d1a0b33c7e5dcbed6ba722d96 1996 discover_2.1.2-7.1.dsc
 98ef63d4623c79d5aba17a811f0e4444a473422379117201c4758956a3ee833d 188632 discover_2.1.2-7.1.diff.gz
Files:
 a6511b96054ee2c3fd8efd53ce00a639 1996 admin optional discover_2.1.2-7.1.dsc
 b0605e74cfa02e8efbaf6695954fb5a1 188632 admin optional discover_2.1.2-7.1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYXCMoAAoJEPNPCXROn13ZZMkQAKOLC7s8O5jIJs2FTAkxLE4O
wRxsPHaW33D4ImhVBbIAH9EGSaZtyJKn166jvDWvbNvOTZpqDP5woC82wKkPk30x
geZ2Kwpv5XIKN6iu0m9UNOGMFnIMXEiLIHdq8x/XsK7GT9TdbkQhKAmtw0nubecQ
zBrgySz+9NBf3kBDYQKoxJP8fzJUlnVNOemFFoc4hWi8kPerAs8W7zE5mUXXSjGW
RSulc3VG8rD7RZSFgsW5danqMKF5xDrElOgYvE7zDMRa3FoNVUoDjvDH1z9R32W+
yluen0YdIOgLo/JcteHngt9t4mRNz2mB9quSesUF+Kd+Qwsq3aSk3bJIvq57wJNW
7z/FmXX1C/M/AlSMiidS7y7lLPSIyeVD9FUUFKHuRzv6a5dNh9MLSBP3qWllU1eC
OOlteIr2xzKEAsxIG78dYewncor2d/MxPt62FvTKx5e95mi9BfrQT7NtabnCv56r
rc7N1kRVOLoJcFAt4FWlzuBKRojeVowBICgnzpy37dQmytmAqzcllJAaVpqZTel9
K708HipA7KfHzVCKkBSPHl0uNHNUZNOUc8vpxno9bXikDUfGIZixyt1C+gZoi2do
sVrAdH8MEhrUXvffNC8SF04lRWcJNpRblnOTmXG4jyPOBXFU7xa+8/7sH3y4kRH6
/MYgCN0JyFzHuKBjMpcZ
=lLnM
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: