Your message dated Sat, 09 Sep 2023 11:00:24 +0000
with message-id <[email protected]>
and subject line Bug#1050975: fixed in rustc 1.68.2+dfsg1-1~exp1
has caused the Debian Bug report #1050975,
regarding rustc FTCBF amd64 -> arm64: error: unrecognized command-line option
‘-mbranch-protection=standard’
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.)
--
1050975: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050975
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rustc
Version: 1.66.0+dfsg1-1
Tags: patch
User: [email protected]
Usertags: ftcbfs
rustc fails to cross build from source, because it frowards CFLAGS meant
for the host compiler to the build compiler. When cross compiling on
amd64 for arm64, CFLAGS now contain -mbranch-protection=standard. This
is not understood by an amd64 compiler. I'm attaching a patch to address
the matter.
Helmut
diff --minimal -Nru rustc-1.66.0+dfsg1/debian/changelog
rustc-1.66.0+dfsg1/debian/changelog
--- rustc-1.66.0+dfsg1/debian/changelog 2023-06-27 17:12:20.000000000 +0200
+++ rustc-1.66.0+dfsg1/debian/changelog 2023-08-31 21:40:47.000000000 +0200
@@ -1,3 +1,10 @@
+rustc (1.66.0+dfsg1-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Do not pass host CFLAGS to the build compiler. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Thu, 31 Aug 2023 21:40:47 +0200
+
rustc (1.66.0+dfsg1-1) unstable; urgency=medium
* Upload to unstable
diff --minimal -Nru rustc-1.66.0+dfsg1/debian/rules
rustc-1.66.0+dfsg1/debian/rules
--- rustc-1.66.0+dfsg1/debian/rules 2023-06-20 20:22:34.000000000 +0200
+++ rustc-1.66.0+dfsg1/debian/rules 2023-08-31 21:40:47.000000000 +0200
@@ -14,7 +14,11 @@
LOCAL_RUST_VERSION := $(shell rustc --version --verbose | sed -ne 's/^release:
//p')
include /usr/share/dpkg/buildflags.mk
-export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+export TARGET_CFLAGS = $(CFLAGS)
+export TARGET_CXXFLAGS = $(CXXFLAGS)
+export TARGET_CPPFLAGS = $(CPPFLAGS)
+export TARGET_LDFLAGS = $(LDFLAGS)
+unexport CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
export CARGO_HOME = $(CURDIR)/debian/cargo
# Defines DEB_*_RUST_TYPE triples
--- End Message ---
--- Begin Message ---
Source: rustc
Source-Version: 1.68.2+dfsg1-1~exp1
Done: Fabian Grünbichler <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rustc, 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.
Fabian Grünbichler <[email protected]> (supplier of updated
rustc 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: Wed, 02 Aug 2023 13:17:47 +0200
Source: rustc
Binary: libstd-rust-1.68 libstd-rust-1.68-dbgsym libstd-rust-dev
libstd-rust-dev-wasm32 libstd-rust-dev-windows rust-all rust-clippy
rust-clippy-dbgsym rust-doc rust-gdb rust-lldb rust-src rustc rustc-dbgsym
rustfmt rustfmt-dbgsym
Architecture: source amd64 all
Version: 1.68.2+dfsg1-1~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Rust Maintainers
<[email protected]>
Changed-By: Fabian Grünbichler <[email protected]>
Description:
libstd-rust-1.68 - Rust standard libraries
libstd-rust-dev - Rust standard libraries - development files
libstd-rust-dev-wasm32 - Rust standard libraries - development files
libstd-rust-dev-windows - Rust standard libraries - development files
rust-all - Rust systems programming language - all developer tools
rust-clippy - Rust linter
rust-doc - Rust systems programming language - Documentation
rust-gdb - Rust debugger (gdb)
rust-lldb - Rust debugger (lldb)
rust-src - Rust systems programming language - source code
rustc - Rust systems programming language
rustfmt - Rust formatting helper
Closes: 1050975
Changes:
rustc (1.68.2+dfsg1-1~exp1) experimental; urgency=medium
.
[ Eric Long ]
* New upstream version 1.68.2+dfsg1
* Update patches to adapt to upstream test path change
.
[ Fabian Grünbichler ]
* Update wasi-libc to 4362b18
* Update doc path to fix linkcheck
* Update d/copyright
* Update lintian overrides
* Update privacy breach removal (github badge)
* Bump Standards-Version to 4.6.2
.
[Helmut Grohne]
* Fix FTCBFS: Do not pass host CFLAGS to the build compiler
(Closes: #1050975)
Checksums-Sha1:
bddfcaf92caec8617772d310f9d1cab94a987110 3566 rustc_1.68.2+dfsg1-1~exp1.dsc
25f19ebcebb33e68c26783f0cf223345b5850d22 38020328
rustc_1.68.2+dfsg1.orig.tar.xz
756d484d507a42e167dad4bf6110125a8900ebfa 97492
rustc_1.68.2+dfsg1-1~exp1.debian.tar.xz
b247f54d1d9eb65eb87f98f7f7b83599c50777ab 206516068
libstd-rust-1.68-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
193be3d3c3fa5c60a274cb95c6002a91fe4ff09f 20551476
libstd-rust-1.68_1.68.2+dfsg1-1~exp1_amd64.deb
c28b1ce810ecb9d99246402b3b42355090b0a2fb 60366772
libstd-rust-dev-wasm32_1.68.2+dfsg1-1~exp1_all.deb
c3520d7170282c69b6af9389668744fefd9103a6 44571756
libstd-rust-dev-windows_1.68.2+dfsg1-1~exp1_amd64.deb
f65c1ac17448dc35f85a9d85b6c53721c8247416 37776068
libstd-rust-dev_1.68.2+dfsg1-1~exp1_amd64.deb
f6efa11bafc05319ae0bea00676fc7221d980d99 195072
rust-all_1.68.2+dfsg1-1~exp1_all.deb
ba45b7db772b91f2d2fc04f113c7456490cd8c60 40433572
rust-clippy-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
8bce75ba30bb490d2f0c403eb822664d53068af8 2267360
rust-clippy_1.68.2+dfsg1-1~exp1_amd64.deb
6db0b7ad4c756ffefa8b19a8ea9cc3b150baf777 18200768
rust-doc_1.68.2+dfsg1-1~exp1_all.deb
db087e75dd1c0a58111895593d60a1249bad3988 199912
rust-gdb_1.68.2+dfsg1-1~exp1_all.deb
0f358090004055bfcc0013b1fed02529351b305c 200800
rust-lldb_1.68.2+dfsg1-1~exp1_all.deb
f71ac5cb5dd433931918761bde481eb0efef6933 16920816
rust-src_1.68.2+dfsg1-1~exp1_all.deb
b4a2183702e20f5f61561d0a1443e2b085700425 33543760
rustc-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
90c522f300864133eb6f4ff879c7433ffa62c66e 13653
rustc_1.68.2+dfsg1-1~exp1_amd64.buildinfo
ac82c596bcdc6ea167d9922d7c781899ad6ce4e0 3148240
rustc_1.68.2+dfsg1-1~exp1_amd64.deb
c4573fd2d6440a8b0b71b1676331192d3ef5b1f3 16898228
rustfmt-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
1961fd3821d93153054a51d30618bbdd2b17bcaa 1711028
rustfmt_1.68.2+dfsg1-1~exp1_amd64.deb
Checksums-Sha256:
d22d50ccf6b1b0246ccc06c281a278f0e71153bd2df947c487ee0eb2d8152eed 3566
rustc_1.68.2+dfsg1-1~exp1.dsc
5e5b7e061fb7226f913b5a31277582fb92bb45a7fb96d6f0fc147b8accead954 38020328
rustc_1.68.2+dfsg1.orig.tar.xz
e54016216e8aefb79ddea25a5f628eb1042f8fcd3a717fce3a40bcd6531ab8cf 97492
rustc_1.68.2+dfsg1-1~exp1.debian.tar.xz
aacf5c2b1016f1823ef04b419ff5f72ffbb2e2678e872c381202f8508d0cac59 206516068
libstd-rust-1.68-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
f4f6fb50e4f4bdac194fecc47c7c60c88d8561ed5708d371dc1be2c41e0d283c 20551476
libstd-rust-1.68_1.68.2+dfsg1-1~exp1_amd64.deb
b904dd78b3cd2a6ad4908bdfa7037418fc680c8d26e7ca3141327d4dbc14ed63 60366772
libstd-rust-dev-wasm32_1.68.2+dfsg1-1~exp1_all.deb
23b9eb6eac58b1b4392eafceed915dd228833180f7619ecc5b5734a338c2fcfb 44571756
libstd-rust-dev-windows_1.68.2+dfsg1-1~exp1_amd64.deb
ea0f4c986861c65d6c727a5130f4f3f793cf73971de33c6d671a998f30546c43 37776068
libstd-rust-dev_1.68.2+dfsg1-1~exp1_amd64.deb
43524ca8897b1e2c5a136c8cc53414d98a41093ecc6b33ff93cc7801a9d058ab 195072
rust-all_1.68.2+dfsg1-1~exp1_all.deb
cb25dea876259795c0262512b69c643219cd96f4ebcb11870a413def1eebec0b 40433572
rust-clippy-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
629f6cf4d630545575e2569f3b79db8c1e73d7b5c2613de4d2bb0a56f265071b 2267360
rust-clippy_1.68.2+dfsg1-1~exp1_amd64.deb
40219f54348c4edd1c368d65c0fbc26667dd5b8fdf97faf35f66e28dc4482d0e 18200768
rust-doc_1.68.2+dfsg1-1~exp1_all.deb
297226c3ded6f1f00052d24269908185fe1aef703e9889647c9891822a8d67cc 199912
rust-gdb_1.68.2+dfsg1-1~exp1_all.deb
0bcb0369906b0b59a06c9d3a015b469a09380114b024203f0be8ce71a80eba19 200800
rust-lldb_1.68.2+dfsg1-1~exp1_all.deb
ab44772d7e25774db02192be0f4a4bf1a7f28825b66041f04414f5dde1239e69 16920816
rust-src_1.68.2+dfsg1-1~exp1_all.deb
15a56655f654b483fa53281ed68d29f543e506723002e7b040d394376cda2d1a 33543760
rustc-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
9167052b1415056dd4da098190eaf9b1bb5f8de287e532cc7c3c507583db086b 13653
rustc_1.68.2+dfsg1-1~exp1_amd64.buildinfo
3cf52872b7dc1d66aba01126383bf8419df29cf8851f8a00b609b3cfa14c8a9d 3148240
rustc_1.68.2+dfsg1-1~exp1_amd64.deb
87d47dc44306f1ed6969c35f4385a91a58d73910f3a1deb774e0172d02ba4f52 16898228
rustfmt-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
e3c55fad6b7636b3f196af6ee9e7819e553cf53f90b751e727d18472b35ede13 1711028
rustfmt_1.68.2+dfsg1-1~exp1_amd64.deb
Files:
68a5fec3dd426fc1d0f14b5798c7ffa4 3566 devel optional
rustc_1.68.2+dfsg1-1~exp1.dsc
1b73538a1ca72d84cbfe38cc5b2e0725 38020328 devel optional
rustc_1.68.2+dfsg1.orig.tar.xz
7cdfa39da3b64a349aa38d6d80d0617c 97492 devel optional
rustc_1.68.2+dfsg1-1~exp1.debian.tar.xz
bc12c691629805ec6dd13c6e06260377 206516068 debug optional
libstd-rust-1.68-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
9acf202b26b18bd5c346d714cf06fa9e 20551476 libs optional
libstd-rust-1.68_1.68.2+dfsg1-1~exp1_amd64.deb
fe3aebeb9b7ad3ec18642b9f39404419 60366772 libdevel optional
libstd-rust-dev-wasm32_1.68.2+dfsg1-1~exp1_all.deb
34f5899a9894b3693c938753aa92cc64 44571756 libdevel optional
libstd-rust-dev-windows_1.68.2+dfsg1-1~exp1_amd64.deb
45ccda8f6860da5d14ac2615e8cac5cc 37776068 libdevel optional
libstd-rust-dev_1.68.2+dfsg1-1~exp1_amd64.deb
fe3a038708a86f2dcb137ec2edea08d8 195072 devel optional
rust-all_1.68.2+dfsg1-1~exp1_all.deb
8ffb4e3be52c81e36b24318dda063714 40433572 debug optional
rust-clippy-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
2f0dd374ca5ccfd9226be7b4e48d022c 2267360 devel optional
rust-clippy_1.68.2+dfsg1-1~exp1_amd64.deb
ca23175ed6b168cc59777044769f0c07 18200768 doc optional
rust-doc_1.68.2+dfsg1-1~exp1_all.deb
56f061517290b9e430dd10270ceba1f4 199912 devel optional
rust-gdb_1.68.2+dfsg1-1~exp1_all.deb
7a52f9c0654cef10b436cd7884df9211 200800 devel optional
rust-lldb_1.68.2+dfsg1-1~exp1_all.deb
a40eec242a461e263d8516a746dbc9f0 16920816 devel optional
rust-src_1.68.2+dfsg1-1~exp1_all.deb
2a473f56568a748e43163219de04e1c2 33543760 debug optional
rustc-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
06172c634efbbde447f14a2c6752a6a3 13653 devel optional
rustc_1.68.2+dfsg1-1~exp1_amd64.buildinfo
b608c7939a411d7ebae05af34e911b50 3148240 devel optional
rustc_1.68.2+dfsg1-1~exp1_amd64.deb
1c09c94df68f6817ec4efefedfb8bb42 16898228 debug optional
rustfmt-dbgsym_1.68.2+dfsg1-1~exp1_amd64.deb
3d75c0008213cbd1112e9fa6a6ee6f74 1711028 devel optional
rustfmt_1.68.2+dfsg1-1~exp1_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAmT7b4IACgkQfmUo2nUv
G+EOOA//btThB0ijJON/OLP/cVyUZGeaN1H+5Q3xKiG1tv261WP9KhXGE202nTg7
Pb5PA5Lmsq39nSyUvCfKSdkODFcaiOyEZmqEcqJWIm9mDp1ovPIRRd7DeB0qbjQq
rLNz8ocNYgGO2GrftlWSpE0C7hxm/BZQb1AqlAMPHSzi+tZMrykIukfrB2usdl1w
bkyAqvJwP47PcpyRFRdOPGXFszzObe6Aa3A21wQmPrApfy708YmYKP3oQd7iMbPI
vGCKa85yQS6L6OMO3XVcKM0bKLatgTUq9+yJ9cFXQnaxKyr3DTdpkFQ+rLyElS4B
bTG/LMpu7LORfh/MbaxVzE0yvRE4i2AEIEv8afm1AvuykcFt4g6E67r7gtuh/G88
MoM67ZA4+cj53VuFGH9WHKgxlnOSuziofNaUHscy63c6SMp9Jq1u4RbbWXWRlzpv
E37Ij0vt6hN0y1/Xmx7nV23CSF+LuXJvHIqUFBCJGWzKGOhW2tSOGh1D6dXoz9Kd
B4yyN0cj8zUnln7sMu7eLsj0nvclvcp/rbzSFG3PMaZLuO/KexIPA6pxG2+hKZIc
vUuw8ilWbAx/4n4OREwa87upswCEMj9w2TNncIx1zhaZhiR52vI6kuKpJwPeok0e
mVLr56d6vDlSwZYpehAYYNhH0Gt8maPoi0w4LZzdv0cVN/jBXEI=
=kEkp
-----END PGP SIGNATURE-----
--- End Message ---