mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Jon Ringle <jon@ringle.org>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] missing libfakeroot.so
Date: Tue, 12 Jun 2018 15:20:33 -0400	[thread overview]
Message-ID: <CAMwGMjxv64dmdmWEN0m3PTmNzXbCj-3JrNY+oQX+eQ+njgFkbQ@mail.gmail.com> (raw)
In-Reply-To: <20180612133855.zgjjwftiocy45ksg@pengutronix.de>

On Tue, Jun 12, 2018 at 9:39 AM Michael Olbrich
<m.olbrich@pengutronix.de> wrote:
>
> On Tue, Jun 12, 2018 at 08:43:34AM -0400, Jon Ringle wrote:
> > I'm running into the following problem building on our bamboo server.
> > It complains about missing libfakeroot.so, but as you can see, target
> > host-fakeroot.install.post completes, which I presume should have
> > installed libfakeroot.so under $(SYSROOT_HOST)?
> >
> > Any ideas?
>
> libfakeroot.so should be in sysroot-host/lib/fakeroot/. Also,
> sysroot-host/bin/fakeroot is a shell script, so you can add some debugging.

I added `set -x` to the fakeroot script and found it rather odd the
paths in the env variables:
FAKEROOT_PREFIX="FAKEROOT_SYSROOT"
FAKEROOT_BINDIR="FAKEROOT_SYSROOT/bin"
PATHS="FAKEROOT_SYSROOT/lib/fakeroot":${FAKEROOT_PREFIX}/lib64/libfakeroot:${FAKEROOT_PREFIX}/lib32/libfakeroot

Here the debug output:
-------------------------------
target: host-opkg-utils.install
-------------------------------

+ FAKEROOT_PREFIX=FAKEROOT_SYSROOT
+ FAKEROOT_BINDIR=FAKEROOT_SYSROOT/bin
+ USEABSLIBPATH=0
+ LIB=libfakeroot.so
+ PATHS=FAKEROOT_SYSROOT/lib/fakeroot:FAKEROOT_SYSROOT/lib64/libfakeroot:FAKEROOT_SYSROOT/lib32/libfakeroot
+ FAKED=FAKEROOT_SYSROOT/bin/faked
+ FAKED_MODE=unknown-is-root
+ export FAKED_MODE
+ libfound=no
++ getopt --version
+ GETOPTEST='getopt from util-linux 2.20.1'
+ case $GETOPTEST in
++ getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version
-l help -- +l:f:i:s:ub:vh --
+ FAKE_TEMP=' --'
+ test 0 -ne 0
+ eval set -- ' --'
++ set -- --
+ FAKEDOPTS=
+ PIPEIN=
+ WAITINTRAP=0
+ test X-- '!=' X--
+ shift
+ ABSLIB=
+ '[' -n FAKEROOT_SYSROOT/lib/fakeroot:FAKEROOT_SYSROOT/lib64/libfakeroot:FAKEROOT_SYSROOT/lib32/libfakeroot
']'
++ echo FAKEROOT_SYSROOT/lib/fakeroot:FAKEROOT_SYSROOT/lib64/libfakeroot:FAKEROOT_SYSROOT/lib32/libfakeroot
++ sed 's/:/ /g'
+ for dir in '`echo $PATHS | sed '\''s/:/ /g'\''`'
+ test -r FAKEROOT_SYSROOT/lib/fakeroot/libfakeroot.so
+ for dir in '`echo $PATHS | sed '\''s/:/ /g'\''`'
+ test -r FAKEROOT_SYSROOT/lib64/libfakeroot/libfakeroot.so
+ for dir in '`echo $PATHS | sed '\''s/:/ /g'\''`'
+ test -r FAKEROOT_SYSROOT/lib32/libfakeroot/libfakeroot.so
+ test no = no
+ fatal 'preload library `libfakeroot.so'\'' not found, aborting.'
+ stderr 'preload library `libfakeroot.so'\'' not found, aborting.'
+ local i
+ for i in '"$@"'
+ echo 'fakeroot: preload library `libfakeroot.so'\'' not found, aborting.'
fakeroot: preload library `libfakeroot.so' not found, aborting.
+ exit 1
make: *** [/home/local/GRIDPOINT/jringle/git/linux-initramfs/platform-EC1K/state/host-opkg-utils.install]
Error 1

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-06-12 19:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-12 12:43 Jon Ringle
2018-06-12 13:38 ` Michael Olbrich
2018-06-12 19:20   ` Jon Ringle [this message]
2018-06-12 19:56     ` Michael Olbrich
2018-06-12 21:52       ` Jon Ringle

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=CAMwGMjxv64dmdmWEN0m3PTmNzXbCj-3JrNY+oQX+eQ+njgFkbQ@mail.gmail.com \
    --to=jon@ringle.org \
    --cc=ptxdist@pengutronix.de \
    /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