Closed
Bug 770165
Opened 12 years ago
Closed 12 years ago
Pymake and GNU make have different inter-path separators on Windows
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla17
People
(Reporter: rain1, Assigned: rain1)
Details
Attachments
(1 file, 1 obsolete file)
457 bytes,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
For inter-path separators (the : in PATH=/bin:/usr/bin) Pymake uses the Windows standard semicolon (;) while GNU make uses the Unix standard colon (:). This means vpath-directive.mk currently fails with GNU make but succeeds with pymake. I've attached a patch that makes the test pass, but that doesn't seem to be the right thing to do. (Or is it?) Two questions: 1. Can this be fixed at all? 2. Should this be fixed?
Attachment #638338 -
Flags: feedback?(khuey)
Comment 1•12 years ago
|
||
It would be helpful if these patches could be against the pymake repository itself instead of the mozilla repo. It is the correct behavior for VPATH to use the ; separator on Windows, because pymake operates on native paths, while msys make on windows operates on msys paths. So changing the test is probably the correct answer. This is one of the fundamental differences between pymake and msys make. I don't think that this is a problem if we're comparing against mingw32-make, though, which also operates on windows-style paths.
Assignee | ||
Comment 2•12 years ago
|
||
> So changing the test is probably the correct answer.
Yes, that's what I first thought, but don't relative paths make this a bit murkier? So far I think we've been cheating our way into successfully building on Windows with Pymake by only using relative paths.
Comment 3•12 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #1) > pymake operates on native paths, while msys make on windows operates > on msys paths. Note that's what makes building nss with pymake really hard.
Assignee | ||
Comment 4•12 years ago
|
||
per bsmedberg's recommendation.
Assignee: nobody → sagarwal
Attachment #638338 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #638338 -
Flags: feedback?(khuey)
Attachment #645068 -
Flags: review?(khuey)
Attachment #645068 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 5•12 years ago
|
||
http://hg.mozilla.org/users/bsmedberg_mozilla.com/pymake/rev/e4249836c21d http://hg.mozilla.org/integration/mozilla-inbound/rev/30ad537fca91
Target Milestone: --- → mozilla17
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/30ad537fca91
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•