All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <koen.kooi@linaro.org>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCHv4] git: fix perl binding installation
Date: Mon, 12 May 2014 10:15:16 +0200	[thread overview]
Message-ID: <208DBEF5-0367-4F27-93BD-CBB4FC23FBF6@linaro.org> (raw)
In-Reply-To: <CAP0W-R=dx1GNAfXkR-SDyB6JxYBYuiD7BSZ20KiB-UZQBmkrgw@mail.gmail.com>

Op 9 mei 2014, om 12:53 heeft Koen Kooi <koen.kooi@linaro.org> het volgende geschreven:

> On 9 May 2014 12:23, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
> On Fri, 2014-05-09 at 12:19 +0200, Koen Kooi wrote:
> > On 9 May 2014 12:16, Richard Purdie
> > <richard.purdie@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
> >         <koen@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


  parent reply	other threads:[~2014-05-12  8:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-02  8:36 [PATCHv4] git: fix perl binding installation Koen Kooi
2014-05-08 16:37 ` Saul Wold
2014-05-08 17:30   ` Koen Kooi
2014-05-09  5:59     ` Koen Kooi
2014-05-09  6:38       ` Saul Wold
2014-05-09  8:50         ` Koen Kooi
2014-05-09  9:16           ` Koen Kooi
2014-05-09 10:16             ` Richard Purdie
     [not found]               ` <CAP0W-Rn5PU7NxYWCKZ59R_oqHDfkRt3xEayhzfhyP-1D6OVtjw@mail.gmail.com>
     [not found]                 ` <1399631039.31891.85.camel@ted>
     [not found]                   ` <CAP0W-R=dx1GNAfXkR-SDyB6JxYBYuiD7BSZ20KiB-UZQBmkrgw@mail.gmail.com>
2014-05-12  8:15                     ` Koen Kooi [this message]
2014-05-12  9:16                       ` Richard Purdie
2014-05-12 10:08                       ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=208DBEF5-0367-4F27-93BD-CBB4FC23FBF6@linaro.org \
    --to=koen.kooi@linaro.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.