Op 9 mei 2014, om 12:53 heeft Koen Kooi <koen.k...@linaro.org> het volgende geschreven:
> On 9 May 2014 12:23, Richard Purdie <richard.pur...@linuxfoundation.org> > wrote: > On Fri, 2014-05-09 at 12:19 +0200, Koen Kooi wrote: > > On 9 May 2014 12:16, Richard Purdie > > <richard.pur...@linuxfoundation.org> wrote: > > On Fri, 2014-05-09 at 11:16 +0200, Koen Kooi wrote: > > > Op 9 mei 2014, om 10:50 heeft Koen Kooi > > <k...@dominion.thruhere.net> het volgende geschreven: > > > real 4m49.390s > > > user 8m30.627s > > > sys 1m37.368s > > > > > > Libcrypto does seem to be in sysroot: > > > > > > [koen@thinkpad build]$ find build/ -name > > "libcrypto.so.1.0.0" > > > > > build/tmp-eglibc/sysroots/x86_64-linux/lib/libcrypto.so.1.0.0 > > > > > > I don't think this is due to my perl changes, though. > > > > > > With the native binaries, we encode relative paths to libdir > > into RPATH. > > I'm guessing but I think your "mv xxx" in do_install messes up > > the > > RPATHs in the binaries/libraries. > > > > The fix is probably to make that only happen in target builds > > (${CLASS_OVERRIDE} == "class-target" or something like that). > > > > but like I said, I'm guessing. > > > > > > > > > > It looks like the problem is that I don't have libcrypto in on my > > host, only in sysroot, I can make it fail this way without the mv as > > well :( > > > > Floating dependency in the git recipe? > > git.inc:DEPENDS = "openssl curl zlib expat" > > And libcrypto is present in sysroot. I removed all my patches, deleted everything including DL_DIR and sstate-cache and bitbake git-replacement-native bitbake linaro-image-minimal will fail with: [koen@thinkpad git]$ cat /build/linaro/build/build/tmp-eglibc/work/x86_64-linux/prelink-native/1.0+gitAUTOINC+6822ec76aa-r0/temp/log.do_unpack.17925 DEBUG: Executing python function do_unpack DEBUG: Executing python function base_do_unpack DEBUG: Running export PATH="/build/linaro/build/openembedded-core/scripts/native-intercept:/build/linaro/build/openembedded-core/scripts:/build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/x86_64-linux:/build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin:/build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/usr/sbin:/build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin:/build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/sbin:/build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/bin:/build/linaro/build/openembedded-core/scripts:/build/linaro/build/openembedded-core/bitbake/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/koen/.local/bin:/home/koen/bin:/home/koen/bin"; export HOME="/home/koen"; git -c core.fsyncobjectfiles=0 clone -s -n /build/linaro/build/build/downloads/git2/git.yoctoproject.org.prelink-cross.git/ /build/linaro/build/build/tmp-eglibc/work/x86_64-linux /prelink-native/1.0+gitAUTOINC+6822ec76aa-r0/git/ DEBUG: Python function base_do_unpack finished DEBUG: Python function do_unpack finished ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output: Cloning into '/build/linaro/build/build/tmp-eglibc/work/x86_64-linux/prelink-native/1.0+gitAUTOINC+6822ec76aa-r0/git'... git-upload-pack: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. So 'git-replacement-native' is broken without the git-perl patches anyway, I'm not going to look into that issue any longer. -- Koen Kooi Builds and Baselines | Release Manager Linaro.org | Open source software for ARM SoCs -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core