Your message dated Thu, 08 Dec 2016 17:48:51 +0000
with message-id <[email protected]>
and subject line Bug#847457: fixed in device-tree-compiler 1.4.2-1
has caused the Debian Bug report #847457,
regarding device-tree-compiler FTBFS: 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 [email protected]
immediately.)


-- 
847457: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847457
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: device-tree-compiler
Version: 1.4.0+dfsg-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

device-tree-compiler fails to cross build from source, because it uses
the build architecture compiler. Thankfully, fixing that is a simple
matter of exporting a suitable CC variable. Please consider applying the
attached patch.

Helmut
diff -u device-tree-compiler-1.4.0+dfsg/debian/changelog 
device-tree-compiler-1.4.0+dfsg/debian/changelog
--- device-tree-compiler-1.4.0+dfsg/debian/changelog
+++ device-tree-compiler-1.4.0+dfsg/debian/changelog
@@ -1,3 +1,10 @@
+device-tree-compiler (1.4.0+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export triplet-prefixed CC, closes: #-1
+
+ -- Helmut Grohne <[email protected]>  Thu, 08 Dec 2016 12:23:03 +0100
+
 device-tree-compiler (1.4.0+dfsg-2) unstable; urgency=medium
 
   * Fix out of date homepage url
diff -u device-tree-compiler-1.4.0+dfsg/debian/rules 
device-tree-compiler-1.4.0+dfsg/debian/rules
--- device-tree-compiler-1.4.0+dfsg/debian/rules
+++ device-tree-compiler-1.4.0+dfsg/debian/rules
@@ -10,6 +10,11 @@
 
 export CFLAGS = -Wall -g -fPIC
 
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+export CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
 else

--- End Message ---
--- Begin Message ---
Source: device-tree-compiler
Source-Version: 1.4.2-1

We believe that the bug you reported is fixed in the latest version of
device-tree-compiler, 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.
Héctor Orón Martínez <[email protected]> (supplier of updated 
device-tree-compiler 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: SHA512

Format: 1.8
Date: Thu, 08 Dec 2016 18:17:19 +0100
Source: device-tree-compiler
Binary: device-tree-compiler libfdt1 libfdt-dev
Architecture: source amd64
Version: 1.4.2-1
Distribution: unstable
Urgency: medium
Maintainer: Héctor Orón Martínez <[email protected]>
Changed-By: Héctor Orón Martínez <[email protected]>
Description:
 device-tree-compiler - Device Tree Compiler for Flat Device Trees
 libfdt-dev - Flat Device Trees manipulation library - development files
 libfdt1    - Flat Device Trees manipulation library
Closes: 839031 847457
Changes:
 device-tree-compiler (1.4.2-1) unstable; urgency=medium
 .
   * New upstream release, closes: #839031
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Export triplet-prefixed CC, closes: #847457
Checksums-Sha1:
 0988afe46db9f5977c8479f4cbf772635f822544 2164 device-tree-compiler_1.4.2-1.dsc
 db33ce573a8ce54a1ae2672adcabc68f2f005eb4 141943 
device-tree-compiler_1.4.2.orig.tar.gz
 c779c148e382705ce8bbdde68c0f7861f858eb76 39458 
device-tree-compiler_1.4.2-1.diff.gz
 3bcd3a8d5b55b54063eca754bd6e8e4a9afac76c 167042 
device-tree-compiler-dbgsym_1.4.2-1_amd64.deb
 4fcb3010f4d94ba5fef50208e271277160085526 8732 
device-tree-compiler_1.4.2-1_amd64.buildinfo
 ecfe9440a10fe3b93649d1b979a889b3432b9b3f 1081300 
device-tree-compiler_1.4.2-1_amd64.deb
 334a655b8da1ad02f0d2092ff6bafc4fe6794004 24616 libfdt-dev_1.4.2-1_amd64.deb
 c3525f0e23f5d64173728ba43e32cf662927b1bf 27804 libfdt1-dbgsym_1.4.2-1_amd64.deb
 b356f05b23708e09ac94708e149f1799499157cd 14768 libfdt1_1.4.2-1_amd64.deb
Checksums-Sha256:
 ebb3ecb2c86026b065b29886e27e16be0826235e97bb47d918d4a2af0e5e8d16 2164 
device-tree-compiler_1.4.2-1.dsc
 219b4b062ecbd7b0693351d69c09d883dd3f00588275fe2e3d603fd36b60ee16 141943 
device-tree-compiler_1.4.2.orig.tar.gz
 bf9e9074ccc305500aae7af27a9fbae6b6b70440ac47c43bcd49d02d8520a791 39458 
device-tree-compiler_1.4.2-1.diff.gz
 7bfa9a3b3c816a9bad062dffbd4dd0765493619a2df366621ad6b53740a992b7 167042 
device-tree-compiler-dbgsym_1.4.2-1_amd64.deb
 ee44e8bbb7e28ec3bacf2872365d578470e1e8c93b6b61c2ca099c7631356b7f 8732 
device-tree-compiler_1.4.2-1_amd64.buildinfo
 14db63baac069f5c11c4d2aac979bf8fd76a97785b0ba8235125aba446c1108b 1081300 
device-tree-compiler_1.4.2-1_amd64.deb
 40e78abfc76b11ab4876695e650d2dfac2d81cd4599e5c72ed92f3d3e4f3fe68 24616 
libfdt-dev_1.4.2-1_amd64.deb
 1ddf0af168e04d9feb057389b47b7007e2c17568bf0d109cf96b675975752e5c 27804 
libfdt1-dbgsym_1.4.2-1_amd64.deb
 4a939d699a58d50be3a993ee142690e14c2a5f26fc629fb198d8a62675ef65e6 14768 
libfdt1_1.4.2-1_amd64.deb
Files:
 23672b4ecadac2469cc78c4d532e209f 2164 devel extra 
device-tree-compiler_1.4.2-1.dsc
 b7e68a390b35661762b1b00a2315f415 141943 devel extra 
device-tree-compiler_1.4.2.orig.tar.gz
 4ef027e21cef4efc80c508c488512033 39458 devel extra 
device-tree-compiler_1.4.2-1.diff.gz
 c9d617df5800d674c86399a62c92f0cb 167042 debug extra 
device-tree-compiler-dbgsym_1.4.2-1_amd64.deb
 458c8b51f044800a72c4ff382dece744 8732 devel extra 
device-tree-compiler_1.4.2-1_amd64.buildinfo
 1fa371824e6621702f44952f45f8a59e 1081300 devel extra 
device-tree-compiler_1.4.2-1_amd64.deb
 a51b3cfd9838a178284a7b352c5cd00f 24616 libdevel extra 
libfdt-dev_1.4.2-1_amd64.deb
 c98c1e78f17c8f29efc7d46dd3ffc00e 27804 debug extra 
libfdt1-dbgsym_1.4.2-1_amd64.deb
 25b29765a9266481405da4610de9ca2b 14768 libs extra libfdt1_1.4.2-1_amd64.deb

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

iQIzBAEBCgAdFiEE6Q8IiVReeMgqnedOryKDqnbirHsFAlhJmGcACgkQryKDqnbi
rHvrcw//R/yo98DRu/2HEGgHYa0u6BaPRX/eawTqXyF443x42XhS0SSV7m5AcdBY
2J0zhCFAdAat77pPrNr1y/cW/Dn8MxE2mkyIFnKDiXDpplbDjLUD5SUO9y2IIAGR
EjUHjWQJP9BBN2FKvObEzHXgrPBwJ9CCzFvNT0qxeOO3gBPScE14Lz4NFWQiKIHC
PRE0OMXIVPxqHgWMM0SPDpcoQ8N/6DI/aYnbBWqLgp4oe0fvzADv/Db64jJUkquG
rGCpo8UkpABKuZNkD6R1JSKMqHCDocJ9zCicmhQUPnX7VvUdGiMrRtn9LU3Tjb1F
D531aSkrY3fMi+RLvGKtJdxtYSUSFrWJ4iEcQ0q39F+hnrAiuOCFSo2M0mJkD4SG
ti+eQ7Rc0sXkhTvpyy1KWV7PNgwwQrmzCn3FgE+OMRnqCFx7mohnlknls9ZphpnB
Lym9r78OLLV0Tb7XEqbo2cQjSWVd3+XsFWkJ7wpXDdaEgbTtrs91ZI2/7Pp91kOi
0LFxabsLRqhqoBxoMQHprU2KaWmius0K/PQu3tkap+ReWsdlmXv30lNoamfSevQ5
yhm7gkgfeSTn2zSAIlamzdvZGlpXt0blgH2m51Z2oCioIDL2Vz6IQ/KIxlcsDlmh
BhdLErf9dRKe6n6+J7MJeKRM4eLJsXLXQq1Oaq0xrgFsSEcB9CE=
=txy9
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to