mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] missing libfakeroot.so
@ 2018-06-12 12:43 Jon Ringle
  2018-06-12 13:38 ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Jon Ringle @ 2018-06-12 12:43 UTC (permalink / raw)
  To: ptxdist

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?

-Jon

build 12-Jun-2018 12:16:12 ------------------------------------
build 12-Jun-2018 12:16:12 target: host-fakeroot.install.unpack
build 12-Jun-2018 12:16:12 ------------------------------------
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 finished target host-fakeroot.install.unpack
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 ----------------------------------
build 12-Jun-2018 12:16:12 target: host-fakeroot.install.post
build 12-Jun-2018 12:16:12 ----------------------------------
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 finished target host-fakeroot.install.post
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 --------------------------------
build 12-Jun-2018 12:16:12 target: opkg-utils-0.3.5.tar.bz2
build 12-Jun-2018 12:16:12 --------------------------------
build 12-Jun-2018 12:16:12
error 12-Jun-2018 12:16:12 --2018-06-12 12:16:12--
http://opensource.gridpoint.com/pool//opkg-utils-0.3.5.tar.bz2
error 12-Jun-2018 12:16:12 Resolving opensource.gridpoint.com
(opensource.gridpoint.com)... 10.201.60.60
error 12-Jun-2018 12:16:12 Connecting to opensource.gridpoint.com
(opensource.gridpoint.com)|10.201.60.60|:80... connected.
error 12-Jun-2018 12:16:12 HTTP request sent, awaiting response... 200 OK
error 12-Jun-2018 12:16:12 Length: 27431 (27K) [application/x-bzip2]
error 12-Jun-2018 12:16:12 Saving to:
'/srv/bamboo-home/xml-data/build-dir/1474563/GPEC-ELK2-JOB1/src/opkg-utils-0.3.5.tar.bz2.j5F3MKIcel'
error 12-Jun-2018 12:16:12
error 12-Jun-2018 12:16:12
error 12-Jun-2018 12:16:12 0% [
] 0           --.-K/s
error 12-Jun-2018 12:16:12
100%[======================================>] 27,431      --.-K/s   in
0s
error 12-Jun-2018 12:16:12
error 12-Jun-2018 12:16:12 2018-06-12 12:16:12 (241 MB/s) -
'/srv/bamboo-home/xml-data/build-dir/1474563/GPEC-ELK2-JOB1/src/opkg-utils-0.3.5.tar.bz2.j5F3MKIcel'
saved [27431/27431]
error 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 ---------------------------
build 12-Jun-2018 12:16:12 target: host-opkg-utils.get
build 12-Jun-2018 12:16:12 ---------------------------
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 finished target host-opkg-utils.get
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 -------------------------------
build 12-Jun-2018 12:16:12 target: host-opkg-utils.extract
build 12-Jun-2018 12:16:12 -------------------------------
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 extract:
pkg_src=GPEC-ELK2-JOB1/src/opkg-utils-0.3.5.tar.bz2
build 12-Jun-2018 12:16:12 extract:
pkg_extract_dir=GPEC-ELK2-JOB1/platform-EC1K/build-host/opkg-utils-0.3.5
build 12-Jun-2018 12:16:12 patchin: git: initializing repository
build 12-Jun-2018 12:16:12 patchin: git: done
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 pkg_patch_dir:
'ptxdist-2018.06.1_GP/patches/opkg-utils-0.3.5'
build 12-Jun-2018 12:16:12 pkg_patch_series:
'ptxdist-2018.06.1_GP/patches/opkg-utils-0.3.5/series'
build 12-Jun-2018 12:16:12
build 12-Jun-2018 12:16:12 patchin: git: apply
'ptxdist-2018.06.1_GP/patches/opkg-utils-0.3.5/series'
build 12-Jun-2018 12:16:12 tagging -> base
build 12-Jun-2018 12:16:12 0001-opkg-make-ar-deterministic.patch
build 12-Jun-2018 12:16:13 0002-opkg-build-use-CROSS_COMPILE-ar.patch
build 12-Jun-2018 12:16:13 0003-Fill-out-Installed-Size.patch
build 12-Jun-2018 12:16:13
0004-opkg-build-in-ptxdist-the-maxium-UID-for-system-user.patch
build 12-Jun-2018 12:16:13 patchin: git: done
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 finished target host-opkg-utils.extract
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 ------------------------------------
build 12-Jun-2018 12:16:13 target: host-opkg-utils.extract.post
build 12-Jun-2018 12:16:13 ------------------------------------
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 pkg_patch_autogen: '<none>'
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 finished target host-opkg-utils.extract.post
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 -------------------------------
build 12-Jun-2018 12:16:13 target: host-opkg-utils.prepare
build 12-Jun-2018 12:16:13 -------------------------------
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 prepare stage disabled.
build 12-Jun-2018 12:16:13 finished target host-opkg-utils.prepare
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 -------------------------------
build 12-Jun-2018 12:16:13 target: host-opkg-utils.compile
build 12-Jun-2018 12:16:13 -------------------------------
build 12-Jun-2018 12:16:13
build 12-Jun-2018 12:16:13 make[1]: Entering directory
`/srv/bamboo-home/xml-data/build-dir/1474563/GPEC-ELK2-JOB1/platform-EC1K/build-host/opkg-utils-0.3.5'
build 12-Jun-2018 12:16:13 pod2man -r "" -c "opkg-utils Documentation"
opkg-build opkg-build.1
build 12-Jun-2018 12:16:15 make[1]: Leaving directory
`/srv/bamboo-home/xml-data/build-dir/1474563/GPEC-ELK2-JOB1/platform-EC1K/build-host/opkg-utils-0.3.5'
build 12-Jun-2018 12:16:16 finished target host-opkg-utils.compile
build 12-Jun-2018 12:16:16
build 12-Jun-2018 12:16:16 -------------------------------
build 12-Jun-2018 12:16:16 target: host-opkg-utils.install
build 12-Jun-2018 12:16:16 -------------------------------
build 12-Jun-2018 12:16:16
error 12-Jun-2018 12:16:16 fakeroot: preload library `libfakeroot.so'
not found, aborting.
error 12-Jun-2018 12:16:16 make: ***
[/srv/bamboo-home/xml-data/build-dir/1474563/GPEC-ELK2-JOB1/platform-EC1K/state/host-opkg-utils.install]
Error 1

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] missing libfakeroot.so
  2018-06-12 12:43 [ptxdist] missing libfakeroot.so Jon Ringle
@ 2018-06-12 13:38 ` Michael Olbrich
  2018-06-12 19:20   ` Jon Ringle
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2018-06-12 13:38 UTC (permalink / raw)
  To: ptxdist

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.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] missing libfakeroot.so
  2018-06-12 13:38 ` Michael Olbrich
@ 2018-06-12 19:20   ` Jon Ringle
  2018-06-12 19:56     ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Jon Ringle @ 2018-06-12 19:20 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] missing libfakeroot.so
  2018-06-12 19:20   ` Jon Ringle
@ 2018-06-12 19:56     ` Michael Olbrich
  2018-06-12 21:52       ` Jon Ringle
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2018-06-12 19:56 UTC (permalink / raw)
  To: ptxdist

On Tue, Jun 12, 2018 at 03:20:33PM -0400, Jon Ringle wrote:
> 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

Which ptxdist version is this? Prior to ptxdist-2018.03.0 there was a patch
that introduced FAKEROOT_SYSROOT and it was then replaced with sysroot-host
in host-fakeroot.install.post. Since ptxdist-2018.03.0 the path is
calculated relative to the location of the fakeroot script.

Maybe you have the old patches with a new host-fakeroot.make or something
like this?

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] missing libfakeroot.so
  2018-06-12 19:56     ` Michael Olbrich
@ 2018-06-12 21:52       ` Jon Ringle
  0 siblings, 0 replies; 5+ messages in thread
From: Jon Ringle @ 2018-06-12 21:52 UTC (permalink / raw)
  To: ptxdist

On Tue, Jun 12, 2018 at 3:56 PM Michael Olbrich
<m.olbrich@pengutronix.de> wrote:
>
> On Tue, Jun 12, 2018 at 03:20:33PM -0400, Jon Ringle wrote:
> > 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
>
> Which ptxdist version is this? Prior to ptxdist-2018.03.0 there was a patch
> that introduced FAKEROOT_SYSROOT and it was then replaced with sysroot-host
> in host-fakeroot.install.post. Since ptxdist-2018.03.0 the path is
> calculated relative to the location of the fakeroot script.
>
> Maybe you have the old patches with a new host-fakeroot.make or something
> like this?

Yeah, turns out my build was pulling in from some old *-dev.tar.gz packages

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-12 21:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-12 12:43 [ptxdist] missing libfakeroot.so Jon Ringle
2018-06-12 13:38 ` Michael Olbrich
2018-06-12 19:20   ` Jon Ringle
2018-06-12 19:56     ` Michael Olbrich
2018-06-12 21:52       ` Jon Ringle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox