| Summary: | poky-tiny: m4 and gettext fail to compile for meta-toolchain target | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Darren Hart <dvhart> | ||||||
| Component: | devtools / tool chain | Assignee: | Nitin Kamble <nitin.a.kamble> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | High | CC: | meta.mr.watcher, meta.watcher, reinette.chatre, song.liu | ||||||
| Version: | 1.2 | ||||||||
| Target Milestone: | 1.2 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | (1.2) commits to fix the issue sent to ML | ||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | --- | |||||||
| Attachments: |
|
||||||||
|
Description
Darren Hart
2012-04-06 22:43:11 UTC
I have a fix for this, but there are more issues for building meta-toolchin for poky-tiny. And I am looking at those now. Sent commits for fixing the issue: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=nitin/bugfixes&id=dffbfe0da60f19e326c17005e557d1f0535610fd Fixed by this commit in the poky master branch. commit 88b399bb2c8adcf8563d144c0838cbcdd45c0694 Author: Nitin A Kamble <nitin.a.kamble@intel.com> Date: Tue Apr 10 18:33:46 2012 -0700 tclibc-eglibc.inc: make locale packages dependency conditional Only add locale package dependencies if the eglibc is configured with locale support. This avoids dependencies issues for distros such as poky-tiny [RP: Add PR bump] (From OE-Core rev: bcaea8ec9c9c333f76b368225f60d4fb54c1c7b2) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> and also this commit commit 8c48ab6183934fd32600997cc33e0cd3bf63139b Author: Nitin A Kamble <nitin.a.kamble@intel.com> Date: Mon Apr 9 15:15:01 2012 -0700 poky-tiny.conf: adjust eglibc options for poky-tiny Avoid errors for building meta-toolchain for poky-tiny This Fixes Bug: [YOCTO #2259] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Created attachment 484 [details]
bitbake output and do_compile log
(In reply to comment #1) > I have a fix for this, but there are more issues for building meta-toolchin for > poky-tiny. And I am looking at those now. Apologies, previous comment lost the logs here it is ... (In reply to comment #1) > I have a fix for this, but there are more issues for building meta-toolchin for > poky-tiny. And I am looking at those now. I still seem to have issues building meta-toolchian for poky-tiny. I am running from git with HEAD c936fca6e163bc19bc08cbd0036b31ca6f6c3ed6 that seems to have all fixes from here. Even so I am getting the following when building eglibc: In file included from xregex.c:634:0: xregex.c: In function 'byte_regex_compile': xregex.c:3395:8: error: too few arguments to function 'findidx' ../locale/weight.h:23:1: note: declared here In file included from xregex.c:634:0: xregex.c: In function 'byte_re_match_2_internal': Previous comment contains output from my bitbake run as well as the log file specific to the failure. Since this bug is marked resolved I will open a new one (In reply to comment #7) > Since this bug is marked resolved I will open a new one Reinette, your poky repo isn't quite up to date, you are one commit too old. You need at least: commit cf05f09f9ffa28a7502ebb9bf1ab00420aee1449 Author: Darren Hart <dvhart@linux.intel.com> Date: Mon Apr 16 18:06:12 2012 -0700 poky-tiny: Separate the libc features required for meta-toolchain Created attachment 486 [details] eglibc do_compile log (In reply to comment #8) > (In reply to comment #7) > > Since this bug is marked resolved I will open a new one > > Reinette, your poky repo isn't quite up to date, you are one commit too old. > You need at least: > > commit cf05f09f9ffa28a7502ebb9bf1ab00420aee1449 > Author: Darren Hart <dvhart@linux.intel.com> > Date: Mon Apr 16 18:06:12 2012 -0700 > > poky-tiny: Separate the libc features required for meta-toolchain My apologies for not doing due-diligence. I updated my repo to the latest, HEAD is now 20ff9db92165e6d16897671d2b1d370661962712 and includes the patch you mention. I am still seeing a failure in the do_compile task of eglibc and I am attaching the do_compile log (In reply to comment #9) > Created attachment 486 [details] > eglibc do_compile log > > (In reply to comment #8) > > (In reply to comment #7) > > > Since this bug is marked resolved I will open a new one > > > > Reinette, your poky repo isn't quite up to date, you are one commit too old. > > You need at least: > > > > commit cf05f09f9ffa28a7502ebb9bf1ab00420aee1449 > > Author: Darren Hart <dvhart@linux.intel.com> > > Date: Mon Apr 16 18:06:12 2012 -0700 > > > > poky-tiny: Separate the libc features required for meta-toolchain > > My apologies for not doing due-diligence. > > I updated my repo to the latest, HEAD is now > 20ff9db92165e6d16897671d2b1d370661962712 and includes the patch you mention. I > am still seeing a failure in the do_compile task of eglibc and I am attaching > the do_compile log Given the pervasiveness of the libc features changes, I suggest a cleansstate on eglibc and retrying. $ bitbake eglibc -c cleansstate you want to run this command instead bitbake eglibc eglibc-initial eglibc-initial-nativesdk eglibc-nativesdk forgot to add cleaning parameters here is the needed command bitbake eglibc eglibc-initial eglibc-initial-nativesdk eglibc-nativesdk -f -c cleansstate Thank you very much. This works for me now. |