Closed Bug 1738163 Opened 3 years ago Closed 3 years ago

clang: error: no such file or directory: '<Lastname>\.mozbuild\sysroot-wasm32-wasi' due to space in home directory

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox93 unaffected, firefox94 unaffected, firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox93 --- unaffected
firefox94 --- unaffected
firefox95 --- fixed

People

(Reporter: mozbugz, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

My home directory on Windows 10 is C:\Users\Gerald Squelart

Since bug 1737911 landed, my local build now stops at:

clang: error: no such file or directory: 'Squelart.mozbuild\sysroot-wasm32-wasi' due to space in home directory

Seeing the path starting with "Squelart" most probably means that a command was given the full path into my home directory, but it was parsed as two separate arguments because of the space.

And it looks like bug 1738095 modified the breaking patch further, so it may need to be updated as well/instead?

Depends on: 1738095

Any ideas glandium?

(In reply to Gerald Squelart [:gerald] (he/him) from comment #1)

And it looks like bug 1738095 modified the breaking patch further, so it may need to be updated as well/instead?

That patch was temporarily landed and then backed out again on autoland, so the fix can be written against a tree without that change.

Flags: needinfo?(mh+mozilla)

I'm surprised you don't have more problems with ~/.mozbuild having a space. Workarounds:

  • define MOZBUILD_STATE_PATH to some path without spaces
  • build with --without-wasm-sandboxed-libraries
Flags: needinfo?(mh+mozilla)
Component: Security: Process Sandboxing → General
Product: Core → Firefox Build System

There are issues popping up from time to time.
If that helps, the previous one I experienced was bug 1659685 -- not filed by me, so I'm not the only one at Mozilla with a space in my $HOME!

Thank you for the workarounds.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED

Can you confirm whether the patch works?

Flags: needinfo?(gsquelart)

The patch (with fixed return) Works For Me™! Thank you.

Flags: needinfo?(gsquelart)
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/5c484d2420bc Normalize mozbuild state path to a shortpath on Windows. r=firefox-build-system-reviewers,andi

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

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Has Regression Range: --- → yes
Blocks: 1758626
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: