Your message dated Mon, 26 Dec 2016 06:18:35 +0000
with message-id <[email protected]>
and subject line Bug#811561: fixed in net-tools 1.60+git20161116.90da8a0-1
has caused the Debian Bug report #811561,
regarding net-tools FTCBFS: uses build architecture tools (gcc, pkg-config)
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.)


-- 
811561: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811561
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: net-tools
Version: 1.60+git20150829.73cef8a-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

Dear net-tools maintainers,

I noticed that net-tools is built the build architecture compiler during
cross builds. The packaging tries to address this by setting up the CC
variable correctly, but does not account for the fact that CC has a
built-in default. Thus the ?= assignment never assigns anything.
Furthermore, pkg-config must also be cross-prefixed. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru net-tools-1.60+git20150829.73cef8a/debian/changelog 
net-tools-1.60+git20150829.73cef8a/debian/changelog
--- net-tools-1.60+git20150829.73cef8a/debian/changelog
+++ net-tools-1.60+git20150829.73cef8a/debian/changelog
@@ -1,3 +1,12 @@
+net-tools (1.60+git20150829.73cef8a-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS. Closes: #-1.
+    + Really assign CC for cross compilation.
+    + Use triplet prefixed pkg-config.
+
+ -- Helmut Grohne <[email protected]>  Tue, 19 Jan 2016 20:59:03 +0100
+
 net-tools (1.60+git20150829.73cef8a-2) unstable; urgency=medium
 
   [ Laurent Bigonville ]
diff --minimal -Nru net-tools-1.60+git20150829.73cef8a/debian/rules 
net-tools-1.60+git20150829.73cef8a/debian/rules
--- net-tools-1.60+git20150829.73cef8a/debian/rules
+++ net-tools-1.60+git20150829.73cef8a/debian/rules
@@ -8,10 +8,12 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+ifeq ($(origin CC),default)
+    CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
-    CC ?= $(DEB_HOST_GNU_TYPE)-gcc
-else
-    CC ?= gcc
+    PKG_CONFIG ?= $(DEB_HOST_GNU_TYPE)-pkg-config
+    export PKG_CONFIG
 endif
 
 COPTS := -D_GNU_SOURCE -Wall $(shell dpkg-buildflags --get CFLAGS) \

--- End Message ---
--- Begin Message ---
Source: net-tools
Source-Version: 1.60+git20161116.90da8a0-1

We believe that the bug you reported is fixed in the latest version of
net-tools, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martín Ferrari <[email protected]> (supplier of updated net-tools 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 [email protected])


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

Format: 1.8
Date: Mon, 26 Dec 2016 05:58:42 +0000
Source: net-tools
Binary: net-tools
Architecture: source
Version: 1.60+git20161116.90da8a0-1
Distribution: unstable
Urgency: medium
Maintainer: net-tools Team <[email protected]>
Changed-By: Martín Ferrari <[email protected]>
Description:
 net-tools  - NET-3 networking toolkit
Closes: 811561 820212 843892 845153 846509
Changes:
 net-tools (1.60+git20161116.90da8a0-1) unstable; urgency=medium
 .
   * New upstream snapshot.
   * Re-synced translations.patch.
   * Acknowledge NMUs. Thanks a lot to Andrey Rahmatullin for the
     fixes and uploads. Closes: 846509.
   * Fix FTCBFS, thanks to Helmut Grohne for the patch. Closes: #811561.
     + Really assign CC for cross compilation.
     + Use triplet prefixed pkg-config.
   * Add debian/NEWS warning about changing output in net-tools commands.
     Closing bugs that reported problems in 3rd-party scripts arising from these
     changes.  Closes: #845153, #843892, #820212.
   * Update Standards-Version, with no changes.
Checksums-Sha1:
 4017cae06ca713892a40730935dc5e7e2b59cefc 2127 
net-tools_1.60+git20161116.90da8a0-1.dsc
 10cff6bd98ef05083318abe624519badcd561a04 288190 
net-tools_1.60+git20161116.90da8a0.orig.tar.gz
 e3bd889f0965ff1c4751f652d3d4909d7aab4f3f 56100 
net-tools_1.60+git20161116.90da8a0-1.debian.tar.xz
Checksums-Sha256:
 0a55da0c9009e374a79131a9fd7c4c3e0d7354b52e041d8ea70eb88831d705ac 2127 
net-tools_1.60+git20161116.90da8a0-1.dsc
 d3c25c4b70541bb2bb54ebb21e2443811cfd1cbbf4c357d0e960e2973bc4192a 288190 
net-tools_1.60+git20161116.90da8a0.orig.tar.gz
 5f390b6790f02bdcb769bfa7cb3e4329fa3371bc7f69ee24232241588380de81 56100 
net-tools_1.60+git20161116.90da8a0-1.debian.tar.xz
Files:
 d79d991a048a1d6613395912f2ef779c 2127 net important 
net-tools_1.60+git20161116.90da8a0-1.dsc
 160448fae5964d45634ec3c007c449e5 288190 net important 
net-tools_1.60+git20161116.90da8a0.orig.tar.gz
 930912725d1396d152ec98610647f209 56100 net important 
net-tools_1.60+git20161116.90da8a0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEETe94h3mvRsa9AoOeXdjgv5Gj09oFAlhgscAACgkQXdjgv5Gj
09piCQ//dknb8JhBF5CJoNxyS2RREKhvhCzw6YcnMS6cigkHK0aPdyhbm88DYPlO
tJ31bVMCsQElRCbsqTnxU61nQbKGopoQZ6dQK1ibA/GFf3IN7GijsFZkxB78vSUM
HuYDxQsq3QBuAJt7oHhveM5x9PFnZVtMC3D4KY9vKoTCCW7kXjPqfLXlpcPuJebf
6PW1WviNNO8C5GQ9cxMCI8lexgWMmgJlLgRcqzbXa+2Hbjn2F34JPIgtDik+zZtO
C32HHIfuLOm8TT1fgR7y/nsw46Tb7qOikmKNnwYv0KbxmF69zwEOwT/jnwpf4qqf
bvnEFpzI61Vd787UD5Fny/y8HGGskvlXe3/lMMIDBxb2F62me1IE3BGk89T2Xft3
/3ydMqV/4nIKY0zjaSyZ4sefghp+QK3nEY4PLGYS4528/jq5RdGNVmJQKUcgdnuq
3kqtEFxipovOSqHeODCap7Dfl4ysVY1or9+fCZaba8T6a6l7FC6xDQo8LeY2Nb9w
ioaiEwVxl4RnFmrb2Vx9pvyUrfXxIGiYjwLTF8hs9Dk4CLryirRMIYQdVpy3nFM1
udBMNPyjnQgay8OLajouIedtjKQ6/nw8WOG7HmBSAJwVb0I+9oH8utqaw99YvMHu
M++YUNuKDVVdC34HDgx15uSRJgU6CgajdvVP7X58aavxc7837wQ=
=6drE
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to