Looks acl-native should depend on perl-native: | /distro/dcui/110412/pc1/qemuarm/tmp/sysroots/i686-linux/usr/bin/perl.real: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory | autoreconf: gnu-configize failed with exit status: 127 | FATAL: autoreconf execution failed. NOTE: package acl-native-2.2.49-r1: task do_configure: Failed ERROR: Task 1756 (virtual:native:/distro/dcui/110412/pc1/meta/recipes-support/attr/acl_2.2.49.bb, do_configure) failed with exit code '1' Waiting for 7 active tasks to finish: 0: util-linux-native-2.17.2-r7 do_configure (pid 5509) 1: libpcre-native-8.10-r6 do_configure (pid 7568) 2: gcc-runtime-4.5.1-r5 do_unpack (pid 19992) 3: gcc-cross-initial-4.5.1-r4 do_compile (pid 28902) 4: db-native-5.1.19-r2 do_configure (pid 13045) 5: libx11-native-1_1.3.4-r0 do_compile (pid 11383) 6: perl-native-5.12.2-r8 do_populate_sysroot (pid 13691) Waiting for 6 active tasks to finish: 0: util-linux-native-2.17.2-r7 do_configure (pid 5509) 1: libpcre-native-8.10-r6 do_configure (pid 7568) 2: gcc-runtime-4.5.1-r5 do_unpack (pid 19992) 3: gcc-cross-initial-4.5.1-r4 do_compile (pid 28902) 4: db-native-5.1.19-r2 do_configure (pid 13045) 5: libx11-native-1_1.3.4-r0 do_compile (pid 11383) NOTE: package perl-native-5.12.2-r8: task do_populate_sysroot: Succeeded The complete log is attached:
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.
*** Bug 915 has been marked as a duplicate of this bug. ***