From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XFhJs-0000uy-Tz for ptxdist@pengutronix.de; Fri, 08 Aug 2014 12:22:44 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1XFhJs-0002Wj-SR for ptxdist@pengutronix.de; Fri, 08 Aug 2014 12:22:44 +0200 Date: Fri, 8 Aug 2014 12:22:44 +0200 From: Michael Olbrich Message-ID: <20140808102244.GB11487@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] sysroot-host/lib/libacl.so.1: version `ACL_1.2' not found (required by mv) Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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