mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] sysroot-host/lib/libacl.so.1: version `ACL_1.2' not found (required by mv)
Date: Fri, 8 Aug 2014 12:22:44 +0200	[thread overview]
Message-ID: <20140808102244.GB11487@pengutronix.de> (raw)
In-Reply-To: <CAMwGMjyi5qm05woXoEC3==LnbN71S0qmGc1GoZ8FbRYZ3Y2+_w@mail.gmail.com>

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

  reply	other threads:[~2014-08-08 10:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04 13:34 Jon Ringle
2014-08-08 10:22 ` Michael Olbrich [this message]
2014-08-08 11:16   ` Jon Ringle
2014-08-11  8:53     ` Michael Olbrich

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=20140808102244.GB11487@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --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