Closed Bug 567818 Opened 15 years ago Closed 14 years ago

Start building Fennec nightlies with Android SDK 2.2 (android-8)

Categories

(Release Engineering :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mbrubeck, Assigned: bear)

References

Details

Attachments

(4 files, 2 obsolete files)

This is required to use the new installLocation feature: http://developer.android.com/guide/appendix/install-location.html Note: Packages built with the android-8 SDK will still be compatible with older versions of Android, if the minVersion in the AndroidManifest.xml file is set appropriately.
Blocks: 567858
Blocks: 572443
Status: NEW → ASSIGNED
I think this is done, but we're seeing checking for java... : checking for javac... : checking for jar... : configure: error: The programs java, javac and jar were not found. Set $JAVA_HOME to your java sdk directory or use --with-java-bin-path={java-bin-dir} *** Fix above errors and then restart with "make -f client.mk build" make[1]: *** [configure] Error 1 make[1]: Leaving directory `/builds/slave/android-trunk/build/mozilla-central' make: *** [/builds/slave/android-trunk/build/mozilla-central/objdir/Makefile] Error 2 Is this a new requirement, or did something regress? Bear: if this turns out to be the fix, "export JAVA_HOME=" is checked into various other mozconfigs, so that could be the way to fix this.
The factory used to set the PATH to have the jdk6/bin dir present - did something change? exporting JAVA_HOME doesn't work all of the time when I was testing for a fix to this before.
(In reply to comment #2) > The factory used to set the PATH to have the jdk6/bin dir present - did > something change? > > exporting JAVA_HOME doesn't work all of the time when > I was testing for a fix to this before. sorry - I looked more deeply into this and realize this is now happening during the compile/configure step. For the "make package" step I had to add the environment. we should try the export JAVA_HOME method to fix this first.
Attachment #452518 - Flags: review?(jhford)
Attachment #452518 - Flags: review?(jhford) → review+
Comment on attachment 452518 [details] [diff] [review] add JAVA_HOME to mozconfig http://hg.mozilla.org/build/buildbot-configs/rev/4b8167579a18 We should at some point move this to the environment in config.py or make it global for the slave.
Attachment #452518 - Flags: checked-in+
according to IRC conversation with vlad it's no longer required
Attachment #452522 - Flags: review?(aki)
Attachment #452522 - Flags: review?(aki)
Attachment #452522 - Flags: review+
Attachment #452522 - Flags: checked-in+
and yep, this is why chmod's should be done in the spec and not manually in the zip
Attachment #452533 - Flags: review?(bhearsum)
Attachment #452533 - Attachment is obsolete: true
Attachment #452597 - Flags: review?(bhearsum)
Attachment #452533 - Flags: review?(bhearsum)
this one actually runs
Attachment #452597 - Attachment is obsolete: true
Attachment #452601 - Flags: review?(bhearsum)
Attachment #452597 - Flags: review?(bhearsum)
Attachment #452602 - Flags: review?(bhearsum)
Attachment #452602 - Flags: review?(bhearsum) → review+
Attachment #452601 - Flags: review?(bhearsum) → review+
Comment on attachment 452602 [details] [diff] [review] bump version to 0moz3 for rpm repackaging changeset: 187:d687e06045f6
Attachment #452602 - Flags: checked-in+
Comment on attachment 452601 [details] [diff] [review] ensure platforms/android-8/tools/ files are +x changeset: 6:c9e8820d90fe
Attachment #452601 - Flags: checked-in+
multiple normal builds have built green and the nightly also built green - marking as resolved
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: