Koen Kooi : gnome-doc-utils: skip generation of docs to avoid weird python error
Hi,
Was your issue related to python not finding libxml2.py?
If so does this patch fixes better your issue?
I had it in queue and didn't push it yet because I wasn't exactly
shure on why it fixed it(see commit message for better explanations).
Denis.
PATCH 1/1 libxml2 : convert to new staging and fix python error in gnome-doc-utils
Converting libxml2 recipes to the new staging way
fixed the error where,during the compilation of gnome-doc-utils libxml2.py couldn't be find,but strangely the libxml package had only libxml.py
--- recipes/libxml/libxml2-native.inc | 4 ++-- recipes/libxml/libxml2-native_2.7.3.bb | 2 +- recipes/libxml/libxml2.inc | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-)
recipes/libxml/libxml2-native.inc +2 -2
@@ -22,6 +22,6 @@ do_configure (){ autotools_do_configure ${EXTRA_LIBXML2_OECONF} } -do_stage () { - oe_runmake install +do_install_append() { + : }
recipes/libxml/libxml2-native_2.7.3.bb +1 -1
@@ -1,2 +1,2 @@ require libxml2-native.inc -PR = "r0" +PR = "r1"
recipes/libxml/libxml2.inc +2 -3
@@ -5,7 +5,7 @@ LICENSE = "MIT" SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz" -INC_PR = "r2" +INC_PR = "r3" inherit autotools pkgconfig binconfig
@@ -13,8 +13,7 @@ EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog export LDFLAGS += "-ldl" -do_stage() { - autotools_stage_all +do_install_append() { install -d ${STAGING_DATADIR}/aclocal/ install -d ${STAGING_BINDIR_CROSS}
Signature · 1 line
1.6.4.4
Re: [PATCH] libxml2 : convert to new staging and fix python error in gnome-doc-utils
recipes/libxml/libxml2.inc EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog · line 18
Quoted 3 lines · Denis 'GNUtoo' Carikli
recipes/libxml/libxml2.inc +1
-0+do_install_append() { install -d ${STAGING_DATADIR}/aclocal/ install -d ${STAGING_BINDIR_CROSS}
That doesn't look right. I don't think do_install() should ever be writing into ${STAGING_xxxDIR} directly.
What happens if you just remove those lines?
p.
Re: [PATCH] libxml2 : convert to new staging and fix python error in gnome-doc-utils
Quoted 11 lines · Phil Blundell
recipes/libxml/libxml2.inc EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog · line 18
Quoted 3 lines · Denis 'GNUtoo' Carikli
recipes/libxml/libxml2.inc +1
-0+do_install_append() { install -d ${STAGING_DATADIR}/aclocal/ install -d ${STAGING_BINDIR_CROSS}That doesn't look right. I don't think
do_install()should ever be writing into ${STAGING_xxxDIR} directly.What happens if you just remove those lines?
p.
It seem to work just the same...Thanks a lot.
They were just left there because they came from the old version of the recipes But also because I did a quick thing(in fact I didn't even commit it)
Denis.
Re: [PATCH] libxml2 : convert to new staging and fix python error in gnome-doc-utils
Quoted 11 lines · GNUtoo
Quoted 10 lines · Phil Blundell
recipes/libxml/libxml2.inc EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog · line 18
Quoted 3 lines · Denis 'GNUtoo' Carikli
recipes/libxml/libxml2.inc +1
-0+do_install_append() { install -d ${STAGING_DATADIR}/aclocal/ install -d ${STAGING_BINDIR_CROSS}That doesn't look right. I don't think
do_install()should ever be writing into ${STAGING_xxxDIR} directly.What happens if you just remove those lines?
Quoted 8 lines
Quoted 1 line
p.
It seem to work just the same...Thanks a lot.
They were just left there because they came from the old version of the recipes But also because I did a quick thing(in fact I didn't even commit it)
Denis.
Now,Is it safe to commit it?
Denis.