Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/
Date: Thu, 07 Oct 2021 15:48:37
Message-Id: 1633621694.4b2775ec461086a7299d277193f485947d78f817.gyakovlev@gentoo
1 commit: 4b2775ec461086a7299d277193f485947d78f817
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 7 15:47:48 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 7 15:48:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b2775ec
7
8 dev-lang/rust: silence rmeta QA WX warnings
9
10 Closes: https://bugs.gentoo.org/806466
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 dev-lang/rust/rust-1.52.1.ebuild | 6 ++++++
14 dev-lang/rust/rust-1.53.0.ebuild | 6 ++++++
15 dev-lang/rust/rust-1.54.0.ebuild | 6 ++++++
16 dev-lang/rust/rust-1.55.0.ebuild | 6 ++++++
17 4 files changed, 24 insertions(+)
18
19 diff --git a/dev-lang/rust/rust-1.52.1.ebuild b/dev-lang/rust/rust-1.52.1.ebuild
20 index 903660103f6..30db42404e6 100644
21 --- a/dev-lang/rust/rust-1.52.1.ebuild
22 +++ b/dev-lang/rust/rust-1.52.1.ebuild
23 @@ -138,6 +138,12 @@ QA_SONAME="
24 usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
25 "
26
27 +# An rmeta file is custom binary format that contains the metadata for the crate.
28 +# rmeta files do not support linking, since they do not contain compiled object files.
29 +# so we can safely silence the warning for this QA check.
30 +QA_WX_LOAD="usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/.*:lib.rmeta"
31 +QA_EXECSTACK="${QA_WX_LOAD}"
32 +
33 # causes double bootstrap
34 RESTRICT="test"
35
36
37 diff --git a/dev-lang/rust/rust-1.53.0.ebuild b/dev-lang/rust/rust-1.53.0.ebuild
38 index b484a09020c..aeb7bd1f11c 100644
39 --- a/dev-lang/rust/rust-1.53.0.ebuild
40 +++ b/dev-lang/rust/rust-1.53.0.ebuild
41 @@ -140,6 +140,12 @@ QA_SONAME="
42 usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
43 "
44
45 +# An rmeta file is custom binary format that contains the metadata for the crate.
46 +# rmeta files do not support linking, since they do not contain compiled object files.
47 +# so we can safely silence the warning for this QA check.
48 +QA_WX_LOAD="usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/.*:lib.rmeta"
49 +QA_EXECSTACK="${QA_WX_LOAD}"
50 +
51 # causes double bootstrap
52 RESTRICT="test"
53
54
55 diff --git a/dev-lang/rust/rust-1.54.0.ebuild b/dev-lang/rust/rust-1.54.0.ebuild
56 index 40f81de58ea..0b2c51587d6 100644
57 --- a/dev-lang/rust/rust-1.54.0.ebuild
58 +++ b/dev-lang/rust/rust-1.54.0.ebuild
59 @@ -140,6 +140,12 @@ QA_SONAME="
60 usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
61 "
62
63 +# An rmeta file is custom binary format that contains the metadata for the crate.
64 +# rmeta files do not support linking, since they do not contain compiled object files.
65 +# so we can safely silence the warning for this QA check.
66 +QA_WX_LOAD="usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/.*:lib.rmeta"
67 +QA_EXECSTACK="${QA_WX_LOAD}"
68 +
69 # causes double bootstrap
70 RESTRICT="test"
71
72
73 diff --git a/dev-lang/rust/rust-1.55.0.ebuild b/dev-lang/rust/rust-1.55.0.ebuild
74 index 0805c94c1d0..366d1e5149b 100644
75 --- a/dev-lang/rust/rust-1.55.0.ebuild
76 +++ b/dev-lang/rust/rust-1.55.0.ebuild
77 @@ -140,6 +140,12 @@ QA_SONAME="
78 usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
79 "
80
81 +# An rmeta file is custom binary format that contains the metadata for the crate.
82 +# rmeta files do not support linking, since they do not contain compiled object files.
83 +# so we can safely silence the warning for this QA check.
84 +QA_WX_LOAD="usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/.*:lib.rmeta"
85 +QA_EXECSTACK="${QA_WX_LOAD}"
86 +
87 # causes double bootstrap
88 RESTRICT="test"