Closed
Bug 573636
Opened 14 years ago
Closed 14 years ago
add jdk6/bin to the step's PATH environment to workaround a make issue
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bear, Assigned: bear)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
mozilla
:
review+
mozilla
:
checked-in+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
jhford
:
review+
|
Details | Diff | Splinter Review |
add to the compile step's environment PATH value the /tools/jdk6/bin path to allow the SUTAgent build to work until they fix their issue
Assignee | ||
Updated•14 years ago
|
Attachment #452914 -
Attachment is patch: true
Attachment #452914 -
Attachment mime type: application/octet-stream → text/plain
Attachment #452914 -
Flags: review?(aki)
Comment 1•14 years ago
|
||
Comment on attachment 452914 [details] [diff] [review]
add jdk6 bin/ to PATH for compile step
wish i knew why java_home wasn't working, but i'm not going to block builds on that.
Attachment #452914 -
Flags: review?(aki) → review+
Comment 2•14 years ago
|
||
Comment on attachment 452914 [details] [diff] [review]
add jdk6 bin/ to PATH for compile step
http://hg.mozilla.org/build/buildbotcustom/rev/3d93f905a060
Attachment #452914 -
Flags: checked-in+
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #452964 -
Flags: review?(aki)
Assignee | ||
Updated•14 years ago
|
Attachment #452964 -
Flags: review?(aki) → review?(jhford)
Comment 4•14 years ago
|
||
Comment on attachment 452964 [details] [diff] [review]
seems you do need a default param for the get() call for path
>- envJava['PATH'] = '/tools/jdk6/bin:%s' % envJava.get('PATH')
>+ envJava['PATH'] = '/tools/jdk6/bin:%s' % envJava.get('PATH', os.environ['PATH'])
while we use the same ref image for the slave and master, we should not be pulling the environment of the master to set up the environment of the slave. Instead, could we set the path explicitly in mobile_config.py?
Attachment #452964 -
Flags: review?(jhford) → review-
Assignee | ||
Comment 5•14 years ago
|
||
Assignee: nobody → bear
Attachment #452964 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #452972 -
Flags: review?(jhford)
Comment 6•14 years ago
|
||
Comment on attachment 452972 [details] [diff] [review]
seems you do need a default param for the get() call for path
>- envJava['PATH'] = '/tools/jdk6/bin:%s' % envJava.get('PATH')
>+ envJava['PATH'] = '/tools/jdk6/bin:%s' % envJava.get('PATH', '/opt/local/bin:/tools/python/bin:/tools/buildbot/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/cltbld/bin'])
Assuming that bin']) should have been bin'). If that is the case, will land with this :)
Attachment #452972 -
Flags: review?(jhford) → review+
Assignee | ||
Comment 7•14 years ago
|
||
(In reply to comment #6)
> (From update of attachment 452972 [details] [diff] [review])
> >- envJava['PATH'] = '/tools/jdk6/bin:%s' % envJava.get('PATH')
> >+ envJava['PATH'] = '/tools/jdk6/bin:%s' % envJava.get('PATH', '/opt/local/bin:/tools/python/bin:/tools/buildbot/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/cltbld/bin'])
>
> Assuming that bin']) should have been bin'). If that is the case, will land
> with this :)
yes, was too busy arguing with you to notice the errant key - thanks
Comment 8•14 years ago
|
||
Resolved?
Assignee | ||
Comment 9•14 years ago
|
||
yes
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•