commit: b37dece3267ea2c18016c66180b57dc7573e384a Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Tue Nov 2 20:57:17 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Tue Nov 2 21:03:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b37dece3
dev-lang/rust-bin: add QA_EXECSTACK for rmeta sections Bug: https://bugs.gentoo.org/806466 Closes: https://bugs.gentoo.org/806468 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> dev-lang/rust-bin/rust-bin-1.52.1.ebuild | 5 +++++ dev-lang/rust-bin/rust-bin-1.53.0.ebuild | 5 +++++ dev-lang/rust-bin/rust-bin-1.54.0.ebuild | 5 +++++ dev-lang/rust-bin/rust-bin-1.55.0.ebuild | 5 +++++ dev-lang/rust-bin/rust-bin-1.56.0.ebuild | 5 +++++ dev-lang/rust-bin/rust-bin-1.56.1.ebuild | 5 +++++ 6 files changed, 30 insertions(+) diff --git a/dev-lang/rust-bin/rust-bin-1.52.1.ebuild b/dev-lang/rust-bin/rust-bin-1.52.1.ebuild index 8ae41adca72..74e467bd616 100644 --- a/dev-lang/rust-bin/rust-bin-1.52.1.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.52.1.ebuild @@ -33,6 +33,11 @@ QA_PREBUILT=" opt/${P}/lib/rustlib/.*/lib/.* " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" + VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc pkg_pretend() { diff --git a/dev-lang/rust-bin/rust-bin-1.53.0.ebuild b/dev-lang/rust-bin/rust-bin-1.53.0.ebuild index 8ae41adca72..74e467bd616 100644 --- a/dev-lang/rust-bin/rust-bin-1.53.0.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.53.0.ebuild @@ -33,6 +33,11 @@ QA_PREBUILT=" opt/${P}/lib/rustlib/.*/lib/.* " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" + VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc pkg_pretend() { diff --git a/dev-lang/rust-bin/rust-bin-1.54.0.ebuild b/dev-lang/rust-bin/rust-bin-1.54.0.ebuild index 64f7fa3d954..2796cb0698b 100644 --- a/dev-lang/rust-bin/rust-bin-1.54.0.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.54.0.ebuild @@ -33,6 +33,11 @@ QA_PREBUILT=" opt/${P}/lib/rustlib/.*/lib/.* " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" + VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc pkg_pretend() { diff --git a/dev-lang/rust-bin/rust-bin-1.55.0.ebuild b/dev-lang/rust-bin/rust-bin-1.55.0.ebuild index 64f7fa3d954..2796cb0698b 100644 --- a/dev-lang/rust-bin/rust-bin-1.55.0.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.55.0.ebuild @@ -33,6 +33,11 @@ QA_PREBUILT=" opt/${P}/lib/rustlib/.*/lib/.* " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" + VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc pkg_pretend() { diff --git a/dev-lang/rust-bin/rust-bin-1.56.0.ebuild b/dev-lang/rust-bin/rust-bin-1.56.0.ebuild index 64f7fa3d954..2796cb0698b 100644 --- a/dev-lang/rust-bin/rust-bin-1.56.0.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.56.0.ebuild @@ -33,6 +33,11 @@ QA_PREBUILT=" opt/${P}/lib/rustlib/.*/lib/.* " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" + VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc pkg_pretend() { diff --git a/dev-lang/rust-bin/rust-bin-1.56.1.ebuild b/dev-lang/rust-bin/rust-bin-1.56.1.ebuild index 64f7fa3d954..2796cb0698b 100644 --- a/dev-lang/rust-bin/rust-bin-1.56.1.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.56.1.ebuild @@ -33,6 +33,11 @@ QA_PREBUILT=" opt/${P}/lib/rustlib/.*/lib/.* " +# An rmeta file is custom binary format that contains the metadata for the crate. +# rmeta files do not support linking, since they do not contain compiled object files. +# so we can safely silence the warning for this QA check. +QA_EXECSTACK="opt/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" + VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc pkg_pretend() {
