Message ID | 20221012071714.751-1-alex.kiernan@gmail.com |
---|---|
State | Accepted, archived |
Commit | 1d81fb264580b96c405075fcfd2a82a6f74b9630 |
Headers | show |
Series | rust: update 1.63.0 -> 1.64.0 | expand |
Hello, On 12/10/2022 08:17:14+0100, Alex Kiernan wrote: > Release notes: > https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html > This causes the following failure: https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/5901/steps/12/logs/stdio ERROR: rust-1.64.0-r0 do_patch: Applying patch 'crossbeam_atomic.patch' on target directory '/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/core2-64-poky-linux/rust/1.64.0-r0/rustc-1.64.0-src' CmdError('quilt --quiltrc /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/core2-64-poky-linux/rust/1.64.0-r0/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch crossbeam_atomic.patch patching file vendor/crossbeam-utils/build.rs patching file vendor/crossbeam-utils/.cargo-checksum.json Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- rejects in file vendor/crossbeam-utils/.cargo-checksum.json Patch crossbeam_atomic.patch does not apply (enforce with -f) > Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> > --- > meta/conf/distro/include/tcmode-default.inc | 2 +- > .../{cargo_1.63.0.bb => cargo_1.64.0.bb} | 0 > ...ibstd-rs_1.63.0.bb => libstd-rs_1.64.0.bb} | 0 > ....63.0.bb => rust-cross-canadian_1.64.0.bb} | 0 > ...ust-llvm_1.63.0.bb => rust-llvm_1.64.0.bb} | 0 > meta/recipes-devtools/rust/rust-snapshot.inc | 22 +++++++++---------- > meta/recipes-devtools/rust/rust-source.inc | 2 +- > .../rust/{rust_1.63.0.bb => rust_1.64.0.bb} | 0 > 8 files changed, 13 insertions(+), 13 deletions(-) > rename meta/recipes-devtools/cargo/{cargo_1.63.0.bb => cargo_1.64.0.bb} (100%) > rename meta/recipes-devtools/rust/{libstd-rs_1.63.0.bb => libstd-rs_1.64.0.bb} (100%) > rename meta/recipes-devtools/rust/{rust-cross-canadian_1.63.0.bb => rust-cross-canadian_1.64.0.bb} (100%) > rename meta/recipes-devtools/rust/{rust-llvm_1.63.0.bb => rust-llvm_1.64.0.bb} (100%) > rename meta/recipes-devtools/rust/{rust_1.63.0.bb => rust_1.64.0.bb} (100%) > > diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc > index 59b226e62fcd..6bba92ac9696 100644 > --- a/meta/conf/distro/include/tcmode-default.inc > +++ b/meta/conf/distro/include/tcmode-default.inc > @@ -27,7 +27,7 @@ GOVERSION ?= "1.19%" > # This can not use wildcards like 8.0.% since it is also used in mesa to denote > # llvm version being used, so always bump it with llvm recipe version bump > LLVMVERSION ?= "14.0.6" > -RUSTVERSION ?= "1.63%" > +RUSTVERSION ?= "1.64%" > > PREFERRED_VERSION_gcc ?= "${GCCVERSION}" > PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" > diff --git a/meta/recipes-devtools/cargo/cargo_1.63.0.bb b/meta/recipes-devtools/cargo/cargo_1.64.0.bb > similarity index 100% > rename from meta/recipes-devtools/cargo/cargo_1.63.0.bb > rename to meta/recipes-devtools/cargo/cargo_1.64.0.bb > diff --git a/meta/recipes-devtools/rust/libstd-rs_1.63.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.64.0.bb > similarity index 100% > rename from meta/recipes-devtools/rust/libstd-rs_1.63.0.bb > rename to meta/recipes-devtools/rust/libstd-rs_1.64.0.bb > diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.63.0.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.64.0.bb > similarity index 100% > rename from meta/recipes-devtools/rust/rust-cross-canadian_1.63.0.bb > rename to meta/recipes-devtools/rust/rust-cross-canadian_1.64.0.bb > diff --git a/meta/recipes-devtools/rust/rust-llvm_1.63.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.64.0.bb > similarity index 100% > rename from meta/recipes-devtools/rust/rust-llvm_1.63.0.bb > rename to meta/recipes-devtools/rust/rust-llvm_1.64.0.bb > diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc b/meta/recipes-devtools/rust/rust-snapshot.inc > index b9d7edd6720f..e790705aba0c 100644 > --- a/meta/recipes-devtools/rust/rust-snapshot.inc > +++ b/meta/recipes-devtools/rust/rust-snapshot.inc > @@ -5,21 +5,21 @@ > ## The version is replicated here. > ## TODO: find a way to add additional SRC_URIs based on the contents of an > ## earlier SRC_URI. > -RS_VERSION = "1.62.0" > -CARGO_VERSION = "1.62.0" > +RS_VERSION = "1.63.0" > +CARGO_VERSION = "1.63.0" > > # TODO: Add hashes for other architecture toolchains as well. Make a script? > -SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "addfae87b6b1b521d98a50fdc5120990888a51bb397100062e9c558267c67c77" > -SRC_URI[rustc-snapshot-x86_64.sha256sum] = "e7f71f4ef09334ddc9ec8cbf2f958d654e36f580c95f8fec6d5c816ce256dbd6" > -SRC_URI[cargo-snapshot-x86_64.sha256sum] = "815c63119a9cf0282ff240c6444b6f867238763ee3dea182f10837ae7dbbb1d4" > +SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "993c2c17bf76ac626bfb5b17bddce65fbdfc14f70d183f33773de0cd12df46d2" > +SRC_URI[rustc-snapshot-x86_64.sha256sum] = "bdab9d9afa5c329c40f9ba568364815237fab8426477c12bfabad35ffc484ab5" > +SRC_URI[cargo-snapshot-x86_64.sha256sum] = "f370d12e4c11f0c835becb738bcf00d363f29b76f8b424b4dcb005abcf15fc9a" > > -SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "dd5df8a92af3e5d49a1122b9561821ebd72a9317884a37ecddae041e652a7563" > -SRC_URI[rustc-snapshot-aarch64.sha256sum] = "0fa320a19d41dcfc592bc006f5e9eda8e3b972598a26c96ad64eedd868516df3" > -SRC_URI[cargo-snapshot-aarch64.sha256sum] = "475038ecacca9ff586cad2082d5d950544b0d581a2a287facc7d899aae488813" > +SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "f1d93b3d48258f701687c63ef9b226c07329fb92c2c5559283258687f958e9d0" > +SRC_URI[rustc-snapshot-aarch64.sha256sum] = "d78799bb8f4177877f97b9051c9cba1fd85173f2e9cecab9486388fc6fa66259" > +SRC_URI[cargo-snapshot-aarch64.sha256sum] = "4313ab44dccba4faed20db4aacc16def405773d1676e79d3e65ced4b99d710d4" > > -SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "d6678b7c971f3adbe7f820adae669d03a314468441e2907747c76eca98e0be92" > -SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "b66d0bc6dbfdc0d4b826f787ec4e772dea8e3d2015cecbe2105632d468c28dcb" > -SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "016257f1641693008068bd086fec66d68550d1778f6aea9d06c9b263fca392d5" > +SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "3ae0b74ba428c569fcecebbb09060ad0bd434a5f1fc9ffd1329b56941a897b6e" > +SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "b3dc2c082e76b5effe0b158aac3831830168a1a6980b39347c355e49be63fcca" > +SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "a4cdc00a42fd767bf5a296f7126d9db22a0a609cd956bbf0cb3eae882add1be7" > > SRC_URI += " \ > https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \ > diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc > index ce6c983fc0b5..67f130d0ef4e 100644 > --- a/meta/recipes-devtools/rust/rust-source.inc > +++ b/meta/recipes-devtools/rust/rust-source.inc > @@ -1,5 +1,5 @@ > SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust" > -SRC_URI[rust.sha256sum] = "8f44af6dc44cc4146634a4dd5e4cc5470b3052a2337019b870c0e025e8987e0c" > +SRC_URI[rust.sha256sum] = "e8170d318fac9d2fc17d5c3e648e7068f56e8db8d233d864aeffbef7c6542eac" > > SRC_URI:append:class-target:pn-rust = " \ > file://hardcodepaths.patch \ > diff --git a/meta/recipes-devtools/rust/rust_1.63.0.bb b/meta/recipes-devtools/rust/rust_1.64.0.bb > similarity index 100% > rename from meta/recipes-devtools/rust/rust_1.63.0.bb > rename to meta/recipes-devtools/rust/rust_1.64.0.bb > -- > 2.35.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#171648): https://lists.openembedded.org/g/openembedded-core/message/171648 > Mute This Topic: https://lists.openembedded.org/mt/94276338/3617179 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com] > -=-=-=-=-=-=-=-=-=-=-=- >
On Thu, Oct 13, 2022 at 9:13 AM Alexandre Belloni <alexandre.belloni@bootlin.com> wrote: > > Hello, > > On 12/10/2022 08:17:14+0100, Alex Kiernan wrote: > > Release notes: > > https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html > > > > This causes the following failure: > https://autobuilder.yoctoproject.org/typhoon/#/builders/52/builds/5901/steps/12/logs/stdio > > ERROR: rust-1.64.0-r0 do_patch: Applying patch 'crossbeam_atomic.patch' on target directory '/home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/core2-64-poky-linux/rust/1.64.0-r0/rustc-1.64.0-src' > CmdError('quilt --quiltrc /home/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/core2-64-poky-linux/rust/1.64.0-r0/recipe-sysroot-native/etc/quiltrc push', 0, 'stdout: Applying patch crossbeam_atomic.patch > patching file vendor/crossbeam-utils/build.rs > patching file vendor/crossbeam-utils/.cargo-checksum.json > Hunk #1 FAILED at 1. > 1 out of 1 hunk FAILED -- rejects in file vendor/crossbeam-utils/.cargo-checksum.json > Patch crossbeam_atomic.patch does not apply (enforce with -f) > How odd... I was half expecting that to need rework and was surprised when I tested it locally that it didn't! Clearly I've missed something...
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 59b226e62fcd..6bba92ac9696 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc @@ -27,7 +27,7 @@ GOVERSION ?= "1.19%" # This can not use wildcards like 8.0.% since it is also used in mesa to denote # llvm version being used, so always bump it with llvm recipe version bump LLVMVERSION ?= "14.0.6" -RUSTVERSION ?= "1.63%" +RUSTVERSION ?= "1.64%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" diff --git a/meta/recipes-devtools/cargo/cargo_1.63.0.bb b/meta/recipes-devtools/cargo/cargo_1.64.0.bb similarity index 100% rename from meta/recipes-devtools/cargo/cargo_1.63.0.bb rename to meta/recipes-devtools/cargo/cargo_1.64.0.bb diff --git a/meta/recipes-devtools/rust/libstd-rs_1.63.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.64.0.bb similarity index 100% rename from meta/recipes-devtools/rust/libstd-rs_1.63.0.bb rename to meta/recipes-devtools/rust/libstd-rs_1.64.0.bb diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.63.0.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.64.0.bb similarity index 100% rename from meta/recipes-devtools/rust/rust-cross-canadian_1.63.0.bb rename to meta/recipes-devtools/rust/rust-cross-canadian_1.64.0.bb diff --git a/meta/recipes-devtools/rust/rust-llvm_1.63.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.64.0.bb similarity index 100% rename from meta/recipes-devtools/rust/rust-llvm_1.63.0.bb rename to meta/recipes-devtools/rust/rust-llvm_1.64.0.bb diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc b/meta/recipes-devtools/rust/rust-snapshot.inc index b9d7edd6720f..e790705aba0c 100644 --- a/meta/recipes-devtools/rust/rust-snapshot.inc +++ b/meta/recipes-devtools/rust/rust-snapshot.inc @@ -5,21 +5,21 @@ ## The version is replicated here. ## TODO: find a way to add additional SRC_URIs based on the contents of an ## earlier SRC_URI. -RS_VERSION = "1.62.0" -CARGO_VERSION = "1.62.0" +RS_VERSION = "1.63.0" +CARGO_VERSION = "1.63.0" # TODO: Add hashes for other architecture toolchains as well. Make a script? -SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "addfae87b6b1b521d98a50fdc5120990888a51bb397100062e9c558267c67c77" -SRC_URI[rustc-snapshot-x86_64.sha256sum] = "e7f71f4ef09334ddc9ec8cbf2f958d654e36f580c95f8fec6d5c816ce256dbd6" -SRC_URI[cargo-snapshot-x86_64.sha256sum] = "815c63119a9cf0282ff240c6444b6f867238763ee3dea182f10837ae7dbbb1d4" +SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "993c2c17bf76ac626bfb5b17bddce65fbdfc14f70d183f33773de0cd12df46d2" +SRC_URI[rustc-snapshot-x86_64.sha256sum] = "bdab9d9afa5c329c40f9ba568364815237fab8426477c12bfabad35ffc484ab5" +SRC_URI[cargo-snapshot-x86_64.sha256sum] = "f370d12e4c11f0c835becb738bcf00d363f29b76f8b424b4dcb005abcf15fc9a" -SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "dd5df8a92af3e5d49a1122b9561821ebd72a9317884a37ecddae041e652a7563" -SRC_URI[rustc-snapshot-aarch64.sha256sum] = "0fa320a19d41dcfc592bc006f5e9eda8e3b972598a26c96ad64eedd868516df3" -SRC_URI[cargo-snapshot-aarch64.sha256sum] = "475038ecacca9ff586cad2082d5d950544b0d581a2a287facc7d899aae488813" +SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "f1d93b3d48258f701687c63ef9b226c07329fb92c2c5559283258687f958e9d0" +SRC_URI[rustc-snapshot-aarch64.sha256sum] = "d78799bb8f4177877f97b9051c9cba1fd85173f2e9cecab9486388fc6fa66259" +SRC_URI[cargo-snapshot-aarch64.sha256sum] = "4313ab44dccba4faed20db4aacc16def405773d1676e79d3e65ced4b99d710d4" -SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "d6678b7c971f3adbe7f820adae669d03a314468441e2907747c76eca98e0be92" -SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "b66d0bc6dbfdc0d4b826f787ec4e772dea8e3d2015cecbe2105632d468c28dcb" -SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "016257f1641693008068bd086fec66d68550d1778f6aea9d06c9b263fca392d5" +SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "3ae0b74ba428c569fcecebbb09060ad0bd434a5f1fc9ffd1329b56941a897b6e" +SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "b3dc2c082e76b5effe0b158aac3831830168a1a6980b39347c355e49be63fcca" +SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "a4cdc00a42fd767bf5a296f7126d9db22a0a609cd956bbf0cb3eae882add1be7" SRC_URI += " \ https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \ diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index ce6c983fc0b5..67f130d0ef4e 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc @@ -1,5 +1,5 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust" -SRC_URI[rust.sha256sum] = "8f44af6dc44cc4146634a4dd5e4cc5470b3052a2337019b870c0e025e8987e0c" +SRC_URI[rust.sha256sum] = "e8170d318fac9d2fc17d5c3e648e7068f56e8db8d233d864aeffbef7c6542eac" SRC_URI:append:class-target:pn-rust = " \ file://hardcodepaths.patch \ diff --git a/meta/recipes-devtools/rust/rust_1.63.0.bb b/meta/recipes-devtools/rust/rust_1.64.0.bb similarity index 100% rename from meta/recipes-devtools/rust/rust_1.63.0.bb rename to meta/recipes-devtools/rust/rust_1.64.0.bb
Release notes: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> --- meta/conf/distro/include/tcmode-default.inc | 2 +- .../{cargo_1.63.0.bb => cargo_1.64.0.bb} | 0 ...ibstd-rs_1.63.0.bb => libstd-rs_1.64.0.bb} | 0 ....63.0.bb => rust-cross-canadian_1.64.0.bb} | 0 ...ust-llvm_1.63.0.bb => rust-llvm_1.64.0.bb} | 0 meta/recipes-devtools/rust/rust-snapshot.inc | 22 +++++++++---------- meta/recipes-devtools/rust/rust-source.inc | 2 +- .../rust/{rust_1.63.0.bb => rust_1.64.0.bb} | 0 8 files changed, 13 insertions(+), 13 deletions(-) rename meta/recipes-devtools/cargo/{cargo_1.63.0.bb => cargo_1.64.0.bb} (100%) rename meta/recipes-devtools/rust/{libstd-rs_1.63.0.bb => libstd-rs_1.64.0.bb} (100%) rename meta/recipes-devtools/rust/{rust-cross-canadian_1.63.0.bb => rust-cross-canadian_1.64.0.bb} (100%) rename meta/recipes-devtools/rust/{rust-llvm_1.63.0.bb => rust-llvm_1.64.0.bb} (100%) rename meta/recipes-devtools/rust/{rust_1.63.0.bb => rust_1.64.0.bb} (100%)