| Summary: | bitbake remake-native fails at do_configure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Stoicescu Cornel <corneliux.stoicescu> | ||||
| Component: | devtools / tool chain | Assignee: | Petter <petter> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | jessica.zhang, meta.mr.watcher, meta.watcher, petter, richard.purdie, sgw | ||||
| Version: | 1.4 | ||||||
| Target Milestone: | 1.5 M2 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
At a quick glance this looks like a missing gettext dependency The problem can easily be reproduced by doing: (Tested on master:74e403705e25afec656b5e40921771a9c29bdc40) 1. Setup a new qemux86/64 project. 2. Run: bitbake remake-native The bb-file for remake use 'autopoint' (from gettext). This will result in a failure in do_configure for all cases when gettext is not build from some other recipes before building 'remake-native'. So if you try this after executing for example 'core-image-minimal' it will work. So to confirm Richard, at least a build-dependency to gettext is needed. If no objections, I think this bug can be set in ACCEPTED and I can start working on this issue. It's actually a little more complex since it seems that remake already is inheriting gettext, you may have to set it specifically for native. Since the problem is well described and possible to reproduce I will change status to ACCEPTED. (In reply to comment #3) > It's actually a little more complex since it seems that remake already is > inheriting gettext, you may have to set it specifically for native. Yes, you are right. The problem seems to be that the behavior when inherit gettext differs if you are building native. gettext.bbclass returns "gettext-minimal-native" for native. This is insufficient for remake-native, since it needs "gettext-native". One way to solve this is like you suggest, to add a dependency specifically for native. I have done some early tests using this method and it looks promising. Sent fix for review to openembedded-core@lists.openembedded.org ---- The following changes since commit 3dee534f1e25109e0bdb681de0746c336f4b8840: lib/oeqa: fix dependecy check (2013-07-16 10:04:17 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib petmab/bug/4385 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=petmab/bug/4385 Petter Mabäcker (1): remake: fix insufficient gettext dependency meta/recipes-devtools/remake/remake_git.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) -- 1.7.9.5 ---- Fixed in commit: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1b01e392e1f8c9b2056587a8593cb077a4a08b0f Verified in 1.4.2_rc1 (d734ab491a30078d43dee5440c03acce2d251425) |
Created attachment 1196 [details] log.do_configure dylan:789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4 1) bitbake remake-native Notice ERROR: see attached log ERROR: Task 5 (virtual:native:/home/cornel/SSD/poky/meta/recipes-devtools/remake/remake_git.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 68 tasks of which 42 didn't need to be rerun and 1 failed. No currently running tasks (68 of 76)