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)

29 Branch
x86
Windows 7
defect

Tracking

(Not tracked)

People

(Reporter: foudil.newbie+bmo, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file relevant build log excerpt (deleted) —
- 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.
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
> 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.
d:\a\ It saves 2 characters. Is that worth it?
(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.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: