Closed
Bug 652517
Opened 14 years ago
Closed 14 years ago
[OS/2] make package fails to generate startupCache.zip
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla8
People
(Reporter: wuno, Assigned: wuno)
References
Details
Attachments
(2 files, 1 obsolete file)
1.09 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
1.10 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (OS/2; Warp 4.5; rv:6.0a1) Gecko/20110425 Firefox/6.0a1
Build Identifier:
[E:\mozbuild7\dist\firefox]set BEGINLIBPATH=..\..\DIST\bin;E:\usr\local441\lib;E:\usr\lib;E:\GLIBIDL\gcc335\lib;E:\PERL\lib;E:\MOZTOOLS;E:\EMX\dll;E:\python26;
[E:\mozbuild7\dist\firefox]set LIBPATHSTRICT=T
[E:\mozbuild7\dist\firefox]E:\MOZBUILD7\BROWSER\INSTALLER\..\..\DIST\BIN\XPCSHELL.EXE -g "" -f E:/hg-src/hg/mozilla-aurora/browser/installer/precompile_cache.js -e "populate_startupcache("omni.jar", "startupCache.zip");"
SetGREDir failed.
unzip: cannot find either startupCache.zip or startupCache.zip.zip.
make.exe[2]: *** [make-package] Error 9
Note "$$PWD" gets resolved to an empty string
exchanging "$$PWD" to "$(CURDIR)" resolves it to "$objdir/browser/installer" but then it fails with
E:\MOZBUILD1\BROWSER\INSTALLER\..\..\DIST\BIN\XPCSHELL.EXE -g E:/mozbuild1/browser/installer -f E:/hg-src/hg/comm-central/mozilla/browser/installer/precompile_cache.js -e "populate_startupcache("omni.jar", "startupCache.zip");"
-e:1: ReferenceError: omni is not defined
Reproducible: Always
IIRC ash has a bug where $PWD is not set until a cd is issued, eg cd ./.
(pdk)sh.exe does not have this bug.
Assignee | ||
Comment 2•14 years ago
|
||
(In reply to comment #1)
> IIRC ash has a bug where $PWD is not set until a cd is issued, eg cd ./.
> (pdk)sh.exe does not have this bug.
When I put PWD in brackets "$$(PWD)", the GreDir is setup properly. However still I see then
-e:1: ReferenceError: omni is not defined (as if the "." in omni.jar is somehow taken as a delimiter)
Assignee | ||
Comment 3•14 years ago
|
||
(In reply to comment #1)
> IIRC ash has a bug where $PWD is not set until a cd is issued, eg cd ./.
> (pdk)sh.exe does not have this bug.
(In reply to comment #2)
> When I put PWD in brackets "$$(PWD)", the GreDir is setup properly.
While this works with our ash.exe, it doesn't build on linux
You are right, the PWD problem is due to ash, with pdksh it gets resolved properly.
> However, still I see then
> -e:1: ReferenceError: omni is not defined (as if the "." in omni.jar is somehow
> taken as a delimiter)
The second problem seems to be caused by quotation. It doesn't work with pdksh as well. But when I use single quotes for 'omni.jar', 'startupCache.zip' it works.
Assignee | ||
Comment 5•14 years ago
|
||
This works with ash (with a little workaround for the bug in ash) and ksh and sh
Assignee: nobody → wuno
Attachment #530903 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #551232 -
Flags: review?(mh+mozilla)
Updated•14 years ago
|
Attachment #551232 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 7•14 years ago
|
||
Keywords: checkin-needed
Whiteboard: [inbound]
Comment 8•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
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
•