From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: "Erik Botö" <erik.boto@pelagicore.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: Issue with pseudo on 64-bit build host
Date: Wed, 26 Jun 2013 16:30:50 +0300 [thread overview]
Message-ID: <20130626133049.GJ16785@lpalcu-linux> (raw)
In-Reply-To: <CA+AhUGwXGcp3w=j6d=tb4hn1SfGm1OnF86UGaDvMD6q005CA3w@mail.gmail.com>
On Wed, Jun 26, 2013 at 11:33:17AM +0200, Erik Botö wrote:
> Hi,
>
> In bitbake.conf FAKEROOTBASEENV is set to contain
> "PSEUDO_LIBDIR=${STAGING_BINDIR_NATIVE}/../lib/pseudo/lib" but on my
> buildhost libpseudo.so is in
> ${STAGING_BINDIR_NATIVE}/../lib/pseudo/lib64.
>
> For me this causes rpm:s that use qemu_run_binary() to do stuff during
> do_rootfs() (using post-install scripts) to fail, since ld.so can't
> find libpseudo.so it gives an error that contains "ERR" which
> package_rpm.bbclass rpm_log_check() picks up.
What's the exact error you're seeing? Is it the one listed below?
ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded:
ignored.
This error appears if we run qemu inside pseudo. That's why we use
PSEUDO_UNLOAD=1 in front of the qemu command. However, qemu_run_binary()
already does that...
More info would be helpful.
Laurentiu
>
> I git confused for a while since the command used in the post-install
> script worked ok in a devshell but not during do_rootfs(), but this is
> due to the fact that LD_LIBRARY_PATH in the devshell contains:
> <mybuilddir>/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64 . I
> couldn't find where this was added to LD_LIBRARY_PATH for devshells
> though.
>
> Cheers,
> Erik Botö
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
next prev parent reply other threads:[~2013-06-26 13:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-26 9:33 Issue with pseudo on 64-bit build host Erik Botö
2013-06-26 13:30 ` Laurentiu Palcu [this message]
2013-06-26 17:05 ` Erik Botö
2013-06-26 17:43 ` Peter Seebach
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=20130626133049.GJ16785@lpalcu-linux \
--to=laurentiu.palcu@intel.com \
--cc=erik.boto@pelagicore.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox