Closed Bug 1963727 Opened 11 months ago Closed 11 months ago

Perma Windows MinGW error: Error calling dlltool 'x86_64-w64-mingw32-dlltool': No such file or directory (os error 2)

Categories

(Core :: General, defect, P5)

defect

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox138 --- unaffected
firefox139 --- wontfix
firefox140 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=504947487&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/BrHU0Ra_SryesgrvDxd0BQ/runs/0/artifacts/public/logs/live_backing.log


[task 2025-04-22T09:36:39.144Z] 09:36:39     INFO -       Running `CARGO=/builds/worker/fetches/rustc/bin/cargo CARGO_CRATE_NAME=futures_util CARGO_MANIFEST_DIR=/builds/worker/checkouts/gecko/third_party/rust/futures-util CARGO_MANIFEST_PATH=/builds/worker/checkouts/gecko/third_party/rust/futures-util/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Common utilities and extension traits for the futures-rs library.
[task 2025-04-22T09:36:39.148Z] 09:36:39     INFO -  ' CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/futures-rs' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=futures-util CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/futures-rs' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=0.3.28 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=28 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/builds/worker/workspace/obj-build/debug/deps OUT_DIR=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/build/futures-util-cdc52ec4097f6570/out /builds/worker/fetches/sccache/sccache /builds/worker/fetches/rustc/bin/rustc --crate-name futures_util --edition=2018 /builds/worker/checkouts/gecko/third_party/rust/futures-util/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no -C debuginfo=2 -C debug-assertions=on --cfg 'feature="alloc"' --cfg 'feature="async-await"' --cfg 'feature="async-await-macro"' --cfg 'feature="channel"' --cfg 'feature="default"' --cfg 'feature="futures-channel"' --cfg 'feature="futures-io"' --cfg 'feature="futures-macro"' --cfg 'feature="futures-sink"' --cfg 'feature="io"' --cfg 'feature="memchr"' --cfg 'feature="sink"' --cfg 'feature="slab"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "async-await", "async-await-macro", "bilock", "cfg-target-has-atomic", "channel", "compat", "default", "futures-channel", "futures-io", "futures-macro", "futures-sink", "futures_01", "io", "io-compat", "memchr", "portable-atomic", "sink", "slab", "std", "tokio-io", "unstable", "write-all-vectored"))' -C metadata=a9d56d049df85278 -C extra-filename=-f756bc170d51de20 --out-dir /builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps --target x86_64-pc-windows-gnu -C linker=/builds/worker/checkouts/gecko/build/cargo-linker -L dependency=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps -L dependency=/builds/worker/workspace/obj-build/debug/deps --extern futures_channel=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libfutures_channel-f0fa56de66c543d7.rmeta --extern futures_core=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libfutures_core-fafc73437c8844b2.rmeta --extern futures_io=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libfutures_io-2dedfdc13b0e154d.rmeta --extern futures_macro=/builds/worker/workspace/obj-build/debug/deps/libfutures_macro-22601a2f54361cf1.so --extern futures_sink=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libfutures_sink-0ac325d6b9433d2e.rmeta --extern futures_task=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libfutures_task-14bdb8554e66f8c3.rmeta --extern memchr=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libmemchr-7000fa61bc1d28d5.rmeta --extern pin_project_lite=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libpin_project_lite-31668f01cd30e586.rmeta --extern pin_utils=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libpin_utils-94b56c478be3bba5.rmeta --extern slab=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libslab-3d0b0a0ab45464aa.rmeta --cap-lints warn -C debuginfo=2 -C force-frame-pointers=yes -C control-flow-guard=yes --cap-lints warn -C codegen-units=1`
[task 2025-04-22T09:36:39.148Z] 09:36:39    ERROR -  error: Error calling dlltool 'x86_64-w64-mingw32-dlltool': No such file or directory (os error 2)
[task 2025-04-22T09:36:39.149Z] 09:36:39    ERROR -  error: could not compile `chrono` (lib) due to 1 previous error
[task 2025-04-22T09:36:39.149Z] 09:36:39     INFO -  Caused by:
[task 2025-04-22T09:36:39.152Z] 09:36:39     INFO -    process didn't exit successfully: `CARGO=/builds/worker/fetches/rustc/bin/cargo CARGO_CRATE_NAME=chrono CARGO_MANIFEST_DIR=/builds/worker/checkouts/gecko/third_party/rust/chrono CARGO_MANIFEST_PATH=/builds/worker/checkouts/gecko/third_party/rust/chrono/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Date and time library for Rust' CARGO_PKG_HOMEPAGE='https://github.com/chronotope/chrono' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=chrono CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/chronotope/chrono' CARGO_PKG_RUST_VERSION=1.61.0 CARGO_PKG_VERSION=0.4.40 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION_PATCH=40 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/builds/worker/workspace/obj-build/debug/deps /builds/worker/fetches/sccache/sccache /builds/worker/fetches/rustc/bin/rustc --crate-name chrono --edition=2021 /builds/worker/checkouts/gecko/third_party/rust/chrono/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no -C debuginfo=2 -C debug-assertions=on --cfg 'feature="alloc"' --cfg 'feature="android-tzdata"' --cfg 'feature="clock"' --cfg 'feature="default"' --cfg 'feature="iana-time-zone"' --cfg 'feature="js-sys"' --cfg 'feature="now"' --cfg 'feature="oldtime"' --cfg 'feature="serde"' --cfg 'feature="std"' --cfg 'feature="wasm-bindgen"' --cfg 'feature="wasmbind"' --cfg 'feature="winapi"' --cfg 'feature="windows-link"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_bench", "alloc", "android-tzdata", "arbitrary", "clock", "default", "iana-time-zone", "js-sys", "libc", "now", "oldtime", "pure-rust-locales", "rkyv", "rkyv-16", "rkyv-32", "rkyv-64", "rkyv-validation", "serde", "std", "unstable-locales", "wasm-bindgen", "wasmbind", "winapi", "windows-link"))' -C metadata=76791b97e52ce1f7 -C extra-filename=-ee5e207d2006ae4f --out-dir /builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps --target x86_64-pc-windows-gnu -C linker=/builds/worker/checkouts/gecko/build/cargo-linker -L dependency=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps -L dependency=/builds/worker/workspace/obj-build/debug/deps --extern num_traits=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libnum_traits-f94493cbe0929b8d.rmeta --extern serde=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libserde-2ef2f4e4b01496e9.rmeta --extern windows_link=/builds/worker/workspace/obj-build/x86_64-pc-windows-gnu/debug/deps/libwindows_link-cde8b7a197f72809.rmeta --cap-lints warn -C debuginfo=2 -C force-frame-pointers=yes -C control-flow-guard=yes --cap-lints warn -C codegen-units=1` (exit status: 1)
[task 2025-04-22T09:36:39.153Z] 09:36:39     INFO -  warning: build failed, waiting for other jobs to finish...
[task 2025-04-22T09:36:39.153Z] 09:36:39     INFO -     Compiling intl-memoizer v0.5.1
[task 2025-04-22T09:36:39.154Z] 09:36:39     INFO -       Running `CARGO=/builds/worker/fetches/rustc/bin/cargo CARGO_CRATE_NAME=intl_memoizer CARGO_MANIFEST_DIR=/builds/worker/checkouts/gecko/third_party/rust/intl-memoizer CARGO_MANIFEST_PATH=/builds/worker/checkouts/gecko/third_party/rust/intl-memoizer/Cargo.toml CARGO_PKG_AUTHORS='Zibi Braniecki <gandalf@mozilla.com>:Manish Goregaokar <manishsmail@gmail.com>' CARGO_PKG_DESCRIPTION='A memoizer specifically tailored for storing lazy-initialized
[task 2025-04-22T09:36:39.154Z] 09:36:39     INFO -  intl formatters.

Looks like these hid under 1961213 and surfaced after it got fixed here.

Set release status flags based on info from the regressing bug 1951517

:markh, since you are the author of the regressor, bug 1951517, could you take a look?

For more information, please visit BugBot documentation.

Assignee: nobody → mh+mozilla
Flags: needinfo?(markh)

The rust compiler needs to use dlltool since the chrono upgrade because
of the use of raw-dylibs, and this requires the tool to be used from the
right location, which we already have out of configure.

Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/720a127646bc Set dlltool when building rust code while targeting mingw. r=firefox-build-system-reviewers,sergesanspaille
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch

The patch landed in nightly and beta is affected.
:glandium, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(mh+mozilla)
Flags: needinfo?(mh+mozilla)

These jobs don't run in beta

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: