Closed
Bug 1101942
Opened 11 years ago
Closed 11 years ago
Cannot create gaia profile using local b2g-sdk downloaded from ftp.mozilla.org
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: garndt, Assigned: garndt)
References
Details
Attachments
(1 file)
Make script exists with an error when attempting to create a profile using a local b2g-sdk along with the option "USE_LOCAL_XULRUNNER_SDK" when the package was downloaded from the ftp site [1]. Looks like the path used to determine where xpcshell resides doesn't include the path that's found in the nightly archive. This package does work fine when not using the "USE_LOCAL_XULRUNNER_SDK" option.
Example:
make USE_LOCAL_XULRUNNER_SDK=1 XULRUNNER_DIRECTORY=../xulsdk/ DESKTOP=0 DESKTOP_SHIMS=0 DEBUG=0 NOFTU=0
[1] http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/latest-mozilla-b2g34_v2_1/b2g-34.0a2.multi.linux-x86_64.tar.bz2
Assignee | ||
Comment 1•11 years ago
|
||
Added another search path for xpcshell that will match the patch found in the nightly b2gsdk build on ftp.mozilla.org
Attachment #8525696 -
Flags: review?(ricky060709)
Comment 2•11 years ago
|
||
Comment on attachment 8525696 [details] [review]
GH PR 26311
We will get a b2g/ folder after extracting nightly archive. So I think it makes sense to point $(XULRUNNER_DIRECTORY)/b2g/xpcshell rather than $(XULRUNNER_DIRECTORY)/bin/xpcshell.
But I really want to know why we put $(XULRUNNER_DIRECTORY)/bin/xpcshell in Makefile. Maybe there are some retional reasons. We should ni Martin Thomson to make sure that.
Attachment #8525696 -
Flags: review?(ricky060709)
Attachment #8525696 -
Flags: review?(martin.thomson)
Attachment #8525696 -
Flags: review+
Comment 3•11 years ago
|
||
Before XUL is replaced by b2g, we assume that the path of xpcshell points to bin/xpcshell. After changing to b2g, the xpcshell is moved to b2g/xpcshell, so I think it is possible a bug which we forgot to modify bin/ to b2g/.
Assignee | ||
Comment 4•11 years ago
|
||
:rickychien thanks. Should I modify the Makefile or keep it as is? Just wondering where this stands and what I could do to help it along. Thanks!
Comment 5•11 years ago
|
||
Comment on attachment 8525696 [details] [review]
GH PR 26311
r+ conditional on addressing the comment in the PR.
Attachment #8525696 -
Flags: review?(martin.thomson) → review+
Comment 6•11 years ago
|
||
@Greg Arndt, I'm not sure about your question. Just modify Makefile as Martin's comment on Github and merge your pull request.
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Nice Job! Greg Arndt.
Merged.
https://github.com/mozilla-b2g/gaia/commit/1edb41b5de2d0dac9a12872bd4132f618faf1195
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Keywords: checkin-needed
Comment 8•11 years ago
|
||
reverted for causing bustage like https://treeherder.mozilla.org/ui/logviewer.html#?job_id=888055&repo=b2g-inbound
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 9•11 years ago
|
||
Pushed to try using my gaia fork/branch that contains this change:
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=d44993945b78
I also looked at the build logs and where it would have affected it is identical both in a failed build job and a passing one. Was another bug determined to be the cause of this backout? What can I do to ensure that this is good enough to land again?
Assignee | ||
Comment 10•11 years ago
|
||
Actually, disregard, it looks like the branch I used was rebased and contained the backed out commit as well. Will try again and report the results.
Comment 11•11 years ago
|
||
Confirm bustage is caused by bug 1103819. I'm going to land it again soon.
Comment 12•11 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•