From: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
To: "Burton\, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] pango: add libpcre to DEPENDS
Date: Wed, 05 Oct 2016 13:46:02 +0300 [thread overview]
Message-ID: <87bmyzdqfp.fsf@ni.com> (raw)
In-Reply-To: <CAJTo0LZtsxhz=5=XdBWDQVMZpXyXqi11h2OS5XY5HOrUXkMmnA@mail.gmail.com>
Hi again
On Fri, 09 Sep 2016, "Burton, Ross" <ross.burton@intel.com> wrote:
> On 9 September 2016 at 10:32, Ioan-Adrian Ratiu <adrian.ratiu@ni.com> wrote:
>
>> I cleared the build directory and sstate cache, started with a clean
>> rebuild and I can't reproduce the error anymore. gen-all-unicode is
>> built as expected and at runtime it links with libpcre as expected
>> and the build succeeds. This is really weird, I didn't touch these
>> packages at all, they just sporadically failed out of the blue and now
>> they work.
>>
>
> That's good, right? :)
>
> If you ever manage to replicate, please save the build directory for
> inspection.
I managed to replicate this and save the build directory to inspect it!
Here's what happens:
Besides oe-core we're using meta-selinux which has a libpcre-%.bbappend
which moves the location of libpcre.so from /usr/lib to /lib in the
sysroot and points the symlink to the file in /lib using relative paths.
ldd tests/gen-all-unicode gives this:
$ ldd tests/gen-all-unicode
linux-vdso.so.1 (0x00007fff27263000)
libglib-2.0.so.0 => /mnt/build/jenkins-jobs/nilrt_OE_toolchain-cardassia/workspace/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/libglib-2.0.so.0 (0x00007f542823a000)
libpcre.so.1 => not found
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f542801d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5427c72000)
libpcre.so.1 => /mnt/build/jenkins-jobs/nilrt_OE_toolchain/workspace/build/tmp-glibc/sysroots/x86_64-linux/usr/lib/../../lib/libpcre.so.1 (0x00007f5427a2f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5428546000)
I don't understand why libpcre.so.1 appears twice with the first not found.
The file pointed to by the libpcre.so.1 symlink exists but somehow the
loader can't find it? Maybe it's the ../.. in the path? or does an
variable like LD_LIBRARY_PATH need to be set in the bb recipe/append?
Ionel
>
> Ross
next prev parent reply other threads:[~2016-10-05 10:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-08 9:56 [PATCH] pango: add libpcre to DEPENDS Ioan-Adrian Ratiu
2016-09-08 10:14 ` Burton, Ross
2016-09-08 10:37 ` Ioan-Adrian Ratiu
2016-09-08 10:39 ` Burton, Ross
2016-09-09 9:32 ` Ioan-Adrian Ratiu
2016-09-09 9:36 ` Burton, Ross
2016-10-05 10:46 ` Ioan-Adrian Ratiu [this message]
2016-10-05 11:59 ` Ioan-Adrian Ratiu
2016-10-05 13:55 ` Burton, Ross
2016-10-05 14:39 ` Ioan-Adrian Ratiu
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=87bmyzdqfp.fsf@ni.com \
--to=adrian.ratiu@ni.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@intel.com \
/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.