Openembedded Core Discussions
 help / color / mirror / Atom feed
* libxslt populate_sysroot dependencies
@ 2014-04-07 23:25 Slater, Joseph
  2014-04-08 16:57 ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: Slater, Joseph @ 2014-04-07 23:25 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org


[-- Attachment #1.1: Type: text/plain, Size: 354 bytes --]

I have attached a patch that makes sure libxml2-native is available when both it and libxslt-native
are taken from sstate.

The patch parallels one from a few weeks ago for pixbufcache, but the underlying problem might
have been fixed since then.  I looked for likely commits, and didn't see anything, so this patch
might still be needed.

Joe


[-- Attachment #1.2: Type: text/html, Size: 2237 bytes --]

[-- Attachment #2: 0001-libxslt-native-add-populate_sysroot-dependencies.patch --]
[-- Type: application/octet-stream, Size: 1400 bytes --]

From 921846b8c04c3acf99eac6c20cd2fbf955f042d1 Mon Sep 17 00:00:00 2001
From: Joe Slater <jslater@windriver.com>
Date: Mon, 7 Apr 2014 14:37:25 -0700
Subject: [PATCH 1/1] libxslt-native: add populate_sysroot dependencies

When libxslt-native populates sysroot from sstate we
need to depend on libxml2.  If we do not, xsltproc might
try to use the host libxml2, which it was not linked against.

Signed-off-by: Joe Slater <jslater@windriver.com>
---
 meta/recipes-support/libxslt/libxslt_1.1.28.bb |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-support/libxslt/libxslt_1.1.28.bb b/meta/recipes-support/libxslt/libxslt_1.1.28.bb
index ae2e6b1..ab56fdd 100644
--- a/meta/recipes-support/libxslt/libxslt_1.1.28.bb
+++ b/meta/recipes-support/libxslt/libxslt_1.1.28.bb
@@ -37,3 +37,12 @@ FILES_${PN} += "${libdir}/libxslt-plugins"
 FILES_${PN}-dev += "${libdir}/xsltConf.sh"
 
 BBCLASSEXTEND = "native"
+
+# In order to be sure xsltproc can run after our populate_sysroot_setscene, we need
+# to have runtime dependencies here.  Both sets of dependencies are necessary!
+#
+LOCAL_SYSROOT_DEPS = ""
+LOCAL_SYSROOT_DEPS_class-native = "libxml2-native:do_populate_sysroot_setscene"
+do_populate_sysroot_setscene[depends] += "${LOCAL_SYSROOT_DEPS}"
+do_populate_sysroot[depends] += "${@d.getVar('LOCAL_SYSROOT_DEPS', True).replace('_setscene','')}"
+
-- 
1.7.3.4


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

end of thread, other threads:[~2014-04-09  8:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-07 23:25 libxslt populate_sysroot dependencies Slater, Joseph
2014-04-08 16:57 ` Richard Purdie
2014-04-08 21:21   ` Slater, Joseph
2014-04-08 21:33     ` Richard Purdie
2014-04-08 22:56       ` Slater, Joseph
2014-04-09  8:57         ` Richard Purdie

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