From: "Andrey Zhizhikin" <andrey.z@gmail.com>
To: Richard Leitner <richard.leitner@skidata.com>
Cc: feki.ayman94@gmail.com, meta-freescale@lists.yoctoproject.org
Subject: Re: [meta-freescale] #yocto #meta-java
Date: Wed, 11 Nov 2020 08:30:07 +0100 [thread overview]
Message-ID: <CAHtQpK77FzgtGb6G=4q7Qvg40gAu_3rFMURqHGqZRwVog-6FAQ@mail.gmail.com> (raw)
In-Reply-To: <20201110193025.GF1573@brokenbit>
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.
prev parent reply other threads:[~2020-11-11 7:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHtQpK77FzgtGb6G=4q7Qvg40gAu_3rFMURqHGqZRwVog-6FAQ@mail.gmail.com' \
--to=andrey.z@gmail.com \
--cc=feki.ayman94@gmail.com \
--cc=meta-freescale@lists.yoctoproject.org \
--cc=richard.leitner@skidata.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).