commit cecde721341485f1dc7ff6b68d36406530d877bd Author: Adrian Schröter Date: Fri Oct 6 12:11:37 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 rust1.72 revision cd39e30bc79f7f04c41076b15dccd808 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/README.suse-maint b/README.suse-maint new file mode 100644 index 0000000..9996d06 --- /dev/null +++ b/README.suse-maint @@ -0,0 +1,96 @@ +# Automatic updating via _service + +Edit the rustX.YY.spec file, and update the variables related with the +version: + +- *version_suffix*: for the new version of Rust, in X.YY format +- *version_current*: for the new version of Rust, in X.YY.Z format +- *version_previous*: for the previous version of Rust, in X.YY.X + format + +Generate the spec files for the different bootstrap compilers. This +will take the version from the main spec file. + + ./update-bootstrap.sh + +After that, we can execute the service file: + + osc service disabledrun + +This will download the new bootstrap compilers and the signature file. + +If `osc` complains about a missing service component, double check +that the components are installed. For example, for Tumbleweed: + + zypper in obs-service-download_files obs-service-refresh_patches + +Finally, update the changelog based on the releases notes: + + https://github.com/rust-lang/rust/blob/master/RELEASES.md + +# Updating to a new version from upstream + +(Original link: https://en.opensuse.org/Rust) + +Branch the rust package in the devel:languages:rust project. + +You'll need to download precompiled binaries for the compiler used for +bootstrapping, and the actual source code for the compiler. In the +"Other Installation Methods" page listed below, note that it shows +links to .tar.gz packages and their .tar.gz.asc GPG signatures, but +.tar.xz versions are also available. + +*Binaries for bootstrapping* - Go to the "Other Installation Methods" +page from rust-lang.org and scroll down to the "Standalone installers" +section. Download the following: + +- rust--aarch64-unknown-linux-gnu.tar.xz +- rust--armv7-unknown-linux-gnueabihf.tar.xz +- rust--i686-unknown-linux-gnu.tar.xz +- rust--powerpc64le-unknown-linux-gnu.tar.xz +- rust--powerpc64-unknown-linux-gnu.tar.xz +- rust--s390x-unknown-linux-gnu.tar.xz +- rust--x86_64-unknown-linux-gnu.tar.xz + +*Compiler source code* - From the same page, but now in the "Source +code" section, download this: + + rustc--src.tar.xz + +Update those files in the source RPM. Check that all the patches still +apply. + +Update the version number in rust.spec. + +Add the release notes to rust.changes. + +# Running the tests locally + +The tests are executed outside the main package using the _multibuild +feature of OBS. This is convenient for several reasons: + +* We force the installation of the new rustc / cargo in the system + +* All the test / bootstrabs and utilities are compiled using the new + compiler, and not the one used to generate the initial Rust + compiler. + +* A test fail do not block the release. Upstream tests can be + affected by some environment application, and there is some delay + for the fix. + +The tests can be run with: + + osc build -M test + +This will install the Rust compiler from OBS, so is a good idea that +we have them available. + +If some test fail, we can enter the chroot to debug it: + + osc shell + +There is more information about the test infrastructure here: + + https://rustc-dev-guide.rust-lang.org/tests/intro.html + diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..ec8891c --- /dev/null +++ b/_constraints @@ -0,0 +1,27 @@ + + + + + + 6 + + 4 + + + + 30 + + + + + + + aarch64 + + + + 12 + + + + diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..83bd4e9 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/_service b/_service new file mode 100644 index 0000000..cf6920d --- /dev/null +++ b/_service @@ -0,0 +1,9 @@ + + + enable + + + enable + enable + + diff --git a/ignore-Wstring-conversion.patch b/ignore-Wstring-conversion.patch new file mode 100644 index 0000000..7cf2810 --- /dev/null +++ b/ignore-Wstring-conversion.patch @@ -0,0 +1,17 @@ +Index: rustc-1.51.0-src/compiler/rustc_llvm/build.rs +=================================================================== +--- rustc-1.51.0-src.orig/compiler/rustc_llvm/build.rs ++++ rustc-1.51.0-src/compiler/rustc_llvm/build.rs +@@ -154,6 +154,12 @@ fn main() { + continue; + } + ++ // hack to avoid flag on openSUSE which is incompatible with GCC ++ if flag.starts_with("-W") && flag.contains("string-conversion") { ++ continue; ++ } ++ ++ + cfg.flag(flag); + } + diff --git a/rust-1.72.0-aarch64-unknown-linux-gnu.tar.xz b/rust-1.72.0-aarch64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..25ad688 --- /dev/null +++ b/rust-1.72.0-aarch64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4632212f61c6adcb8ba64aa3020bf94199537161e6a594fe6466669a85dd5567 +size 212153292 diff --git a/rust-1.72.0-aarch64-unknown-linux-gnu.tar.xz.asc b/rust-1.72.0-aarch64-unknown-linux-gnu.tar.xz.asc new file mode 100644 index 0000000..e8ebbe2 --- /dev/null +++ b/rust-1.72.0-aarch64-unknown-linux-gnu.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mxCRCFq5bm+hvl/gAAad8P/2KDD6m+FU/QGbFsjoBzN8jB +vF5Huv+UvSvJlX20iJODbemd+dKi+UgAriz0WZDBPuGrggjwP9gf5Ox7iKhxeaUN +UZ0Y74Hcm1RVZVsPYpTluDFbe6DC/Bz52nICUkak1BL2ywSOTzu4gTOeupxBtqVL +2FnlYjNQ/Vs5vGhNsIveFghqIXHn9jIL5lpsOi8pPzpmabwtL8uzBDGF5lLZlMTg +hWYnogqydrcqAKsgg6T3EHaKDSBI1is9YE0bkyoUzMMU7lnkXjxYE9UDEhey2205 +zj89EZvBw3+8dsdmv7cxoev19BWfJFrK/8F5ml6+4mV+DrpHZXEz/9nRNov0Enn4 +HEbeICJHVQhWRtg4ggiVsewYlnUbJNRLzXWpxY6LtIK3LavWQWNHHwXuKj0LeKkR +bBNT56SJ3V+VZthel17XkYPmtVNqgqYl/jl2p+ZFfmyPaBoFZ8IjaNhinDelDFw1 +7ByQaIn+ecQ4X1CoGLlizLG33SyMX81j5JUtMZW/jWsG9NbQWH2BOVBTqEnTnlEX +9Np4sZcv1HZeoqCCiU0bRntpyEHIf+ZJ7RnGDenpqRAOWbJOXK58/QV1Hlkg7ikI +nLGOVLDAS4uphih8p5sLEHrYHO4irStrWO9PLdOGuSgD6E0hCRf7LOKZHYfVJ1Jq +CCRjGj6EVF3TYxpiORpb +=gtKf +-----END PGP SIGNATURE----- diff --git a/rust-1.72.0-arm-unknown-linux-gnueabihf.tar.xz b/rust-1.72.0-arm-unknown-linux-gnueabihf.tar.xz new file mode 100644 index 0000000..1381a38 --- /dev/null +++ b/rust-1.72.0-arm-unknown-linux-gnueabihf.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69b878e2a25a495d0e07422a2c3c0abbaf2bb555863b03b7e37e1629756244b0 +size 176030324 diff --git a/rust-1.72.0-arm-unknown-linux-gnueabihf.tar.xz.asc b/rust-1.72.0-arm-unknown-linux-gnueabihf.tar.xz.asc new file mode 100644 index 0000000..b95d4cf --- /dev/null +++ b/rust-1.72.0-arm-unknown-linux-gnueabihf.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mxCRCFq5bm+hvl/gAA9Q8P/j6eFbtrZl5+Zw0fKR1NCLSQ +Jp9rquQCq50OuNLw1L9fe+dXzVv0BrJYsq59Yu8zDXWh4VBbsN8OpJTduZK/9Fh0 +kHh3unQWLJ1/vUCXs4hdUMcYX3+VBCfiHrkxuhcuiQK3jNodE2guFFTCQjUfAF9t +0cwRZOzafk6ObxCoEBl7pe0WGR+9kMPo/rERBPUkNG7Q347l7slSXshBVSJ2FBO8 +R/XxQAMu+JxDMXE+vAGLU/wm/sp/q3ayQIgEl0x9S0syAhjcacvI6AsoKZAuExgi +KOHvKlDi0/pKguM7tQ5ZcZywOSMT9OfTzCzNJ5CzsQ0rER4/uy7oyA8QSsegPAlu +8w0JpZp5kmkyEb96ENkBjHc12uld/f9fAxud2RFNkJKdHu0flLw4pnmGAIyRLtbR +yVebb4ySKeO/HlP8nG7MjlbzUmsvNPslVsuqp8DlkbQpoEcQGuq0hPr0M1Tl4ptI +plvkD+sn8FeoKLDYqjE944prWA06aKwLDjYDLheBrv/16LaMFANNgDOhuPs49z8s +vfKJbg0xJDlbWxAYs7GN8/wr744Lgp5gUS2tw0tHw3E1UeZ2UR3CTOG/5CQp982E +EhykCeGE7vyiBPYcSX0spury7iVijDkVBJbKBrERcBVb0k4hT1eIQUSen3lrcKML +JsqIpxIhBULcLT4yGc2M +=CrPv +-----END PGP SIGNATURE----- diff --git a/rust-1.72.0-armv7-unknown-linux-gnueabihf.tar.xz b/rust-1.72.0-armv7-unknown-linux-gnueabihf.tar.xz new file mode 100644 index 0000000..ef2636a --- /dev/null +++ b/rust-1.72.0-armv7-unknown-linux-gnueabihf.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:579e6ae9d2fb5a25d6c319a622e90996aad3a9161641a6a43f8363962dd34614 +size 180272644 diff --git a/rust-1.72.0-armv7-unknown-linux-gnueabihf.tar.xz.asc b/rust-1.72.0-armv7-unknown-linux-gnueabihf.tar.xz.asc new file mode 100644 index 0000000..321f738 --- /dev/null +++ b/rust-1.72.0-armv7-unknown-linux-gnueabihf.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mvCRCFq5bm+hvl/gAAv6EQAJFfOceQaP1JyF2kQOdLs16j ++HdKyExrKFftsO4oTsiDeZckl8N58LdVN7ymFg3JK8ZGZD0SDHj8S/6uzCh+55Te +3enWMkDAkXSSinQxfJ7BCGzkC9c5WAfFjGE+oW9UWzcKNoP3lYOg0sz4rHz25Hv4 +0ThDVIzyspm/CcQxc0v3H7O57tVzrTHvSRMnaLAQKPlWcLmlAOrRDw+a9+jjH9e8 +lQSB64IDBnfaqkdo9D0OQOSVHqnc1tUYYrzxuRmdp8MIoUkvhnZlqD4aaeS5296n +4txKad+3zWtdv1WR2vfbe2NCw7DWk+6EZCyxnPxVAtVfiPUcaxASo8f86s8D6DM3 +GhGc2z3tke3eA16f2s9ka6FlOynQfNO8QJM7o/XyyetXiYyBuIpAnEn87oh3DU+3 +dBvXWRmHEEGupbnL6n2Y4G2TSGff6Mzrt9tH2xvxWtRV2zCVcDiBbfg+NyEfRa1b +QtvqLxegMVGzK6+0MWHPGKfwrw9IGADZPAB8VqKt2+pto0xkk3gtStbdo7NIV6Cy +IQF+yhNWMhtjulTudb60nycFHRp1QcHOhR66uWHygef/VzA3HxPiZ74H+rB6Bq35 +OqUix1MyCLYvkDQ3m9h7FMEHmysSvIus3PYFS/HI55DYHo+AIEUfSZ42UvUq9M5T +lxGjCale9bN0RKavtX1s +=aDA8 +-----END PGP SIGNATURE----- diff --git a/rust-1.72.0-i686-unknown-linux-gnu.tar.xz b/rust-1.72.0-i686-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..a2ca024 --- /dev/null +++ b/rust-1.72.0-i686-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcec58037a1edd04559a5b29158fef7dede1c698fdab8579cfc8bfa6a65afdc2 +size 203434692 diff --git a/rust-1.72.0-i686-unknown-linux-gnu.tar.xz.asc b/rust-1.72.0-i686-unknown-linux-gnu.tar.xz.asc new file mode 100644 index 0000000..8252383 --- /dev/null +++ b/rust-1.72.0-i686-unknown-linux-gnu.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mvCRCFq5bm+hvl/gAAH7cQAIvirr2IRF8/+MRxFcJN44C2 +tn/qJVu6Xjaa2pGtFZJCx67ixmvOh5iaUR2jc6dxqXwLOh5eXPolwya5pGwWn5a/ +4+rydS1CSdCTEvpsnHc71ZDLpRkoHHbYRMLPudjmZ4K68ZvR1y9lqF70UsbFSGE1 +49tJxL2w4Bwl0GLeZTm3q+v4+p66EGiAWr3HWmKgcBgUBeDAScFLykWbNoMgiXNR +utJCTWk0ysPxDEjRPQQaKkR6/Zq5j7zYFI0Z+a5xPYVSvLHvqIRA8X1nsOHjzEXL +Bzud8/8JuUqHU2xKdbOzCp3l8moiWUlJIXIKHeLFReR8rw/4NVC0W49HhGVuRIkE +NbIWw+4sL+MYfgocKcgSDK/Q9ezk859kSznrmnnEOV7GtkSTaS5EzYo68SP0n9L+ +vk3SfTjO/EjiTFXY/0P0RwK5tGPjWvrp/3zwQ6c5Fak2nZxHCk153AGfPZKnGp0O +wbKQzyQLvxrG7wCGLXweQms2O8scobmKjxWjQqhcX1qH47ZfsNX0P+bLiZLcbFyZ +cgFHxd+4QJZG1M32U8aN70i510Q0x7NohW37/IG1Bhnf3gzs4uRueWDPBylWOAmp +be5ZCzT0bkShK9e7cqMl/1pHe0WGn4sl0ioLWL3O2GlQfycDc7GHr3rLPVXpjhd1 +fgdE6lBJacn/P1aY0ZFU +=yQRT +-----END PGP SIGNATURE----- diff --git a/rust-1.72.0-powerpc-unknown-linux-gnu.tar.xz b/rust-1.72.0-powerpc-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..236729a --- /dev/null +++ b/rust-1.72.0-powerpc-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca224a0d3b337f02cf5356bdfe9f91c745797413c6c17161483d63915dfb40ae +size 175099316 diff --git a/rust-1.72.0-powerpc-unknown-linux-gnu.tar.xz.asc b/rust-1.72.0-powerpc-unknown-linux-gnu.tar.xz.asc new file mode 100644 index 0000000..840bacd --- /dev/null +++ b/rust-1.72.0-powerpc-unknown-linux-gnu.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mvCRCFq5bm+hvl/gAATaQQANKZXfXkH6ChvfBMYIpAsNlR +o2AlCRQI8aa33eF5FHZ7CphHwGupu7nPI+SPXHrQB2iVoR240nrgOyGMmJgvKM3F +PYshQlMnHYHOND3ZOuS4AHwkA8ldBssVuyO6OP+dSnddQNq4gqNtdpv3OM/60YMJ +wy4CxHUWJuPi0iFhwCLkwbKFb5I8VcwRLnJqqDK9A785lVurWu00SzxlffDVxgYS +vnmI0u2d92jzX6yF1w7/O/S0qHAUjhGBZbMjrRIsaQl3Z4y0fzFVwU00svAXhmqb +jGwkIrSEMsLO1G8/aYOgpZYj85EU0cz6CHChr2WLo5HGs25FJS2smxpSM0dWjPZ2 +Kesn0ZRTgNIRjbI8jxeiXOruf59t2+wuIPFHib8MGSDMaHZMv1xk/I+jfvRNvzoj +q1AqmikwSqwoEjQTIchdO4igdj8jzPEURqujeoN+CkDAthtm0nLnJNK62dnP01c0 +oKBZSLE3b53uy2v7p2cL0vAPgASaumCIAU6TO+koWHAlwoccyDDKh/cBxOQl8MvT +7uKsW0rWnhOIQVh1rbAUbnhXyHLwXWj9V/hXSDmmO6zGAftIDzKX+DEJBwSZEW7z +q4ZVDl6vtXsspwnFXibd5ZgIxz/ip7CvzKsFs8hrdqQ1SeDOJHIYAjEaglal96IC +KkQ9pNYldBJ0f9U8g8CU +=AKD5 +-----END PGP SIGNATURE----- diff --git a/rust-1.72.0-powerpc64-unknown-linux-gnu.tar.xz b/rust-1.72.0-powerpc64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..b315b12 --- /dev/null +++ b/rust-1.72.0-powerpc64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6b81d41e8dd55d173505864f62f0cf1f17f1372227eaed250eb63e0135fd68a +size 174927468 diff --git a/rust-1.72.0-powerpc64-unknown-linux-gnu.tar.xz.asc b/rust-1.72.0-powerpc64-unknown-linux-gnu.tar.xz.asc new file mode 100644 index 0000000..3fe7216 --- /dev/null +++ b/rust-1.72.0-powerpc64-unknown-linux-gnu.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mvCRCFq5bm+hvl/gAAMzgQALW6kSmufcGOgtK53iiQ0idG +vJSLfBqLTcYjPzRESj/IiqB5Bb6SFJf9TzybjQHzozN1+MGU4+aft5jwlhRIvMw7 +oH/3SHliEot7PeD864bemopna4lJXZn/MRpme/oKtu1Kr4AzrWwrNJ4jK7wdFpx3 +TwUweG9zelzZwaALKA/jeqZrYVEAAin8yhVjI+3eE0wBzQLpcAGzIAWtD2q9ZACz +MN79h7c8GroLZ3kkXcDnaQNQYWO46DArxzs4KpTu/P1dpOl98sQuXU/ydnisNKRp +oI2mmalpN+J0s2GwNrg43kAPW9TAFusSgFYQIEnjIU5hT4ZiW/ylLua47+3/NpJS +acI8mm5Cw8HLdWPLP66ZS9rCc3J7w1m9V4YwU+9PaWivGV/i+oe68mtUiz/uE+s4 +Lyg+A5kTtl7x8ZGrqV52Ieac9aw5XjDzPBV2EXPIPsYtPO/PpaiUtwQJyL05I0tU +bRTksgvNyB4xKgFHy/ahho4rPxoOP2Mrfk9ctFGx9+/Ym/25QkAZ1OCAOCu46dDA +qtV9qy3wRdvqZzx9ap+ehmI1Oxi59M4B6Wqk3d5bCaA1AwNZxR7XpUfd7IhjkL8q +pZlteg0WtBB0fRvLaVWEy59vrERI3CvJowBob+zksYhu2Pz+KF4poStdhGmA53Uo +TrU4rVdsHpjG3+0putX5 +=GFT3 +-----END PGP SIGNATURE----- diff --git a/rust-1.72.0-powerpc64le-unknown-linux-gnu.tar.xz b/rust-1.72.0-powerpc64le-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..8a97035 --- /dev/null +++ b/rust-1.72.0-powerpc64le-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b0c383c32458ca0a4fd1288452fb5065083304425e92ee1d536c221dcd07b1d +size 185829712 diff --git a/rust-1.72.0-powerpc64le-unknown-linux-gnu.tar.xz.asc b/rust-1.72.0-powerpc64le-unknown-linux-gnu.tar.xz.asc new file mode 100644 index 0000000..56bb586 --- /dev/null +++ b/rust-1.72.0-powerpc64le-unknown-linux-gnu.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mvCRCFq5bm+hvl/gAAOKAQAK+E8ndOHiAje+q36BAh5dEk +Ri3up6cAxOml2BYJQ3h+f2Ef7SmhtD7l2qQOlXwNHqaUcX4VRiZaaraiU/JJ5Vb9 +SCGoavbE2dfpe1DrYrQoVEsmXMTZYes3G71qanPuRKsyYh9xXmLAtGFjiuUcMwmT +cOVE+DIibl2ZPcg6FOga97Igh+r0ZDdy3E3GOSWep9sv0WurQasRz6W4nPgaflGm +UIw6ZcvVjNgOwpPTB/VoEPhWO+YDv9SHTbPDRklbkzUy6R1MrJVIsVkMJWy2fs3b +l0TqNgbzJpDaM5rmWw8ff1z6zID1/De/9DkimpgqxuPt0s1IQl58/jWzjPeBss3e +4oGXaX4Hiahmw2NxvfzCGArJlMQ88zNY9FVbcF5hn1ODzcIyqBw98cPhkXidfTx/ +CrL2u7c+bWWgcRWphLa2JfApdrDwvaJg6GBzKavijTVGmxILkGM1wWb6T42NUGtz +Qzm/lmZwrCX6fXBnmUg1T7bcptBaWq6ZmOm2STYrB7wbSdd25803ObYtNO+M+ruP +PVWs10mRcnvX7CldwGPlXVG4QgWyrGS100K70G6GqGMMmye5zWxNsHRJdzUItGLo +HNeGrHLzqfoLT3sD0T7orlEZmvT5lf7D7OLz5b39zMcPVa6/ygS7XvbZulJtI5+a +nyQreZ3/ohgoyRoALW3S +=2KaH +-----END PGP SIGNATURE----- diff --git a/rust-1.72.0-riscv64gc-unknown-linux-gnu.tar.xz b/rust-1.72.0-riscv64gc-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..5f7bbf6 --- /dev/null +++ b/rust-1.72.0-riscv64gc-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0cc4e2e607a9ef160e136f51d265d593bdba8d698fa53367f9167fa2d5ff9c3 +size 167275368 diff --git a/rust-1.72.0-riscv64gc-unknown-linux-gnu.tar.xz.asc b/rust-1.72.0-riscv64gc-unknown-linux-gnu.tar.xz.asc new file mode 100644 index 0000000..978dbfb --- /dev/null +++ b/rust-1.72.0-riscv64gc-unknown-linux-gnu.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mwCRCFq5bm+hvl/gAAvggP/3fXlz+KRPb+GkS6Si8AG9uA +Q2USFxHVY4L6gpgAdWu6cD52+rzJkMySo45dqYMroqGoXwAVEZK50N8sfURQTlHG +2ZnNu594rbG3b2J493D58B48ED09ouLwvyqzC/wY5nghWCxzwUmd34ZgPbvRGs+y +UjzgAgEPJvH04qe2MSmNfXHZiOiisBXN9FXnhhArbjgPx5Tynf19vaSAgunlCiVj +gZSTJlleojy+BIvyPUbHmwajD40Z79JVLnoU35e5y+/0n07KduMyNE4bqikXqCH7 +uhay7i1fEBC68ZbytlMgUaYsgw1OjPNShmMVmhuIzXv2za3VU27h3/uPooGwepPO +rHLxlDcZMwGO4ziyiATiax1M7MKACRlCahF51Fb7CqmHKmLqv4NKcLjAiTiyZVLB +fiC3b9oelafR2XN47OsDVEK3pEy3wqGVE5tMoQwEioZ8RoYBmq7kfikiN4HycTjp +UuESJWlWM0hJ/GOSUflrkhRxMsbdrh+TVSYBbzvk/CL+u6/Ljt1V1qQhdJAMZKM3 +8vHr0rOshSD5SjQrbv7sAOcVgTs61cS3kWDlE82qlAOq48YPfwPOUtZ1vLHQxd/U +nndyglk2GfEikwpOeUXnn3r0s8poqpy+I9mslLMRbYbCEY8+DMXeX1NTrHeuaVsL +/GbI/wZKvMjNwFCWfhzN +=53jT +-----END PGP SIGNATURE----- diff --git a/rust-1.72.0-s390x-unknown-linux-gnu.tar.xz b/rust-1.72.0-s390x-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..5043538 --- /dev/null +++ b/rust-1.72.0-s390x-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a102994b66c98c502abc574a34a2216afff019217de8a6daed28ec4309d041ed +size 197718192 diff --git a/rust-1.72.0-s390x-unknown-linux-gnu.tar.xz.asc b/rust-1.72.0-s390x-unknown-linux-gnu.tar.xz.asc new file mode 100644 index 0000000..9311d8d --- /dev/null +++ b/rust-1.72.0-s390x-unknown-linux-gnu.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mxCRCFq5bm+hvl/gAAvAkP/0EZirpwywQ6ItUEQri+IZwX +2zpqi+LWhLbGqyyWGYAlG6v3kucmBPiThsZs2lSRFKs8mV1hAlLXgmiEFQey1PLF +Ow/SXT1irMBIAouLLB8R45UcKP59+N7udUUevR/cMCSL0erhQLGQpCNxPL0eMqlh +8MczGE8lUK+/ZU/3TtQEo0RQ3MzltNqFLWmTfj4mHUK7p/TVJe794tqr13r0BOYN +p/kpq3zSYIkwAE7eKhchVU2gSyB2bZTCfmI5/86MHwnFq9a9vT/Hjf9rvyxgHwx2 +pvmk6bxfflFtqN4vVmcLEMuo/vYtczmGbe579wczeF8l1nv4kOqXzgrvQriE9ybP +G3sF1DCfthVrFOwR+MJGjI3WoK9UMjOZXdPGN48grnMgNEkPF76nrrOZFS3ot+gZ +06mZ/RN11qH2HOzx84t8eJ8vfOrwsUymulD1D+XYjwN+1WKhn/pXtIdpu2xwS5rW +4JlcSZxIn2iMEi2ioa8Rk/9Mn15F04iT+adx6YgXJyLn8TKoVYOBUK+4DYPU65Bk +tud2mzFujc9fJuiprQV/lK/pEeJ42Vbe2wVMoaITikj3MTejoOJfowPluvc8fYbY +3W2xyoULf4xj3e1nfs/FHyMhvDg+5NMWv5YokyxQRB4YGF62+Cdk7fFuiUrSr//G +AkKBYPB+06czy9oohgVD +=16Be +-----END PGP SIGNATURE----- diff --git a/rust-1.72.0-x86_64-unknown-linux-gnu.tar.xz b/rust-1.72.0-x86_64-unknown-linux-gnu.tar.xz new file mode 100644 index 0000000..40d173b --- /dev/null +++ b/rust-1.72.0-x86_64-unknown-linux-gnu.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ccad01853420f5975c2f5819d3dfe29320fc7832dc18471c750d43072e14abb +size 163402880 diff --git a/rust-1.72.0-x86_64-unknown-linux-gnu.tar.xz.asc b/rust-1.72.0-x86_64-unknown-linux-gnu.tar.xz.asc new file mode 100644 index 0000000..1938891 --- /dev/null +++ b/rust-1.72.0-x86_64-unknown-linux-gnu.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +wsFcBAABCgAQBQJk51mxCRCFq5bm+hvl/gAAfAkP/i2OTts4tBJgKasdEf9D+WwS +HqAbbcXDRoDpo93VLdYXMcfUfkAGUWTY5bhTSxZFRcgPXCwzjqDIVjp+dSmtMkmP +c1MXWTIwd5sdttXZJSQOf6SN37VsgityOTrnu43/pLN4NvbDJqFVcMoCEXmKobvo +l2aq8L6JkD4oBkSW+q5RXkpJhYZTWUCDLwBYOgcsoraqW2ZlN1sfRNx+QUNOt4rT +u7snzP3rkZ5eVTaJKQeVjNuJAm2Zb5+kO/86hQLelMpkMbXTdsvZyLsAh3KiNCjc ++7ZjwTMuKp3z5ptYPjs1YCe6lH3BWSdEhTyN56u6H0AdhVMeSYvvWaP5EupeLiOC +v+nN2B/CWcGaVOhxn99qDcT2YqOnjJWPSe1F7zj+hbiSOHJjUqqECRuURwlEmEmu +LatrgtllxvPvK66dMhXRXzv3oHKFnX5gRLiHcZXb4+PZnLGr65miQ+XVwgHNP6pV +g4FiGBuYN+RLMkcAsfsIqkMHcLR/1cEfuR27FMMdq4N8fEBg3nNqMdjMWyquVtnD +Ozv3TzJF2suY8T3jb9sSCRfFAWYzX8JIJVeoUYBx92i3VL7LYLuLUtyq3VZm7vPy +VrnyN1xKD6fLuz7jJDnPaVe+6JcANh3DjDVJ0PdG9ORXvEUt2NJJEpxAmqfADhq1 +GYd0kslu/E+qs5YipEdF +=Puta +-----END PGP SIGNATURE----- diff --git a/rust.keyring b/rust.keyring new file mode 100644 index 0000000..678f146 --- /dev/null +++ b/rust.keyring @@ -0,0 +1,85 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFJEwMkBEADlPACa2K7reD4x5zd8afKx75QYKmxqZwywRbgeICeD4bKiQoJZ +dUjmn1LgrGaXuBMKXJQhyA34e/1YZel/8et+HPE5XpljBfNYXWbVocE1UMUTnFU9 +CKXa4AhJ33f7we2/QmNRMUifw5adPwGMg4D8cDKXk02NdnqQlmFByv0vSaArR5kn +gZKnLY6o0zZ9Buyy761Im/ShXqv4ATUgYiFc48z33G4j+BDmn0ryGr1aFdP58tHp +gjWtLZs0iWeFNRDYDje6ODyu/MjOyuAWb2pYDH47Xu7XedMZzenH2TLM9yt/hyOV +xReDPhvoGkaO8xqHioJMoPQi1gBjuBeewmFyTSPS4deASukhCFOcTsw/enzJagiS +ZAq6Imehduke+peAL1z4PuRmzDPO2LPhVS7CDXtuKAYqUV2YakTq8MZUempVhw5n +LqVaJ5/XiyOcv405PnkT25eIVVVghxAgyz6bOU/UMjGQYlkUxI7YZ9tdreLlFyPR +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+U6exbtrZfE5kM9pZzRG7ZY83CXpYWMpkyVXNWmf9JcIWWBrXvJm +Mi0FDvtgg3Pt1tnoxqdilk6yhieFc8LqBn6CZgFUBk0tNSaWk3PsN0N6Ut8VXY6s +ai7MJ0Gih1gE1xadWj2zfZ9sLGyt2jZ6wK++U881YeXAryaGKJ8sIs182hwQb4qN +7eiUHzLtIh8oVBHo8Q4BJSat88E5/gOD6IQIpxc42iRLT+oNZw1hdwNyPOT1GMkk +n86l3o7klwmQUWCPm6vl1aHp3omo+GHC63PpNFO5RncJIlo3aBKKmoE5lDSMGE8K +Fso5awTo9z9QnVPkRsk6qeBYit9xE3x3S+iwjcSg0nieaAkc0N00nc9V9jfPvt4z +/5A5vjHh+NhFwH5h2vBJVPdsz6k= +=jRHo +-----END PGP PUBLIC KEY BLOCK----- diff --git a/rust1.72-rpmlintrc b/rust1.72-rpmlintrc new file mode 100644 index 0000000..9cdbf41 --- /dev/null +++ b/rust1.72-rpmlintrc @@ -0,0 +1,30 @@ +# we are exporting the buildroot, not changing it, this lint is wrong. +addFilter("rpm-buildroot-usage") + +# rlib not in elf format +# addFilter("binaryinfo-readelf-failed.*/usr/lib/rustlib/.*rlib") + +# rust has no stable ABI as of yet, soname is of no use yet +addFilter("no-soname.*/usr/lib/rustlib/.*") +addFilter("no-soname.*/usr/lib/lib*") + +# error when building with bootstrap. ignore for now +# addFilter(".*shlib-policy-name-error.*libLLVM-11.*") + +# Rustc driver calls exit, this is fine +# addFilter(".*shared-lib-calls-exit.*/usr/lib/librustc_driver.*") +# addFilter("potential-bashisms.*/usr/bin/rust-lldb") +# addFilter("position-independent-executable-suggested.*/usr/bin/rust-llvm-dwp") + +addFilter("non-devel-file-in-devel-package /usr/lib/.*so") +# addFilter("non-devel-file-in-devel-package /usr/lib/rustlib/.*") + +## Sssshhh warnings, we know. This is intentional so that linking +# works properly during users build times. +addFilter("devel-dependency glibc-devel") + +# Can't read wasm files, that's okay. +addFilter("readelf-failed /usr/lib/rustlib/wasm32-wasi/lib/self-contained/libc.a") + +# We know, it's okay. +addFilter("obsolete-not-provided .*") diff --git a/rust1.72.changes b/rust1.72.changes new file mode 100644 index 0000000..ba4e6f1 --- /dev/null +++ b/rust1.72.changes @@ -0,0 +1,96 @@ +------------------------------------------------------------------- +Sun Aug 27 23:08:15 UTC 2023 - William Brown + +- bsc#1214689 - CVE-2023-40030 - fix minor non-exploited issue in cargo + build timings that may allow xss from dependencies. + +Version 1.72.0 (2023-08-24) +========================== + +Language +-------- + +- [Replace const eval limit by a lint and add an exponential backoff warning](https://github.com/rust-lang/rust/pull/103877/) +- [expand: Change how `#![cfg(FALSE)]` behaves on crate root](https://github.com/rust-lang/rust/pull/110141/) +- [Stabilize inline asm for LoongArch64](https://github.com/rust-lang/rust/pull/111235/) +- [Uplift `clippy::undropped_manually_drops` lint](https://github.com/rust-lang/rust/pull/111530/) +- [Uplift `clippy::invalid_utf8_in_unchecked` lint](https://github.com/rust-lang/rust/pull/111543/) +- [Uplift `clippy::cast_ref_to_mut` lint](https://github.com/rust-lang/rust/pull/111567/) +- [Uplift `clippy::cmp_nan` lint](https://github.com/rust-lang/rust/pull/111818/) +- [resolve: Remove artificial import ambiguity errors](https://github.com/rust-lang/rust/pull/112086/) +- [Don't require associated types with Self: Sized bounds in `dyn Trait` objects](https://github.com/rust-lang/rust/pull/112319/) + +Compiler +-------- + +- [Remember names of `cfg`-ed out items to mention them in diagnostics](https://github.com/rust-lang/rust/pull/109005/) +- [Support for native WASM exceptions](https://github.com/rust-lang/rust/pull/111322/) +- [Add support for NetBSD/aarch64-be (big-endian arm64).](https://github.com/rust-lang/rust/pull/111326/) +- [Write to stdout if `-` is given as output file](https://github.com/rust-lang/rust/pull/111626/) +- [Force all native libraries to be statically linked when linking a static binary](https://github.com/rust-lang/rust/pull/111698/) +- [Add Tier 3 support for `loongarch64-unknown-none*`](https://github.com/rust-lang/rust/pull/112310/) +- [Prevent `.eh_frame` from being emitted for `-C panic=abort`](https://github.com/rust-lang/rust/pull/112403/) +- [Support 128-bit enum variant in debuginfo codegen](https://github.com/rust-lang/rust/pull/112474/) +- [compiler: update solaris/illumos to enable tsan support.](https://github.com/rust-lang/rust/pull/112039/) + +Refer to Rust's [platform support page][platform-support-doc] +for more information on Rust's tiered platform support. + +Libraries +--------- + +- [Document memory orderings of `thread::{park, unpark}`](https://github.com/rust-lang/rust/pull/99587/) +- [io: soften ‘at most one write attempt’ requirement in io::Write::write](https://github.com/rust-lang/rust/pull/107200/) +- [Specify behavior of HashSet::insert](https://github.com/rust-lang/rust/pull/107619/) +- [Relax implicit `T: Sized` bounds on `BufReader`, `BufWriter` and `LineWriter`](https://github.com/rust-lang/rust/pull/111074/) +- [Update runtime guarantee for `select_nth_unstable`](https://github.com/rust-lang/rust/pull/111974/) +- [Return `Ok` on kill if process has already exited](https://github.com/rust-lang/rust/pull/112594/) +- [Implement PartialOrd for `Vec`s over different allocators](https://github.com/rust-lang/rust/pull/112632/) +- [Use 128 bits for TypeId hash](https://github.com/rust-lang/rust/pull/109953/) +- [Don't drain-on-drop in DrainFilter impls of various collections.](https://github.com/rust-lang/rust/pull/104455/) +- [Make `{Arc,Rc,Weak}::ptr_eq` ignore pointer metadata](https://github.com/rust-lang/rust/pull/106450/) + +Rustdoc +------- + +- [Allow whitespace as path separator like double colon](https://github.com/rust-lang/rust/pull/108537/) +- [Add search result item types after their name](https://github.com/rust-lang/rust/pull/110688/) +- [Search for slices and arrays by type with `[]`](https://github.com/rust-lang/rust/pull/111958/) +- [Clean up type unification and "unboxing"](https://github.com/rust-lang/rust/pull/112233/) + +Stabilized APIs +--------------- + +- [`impl Sync for mpsc::Sender`](https://doc.rust-lang.org/stable/std/sync/mpsc/struct.Sender.html#impl-Sync-for-Sender%3CT%3E) +- [`impl TryFrom<&OsStr> for &str`](https://doc.rust-lang.org/stable/std/primitive.str.html#impl-TryFrom%3C%26'a+OsStr%3E-for-%26'a+str) +- [`String::leak`](https://doc.rust-lang.org/stable/alloc/string/struct.String.html#method.leak) + +These APIs are now stable in const contexts: + +- [`CStr::from_bytes_with_nul`](https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#method.from_bytes_with_nul) +- [`CStr::to_bytes`](https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#method.to_bytes) +- [`CStr::to_bytes_with_nul`](https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#method.to_bytes_with_nul) +- [`CStr::to_str`](https://doc.rust-lang.org/stable/std/ffi/struct.CStr.html#method.to_str) + +Cargo +----- + +- Enable `-Zdoctest-in-workspace` by default. When running each documentation + test, the working directory is set to the root directory of the package the + test belongs to. + [docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-test.html#working-directory-of-tests) + [#12221](https://github.com/rust-lang/cargo/pull/12221) + [#12288](https://github.com/rust-lang/cargo/pull/12288) +- Add support of the "default" keyword to reset previously set `build.jobs` + parallelism back to the default. + [#12222](https://github.com/rust-lang/cargo/pull/12222) + +Compatibility Notes +------------------- + +- [Alter `Display` for `Ipv6Addr` for IPv4-compatible addresses](https://github.com/rust-lang/rust/pull/112606/) +- Cargo changed feature name validation check to a hard error. The warning was + added in Rust 1.49. These extended characters aren't allowed on crates.io, so + this should only impact users of other registries, or people who don't publish + to a registry. + [#12291](https://github.com/rust-lang/cargo/pull/12291) diff --git a/rust1.72.spec b/rust1.72.spec new file mode 100644 index 0000000..2f99b74 --- /dev/null +++ b/rust1.72.spec @@ -0,0 +1,735 @@ +# +# spec file +# +# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2019 Luke Jones, luke@ljones.dev +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global version_suffix 1.72 +%global version_current 1.72.0 +%global version_previous 1.71.1 +# This has to be kept lock step to the rust version. +%global llvm_version 16 +%if 0%{?sle_version} <= 150500 && 0%{?suse_version} < 1599 +# We may need a minimum gcc version for some linker flags +# This is especially true on leap/sle +# +# ⚠️ 11 is required for a number of linker flags to be supported in sle. +# +%global gcc_version 11 +%endif + +#KEEP NOSOURCE DEBUGINFO + +%define obsolete_rust_versioned() \ +Obsoletes: %{1}1.71%{?2:-%{2}} \ +Obsoletes: %{1}1.70%{?2:-%{2}} \ +Obsoletes: %{1}1.69%{?2:-%{2}} \ +Obsoletes: %{1}1.68%{?2:-%{2}} \ +Obsoletes: %{1}1.67%{?2:-%{2}} \ +Obsoletes: %{1}1.66%{?2:-%{2}} \ +Obsoletes: %{1}1.65%{?2:-%{2}} \ +Obsoletes: %{1}1.64%{?2:-%{2}} \ +Obsoletes: %{1}1.63%{?2:-%{2}} \ +Obsoletes: %{1}1.62%{?2:-%{2}} + +# ⚠️ Must leave 1.62 here due to kernel requirements. + +# Build the rust target triple. +# Some rust arches don't match what SUSE labels them. +%global rust_arch %{_arch} +%global abi gnu + +%ifarch armv7hl +%global rust_arch armv7 +%global abi gnueabihf +%endif + +%ifarch armv6hl +%global rust_arch arm +%global abi gnueabihf +%endif + +%ifarch ppc +%global rust_arch powerpc +%endif + +%ifarch ppc64 +%global rust_arch powerpc64 +%endif + +%ifarch ppc64le +%global rust_arch powerpc64le +%endif + +%ifarch riscv64 +%global rust_arch riscv64gc +%endif + +# Must restrict the x86 build to i686 since i586 is currently +# unsupported +%ifarch %{ix86} +%global rust_arch i686 +%endif + +%global rust_triple %{rust_arch}-unknown-linux-%{abi} + +# All sources and bootstraps are fetched form here +%global dl_url https://static.rust-lang.org/dist + +# Rust doesn't function well when put in /usr/lib64 +%global common_libdir %{_prefix}/lib +%global rustlibdir %{common_libdir}/rustlib + +# Detect if sccache has been requested by the build +%if "%{getenv:RUSTC_WRAPPER}" == "sccache" +%bcond_without sccache +%else +%bcond_with sccache +%endif + +# === rust arch support tiers === +# https://doc.rust-lang.org/nightly/rustc/platform-support.html +# tl;dr only aarch64, x86_64 and i686 are guaranteed to work. +# +# armv6/7, s390x, ppc[64[le]], riscv are all "guaranteed to build" only +# but may not always work. + +# === broken distro llvm === +# In some situations the llvm provided on the platform may not work. +# we add these conditions here. +# +# ⚠️ SLE/LEAP 15.3 LLVM is too old! +# ⚠️ 1.59 breaks codegen with distro llvm!!! + +%if 0%{?is_opensuse} == 1 && 0%{?suse_version} >= 1550 +# && "{version_suffix}" != "1.61" +# Can proceed with pinned llvm. +%bcond_with bundled_llvm +%else +# Use bundled llvm instead. +# For details see boo#1192067 +%bcond_without bundled_llvm +%endif + +# === Use clang/lld during build if possible === +# i586 - unable to link libatomic +# aarch64 - fails due to an invalid linker flag +# +%bcond_with llvmtools + +# Depending on our environment, we may need to configure our linker in a different manner. + +# If we elect for llvm, always use clang. +%if %{with llvmtools} +%define rust_linker clang +%else +%if 0%{?gcc_version} != 0 +%define rust_linker gcc-%{gcc_version} +%else +%define rust_linker cc +%endif +%endif + +# === Enable wasm/wasi on t1 targets === +%if 0%{?is_opensuse} == 1 && 0%{?suse_version} >= 1550 +%ifarch x86_64 aarch64 +%bcond_without wasm32 +%bcond_without wasi +%else +%bcond_with wasm32 +%bcond_with wasi +%endif +%else +%bcond_with wasm32 +%bcond_with wasi +%endif + +# Test is done in a different multibuild package (rustXXX-test). This +# package will replace the local-rust-root and use the systems's one +# from the rustXXX package itself. This will exercise the compiler, +# even tho, the tests will require more compilation. If we do not +# agree on this model we can drop the _multibuild option and do the +# pct check as a part of the main spec. + +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif + +# """ +# Do not use parallel codegen in order to +# a) not exhaust memory on build-machines and +# b) generate the fastest possible binary +# at the cost of longer build times for this package +# """ +# +# These claims are incorrect +# a) codegen=1, actually consumes MORE memory due to the fact that the full +# code unit is then LTO'd in a single pass. This can cause LLVM to internally OOM +# especially if the machine has less than 1G of ram, and this is documented: +# * https://github.com/rust-lang/rust/issues/85598 +# it has also been observed in OBS during builds of 1.52 and 1.53 +# +# b) the performance gains from codegen=1 are minimal at best, and not worth +# us messing about with these values - especially when the rust language team +# probably know more about how to set and tune these based on data and research +# +# Debuginfo can exhaust memory on these architecture workers +%ifarch %{arm} %{ix86} +%define debug_info --debuginfo-level=0 --debuginfo-level-rustc=0 --debuginfo-level-std=0 --debuginfo-level-tools=0 --debuginfo-level-tests=0 +%else +%define debug_info %{nil} +%endif + +%global rustflags -Clink-arg=-Wl,-z,relro,-z,now + +# Exclude implicitly-scanned Provides, especially the libLLVM.so ones: +%global __provides_exclude_from ^%{rustlibdir}/.*$ + +Name: rust%{version_suffix}%{psuffix} +Version: %{version_current} +Release: 0 +Summary: A systems programming language +License: Apache-2.0 OR MIT +Group: Development/Languages/Rust +URL: https://www.rust-lang.org +Source0: %{dl_url}/rustc-%{version}-src.tar.xz +Source1: rust.keyring +%if %{without test} +Source99: %{name}-rpmlintrc +%endif +Source100: %{dl_url}/rust-%{version_current}-x86_64-unknown-linux-gnu.tar.xz +NoSource: 100 +Source101: %{dl_url}/rust-%{version_current}-i686-unknown-linux-gnu.tar.xz +NoSource: 101 +Source102: %{dl_url}/rust-%{version_current}-aarch64-unknown-linux-gnu.tar.xz +NoSource: 102 +Source103: %{dl_url}/rust-%{version_current}-armv7-unknown-linux-gnueabihf.tar.xz +NoSource: 103 +Source104: %{dl_url}/rust-%{version_current}-arm-unknown-linux-gnueabihf.tar.xz +NoSource: 104 +Source105: %{dl_url}/rust-%{version_current}-powerpc64-unknown-linux-gnu.tar.xz +NoSource: 105 +Source106: %{dl_url}/rust-%{version_current}-powerpc64le-unknown-linux-gnu.tar.xz +NoSource: 106 +Source107: %{dl_url}/rust-%{version_current}-s390x-unknown-linux-gnu.tar.xz +NoSource: 107 +Source108: %{dl_url}/rust-%{version_current}-powerpc-unknown-linux-gnu.tar.xz +NoSource: 108 +Source109: %{dl_url}/rust-%{version_current}-riscv64gc-unknown-linux-gnu.tar.xz +NoSource: 109 +Source200: %{dl_url}/rust-%{version_current}-x86_64-unknown-linux-gnu.tar.xz.asc +NoSource: 200 +Source201: %{dl_url}/rust-%{version_current}-i686-unknown-linux-gnu.tar.xz.asc +NoSource: 201 +Source202: %{dl_url}/rust-%{version_current}-aarch64-unknown-linux-gnu.tar.xz.asc +NoSource: 202 +Source203: %{dl_url}/rust-%{version_current}-armv7-unknown-linux-gnueabihf.tar.xz.asc +NoSource: 203 +Source204: %{dl_url}/rust-%{version_current}-arm-unknown-linux-gnueabihf.tar.xz.asc +NoSource: 204 +Source205: %{dl_url}/rust-%{version_current}-powerpc64-unknown-linux-gnu.tar.xz.asc +NoSource: 205 +Source206: %{dl_url}/rust-%{version_current}-powerpc64le-unknown-linux-gnu.tar.xz.asc +NoSource: 206 +Source207: %{dl_url}/rust-%{version_current}-s390x-unknown-linux-gnu.tar.xz.asc +NoSource: 207 +Source208: %{dl_url}/rust-%{version_current}-powerpc-unknown-linux-gnu.tar.xz.asc +NoSource: 208 +Source209: %{dl_url}/rust-%{version_current}-riscv64gc-unknown-linux-gnu.tar.xz.asc +NoSource: 209 +# Make factory-auto stop complaining... +Source1000: README.suse-maint +# PATCH-FIX-OPENSUSE: edit src/librustc_llvm/build.rs to ignore GCC incompatible flag +Patch0: ignore-Wstring-conversion.patch +# IMPORTANT - To generate patches for submodules in git so they apply relatively you can use +# git format-patch --text --dst-prefix=b/src/tools/cargo/ HEAD~2 + +BuildRequires: chrpath +BuildRequires: curl +# BUG - fdupes on leap/sle causes issues with debug info +%if 0%{?is_opensuse} == 1 && 0%{?suse_version} >= 1550 +BuildRequires: fdupes +%endif +BuildRequires: pkgconfig +BuildRequires: procps +BuildRequires: python3-base +BuildRequires: util-linux +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(zlib) +# Set requires appropriately +%if %with sccache +BuildRequires: sccache +%else +BuildRequires: ccache +%endif + +# For linking to platform +Requires: glibc-devel +# Rustc doesn't really do much without Cargo, but you know, if you wanna yolo that ... +Recommends: cargo +# For static linking +Suggests: glibc-devel-static + +%if %{with wasi} +BuildRequires: wasi-libc +%endif + +%if %{with llvmtools} +BuildRequires: clang +BuildRequires: libstdc++-devel +BuildRequires: lld +Requires: clang +Requires: lld +%else +%if 0%{?gcc_version} != 0 +BuildRequires: gcc%{gcc_version}-c++ +Requires: gcc%{gcc_version} +%else +BuildRequires: gcc-c++ +Requires: gcc +%endif +# Clang gives better errors than gcc during a compilation, and it keeps everything +# within llvm ecosystem. +Suggests: clang +# lld is significantly faster than gold for linking, so users may wish to preference it. +Suggests: lld +%endif + +# CMake and Ninja required to drive the bundled llvm build. +# Cmake is also needed in tests. +%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 150200 +# In these distros cmake is 2.x, or 3.X < 3.13, so we need cmake3 for building llvm. +BuildRequires: cmake3 > 3.13.4 +%else +BuildRequires: cmake > 3.13.4 +%endif + +# To build rust-lld +BuildRequires: ninja + +%if %{without bundled_llvm} +# Use distro provided LLVM on Tumbleweed, but pin it to the matching LLVM! +# For details see boo#1192067 +BuildRequires: llvm%{llvm_version}-devel +Requires: lld%{llvm_version} +%endif + +%if %{with test} +BuildRequires: cargo%{version_suffix} = %{version} +BuildRequires: rust%{version_suffix} = %{version} +# Static linking tests need this. +BuildRequires: glibc-devel-static +BuildRequires: git + +%if %{without bundled_llvm} +# For FileCheck +BuildRequires: llvm%{llvm_version}-devel +%endif + +%if %{with wasm32} +BuildRequires: nodejs-default +%endif + +# End with test +%endif + +%obsolete_rust_versioned rust +Conflicts: rust+rustc < %{version} +Conflicts: rustc-bootstrap +Provides: rust+rustc = %{version} +Conflicts: rust-std < %{version} +Obsoletes: rust-std < %{version} +Provides: rust-std = %{version} +Conflicts: rust-std-static < %{version} +Obsoletes: rust-std-static < %{version} +Provides: rust-std-static = %{version} +Conflicts: rust-gdb < %{version} +Obsoletes: rust-gdb < %{version} +Provides: rust-gdb = %{version} + +%if %{without test} +# Restrict the architectures as building rust relies on being +# initially bootstrapped before we can build the n+1 release +ExclusiveArch: x86_64 %{arm} aarch64 ppc ppc64 ppc64le s390x %{ix86} riscv64 +%ifarch %{ix86} +ExclusiveArch: i686 +%endif +%else +# Restrict for Tier 1 targets (but we should report bugs in Tier 2) +# https://doc.rust-lang.org/nightly/rustc/platform-support.html#tier-1-with-host-tools +ExclusiveArch: x86_64 i686 aarch64 +%endif + +%description +Rust is a systems programming language focused on three goals: safety, +speed, and concurrency. It maintains these goals without having a +garbage collector, making it a useful language for a number of use +cases other languages are not good at: embedding in other languages, +programs with specific space and time requirements, and writing +low-level code, like device drivers and operating systems. It improves +on current languages targeting this space by having a number of +compile-time safety checks that produce no runtime overhead, while +eliminating all data races. Rust also aims to achieve "zero-cost +abstractions", even though some of these abstractions feel like those +of a high-level language. Even then, Rust still allows precise control +like a low-level language would. + +%package -n cargo%{version_suffix} +Summary: The Rust package manager +License: Apache-2.0 OR MIT +Group: Development/Languages/Rust +Requires: rust-std = %{version} +Obsoletes: cargo-vendor < %{version} +Provides: cargo-vendor = %{version} +Provides: rust+cargo = %{version} +%obsolete_rust_versioned cargo + +%description -n cargo%{version_suffix} +Cargo downloads dependencies of Rust projects and compiles it. + +%prep +# Previously the stage0 compiler was skipped in test builds, but there are now +# tests in rust's source tree that require it. +%ifarch x86_64 +%setup -q -T -b 100 -n rust-%{version_current}-%{rust_triple} +%endif +%ifarch %{ix86} +%setup -q -T -b 101 -n rust-%{version_current}-%{rust_triple} +%endif +%ifarch aarch64 +%setup -q -T -b 102 -n rust-%{version_current}-%{rust_triple} +%endif +%ifarch armv7hl +%setup -q -T -b 103 -n rust-%{version_current}-%{rust_triple} +%endif +%ifarch armv6hl +%setup -q -T -b 104 -n rust-%{version_current}-%{rust_triple} +%endif +%ifarch ppc64 +%setup -q -T -b 105 -n rust-%{version_current}-%{rust_triple} +%endif +%ifarch ppc64le +%setup -q -T -b 106 -n rust-%{version_current}-%{rust_triple} +%endif +%ifarch s390x +%setup -q -T -b 107 -n rust-%{version_current}-%{rust_triple} +%endif +%ifarch ppc +%setup -q -T -b 108 -n rust-%{version_current}-%{rust_triple} +%endif +%ifarch riscv64 +%setup -q -T -b 109 -n rust-%{version_current}-%{rust_triple} +%endif +./install.sh --components=cargo,rustc,rust-std-%{rust_triple} --prefix=.%{_prefix} --disable-ldconfig + +%global rust_root %{_builddir}/rust-%{version_current}-%{rust_triple}%{_prefix} + +%autosetup -p1 -n rustc-%{version}-src + +# We never enable emscripten. +rm -rf src/llvm-emscripten/ +# We never enable other LLVM tools. +rm -rf src/tools/clang +rm -rf src/tools/lldb + +# Fix rpmlint error "This script uses 'env' as an interpreter" +sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' library/core/src/unicode/printable.py +chmod +x library/core/src/unicode/printable.py + +# Debugging for if anything goes south. +lscpu +free -h +df -h + +%build + +# Create exports file +# Keep all the "export VARIABLE" together here, so they can be +# reread in the %%install section below. +# If the environments between build and install and different, +# everything will be rebuilt during installation! + +%if %{with llvmtools} +cat > .env.sh < .env.sh < .env.sh <> .env.sh <> main.rs <