| Summary: | acl-native-2.2.49-r1: do_configure: Failed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Dexuan Cui <dexuan.cui> | ||||
| Component: | core | Assignee: | Dexuan Cui <dexuan.cui> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | dvhart, meta.mr.watcher, meta.watcher, richard.purdie, sgw | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.1 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | workaround patch already in poky master (11/May/2011) | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Bug Depends on: | 941 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Dexuan Cui
2011-04-11 18:44:49 UTC
Created attachment 135 [details]
acl-native_failure.log
(In reply to comment #0) > Looks acl-native should depend on perl-native: gnu-config-native should depend on perl-native: At present acl-native depends on gnu-config-native, in acl-native's do_configure, gnu-config of native is used and gnu-config invokes perl of native, but since perl-native's do_populate_sysroot hasn't finished completely (it has "Started" but hasn't "Succeed"), so we could get the "libperl.so: cannot open shared object file: No such file or directory" ERROR. This is a race condition so it doesn't happen every time. (In reply to comment #2) > (In reply to comment #0) > > Looks acl-native should depend on perl-native: > gnu-config-native should depend on perl-native: > At present acl-native depends on gnu-config-native, in acl-native's > do_configure, gnu-config of native is used and gnu-config invokes perl of > native, but since perl-native's do_populate_sysroot hasn't finished completely > (it has "Started" but hasn't "Succeed"), so we could get the "libperl.so: > cannot open shared object file: No such file or directory" ERROR. > This is a race condition so it doesn't happen every time. I make a fix and will push it out: http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/master&id=5b05191af979261a34d4b394d486877919e12f88 I think we need to change the way we expose perl-native. I'd like it to only be exposed to recipes that DEPEND on perl-native. If there is no dependency, it shouldn't be able to see it. This can be done in a similar way we've done to some of the compiler bootstrap. (In reply to comment #4) > I think we need to change the way we expose perl-native. I'd like it to only be > exposed to recipes that DEPEND on perl-native. If there is no dependency, it > shouldn't be able to see it. This can be done in a similar way we've done to > some of the compiler bootstrap. Hi RP, Sorry, I'm not sure I can catch on. My change to gnu-config/gnu-config_20080123.bb only has one line: http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/master&id=5b05191af979261a34d4b394d486877919e12f88 Do you mean we should change DEPENDS = "perl" to DEPENDS_virtclass-native = "perl-native" ? Or, Are you thinking we should clean up the usages in all recipes that have DEPENDS on perl-native? A workaround patch has been in poky master: http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=605141a93443df042634b2219a8628a9004be023 In the long run, we need to tidy the perl-native/perl-native-runtime usages in poky. At present, I think we could mark the bug (and bug 941) as RESOLVED. Richard and Saul, do you agree? Work-around for bernard http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5d3bfbbd187c4eb9fbfe66f0a9f3f22e5ce94427 (In reply to comment #6) > A workaround patch has been in poky master: > http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=605141a93443df042634b2219a8628a9004be023 > In the long run, we need to tidy the perl-native/perl-native-runtime usages in The perl-native chagne has been in poky master, so let me mark it as RESOLVED. |