[oe] [meta-java][PATCH] openjdk-8: add recipes for openjdk-8 and openjre-8

Jens Rehsack rehsack at gmail.com
Tue Nov 3 14:54:01 UTC 2015


> Am 03.11.2015 um 15:19 schrieb Richard Leitner <richard.leitner at skidata.com>:
> 
> 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

Cheers
-- 
Jens Rehsack - rehsack at gmail.com




More information about the Openembedded-devel mailing list