Gentoo Archives: gentoo-commits

From: Mikhail Pukhlikov <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/rust:master commit in: virtual/rust/, dev-lang/rust/files/, dev-lang/rust/
Date: Fri, 05 Jun 2020 09:55:08
Message-Id: 1591350892.5f1f98207d8246af6b6caf60c74655126d153326.cynede@gentoo
1 commit: 5f1f98207d8246af6b6caf60c74655126d153326
2 Author: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 5 09:54:33 2020 +0000
4 Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 5 09:54:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/rust.git/commit/?id=5f1f9820
7
8 Update rust
9
10 Signed-off-by: Mikhail Pukhlikov <cynede <AT> gentoo.org>
11
12 dev-lang/rust/Manifest | 10 +++---
13 dev-lang/rust/files/1.40.0-add-soname.patch | 36 ----------------------
14 ...-1.43.1-r666.ebuild => rust-1.44.0-r666.ebuild} | 4 ---
15 ...-1.43.1-r666.ebuild => rust-1.44.0-r666.ebuild} | 0
16 4 files changed, 5 insertions(+), 45 deletions(-)
17
18 diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest
19 index be7b641..3661c3b 100644
20 --- a/dev-lang/rust/Manifest
21 +++ b/dev-lang/rust/Manifest
22 @@ -1,5 +1,5 @@
23 -DIST rust-1.42.0-aarch64-unknown-linux-gnu.tar.xz 99903344 SHA256 b30833fd98b3d2a5886e93473e100c32a319d741a305eda67ea5fc24c85e5f9a SHA512 691a11e279efdcafa6bdafacb7fb48ccf653e180e0e85909b6031105a297d47538efb36d63216f6185427f818483a51aa827f351ca2123840d72caf60079fe13 WHIRLPOOL 71564bceace714171be84863ec9a39f74e997b230643cd18ffe88266745e971b21135e923a11d7674b48c7055b653f80d37b5b5a3cb49f59099d5599e9deb79b
24 -DIST rust-1.42.0-armv7-unknown-linux-gnueabihf.tar.xz 105021972 SHA256 90e2deb1597940250b2c6e6fc8bd7f4d8a8893f7f2a7f709917885247ae1c084 SHA512 26768ec530506e20fed8f9ef2c1ca85eec155fc90949f2063836b6109b296a976c8430a698971a8b1c11e8f6ad043d854a36e9f0e849417178411dc5cbd30e59 WHIRLPOOL 4701daa0a15feb5146fa33f0cda0d0fb6d0a71cdc37e8e2d9443e07228ca1beb38f86389be49ebedf1060535da750c56c9ad02b3b0bd7e57d92fbf537cb99dea
25 -DIST rust-1.42.0-i686-unknown-linux-gnu.tar.xz 124258356 SHA256 a162c97398e5d42e47cd8c49b86ae8092a4f5d3bbc063895edf895c1c80de080 SHA512 7376be5abed573bbf68f73ed5609fa8e22dfa3ead19a3f3d78d553347e3ae01604ab9906f5317f1687a8ab3f9ad9c38cde44ef6f56d7da65a788a74aee9df057 WHIRLPOOL d28565a0f3eae0e1d524e3052da55637d2a4952f6c182a3474287a6026c090d50793457cfee6809134e346bc2d59e7d806785eee71e294140c47f7adf73fb03c
26 -DIST rust-1.42.0-x86_64-unknown-linux-gnu.tar.xz 110826392 SHA256 8c94fba97589f1548bbd0652ff337169a7e47b4cb08accd9973722fe830c27ff SHA512 87c06d4503e7ba12bd3dfc8dd279a3bdf33a24d2c22eec1378b79b2c17ccdad9b4c8dbd0d4704eae1f3476aec5639d3ba143e8c74a296d631b17b57da7447e70 WHIRLPOOL 28fe9ab632c60e08008fc33994425e0d4c95fc2fbfb0716da33220414330c2977953d600d5b1ad8c63ed3e0685ede90b6daf7aaeeb42c6a74f9b62c5e75f5ece
27 -DIST rustc-1.43.1-src.tar.xz 94405276 SHA256 eb0a103c67c4565403d9e6f84a1c708982a5e9e5b3c0d831e4d6f6451795d106 SHA512 24bb01237b1f3f5412109290bb4406b9742cf8956162f4090a98ed3a59a6e2e8dda399452bec1c93c8afdcf5effd98e4825e7f218238e0e88735c1ff4a5b385f WHIRLPOOL b466844d282381b3ae9668ac39de3f84a44586bbc806010b686ba556a383f4758256d39c63e07fc8002b3a36f01737bdaf3ab2d3bbd9a839dc91392ce00093c6
28 +DIST rust-1.43.0-aarch64-unknown-linux-gnu.tar.xz 103995164 SHA256 5d1bcbf7575be72c4775c89098366158ee87905423342196a6ef0c1b3d3f1140 SHA512 99cc7913d49c58a6a5f5b065afaff58ecf6cb00f5a83b8047944d2bde94eed9a33a7edc88373c52a371bad4f1b5f8d8742ac22ac9c05911223e76f13ffece70a WHIRLPOOL f87deb5a05d9d15c4e732d7cb32e4ec88c39b6391ded1068e70cdd885374c15ff475a9d9da11aab8b8c3a78a0141051f8530efaea46fe30a5570d8df296abe14
29 +DIST rust-1.43.0-armv7-unknown-linux-gnueabihf.tar.xz 108910044 SHA256 6e045d3015949d7240af1ff990ccd59391958a6be5e8bc3baa5210914fa6ebde SHA512 728ed2d12079989f4547b1756e9e5b9fdf551f54626b02141346e8e42df1b2a4039b16131864021ab95b6011084e00e3edc2c072a4917a3a4fde965c0a0e2c15 WHIRLPOOL eb34865419bb1d81b8f2c0c350658232c426439a1ec90edd504399289efb7f32f9e88d44587d1e4ab81bdd4ff7ba370245e6dcb44423d4bbae5b5a0ccf6ab74c
30 +DIST rust-1.43.0-i686-unknown-linux-gnu.tar.xz 126712424 SHA256 871b87937e7dc774a2d0f7788520a215efefb7369b4968fe3811d2cbe8f7244a SHA512 25fa8203874cac4f0c57da77c0ee9d2750b595f43590b666ad609ad1fe85fdc2604658be5fe7059aff6d0d567be0c6ae01e1e9d7fceb22bd602f1548201aa0eb WHIRLPOOL ce3abe85c9f384addff30456dacf219b206a6357d2e3754a446a4df38a8cc1eb97a5ce1ae332c53b952f71eb81f3e51f4ec00853a54502e34fc351eb08b1fa89
31 +DIST rust-1.43.0-x86_64-unknown-linux-gnu.tar.xz 112598556 SHA256 af633676caffaaecfb2600ec617d84e41811e7a6fe438760a97c5404afecdd6b SHA512 3fb0630e76f78565cafa9882d1c09a2bb31d0de145748ba4506d7b6a5ea508c4fb533ac3f60df8335d9c4944ba8f028752441d3c3443e3990fe3cc4e676c1670 WHIRLPOOL fa63625f80ef9e2a368e4f74dc6a82d655c7dd02ebfccc602a47d7787303a489093ee8514d7daf48e2f63cec6fefe432c4b9b06b3e5e0f2145e98682f7520a80
32 +DIST rustc-1.44.0-src.tar.xz 94754392 SHA256 b32fa7d6bd6ff9286aab2aa7ca696d1da921614cefc10f617aef68d9bce9118a SHA512 03d6a2ec4c80eb436b278677080f360912c60aacffb98b79c91d5a79967ef988b2e62ccff9ab26993f852cebd62cdad48e149c4498f6dcdeb3699cbed19790e4 WHIRLPOOL 72fec964cfb93f283b9d5601a32a4e14bf9ae0738495f890e1ae03657abf39adcdeec5ba20361ef44b89a23cc297893547ae42916ee14b0186bc2e64e0f36fbb
33
34 diff --git a/dev-lang/rust/files/1.40.0-add-soname.patch b/dev-lang/rust/files/1.40.0-add-soname.patch
35 deleted file mode 100644
36 index 7a5c018..0000000
37 --- a/dev-lang/rust/files/1.40.0-add-soname.patch
38 +++ /dev/null
39 @@ -1,36 +0,0 @@
40 -Description: Set DT_SONAME when building dylibs
41 - In Rust, library filenames include a version-specific hash to help
42 - the run-time linker find the correct version. Unlike in C/C++, the
43 - compiler looks for all libraries matching a glob that ignores the
44 - hash and reads embedded metadata to work out versions, etc.
45 - .
46 - The upshot is that there is no need for the usual "libfoo.so ->
47 - libfoo-1.2.3.so" symlink common with C/C++ when building with Rust,
48 - and no need to communicate an alternate filename to use at run-time
49 - vs compile time. If linking to a Rust dylib from C/C++ however, a
50 - "libfoo.so -> libfoo-$hash.so" symlink may well be useful and in
51 - this case DT_SONAME=libfoo-$hash.so would be required. More
52 - mundanely, various tools (eg: dpkg-shlibdeps) complain if they don't
53 - find DT_SONAME on shared libraries in public directories.
54 - .
55 - This patch passes -Wl,-soname=$outfile when building dylibs (and
56 - using a GNU linker).
57 -Author: Angus Lees <gus@××××××.org>
58 -Forwarded: no
59 -
60 ---- a/src/librustc_codegen_ssa/back/link.rs
61 -+++ b/src/librustc_codegen_ssa/back/link.rs
62 -@@ -1034,6 +1034,13 @@
63 - cmd.args(&rpath::get_rpath_flags(&mut rpath_config));
64 - }
65 -
66 -+ if (crate_type == config::CrateType::Dylib || crate_type == config::CrateType::Cdylib)
67 -+ && t.options.linker_is_gnu {
68 -+ let filename = String::from(out_filename.file_name().unwrap().to_str().unwrap());
69 -+ let soname = [String::from("-Wl,-soname=") + &filename];
70 -+ cmd.args(&soname);
71 -+ }
72 -+
73 - // Finally add all the linker arguments provided on the command line along
74 - // with any #[link_args] attributes found inside the crate
75 - if let Some(ref args) = sess.opts.cg.link_args {
76
77 diff --git a/dev-lang/rust/rust-1.43.1-r666.ebuild b/dev-lang/rust/rust-1.44.0-r666.ebuild
78 similarity index 99%
79 rename from dev-lang/rust/rust-1.43.1-r666.ebuild
80 rename to dev-lang/rust/rust-1.44.0-r666.ebuild
81 index 982582d..3cbdcf1 100644
82 --- a/dev-lang/rust/rust-1.43.1-r666.ebuild
83 +++ b/dev-lang/rust/rust-1.44.0-r666.ebuild
84 @@ -67,10 +67,6 @@ PDEPEND=""
85
86 REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
87
88 -PATCHES=(
89 - "${FILESDIR}"/1.40.0-add-soname.patch
90 -)
91 -
92 S="${WORKDIR}/${MY_P}-src"
93
94 toml_usex() {
95
96 diff --git a/virtual/rust/rust-1.43.1-r666.ebuild b/virtual/rust/rust-1.44.0-r666.ebuild
97 similarity index 100%
98 rename from virtual/rust/rust-1.43.1-r666.ebuild
99 rename to virtual/rust/rust-1.44.0-r666.ebuild