[OE-core] [PATCH] libxml: add lzma to build time dependencies

Khem Raj raj.khem at gmail.com
Tue Jun 26 15:42:06 UTC 2012


On Tue, Jun 26, 2012 at 7:56 AM, Marcin Juszkiewicz
<marcin.juszkiewicz at linaro.org> wrote:
> On my system libxml-native got linked with host copy of liblzma and as a
> result libxslt-native was not linkable:

>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
> ---
>  meta/recipes-core/libxml/libxml2.inc      |    2 +-
>  meta/recipes-core/libxml/libxml2_2.8.0.bb |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
> index 7d8cc16..b68c79f 100644
> --- a/meta/recipes-core/libxml/libxml2.inc
> +++ b/meta/recipes-core/libxml/libxml2.inc
> @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=bb90c48926316d9af6e2d70ca7013ade \
>                     file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
>
>  DEPENDS_virtclass-native = "python-native"
> -DEPENDS =+ "zlib"
> +DEPENDS =+ "zlib lzma"

as you describe above I think problem is in native building of xslt.
this is adding the dependency on target lzma not host lzma.

I think you can look for options to disable lzma
explicitly in libxml2 otherwise you can also provide lzma-native and
create a dep on that

>
>  SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
>            file://libxml-64bit.patch"
> diff --git a/meta/recipes-core/libxml/libxml2_2.8.0.bb b/meta/recipes-core/libxml/libxml2_2.8.0.bb
> index 243789c..fe9ec05 100644
> --- a/meta/recipes-core/libxml/libxml2_2.8.0.bb
> +++ b/meta/recipes-core/libxml/libxml2_2.8.0.bb
> @@ -1,6 +1,6 @@
>  require libxml2.inc
>
> -PR = "r0"
> +PR = "r1"
>
>  SRC_URI[md5sum] = "c62106f02ee00b6437f0fb9d370c1093"
>  SRC_URI[sha256sum] = "f2e2d0e322685193d1affec83b21dc05d599e17a7306d7b90de95bb5b9ac622a"
> --
> 1.7.10.4
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list