> Am 03.11.2015 um 16:40 schrieb Richard Leitner <[email protected]>: > > On 11/03/2015 03:54 PM, Jens Rehsack wrote: >> >>> Am 03.11.2015 um 15:19 schrieb Richard Leitner >>> <[email protected]>: >>> >>> On 11/03/2015 10:36 AM, Jens Rehsack wrote: >>>> This adds openjdk-8 for native and target builds and allows a stripped >>>> openjre-8 being built as well instead of trying to cherry-pick jre >>>> components from jdk-image. >>>> >>>> The recipes allow building openjdk-8 with or without: >>>> * x11 >>>> * cups >>>> * alsa/pulseaudio >>>> and let packager enable unlimited-crypto, if desired. >>>> >>>> Since there can be only one PROVIDES for virtual/java-native and >>>> virtual/javac-native, >>>> move the provides to openjdk-8-native (I think everyone agrees it's a >>>> better >>>> choice than ecj-bootstrap-native). >>>> >>>> Plus: Applying a fix from openjdk-9 repository which fixes build issues >>>> using gcc5 >>> >>> For me the patch fails to apply on current master: >>> >>> git am patches-from-emails/openjdk-8_and_openjre-8.eml >>> Applying: openjdk-8: add recipes for openjdk-8 and openjre-8 >>> /home/leri/git/meta-java/.git/rebase-apply/patch:515: trailing whitespace. >>> xargs -0 -n1 >>> ${STAGING_LIBDIR_NATIVE}/jvm/openjdk-8-native/bin/pack200 --repack >>> --effort=9 --segment-limit=-1 --modification-time=latest --strip-debug >>> /home/leri/git/meta-java/.git/rebase-apply/patch:1232: trailing whitespace. >>> # >>> /home/leri/git/meta-java/.git/rebase-apply/patch:1265: trailing whitespace. >>> >>> /home/leri/git/meta-java/.git/rebase-apply/patch:1270: trailing whitespace. >>> >>> /home/leri/git/meta-java/.git/rebase-apply/patch:1289: trailing whitespace. >>> >>> fatal: corrupt patch at line 4592 >>> Patch failed at 0001 openjdk-8: add recipes for openjdk-8 and openjre-8 >> >> That's maybe because I copy the format-patch output manually into the mail. >> Use this one: >> https://github.com/rehsack/meta-java/commit/57eba04b0f68a55b3250a692bc5834902709c903 >> > > Same error :-( > Do I need any previous patches applied which are not yet on master?
Depends - this one comes first, because openjdk-8 supports building for distro's without x11: https://github.com/rehsack/meta-java/commit/566f95135c9f8b8bedd1e24b2b5872177b1fdbe4 You had trouble testing it because of cacao-native re-configure ... which should now be fixed. Cheers -- Jens Rehsack - [email protected] -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
