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

Bug#836542: marked as done (nfs-utils FTCBFS: uses build architecture compiler, uses pre-built ELF object files)



Your message dated Sat, 17 Dec 2016 11:18:55 +0000
with message-id <E1cID0x-000FO9-Ua@fasolo.debian.org>
and subject line Bug#836542: fixed in nfs-utils 1:1.3.4-2
has caused the Debian Bug report #836542,
regarding nfs-utils FTCBFS: uses build architecture compiler, uses pre-built ELF object files
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.)


-- 
836542: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836542
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: nfs-utils
Version: 1:1.2.8-9.2
Severity: important
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

nfs-utils fails to cross build from source, because it doesn't pass
--host to ./configure and thus uses the build architecture compiler. The
attached patch uses dh_auto_configure, which automatically supplies
those flags as needed. Then I found that the build would reuse existing
ELF object files (e.g. exportfs.o) instead of building them from source,
which is why I mark this bug as important. Reusing those objects causes
the build to fail for any host architecture that is not amd64.

Helmut
diff --minimal -Nru nfs-utils-1.2.8/debian/changelog nfs-utils-1.2.8/debian/changelog
--- nfs-utils-1.2.8/debian/changelog	2016-08-11 18:50:24.000000000 +0200
+++ nfs-utils-1.2.8/debian/changelog	2016-09-03 22:30:39.000000000 +0200
@@ -1,3 +1,12 @@
+nfs-utils (1:1.2.8-9.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_configure provide cross flags.
+    + Remove pre-built object files.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 03 Sep 2016 22:26:25 +0200
+
 nfs-utils (1:1.2.8-9.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru nfs-utils-1.2.8/debian/rules nfs-utils-1.2.8/debian/rules
--- nfs-utils-1.2.8/debian/rules	2016-06-27 23:13:41.000000000 +0200
+++ nfs-utils-1.2.8/debian/rules	2016-09-03 22:35:23.000000000 +0200
@@ -24,8 +24,7 @@
 build-stamp:
 	dh_testdir
 	dh_autoreconf
-	CFLAGS="$(CFLAGS)" ./configure \
-		--mandir='$${prefix}/share/man' \
+	CFLAGS="$(CFLAGS)" dh_auto_configure -- \
 		--enable-nfsv41 \
 		--enable-ipv6 \
 		--enable-libmount-mount \
@@ -41,6 +40,7 @@
 	[ ! -f Makefile ] || $(MAKE) distclean
 	dh_autoreconf_clean
 	dh_clean
+	find . -name "*.o" -delete
 
 binary-indep: build
 binary-arch: build

--- End Message ---
--- Begin Message ---
Source: nfs-utils
Source-Version: 1:1.3.4-2

We believe that the bug you reported is fixed in the latest version of
nfs-utils, 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 836542@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Pocock <daniel@pocock.pro> (supplier of updated nfs-utils 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: Sat, 17 Dec 2016 11:49:21 +0100
Source: nfs-utils
Binary: nfs-kernel-server nfs-common
Architecture: source amd64
Version: 1:1.3.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Daniel Pocock <daniel@pocock.pro>
Description:
 nfs-common - NFS support files common to client and server
 nfs-kernel-server - support for NFS kernel server
Closes: 836542 848115 848145 848277
Changes:
 nfs-utils (1:1.3.4-2) unstable; urgency=medium
 .
   [ Daniel Pocock ]
   * Ignore failure to (re)start service during postinst. (Closes: #848115)
   * Correct location of nfs-utils_env.sh in service file. (Closes: #848145)
   * Use FD 9 in start-statd. (Closes: #848277)
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Let dh_auto_configure provide cross flags (Closes: #836542)
Checksums-Sha1:
 13ab387c5183782b36b5503ca71012096b96a4c3 2338 nfs-utils_1.3.4-2.dsc
 f56d537850a5a94092660434e6252c306fe6bba9 40752 nfs-utils_1.3.4-2.debian.tar.bz2
 f17e62c65e64c3a5f94dd335a156e2e1cd35825d 600926 nfs-common-dbgsym_1.3.4-2_amd64.deb
 8ead3bb323f7aa440e7258e4ad09e01d264a933e 230706 nfs-common_1.3.4-2_amd64.deb
 45a6d923b07608c18ca18d7499d6f0ba9f7aaf48 305248 nfs-kernel-server-dbgsym_1.3.4-2_amd64.deb
 51f2ab46684ff7f3661d9990cbdc20ddb4c0e05e 123952 nfs-kernel-server_1.3.4-2_amd64.deb
 87aa990b269f92b6bf5ff2a4a264f09629876d6a 7356 nfs-utils_1.3.4-2_amd64.buildinfo
Checksums-Sha256:
 24fa55e8b241ff9a85e370b028d665d5cb7aae4a30098902b25ad084195a1508 2338 nfs-utils_1.3.4-2.dsc
 3b9bd779be4a72d6f9eb3a311b18fa0abfa1a0300ac0e8c10c2adacb3494dcaa 40752 nfs-utils_1.3.4-2.debian.tar.bz2
 b4a8b197951460346215b1aa03cc54bb77efa00c65aba2ee4d75daa591cab2d5 600926 nfs-common-dbgsym_1.3.4-2_amd64.deb
 1e2d4498b95eee7da93d0fa999d3e869e87e5d6b9e355ff8b6108156a8cce531 230706 nfs-common_1.3.4-2_amd64.deb
 199802a33d787b319851e6c95dea7af527f670bfb1b99c57e42e760b6e0a502c 305248 nfs-kernel-server-dbgsym_1.3.4-2_amd64.deb
 dba7074e978cfa2785183aaae6425145bb00f5e695f6d12416225246aa652e7e 123952 nfs-kernel-server_1.3.4-2_amd64.deb
 506b97b7a895aaad8bd96d2522bb65d526fad957a11e663ff629f21db6521265 7356 nfs-utils_1.3.4-2_amd64.buildinfo
Files:
 55d1a5e05a677892ef21555c1cde93a2 2338 net standard nfs-utils_1.3.4-2.dsc
 25d14a82e8e9bb543910d8e3e2b17d0e 40752 net standard nfs-utils_1.3.4-2.debian.tar.bz2
 081e4b4730e4a3f0767ca31b58ed2806 600926 debug extra nfs-common-dbgsym_1.3.4-2_amd64.deb
 9ca10c908d311c59e5889d164d2801cc 230706 net standard nfs-common_1.3.4-2_amd64.deb
 40e8862115547ca027357c7c71618968 305248 debug extra nfs-kernel-server-dbgsym_1.3.4-2_amd64.deb
 31102fe27eac2ba3b0b0a7ef59178ab0 123952 net optional nfs-kernel-server_1.3.4-2_amd64.deb
 16ea59c73706256fd74eeca673d7d7f5 7356 net standard nfs-utils_1.3.4-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJYVRovAAoJEGxlgOd711bEkQQQALorjkSdp+y9l5uKaNrP7jtL
3NatSM8jZdtYpR12Q3Of5oGWtnqKZKnFjMPIfVHMoxJcPPV0cmW8EXcT5OiFfI71
ScRvu/+/i24DrlPhg8RsTSDgpqPRspPpM5icwwpRIZerJN6gXS1aDLv8s3EyZ9Pp
o6tbO/F025FzMCX5g/i9kn/mFaDvT9xoPhM3RY0kvMPhBFR4MGuA1ucaGFprCC1D
HPEpLTx9ZnTvDmu5ezGQzW8LoG89VPDOEPLtmbruCZSSQe1sP8cQECLlowvuqOrj
PeiW60wXHhQKsXPIjQedZRig4a2Gc9AcFS2uJlIQztPcb7Lmth/sS8Hfgn6cbs5f
x2Qfjk/lfeUC3OZnQ79cH/rtaecwFxjl6l08iO9H/2wnBt4qw8CFULA8fMc7FuTI
tG5Yh/3NS9Nf76jcwmNM74JQxWrAvtzbuGb+5SSpb78iKZhgsLQi9QQ4OeSTo1/H
hs0XarS0VH4P4LwPsD7hm66qYpmxozEPtgdJvxaA7cQtqd0kGjrc3sky4Wr7nHXl
s5wskO8OlT/UdDoi5HjjNwfmbU05GZyqX+400913kk4KmFWuCwnnlIqvc8ZhqVKk
m974qNWIF2CgBe1p+6zKqGU30vHN11iiWlpmow6ekybrmtzCSuvHYs7EKtyuGpqi
tquV9Md5d1Zu5F2/vLIb
=4pre
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: