Date
1 - 3 of 3
#yocto #meta-java #yocto #meta-java
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.
|
|
Richard Leitner
Hi,
On Tue, Nov 10, 2020 at 08:47:46AM -0800, feki.ayman94@... wrote: [Edited Message Follows]I guess that should read "origin/zeus"? 😉 Is there a specific reason why you're using zeus? I'm asking because I'm currently not maintaining the zeus branch of meta-java (as it's EOL). Therefore I would recommend to switch to dunfell or gatesgarth if possible. regards;rl I did modify bblayers.conf and local.conf as per the guide.
|
|
Andrey Zhizhikin
On Tue, Nov 10, 2020 at 8:30 PM Richard Leitner
<richard.leitner@...> wrote: I believe the reason is NXP provides their vendor BSP based on zeus, hence the author opted to checkout corresponding branch in meta-java. Therefore I would recommend to switch to dunfell or gatesgarth ifThis is a good suggestion that I would follow! There was a blog post [1] on how to build a "poky" upstream distro and not using NXP-specific BSP. This should assist in switching from NXP BSP to community one. It already provides dunfell compatibility, and has NXP release 5.4.24-2.1.0 integrated. [1]: https://yoctoproject.blogspot.com/2020/09/how-to-build-core-image-minimal-with.html -- Regards, Andrey.
|
|