Your message dated Sat, 09 May 2015 10:19:42 +0000
with message-id <[email protected]>
and subject line Bug#734887: fixed in dctrl-tools 2.24-1
has caused the Debian Bug report #734887,
regarding dctrl-tools: fails to cross-build: uses wrong 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.)
--
734887: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dctrl-tools
Version: 2.23
Severity: normal
Tags: patch
User: [email protected]
Usertags: cross
dctrl-tools fails to cross-build because it uses the native compiler
rather than the appropriate cross-compiler. The simplest fix is just to
pass an appropriate CC= when cross-building.
diff --git a/debian/changelog b/debian/changelog
index ed2c586..20cd0a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,13 @@
dctrl-tools (2.24) UNRELEASED; urgency=low
+ [ Antti-Juhani Kaijanaho ]
* grep-dctrl: Implement -l and -L as in grep.
(This changes the meaning of -l, but I doubt any scripts have relied on
it.)
* Add a test case for grep-dctrl -v.
+ [ Colin Watson ]
+ * Pass CC=$(DEB_HOST_GNU_TYPE)-gcc when cross-building.
+
-- Antti-Juhani Kaijanaho <[email protected]> Tue, 26 Nov 2013 12:10:51 +0200
dctrl-tools (2.23) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 7d460e1..8b69e8b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,15 @@
%:
dh $@
+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ cross :=
+else
+ cross := CC=$(DEB_HOST_GNU_TYPE)-gcc
+endif
+
override_dh_auto_build:
- dh_auto_build -- prefix=/usr sysconfdir=/etc
+ dh_auto_build -- prefix=/usr sysconfdir=/etc $(cross)
override_dh_auto_install:
dh_auto_install -- prefix=/usr sysconfdir=/etc
Thanks,
--
Colin Watson [[email protected]]
--- End Message ---
--- Begin Message ---
Source: dctrl-tools
Source-Version: 2.24-1
We believe that the bug you reported is fixed in the latest version of
dctrl-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.
Rhonda D'Vine <[email protected]> (supplier of updated dctrl-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: Sat, 09 May 2015 11:38:52 +0200
Source: dctrl-tools
Binary: dctrl-tools
Architecture: source amd64
Version: 2.24-1
Distribution: unstable
Urgency: medium
Maintainer: dctrl-tools developers <[email protected]>
Changed-By: Rhonda D'Vine <[email protected]>
Description:
dctrl-tools - Command-line tools to process Debian package information
Closes: 679442 734887 775351
Changes:
dctrl-tools (2.24-1) unstable; urgency=medium
.
[ Rhonda D'Vine ]
* New upstream release, which addresses:
- Fixed join-dctrl without -o (closes: #679442)
- Fixed grep-dctrl -I (closes: #775351)
* Picking up the package, thanks a lot to Antti-Juhani for doing an
outstanding job on upstream work and also taking care of the package for
the time being.
* Switch source format to 3.0 (quilt) given that upstream is separated now.
* Make Vcs fields in debian/control canonical.
* Fix filenames in debian/copyright with respect to lib/version*.
* Add debian/watch file.
* Removed a trailing whitespace from debian/control.
* Bump Standards-Version to 3.9.6.
.
[ Colin Watson ]
* Pass CC=$(DEB_HOST_GNU_TYPE)-gcc when cross-building (closes: #734887)
Checksums-Sha1:
2540c636ba6770b311ed2388da1ac74e510930d1 1610 dctrl-tools_2.24-1.dsc
a0369422230299bf13324e226f5e6548fd2bee48 3375263 dctrl-tools_2.24.orig.tar.gz
973bb7c87165f14d26e6838178571217524a2306 19880 dctrl-tools_2.24-1.debian.tar.xz
0b2e07b340b8c3c3f5340c90b30ca89674b78694 143346 dctrl-tools_2.24-1_amd64.deb
Checksums-Sha256:
c417ae4cd3ab82de6c95440cc1352b6a74f5311d7ba6f5eed09d790decd6eabe 1610
dctrl-tools_2.24-1.dsc
949653246a777e5e5835dd490003c72573cee45184e82369fba2fdd037af15d1 3375263
dctrl-tools_2.24.orig.tar.gz
8dfe3881337eb05a9e2bff54e37d1cdea1c93a196bf2102b3676f41884af4956 19880
dctrl-tools_2.24-1.debian.tar.xz
501671a60b575213ba551f0c7c08dce56f9ea60c2c310680f7f9a11f2449606f 143346
dctrl-tools_2.24-1_amd64.deb
Files:
b38ff5d337aa32f0f1c4e87a4d345d31 1610 utils optional dctrl-tools_2.24-1.dsc
00c1e0586bb2cec97daee327ecb1e632 3375263 utils optional
dctrl-tools_2.24.orig.tar.gz
529f4e16c6cabbdccb57ddd14cc22d70 19880 utils optional
dctrl-tools_2.24-1.debian.tar.xz
bb31080ed40f90e9db476b877eab1595 143346 utils optional
dctrl-tools_2.24-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJVTdYiAAoJEDH85+fdB5RhH4kIALBlGO2AfduSkA3lH2RWrImA
Xiw1uUt43OUUmTconDUQNqQByAw73n4/Y8vpM1gac2mKYhgMIXlSm1ygTOAsPN3e
e3P4n02EaKUTzB4p+sUrxibHq4Am+Ti+GF01Wj7BbKIsGG9D608y4Y1/+OeCehEm
zZmgqYQ7dOZHkklMFINjWnv4WcGfEDFZ4M3kPrFtN+8QZcDe4c2+5wW6wbx5xuVK
mkxp2E2ESVCx2+yl6pHZhnMpY11V7WtZoagrrcYD33JLZrkZkUf02P9ta/3JHcXC
s+bFHSSGLF2bl1CWHD9QdbSPI30UDedqYe0XWlSLkyul6zDT0nAJMBVF8Fy7/zk=
=PHdt
-----END PGP SIGNATURE-----
--- End Message ---