Your message dated Fri, 15 Sep 2017 13:39:33 +0000
with message-id <e1dsqqd-0008qy...@fasolo.debian.org>
and subject line Bug#875559: fixed in libsemanage 2.7-2
has caused the Debian Bug report #875559,
regarding libsemanage stage1 FTCBFS: uses the 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 ow...@bugs.debian.org
immediately.)


-- 
875559: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875559
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libsemanage
Version: 2.7-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

libsemanage stage1 fails to cross build from source, because it defaults
to using the build architecture compiler "cc" as a GNU make default.
Exporting a triplet-prefixed CC is sufficient for making stage1 cross
build. Please apply the attached patch.

Helmut
diff --minimal -Nru libsemanage-2.7/debian/changelog 
libsemanage-2.7/debian/changelog
--- libsemanage-2.7/debian/changelog    2017-09-10 01:07:48.000000000 +0200
+++ libsemanage-2.7/debian/changelog    2017-09-12 10:12:54.000000000 +0200
@@ -1,3 +1,10 @@
+libsemanage (2.7-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix stage1 FTCBFS: Export triplet-prefixed CC. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 12 Sep 2017 10:12:54 +0200
+
 libsemanage (2.7-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru libsemanage-2.7/debian/rules libsemanage-2.7/debian/rules
--- libsemanage-2.7/debian/rules        2017-09-10 01:07:48.000000000 +0200
+++ libsemanage-2.7/debian/rules        2017-09-12 10:12:52.000000000 +0200
@@ -1,7 +1,11 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
+export CC
 
 ifeq ($(DEB_BUILD_PROFILES),stage1)
 export DH_OPTIONS += -Nruby-semanage -Npython-semanage -Npython3-semanage

--- End Message ---
--- Begin Message ---
Source: libsemanage
Source-Version: 2.7-2

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

Debian distribution maintenance software
pp.
Laurent Bigonville <bi...@debian.org> (supplier of updated libsemanage 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Fri, 15 Sep 2017 15:14:34 +0200
Source: libsemanage
Binary: libsemanage-common libsemanage1 libsemanage1-dev ruby-semanage 
python-semanage python3-semanage semanage-utils
Architecture: source all amd64
Version: 2.7-2
Distribution: unstable
Urgency: medium
Maintainer: Debian SELinux maintainers <selinux-de...@lists.alioth.debian.org>
Changed-By: Laurent Bigonville <bi...@debian.org>
Description:
 libsemanage-common - Common files for SELinux policy management libraries
 libsemanage1 - SELinux policy management library
 libsemanage1-dev - Header files and libraries for SELinux policy manipulation
 python-semanage - Python bindings for SELinux policy management
 python3-semanage - Python3 bindings for SELinux policy management
 ruby-semanage - Ruby bindings to for SELinux policy management
 semanage-utils - SELinux policy management utilities
Closes: 875551 875558 875559 875562
Changes:
 libsemanage (2.7-2) unstable; urgency=medium
 .
   [ Laurent Bigonville ]
   * debian/control: Drop libustr-dev (build-)dependency, not used anymore
   * debian/rules: Make the tests failures fatal again, tests don't seems to
     fail anymore
 .
   [ Helmut Grohne ]
   * Support being built with multiple build profiles. (Closes: #875551)
   * Support nocheck build profile. (Closes: #875558)
   * Fix stage1 FTCBFS: Export triplet-prefixed CC. (Closes: #875559)
   * Use profiles nopython and noruby rather than stage1. (Closes: #875562)
Checksums-Sha1:
 d47c026e767a734e0b9af73d6f28feb91d6093c0 2456 libsemanage_2.7-2.dsc
 51883bdcbd992e56408ab62da3bd11ae024e74d6 16968 libsemanage_2.7-2.debian.tar.xz
 76c00b23e8fb8ea74cae1fb863cd9c4ccb7a36ca 17358 libsemanage-common_2.7-2_all.deb
 b87d70321b4b24ce81e86d0b826d993d96211b8a 335352 
libsemanage1-dbgsym_2.7-2_amd64.deb
 dc84d5df62d973967de9cffabcb8d242cd4159fe 130748 
libsemanage1-dev_2.7-2_amd64.deb
 dcada59f5db5a7ef07d2562d6a71add36095e01c 95956 libsemanage1_2.7-2_amd64.deb
 1aaed7f0e3f59981e2566452aeff5a075b3828f6 10356 
libsemanage_2.7-2_amd64.buildinfo
 937308142d91e3c6e919a7897ed8949e66d4d537 189488 
python-semanage-dbgsym_2.7-2_amd64.deb
 484ce7a7d34124fb631adf04f8867744b02218c2 66592 python-semanage_2.7-2_amd64.deb
 7484eb5a8b8015b2098c72c4a79aada66287164a 356724 
python3-semanage-dbgsym_2.7-2_amd64.deb
 1e4b7006b39196f0b3d8a159d1c1de832832d158 67022 python3-semanage_2.7-2_amd64.deb
 54c7762bf0399524667ebb938bd747477aaa36a9 176288 
ruby-semanage-dbgsym_2.7-2_amd64.deb
 001f5b42618af783f057694bf309c7bef8c4648c 53706 ruby-semanage_2.7-2_amd64.deb
 2993cc9f7a5d23043eec76b462dcea93e66fb32f 17028 semanage-utils_2.7-2_amd64.deb
Checksums-Sha256:
 7054ef9c206cac2e698627040df04dd159ff7aa982348e25c315dd817fb8926b 2456 
libsemanage_2.7-2.dsc
 6679667dc2ceafbe214eddfe84c3f6a18d457a4c78d6ae63165bc65e71b174e7 16968 
libsemanage_2.7-2.debian.tar.xz
 94d7ec7ece66d2f4177b2e27fb4fea18eca0993e600d4c0e2d628e7a2a46e9df 17358 
libsemanage-common_2.7-2_all.deb
 45a541163cef000f585bcdcf645e3a8b19c63a9ffee5aab3d740b5925cd314fa 335352 
libsemanage1-dbgsym_2.7-2_amd64.deb
 2df23f521a8fb0e92d52336d4ae3386ccabdad81045c3001ed08773d1ea8a4e8 130748 
libsemanage1-dev_2.7-2_amd64.deb
 c99aa62e3f319c93e9d5da216a36de1ffec016e9819ff4394b53832f707c5a2a 95956 
libsemanage1_2.7-2_amd64.deb
 9f9c03600b1bea7836ee597c5bc1e9202b094aa96d1f3a2081a2e0b35754fbb5 10356 
libsemanage_2.7-2_amd64.buildinfo
 da9e10f4e0e5520cabfaa02b8c0bd4fd951ff8786a4745a81a1e3ccc989d05c2 189488 
python-semanage-dbgsym_2.7-2_amd64.deb
 fbe07ad2fecd429b8a676396ebf7ca3cca0ec2b42840499cfec6ec45ac379491 66592 
python-semanage_2.7-2_amd64.deb
 6100da7606c8ce4ba2739c438df575d35724167248c99ded1e46813ecb49288c 356724 
python3-semanage-dbgsym_2.7-2_amd64.deb
 5c3bb8650243dc1f64320164481633d7e7525cc7a14ef617b57a5e2c336e40f8 67022 
python3-semanage_2.7-2_amd64.deb
 75ddc133e719d928a9a6aabded5a1ff118377a76218410d7c5a68ad7b3e83664 176288 
ruby-semanage-dbgsym_2.7-2_amd64.deb
 b2cd08a96d3435c36ceaf6f3f95a2b5687362ebdc3e231c3ecbf2fb6109572a3 53706 
ruby-semanage_2.7-2_amd64.deb
 c3aaf3f848a9cf0eb3afb865e6cf91cad4db17b982c786ac6c65e7b43740e020 17028 
semanage-utils_2.7-2_amd64.deb
Files:
 961acd3d2acb6810671c08139aa72704 2456 libdevel optional libsemanage_2.7-2.dsc
 220bb025659534356c9508da5c1a9af2 16968 libdevel optional 
libsemanage_2.7-2.debian.tar.xz
 7f97b2a451dd09f3db9db474110d4c96 17358 libs optional 
libsemanage-common_2.7-2_all.deb
 ac87e1b18141d68a26cb335cda5e2642 335352 debug optional 
libsemanage1-dbgsym_2.7-2_amd64.deb
 9b490d16f6fd0ac6850a72e0f52821b6 130748 libdevel optional 
libsemanage1-dev_2.7-2_amd64.deb
 66abefd617b1fe28c926784b299a872a 95956 libs optional 
libsemanage1_2.7-2_amd64.deb
 b4ebf3ea82fd7991725ae76c639c7bcb 10356 libdevel optional 
libsemanage_2.7-2_amd64.buildinfo
 11e8ad3aaddb68af7a1f6b8ba09961a0 189488 debug optional 
python-semanage-dbgsym_2.7-2_amd64.deb
 3aa7a89cf972eb7e453424f26adeb9a0 66592 python optional 
python-semanage_2.7-2_amd64.deb
 ef7b701404128db3367c08232c1ea447 356724 debug optional 
python3-semanage-dbgsym_2.7-2_amd64.deb
 da31c4edf1787175c3370a19dbb11059 67022 python optional 
python3-semanage_2.7-2_amd64.deb
 eaf03477a503f5680e842e06bfa92ae1 176288 debug optional 
ruby-semanage-dbgsym_2.7-2_amd64.deb
 679dc55c13665d5184fdfb3dc9068cb2 53706 ruby optional 
ruby-semanage_2.7-2_amd64.deb
 f428d8938f3fbe46b0834778398199c9 17028 admin optional 
semanage-utils_2.7-2_amd64.deb

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

iQFFBAEBCAAvFiEEmRrdqQAhuF2x31DwH8WJHrqwQ9UFAlm70xIRHGJpZ29uQGRl
Ymlhbi5vcmcACgkQH8WJHrqwQ9WPIggAiS6VDR8KrinjbrNicq/+wX0xiqRygOop
MAmPn+dmGocAE+Dw6odY2j7ZkqebHS+weie3gSMkoGwUlkWGRa5jsKqK927t8Swy
FD4bdXEX7X2OclEQJi0uaXoDje3XPpV3lPKylpwAIZO/yG5y8thU6dZq3EPsCmhl
Qb0UfUKm0+QaC1RT3z+WqPvXOIFv4xENEyBYUCw9j0CLe9eG4p4lpMNOMhxb79C4
ROBuruKKL4sSx139bc7KVMUHwwwZUCq3nME+eyEDCDyw7C1MXxsFy0vnXlFdjw4d
bN86Kcn4Z57r/6GQpRvyj0J8EASQAZw8w8C28rw0WMYFhn57FC1TpA==
=Wj29
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to