Your message dated Sun, 17 Dec 2023 20:43:03 +0000
with message-id <[email protected]>
and subject line Bug#1057649: fixed in sane-backends 1.2.1-7
has caused the Debian Bug report #1057649,
regarding sane-backends FTCBFS: confuses build/host compiler flags
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.)
--
1057649: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057649
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sane-backends
Version: 1.2.1-6
Tags: patch
User: [email protected]
Usertags: ftcbfs
X-Debbugs-CC: [email protected]
Dear Maintainer,
some compiler flags are architecture specific and should not leak when
cross-building.
As an example, -fcf-protection is x86-specific, and the following fails:
aarch64-linux-gnu-gcc-13 -fcf-protection
Similarly, -mbranch-protection=standard is aarch64-specific, and the
following fails:
x86_64-linux-gnu-gcc-13 -mbranch-protection=standard
For this reason, we must tell dh_auto_configure to pass the right flags
explicitly when changing the architecture. With the attached patch
sane-backends cleanly cross-builds from source.
Thanks!
Emanuele
diff -Nru sane-backends-1.2.1/debian/rules sane-backends-1.2.1/debian/rules
--- sane-backends-1.2.1/debian/rules 2023-11-25 16:20:54.000000000 +0100
+++ sane-backends-1.2.1/debian/rules 2023-11-25 19:52:57.000000000 +0100
@@ -26,7 +26,7 @@
override_dh_auto_configure:
autoconf
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
- dpkg-architecture -f "-a$(DEB_BUILD_ARCH)" -c dh_auto_configure
+ dpkg-architecture -f "-a$(DEB_BUILD_ARCH)" -c dh_auto_configure --reload-all-buildenv-variables
$(MAKE) -C $(CURDIR)/lib liblib.la
$(MAKE) -C $(CURDIR)/sanei libsanei.la
$(MAKE) -C $(CURDIR)/tools sane-desc
--- End Message ---
--- Begin Message ---
Source: sane-backends
Source-Version: 1.2.1-7
Done: Jörg Frings-Fürst <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sane-backends, 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.
Jörg Frings-Fürst <[email protected]> (supplier of updated sane-backends 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: Sun, 17 Dec 2023 13:05:00 +0100
Source: sane-backends
Architecture: source
Version: 1.2.1-7
Distribution: unstable
Urgency: medium
Maintainer: Jörg Frings-Fürst <[email protected]>
Changed-By: Jörg Frings-Fürst <[email protected]>
Closes: 1057649
Changes:
sane-backends (1.2.1-7) unstable; urgency=medium
.
* debian/rules:
- Fix FTCBFS: confuses build/host compiler flags (Closes: #1057649).
Thanks to Emanuele Rocca <[email protected]>.
Checksums-Sha1:
04b13942137715d4e56f7e186ec5e8df68a7e1d6 2278 sane-backends_1.2.1-7.dsc
3c15877941e9cd6efa399c6ce272f46a2180890b 70652
sane-backends_1.2.1-7.debian.tar.xz
161cf2d3de49067de524ed8ff0eb41d47379cb78 11609
sane-backends_1.2.1-7_source.buildinfo
Checksums-Sha256:
c7393b2c7812b095a40307c82e2c51b7a306b81cf58297ae06e0270d6b7d968c 2278
sane-backends_1.2.1-7.dsc
c60d0d5825b5e4a912d9ff40333c49adc72977fd45822c63963f09f8c54497b9 70652
sane-backends_1.2.1-7.debian.tar.xz
d9c69118e7989a58d11edce9a6b4fadf0d023d04f80b530d90b1f85b52d866db 11609
sane-backends_1.2.1-7_source.buildinfo
Files:
393d716a9743dfb241b605f28752f680 2278 graphics optional
sane-backends_1.2.1-7.dsc
4e300efcff52b2d0af733fbf1b9af3dd 70652 graphics optional
sane-backends_1.2.1-7.debian.tar.xz
df8a70dac7cda55eac0c3a8ca959b21a 11609 graphics optional
sane-backends_1.2.1-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmV/UkoQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFPGnDADHxGTICptSnz2l+9aMTipKgOWzeWoYiEOj
3XodVjGABQ3vT1xzd9wqLSEq3fk9xe2ghNXcZj2FPjtipC9IrdRoJhy3UOzENBdt
9J6FMprN1l811F80ibWFU16UqJkd4uP/7dh/7C6/kj1+OJ/haZDCy7IkEamzIrIt
m0trDHcA+arL+NbudAd2yFUk2ZuwFSmfK/H5b+jxJIgHFNXscu+jAmeBEbuaLivF
EiCMEspI7MuLVZUpn0dEmxJ+U6IctZ1P+k/oXdrVRcj9xQL/xGZ4M5+uleyZHF7D
sMEEh1vCb/aitFaQ6zHdOKrS/LTgAcMlP3YWRHWU4dieglWKbGOajD1h/qZtrEdB
aLq/AXbqNpTjpZ9PQ9SWktpp086SEw+M3kx3cCud1SeezGNuh/C37bQiip5dQD3Z
BsiOTJES1y+zDBdcbJ9/4mJTnnwYwPfuTaD28dpb893qxGbslmtNRCVCwTlMf3oH
s74QaXQd55sXMeMImBMWPB/HoKmipgc=
=1scR
-----END PGP SIGNATURE-----
--- End Message ---