[yocto] Including meta-oracle-java in a custom image.

Marcelo Valle mvalleavila at gmail.com
Tue Jun 4 00:23:28 PDT 2013


Hello,

I'm triying to include oracle java in my custom image and i'm having some
troubles to accomplish it.

After include oracle-jse-jre-x86-64_1.7.0.bb recipe in IMAGE_INSTALL var
and build the image the following errors appears:

1.
Fetcher failure for URL: '
http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jre-7u2-linux-x64.tar.gz'.
Checksum mismatch!

If this change is expected (e.g. you have upgraded to a new version without
updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "
81ee08846975d4b8d46acf3b6eddf103"
SRC_URI[sha256sum] =
"80212f7748c2671b89b6085000717c747851db004409dce3bb97f3a2aeb91cdd"



--------------------------------------------

Function failed: Unpack failure for URL: '
http://download.oracle.com/otn-pub/java/jdk/7u2-b13/jre-7u2-linux-x64.tar.gz
'

Unpacking
/home/mvalle/Yocto2/poky-dylan-9.0.0/build/downloads/jre-7u2-linux-x64.tar.gz
gzip: stdin: not in gzip format


---------------------------------------------

ERROR: objcopy failed with exit code 1 (cmd was 'x86_64-poky-linux-objcopy'
--add-gnu-debuglink='/home/mvalle/Yocto2/poky-dylan-9.0.0/build/tmp/work/x86_64-poky-linux/oracle-jse-jre-x86-64/1.7.0-r0/package/usr/jre1.7.0_02/lib/amd64/.debug/libjsig.so'
'/home/mvalle/Yocto2/poky-dylan-9.0.0/build/tmp/work/x86_64-poky-linux/oracle-jse-jre-x86-64/1.7.0-r0/package/usr/jre1.7.0_02/lib/amd64/libjsig.so')
ERROR: Function failed: split_and_strip_files

INHIBIT_PACKAGE_STRIP = "1"

----------------------------------------------

bitbake oracle-jse-jre-x86-64 -> Compile without errors!

-----------------------------------------------

bitbake core-image-abacus

Function failed: do_rootfs

| Computing transaction...error: Can't install
oracle-jse-jre-x86-64-1.7.0-r0 at x86_64: no package provides
libXi.so.6()(64bit)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130604/706ecde4/attachment.html>


More information about the yocto mailing list