Patchwork apr: add libtool to SSTATE_SCAN_FILES

login
register
mail settings
Submitter Randy MacLeod
Date March 4, 2013, 1:30 a.m.
Message ID <1362360614-12109-1-git-send-email-randy.macleod@windriver.com>
Download mbox | patch
Permalink /patch/45455/
State Not Applicable
Headers show

Comments

Randy MacLeod - March 4, 2013, 1:30 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

The hardcoded paths in libtool will cause apache2 compile fail at
link stage when the package apr is installed from sstate cache, so
add libtool to SSTATE_SCAN_FILES.

[ CQID: WIND00405372 ]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
---
 meta/recipes-support/apr/apr_1.4.6.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Randy MacLeod - March 4, 2013, 1:37 a.m.
Sorry for sending again to the wrong list.
I only read Martin's reply after sending a second time.

I have sent this fix to: openembedded-core@lists.openembedded.org
Martin Jansa - March 4, 2013, 1:38 a.m.
On Sun, Mar 03, 2013 at 08:30:14PM -0500, randy.macleod@windriver.com wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
> 
> The hardcoded paths in libtool will cause apache2 compile fail at
> link stage when the package apr is installed from sstate cache, so
> add libtool to SSTATE_SCAN_FILES.
> 
> [ CQID: WIND00405372 ]
> 
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>

http://lists.linuxtogo.org/pipermail/openembedded-devel/2013-March/044212.html

Patch

diff --git a/meta/recipes-support/apr/apr_1.4.6.bb b/meta/recipes-support/apr/apr_1.4.6.bb
index b7220e0..77dffee 100644
--- a/meta/recipes-support/apr/apr_1.4.6.bb
+++ b/meta/recipes-support/apr/apr_1.4.6.bb
@@ -9,7 +9,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \
 
 BBCLASSEXTEND = "native"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \
            file://configure_fixes.patch \
@@ -43,7 +43,7 @@  do_install_append() {
 	cp ${S}/${HOST_SYS}-libtool ${D}${datadir}/build-1/libtool
 }
 
-SSTATE_SCAN_FILES += "apr_rules.mk"
+SSTATE_SCAN_FILES += "apr_rules.mk libtool"
 
 SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess"