[yocto] Error In java cross compilation using Yocto

Aman Sharma amansh.sharma5 at gmail.com
Fri Oct 4 23:02:27 PDT 2013


Hello Raj,

Thanks for your reply.
Same error message is coming again after applying the above patch.

Regards
Aman


On Sat, Oct 5, 2013 at 10:58 AM, Khem Raj <raj.khem at gmail.com> wrote:

> Apply
> https://github.com/kraj/meta-java/commit/22983b1ab80b3393ecc27e5c3d3a9b52e3b8e692
>
>
> On Friday, October 4, 2013, Aman Sharma wrote:
>
>> Hi All,
>>
>> I need to cross compile openjdk-7-jre in ppc64 platform using Yocto.
>>
>> After setting the environment i am running "bitbake openjdok-7-jre"
>> command but i am getting following error message:
>>
>> | Checking patches/icedtea-zero-hotspotfix.patch
>> | Applying patches/icedtea-zero-hotspotfix.patch
>> | patching file openjdk/hotspot/make/linux/makefiles/zeroshark.make
>> *| Checking patches/icedtea-jdk-nio-use-host-cc.patch*
>> *| 3 out of 6 hunks FAILED -- saving rejects to file
>> openjdk/jdk/make/java/nio/Makefile.rej*
>> *| 2 out of 2 hunks FAILED -- saving rejects to file
>> openjdk/jdk/make/sun/Makefile.rej*
>> *| ERROR patch patches/icedtea-jdk-nio-use-host-cc.patch FAILED!*
>> *| WARNING make clean-patch before retrying a fix*
>> *| make: *** [stamps/patch.stamp] Error 2*
>> *| ERROR: oe_runmake failed*
>> *| ERROR: Function failed: do_configure (see
>> /home/vvdn/yocto_1.4/QorIQ-SDK-V1.4-20130814-yocto/build_t4240rdb_release/tmp/work/ppce6500-fsl_networking-linux/openjdk-7-jre/25b30-2.3.12-r5.1/temp/log.do_configure.19910
>> for further information)*
>> ERROR: Task 6
>> (/home/vvdn/yocto_1.4/QorIQ-SDK-V1.4-20130814-yocto/meta-java/recipes-core/openjdk/
>> openjdk-7_25b30-2.3.12.bb, do_configure) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 2674 tasks of which 2664 didn't need to be
>> rerun and 1 failed.
>> No currently running tasks (2674 of 2684)
>>
>> Summary: 1 task failed:
>>
>> /home/vvdn/yocto_1.4/QorIQ-SDK-V1.4-20130814-yocto/meta-java/recipes-core/openjdk/
>> openjdk-7_25b30-2.3.12.bb, do_configure
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>> Please help me on fixing this issue.
>>
>> Thanks
>> Aman Sharma
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131005/2e8f1828/attachment.html>


More information about the yocto mailing list