Closed Bug 1915537 Opened 1 year ago Closed 1 month ago

Perma subprocess.CalledProcessError: Command '['patch', '-d', '/builds/worker/fetches/rust/', '-p1', '-i', '/builds/worker/workspace/build/src/build/build-rust/rust-vendor-std.patch', '--fuzz=0', '-s']' returned non-zero exit status 1.

Categories

(Firefox Build System :: Toolchains, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2002715

People

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

References

Details

Attachments

(1 obsolete file)

Filed by: mh [at] glandium.org
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=472174393&repo=toolchains
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WuZ3-sUIQL22kfdAa146DQ/runs/0/artifacts/public/logs/live_backing.log


[task 2024-08-29T05:30:04.053Z] repack: Patching Rust src... /builds/worker/fetches/rust/ with /builds/worker/workspace/build/src/build/build-rust/rust-vendor-std.patch
[task 2024-08-29T05:30:04.054Z] 1 out of 1 hunk FAILED -- saving rejects to file src/bootstrap/src/core/build_steps/dist.rs.rej
[task 2024-08-29T05:30:04.055Z] Traceback (most recent call last):
[task 2024-08-29T05:30:04.055Z]   File "/builds/worker/workspace/build/src/taskcluster/scripts/misc/repack_rust.py", line 674, in <module>
[task 2024-08-29T05:30:04.055Z]     repack(**args)
[task 2024-08-29T05:30:04.055Z]   File "/builds/worker/workspace/build/src/taskcluster/scripts/misc/repack_rust.py", line 503, in repack
[task 2024-08-29T05:30:04.055Z]     build_src(install_dir, host, targets, patches)
[task 2024-08-29T05:30:04.055Z]   File "/builds/worker/workspace/build/src/taskcluster/scripts/misc/repack_rust.py", line 393, in build_src
[task 2024-08-29T05:30:04.055Z]     patch_src(patch_file, patch_module)
[task 2024-08-29T05:30:04.055Z]   File "/builds/worker/workspace/build/src/taskcluster/scripts/misc/repack_rust.py", line 369, in patch_src
[task 2024-08-29T05:30:04.055Z]     subprocess.check_call(["patch", "-d", module, "-p1", "-i", patch, "--fuzz=0", "-s"])
[task 2024-08-29T05:30:04.055Z]   File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
[task 2024-08-29T05:30:04.055Z]     raise CalledProcessError(retcode, cmd)
[task 2024-08-29T05:30:04.056Z] subprocess.CalledProcessError: Command '['patch', '-d', '/builds/worker/fetches/rust/', '-p1', '-i', '/builds/worker/workspace/build/src/build/build-rust/rust-vendor-std.patch', '--fuzz=0', '-s']' returned non-zero exit status 1.
[taskcluster 2024-08-29 05:30:17.492Z] === Task Finished ===
Assignee: nobody → mh+mozilla
Blocks: rustc-1.82
Blocks: 1945020
Attachment #9463122 - Attachment is obsolete: true

Context for this bug on the blocked bug from :glandium:

Oh, right, I forgot we're stuck on 1.81 for asan builds because our patch for -Z build-std doesn't apply to 1.82 and needs to be rewritten.

I'd like to get this resolved so we can unblock the Rust 1.82 upgrade, and use that to unblock the WGPU update I'm trying to do in bug 1943149. I'm happy to dedicate more time to this, but I need guidance (presumable from :glandium) on how to fix this patch, or some assurance from :glandium that this will be or will not be resolved this soon. I don't need a specific outcome; I just want clarity.

Flags: needinfo?(mh+mozilla)
No longer blocks: 1945020
No longer blocks: rustc-1.82, 1925201
See Also: → rustc-1.82, 1925201
Blocks: 1960300
No longer blocks: 1960300
See Also: → 1960300
No longer blocks: 1957042
See Also: → 1957042
Status: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2002715
Flags: needinfo?(mh+mozilla)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: