Open
Bug 956565
Opened 11 years ago
Updated 2 years ago
mach build fails if launched from a root directory (Windows)
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: foudil.newbie+bmo, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/plain
|
Details |
- MozillaBuild installed in c:\
- Firefox source code in h:\ directly (*not* under a sub-directory)
- launch start-msvc11.bat
- |cd h:|
- |mach build| fails with "ValueError: no path specified" (see relevant excerpt of log in attachment)
The problem comes from the '/' being stripped from drive path, resulting in paths like 'h:mozilla-config.h.in'. At some stage, mozpath.dirname('h:mozilla-config.h.in') return a null string.
I'll try to submit a patch.
Comment 1•11 years ago
|
||
Yuck.
I'm tempted to just not support this build configuration as chances are things outside the build system will also choke and it's much easier to just disallow the build configuration than to chase the long tail. I don't believe this burdens developers too much. After all, you're the first person to my knowledge to complain about this.
Blocks: 912114
Comment 2•11 years ago
|
||
> I'm tempted to just not support this build configuration
I'd rather support it, as it helps getting around long path issues with make.
Comment 3•11 years ago
|
||
d:\a\
It saves 2 characters. Is that worth it?
Comment 4•11 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #3)
> d:\a\
>
> It saves 2 characters. Is that worth it?
considering d: might be created with SUBST, yes.
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•