mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] sysroot-host/lib/libacl.so.1: version `ACL_1.2' not found (required by mv)
@ 2014-08-04 13:34 Jon Ringle
  2014-08-08 10:22 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Ringle @ 2014-08-04 13:34 UTC (permalink / raw)
  To: ptxdist

I have a host rule that has the following:

HOST_PACKAGES-$(PTXCONF_HOST_LIBGEEP) += host-libgeep
HOST_LIBGEEP_BUILD_OOT := YES

HOST_LIBGEEP_CONF_TOOL  := autoconf

HOST_LIBGEEP_INSTALL_ENV := $(HOST_ENV)
LD_LIBRARY_PATH=$(PTXDIST_SYSROOT_HOST)/lib
HOST_LIBGEEP_INSTALL_OPT := install

host-libgeep.check: $(STATEDIR)/host-libgeep.install
    cd $(HOST_LIBGEEP_DIR)-build && \
        $(HOST_LIBGEEP_INSTALL_ENV) make check


The package builds and installs just fine, but when I try to make
host-libgeep.check target it fails:

$ ptxdist make host-libgeep.check
ptxdist: warning: No dev packages found in 'ec1k-rootfs/ptxdist-dev'
cd /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build
&& \
            CC="gcc" CXX="g++" PKG_CONFIG_PATH=''
PKG_CONFIG_LIBDIR='/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/pkgconfig:/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/share/pkgconfig'
PYTHONPATH="/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/python2.7/site-packages"
LD_LIBRARY_PATH=/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib
make check
make[1]: Entering directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build'
make  lib/gmock/libgmock.la lib/gmock/libgmock_main.la test/unittests
make[2]: Entering directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build'
/bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
-I. -I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5
 -DGTEST_HAS_PTHREAD=0
-I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock
  -g -O2 -MT lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo -MD
-MP -MF lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Tpo -c
-o lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo `test -f
'lib/gmock/gmock-gtest-all.cc' || echo
'/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/'`lib/gmock/gmock-gtest-all.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I.
-I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5
-DGTEST_HAS_PTHREAD=0
-I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock
-g -O2 -MT lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo -MD -MP
-MF lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Tpo -c
/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock/gmock-gtest-all.cc
 -fPIC -DPIC -o
lib/gmock/.libs/lib_gmock_libgmock_la-gmock-gtest-all.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I.
-I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5
-DGTEST_HAS_PTHREAD=0
-I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock
-g -O2 -MT lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo -MD -MP
-MF lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Tpo -c
/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock/gmock-gtest-all.cc
-o lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.o >/dev/null 2>&1
mv: /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/libacl.so.1:
version `ACL_1.2' not found (required by mv)
mv -f lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Tpo
lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Plo
mv: /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/libacl.so.1:
version `ACL_1.2' not found (required by mv)
make[2]: Leaving directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build'
make[2]: *** [lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo] Error 1
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build'
make: *** [host-libgeep.check] Error 2


Any ideas on the error:
mv: /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/libacl.so.1:
version `ACL_1.2' not found (required by mv)

Thanks,
Jon

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] sysroot-host/lib/libacl.so.1: version `ACL_1.2' not found (required by mv)
  2014-08-04 13:34 [ptxdist] sysroot-host/lib/libacl.so.1: version `ACL_1.2' not found (required by mv) Jon Ringle
@ 2014-08-08 10:22 ` Michael Olbrich
  2014-08-08 11:16   ` Jon Ringle
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2014-08-08 10:22 UTC (permalink / raw)
  To: ptxdist

On Mon, Aug 04, 2014 at 09:34:14AM -0400, Jon Ringle wrote:
> I have a host rule that has the following:
> 
> HOST_PACKAGES-$(PTXCONF_HOST_LIBGEEP) += host-libgeep
> HOST_LIBGEEP_BUILD_OOT := YES
> 
> HOST_LIBGEEP_CONF_TOOL  := autoconf
> 
> HOST_LIBGEEP_INSTALL_ENV := $(HOST_ENV)
> LD_LIBRARY_PATH=$(PTXDIST_SYSROOT_HOST)/lib

Don't do this. With this /bin/mv will use
$(PTXDIST_SYSROOT_HOST)/lib/libacl.so.1 instead of /lib/libacl.so.1 and
this fails because the on from ptxdist is older.

We usually handle that by setting the correct rpath in install.post

Michael


> HOST_LIBGEEP_INSTALL_OPT := install
> 
> host-libgeep.check: $(STATEDIR)/host-libgeep.install
>     cd $(HOST_LIBGEEP_DIR)-build && \
>         $(HOST_LIBGEEP_INSTALL_ENV) make check
> 
> 
> The package builds and installs just fine, but when I try to make
> host-libgeep.check target it fails:
> 
> $ ptxdist make host-libgeep.check
> ptxdist: warning: No dev packages found in 'ec1k-rootfs/ptxdist-dev'
> cd /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build
> && \
>             CC="gcc" CXX="g++" PKG_CONFIG_PATH=''
> PKG_CONFIG_LIBDIR='/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/pkgconfig:/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/share/pkgconfig'
> PYTHONPATH="/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/python2.7/site-packages"
> LD_LIBRARY_PATH=/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib
> make check
> make[1]: Entering directory
> `/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build'
> make  lib/gmock/libgmock.la lib/gmock/libgmock_main.la test/unittests
> make[2]: Entering directory
> `/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build'
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
> -I. -I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5
>  -DGTEST_HAS_PTHREAD=0
> -I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock
>   -g -O2 -MT lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo -MD
> -MP -MF lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Tpo -c
> -o lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo `test -f
> 'lib/gmock/gmock-gtest-all.cc' || echo
> '/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/'`lib/gmock/gmock-gtest-all.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I.
> -I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5
> -DGTEST_HAS_PTHREAD=0
> -I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock
> -g -O2 -MT lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo -MD -MP
> -MF lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Tpo -c
> /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock/gmock-gtest-all.cc
>  -fPIC -DPIC -o
> lib/gmock/.libs/lib_gmock_libgmock_la-gmock-gtest-all.o
> libtool: compile:  g++ -DHAVE_CONFIG_H -I.
> -I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5
> -DGTEST_HAS_PTHREAD=0
> -I/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock
> -g -O2 -MT lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo -MD -MP
> -MF lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Tpo -c
> /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5/lib/gmock/gmock-gtest-all.cc
> -o lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.o >/dev/null 2>&1
> mv: /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/libacl.so.1:
> version `ACL_1.2' not found (required by mv)
> mv -f lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Tpo
> lib/gmock/.deps/lib_gmock_libgmock_la-gmock-gtest-all.Plo
> mv: /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/libacl.so.1:
> version `ACL_1.2' not found (required by mv)
> make[2]: Leaving directory
> `/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build'
> make[2]: *** [lib/gmock/lib_gmock_libgmock_la-gmock-gtest-all.lo] Error 1
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory
> `/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-host/libgeep-2.0.5-build'
> make: *** [host-libgeep.check] Error 2
> 
> 
> Any ideas on the error:
> mv: /home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/sysroot-host/lib/libacl.so.1:
> version `ACL_1.2' not found (required by mv)
> 
> Thanks,
> Jon
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
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] 4+ messages in thread

* Re: [ptxdist] sysroot-host/lib/libacl.so.1: version `ACL_1.2' not found (required by mv)
  2014-08-08 10:22 ` Michael Olbrich
@ 2014-08-08 11:16   ` Jon Ringle
  2014-08-11  8:53     ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Ringle @ 2014-08-08 11:16 UTC (permalink / raw)
  To: ptxdist

On Fri, Aug 8, 2014 at 6:22 AM, Michael Olbrich
<m.olbrich@pengutronix.de> wrote:
> On Mon, Aug 04, 2014 at 09:34:14AM -0400, Jon Ringle wrote:
>> I have a host rule that has the following:
>>
>> HOST_PACKAGES-$(PTXCONF_HOST_LIBGEEP) += host-libgeep
>> HOST_LIBGEEP_BUILD_OOT := YES
>>
>> HOST_LIBGEEP_CONF_TOOL  := autoconf
>>
>> HOST_LIBGEEP_INSTALL_ENV := $(HOST_ENV)
>> LD_LIBRARY_PATH=$(PTXDIST_SYSROOT_HOST)/lib
>
> Don't do this. With this /bin/mv will use
> $(PTXDIST_SYSROOT_HOST)/lib/libacl.so.1 instead of /lib/libacl.so.1 and
> this fails because the on from ptxdist is older.

I did a version bump of acl to 2.2.52, and that also fixed the problem for me.

>
> We usually handle that by setting the correct rpath in install.post

Can you give me an example?

Thanks,
Jon

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] sysroot-host/lib/libacl.so.1: version `ACL_1.2' not found (required by mv)
  2014-08-08 11:16   ` Jon Ringle
@ 2014-08-11  8:53     ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2014-08-11  8:53 UTC (permalink / raw)
  To: ptxdist

On Fri, Aug 08, 2014 at 07:16:19AM -0400, Jon Ringle wrote:
> On Fri, Aug 8, 2014 at 6:22 AM, Michael Olbrich
> <m.olbrich@pengutronix.de> wrote:
> > On Mon, Aug 04, 2014 at 09:34:14AM -0400, Jon Ringle wrote:
> >> I have a host rule that has the following:
> >>
> >> HOST_PACKAGES-$(PTXCONF_HOST_LIBGEEP) += host-libgeep
> >> HOST_LIBGEEP_BUILD_OOT := YES
> >>
> >> HOST_LIBGEEP_CONF_TOOL  := autoconf
> >>
> >> HOST_LIBGEEP_INSTALL_ENV := $(HOST_ENV)
> >> LD_LIBRARY_PATH=$(PTXDIST_SYSROOT_HOST)/lib
> >
> > Don't do this. With this /bin/mv will use
> > $(PTXDIST_SYSROOT_HOST)/lib/libacl.so.1 instead of /lib/libacl.so.1 and
> > this fails because the on from ptxdist is older.
> 
> I did a version bump of acl to 2.2.52, and that also fixed the problem for me.

Until your distro updates acl...

> > We usually handle that by setting the correct rpath in install.post
> 
> Can you give me an example?

Search for chrpath in scripts/lib/ptxd_make_world_install.sh

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] 4+ messages in thread

end of thread, other threads:[~2014-08-11  8:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04 13:34 [ptxdist] sysroot-host/lib/libacl.so.1: version `ACL_1.2' not found (required by mv) Jon Ringle
2014-08-08 10:22 ` Michael Olbrich
2014-08-08 11:16   ` Jon Ringle
2014-08-11  8:53     ` Michael Olbrich

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