Repository navigation
parallel/test-temporal-with-zoneinfo fails on Linux s390x #61808
Description
Activity
Initiated a fix for V8:
unicode-org/icu4x#7658
https://chromium-review.googlesource.com/c/chromium/src/+/7583895- added a commit that references this issue
on Feb 23, 2026 hmm. Still trying to figure out the best way to float unicode-org/icu4x#7658.
https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html suggests we should be able to do
diff --git a/deps/crates/Cargo.toml b/deps/crates/Cargo.toml index ee208c16db1..aa3df8b3ef0 100644 --- a/deps/crates/Cargo.toml +++ b/deps/crates/Cargo.toml @@ -30,3 +30,6 @@ version = "=0.1.0" default-features = false # This is necessary to enable a spec-compliance quirk when upgrading to v0.1.2 # features = ["float64_representable_durations"] + +[patch.crates-io] +resb = { git="https://github.com/unicode-org/icu4x.git", rev="d310df8b3fb1cbfc551682ccf80f378ed152da8e" }
but that ends up with version conflicts (probably because https://github.com/unicode-org/icu4x.git contains several crates):
# cargo vendor error: failed to sync Caused by: found duplicate version of package `potential_utf v0.1.4` vendored from two sources: source 1: registry `crates-io` source 2: https://github.com/unicode-org/icu4x.git?rev=d310df8b3fb1cbfc551682ccf80f378ed152da8e#d310df8b #
I tried to directly patch
deps/crates/vendor/resbbutcargoerrors during build:
https://ci.nodejs.org/job/node-test-commit-linuxone/53962/nodes=rhel8-s390x/console17:13:53 error: the listed checksum of `/home/iojs/build/workspace/node-test-commit-linuxone/deps/crates/vendor/resb/src/binary.rs` has changed: 17:13:53 expected: 414b60bd9f2570c522b040cd87964c82329fa7e46cef470066d8723d66011df1 17:13:53 actual: e75277dca8931a0c7c93525bb5b88867cc0644c1af78fdf058591ce56cbabffd 17:13:53 17:13:53 directory sources are not intended to be edited, if modifications are required then it is recommended that `[patch]` is used with a forked copy of the source
richardlau commented
on Mar 6, 2026 on Mar 6, 2026 · Hidden as outdatedAuthorshow commentMore actions- added a commit that references this issue
on Mar 6, 2026 Okay, tried a different way:
- Create a copy of the crate (under
deps/crates/patches) and apply the changes to the copy. - Add to
Cargo.tomla patch override pointing to the modified copy.
diff --git a/deps/crates/Cargo.toml b/deps/crates/Cargo.toml index ee208c16db1..033c6f26939 100644 --- a/deps/crates/Cargo.toml +++ b/deps/crates/Cargo.toml @@ -30,3 +30,6 @@ version = "=0.1.0" default-features = false # This is necessary to enable a spec-compliance quirk when upgrading to v0.1.2 # features = ["float64_representable_durations"] + +[patch.crates-io] +resb = { path="patches/resb" }
- Rerun
cargo vendor. This has updatedCargo.lockand also deleted the vendoredresbcrate from the source tree (presumably because the build will now use the local copy pointed to by theCargo.tomlchanges). Because the added files and deleted files are similar, git treats them as being moved.
Opened PR with the above: #62138
Reacted by Chengzhong Wu- Create a copy of the crate (under
Hm, I think the patch in #61808 (comment) will try to bring in dependency of
resbfrom the patched git repo, as rust-lang/cargo#10310. A local patch of the singleresbcould be a simpler change.Yes, it seems that because https://github.com/unicode-org/icu4x.git contains more than one crate, attempting to patch one of them adds https://github.com/unicode-org/icu4x.git as a source for all of the crates in the repository (and not just the one we want to patch).
- added 2 commits that reference this issue
on Mar 10, 2026
When configured with
--v8-enable-temporal-support,parallel/test-temporal-with-zoneinfofails on Linux s390x.e.g. https://ci.nodejs.org/job/node-test-commit-linuxone/53661/nodes=rhel9-s390x/console
for comparison, we're not seeing that fail on Linux on ppc64le or Linux on x64, which might suggest an Endianness issue.
cc @nodejs/platform-s390