Closed
Bug 870214
Opened 12 years ago
Closed 8 years ago
pymake cannot execute config/now in nsprpub
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: m_kato, Assigned: m_kato)
Details
Attachments
(1 file, 1 obsolete file)
1.85 KB,
patch
|
gps
:
feedback+
|
Details | Diff | Splinter Review |
When building NSPR using pymake, the following log is sometimes outputed.
make.py[9]: Leaving directory 'e:\builds\moz2_slave\try-w32-0000000000000000000000\build\obj-firefox\nsprpub\pr\src\threads'
make.py[9]: Entering directory 'e:\builds\moz2_slave\try-w32-0000000000000000000000\build\obj-firefox\nsprpub\pr\src'
Error executing command ../../config/./now [Error 2] The system cannot find the file specified
Error executing command ../../config/./now [Error 2] The system cannot find the file specified
In Makefile, (nsprpub/pr/src/Makefile.in)
NOW = $(MOD_DEPTH)/config/$(OBJDIR)/now
SH_NOW = $(shell $(NOW))
...
@$(ECHO) '#define _BUILD_STRING "$(SH_DATE)"' > $(TINC)
@if test ! -z "$(SH_NOW)"; then \
$(ECHO) '#define _BUILD_TIME $(SH_NOW)$(SUF)' >> $(TINC); \
else \
true; \
fi
GNU make resolves now as now.exe, but pymake doesn't resolve as adding exe suffix.
Assignee | ||
Comment 1•12 years ago
|
||
To resolve by nspr side, all NOW definition in Makefile modifies to now$(PROG_SUFFIX) after define PROG_SUFFIX.
Assignee | ||
Comment 2•12 years ago
|
||
Assignee: nobody → m_kato
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #770662 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #770664 -
Flags: review?(gps)
Comment 4•12 years ago
|
||
Comment on attachment 770664 [details] [diff] [review]
fix v2
Review of attachment 770664 [details] [diff] [review]:
-----------------------------------------------------------------
Good catch!
Could you refactor the logic to avoid the redundant os.path.isfile() lookup?
Also, a basic test would be nice.
Attachment #770664 -
Flags: review?(gps) → feedback+
Comment 5•8 years ago
|
||
Mass close of pymake-related bugs.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•