[yocto] Install Java on Core-Image-Sato-Sdk

Maxin B. John maxin.john at enea.com
Thu Nov 27 02:10:46 PST 2014


Hi,

On Thu, Nov 27, 2014 at 09:10:39AM +0100, Tran TriTin wrote:
> Hi,
> 
> i tried to install Java (meta-oracle-java) on Core-image-Sato-sdk, but i always
> received this following error. Please help me
> 
> ERROR: runstrip: ''i586-poky-linux-strip' --remove-section=.comment
> --remove-section=.note '/home/tvtritin/DemoYOCTO/poky1.7/build-core-image-java/
> tmp/work/i586-poky-linux/oracle-jse-ejre-arm-vfp-hflt-client-headless/
> 1.7.0-u71r0/package/usr/ejre1.7.0_71/lib/jexec'' strip command failed
> 
> ERROR: Unable to install packages. Command '/home/tvtritin/DemoYOCTO/poky1.7/
> build-core-image-java/tmp/sysroots/x86_64-linux/usr/bin/smart --quiet
> --data-dir=/home/tvtritin/DemoYOCTO/poky1.7/build-core-image-java/tmp/work/
> qemux86-poky-linux/core-image-sato-sdk/1.0-r0/rootfs/var/lib/smart install -y
> packagegroup-core-x11-sato-games at qemux86
> packagegroup-core-standalone-sdk-target at all packagegroup-core-x11-base at all
> packagegroup-base-extended at qemux86 smartpm at i586
> packagegroup-core-tools-debug at all packagegroup-core-tools-testapps at qemux86
> packagegroup-core-eclipse-debug at all packagegroup-core-qt-demoapps at all
> packagegroup-core-boot at qemux86 packagegroup-core-tools-profile at qemux86
> packagegroup-core-sdk at all psplash at i586
> oracle-jse-ejre-arm-vfp-hflt-client-headless at i586 rpm at i586
> packagegroup-core-ssh-openssh at all packagegroup-core-x11-sato at qemux86
> kernel-dev at qemux86 locale-base-en-us at i586 locale-base-en-gb at i586' returned 1:
> error: Can't install
> oracle-jse-ejre-arm-vfp-hflt-client-headless-1.7.0-u71r0 at i586: no package
> provides libdl.so.2(GLIBC_2.4)
> 
> 
> ERROR: Function failed: do_rootfs
> ERROR: Logfile of failure stored in: /home/tvtritin/DemoYOCTO/poky1.7/
> build-core-image-java/tmp/work/qemux86-poky-linux/core-image-sato-sdk/1.0-r0/
> temp/log.do_rootfs.32175
> ERROR: Task 7 (/home/tvtritin/DemoYOCTO/poky1.7/meta/recipes-sato/images/
> core-image-sato-sdk.bb, do_rootfs) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 6174 tasks of which 44 didn't need to be rerun
> and 1 failed.
> No currently running tasks (6174 of 6175)

It is a bit difficult to guess from here whether you are trying to install
"java for arm binary" in an x86 target. Otherwise, please try using DEB 
or IPK packaging as there are some known install problems with RPM packaging 
in meta-oracle-java.

To do that, please set:
PACKAGE_CLASSES = "package_deb"
or
PACKAGE_CLASSES = "package_ipk"
in your 'local.conf' file and build it.

> 
> Best regard,
> Van Tri Tin Tran
Hope this helps,
Maxin



More information about the yocto mailing list