All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [meta-freescale] #yocto #meta-java
       [not found] <Groupsio.2.gBvN.1605026866698604449.ONVA@lists.yoctoproject.org>
@ 2020-11-10 19:30 ` Richard Leitner
  2020-11-11  7:30   ` Andrey Zhizhikin
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Leitner @ 2020-11-10 19:30 UTC (permalink / raw)
  To: feki.ayman94; +Cc: meta-freescale

Hi,

On Tue, Nov 10, 2020 at 08:47:46AM -0800, feki.ayman94@gmail.com wrote:
> [Edited Message Follows]
> 
> 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 ( https://community.nxp.com/docs/DOC-345333 ) "
> I did " git checkout -b *zeus* origin/zueus"

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.
> 
> 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.

> 
> 
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [meta-freescale] #yocto #meta-java
  2020-11-10 19:30 ` [meta-freescale] #yocto #meta-java Richard Leitner
@ 2020-11-11  7:30   ` Andrey Zhizhikin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Zhizhikin @ 2020-11-11  7:30 UTC (permalink / raw)
  To: Richard Leitner; +Cc: feki.ayman94, meta-freescale

On Tue, Nov 10, 2020 at 8:30 PM Richard Leitner
<richard.leitner@skidata.com> wrote:
>
> Hi,
>
> On Tue, Nov 10, 2020 at 08:47:46AM -0800, feki.ayman94@gmail.com wrote:
> > [Edited Message Follows]
> >
> > 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 ( https://community.nxp.com/docs/DOC-345333 ) "
> > I did " git checkout -b *zeus* origin/zueus"
>
> 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).

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 if
> possible.

This 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.

>
> regards;rl
>
> > 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.
>
> >
> >
> >
>
>
> 
>

[1]: https://yoctoproject.blogspot.com/2020/09/how-to-build-core-image-minimal-with.html

-- 
Regards,
Andrey.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-11  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Groupsio.2.gBvN.1605026866698604449.ONVA@lists.yoctoproject.org>
2020-11-10 19:30 ` [meta-freescale] #yocto #meta-java Richard Leitner
2020-11-11  7:30   ` Andrey Zhizhikin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.