#yocto #meta-java #yocto #meta-java


feki.ayman94@...
 
Edited

Hello;
I'm working on a Ubuntu 18.04 machine. and NXP release L5.4.24 for IMX8M Mini.
I did successfully "bitbake" my custom image.
Then I am trying to add support for openjdk-8.
Referred "How to add openjdk to Yocto Layers "
I did "git checkout -b zeus origin/zueus"
I did modify bblayers.conf and local.conf as per the guide.

But when I tried to do "bitbake openjdk-8", got following error:

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 122 Found 87 Missed 35 Current 368 (71% match, 92% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: ecj-bootstrap-native-1.0-r1 do_prepare_recipe_sysroot: The file /usr/include/gc.h is installed by both bdwgc-native and cacao-native, aborting
ERROR: Logfile of failure stored in: /home/ayman/YOCTO/imx_repo/menzu/tmp/work/x86_64-linux/ecj-bootstrap-native/1.0-r1/temp/log.do_prepare_recipe_sysroot.14496
ERROR: Task (/home/ayman/YOCTO/imx_repo/sources/meta-java/recipes-core/ecj/ecj-bootstrap-native.bb:do_prepare_recipe_sysroot) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1032 tasks of which 1029 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/ayman/YOCTO/imx_repo/sources/meta-java/recipes-core/ecj/ecj-bootstrap-native.bb:do_prepare_recipe_sysroot
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Would you please provide some pointers to resolve this issue?

Thanks and regards.


 

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.