All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] openjade_1.3.2.bb: Install catalog with the correct path.
@ 2010-11-30  6:24 Graham Gower
  2010-12-01 16:43 ` Tim Harvey
  0 siblings, 1 reply; 2+ messages in thread
From: Graham Gower @ 2010-11-30  6:24 UTC (permalink / raw)
  To: openembedded-devel

Openjade was doing the following:
install-catalog: addition of /mnt/oe/tmp/work/x86_64-linux/openjade-native-1.3.2-r4/image/mnt/oe/tmp/sysroots/x86_64-linux/share/sgml/openjade-1.3.2/catalog in /mnt/oe/tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat

Which was causing lengthy errors like this one:
http://tinderbox.openembedded.org/packages/1149296/

Now I get:
install-catalog: addition of /mnt/oe/tmp/sysroots/x86_64-linux/share/sgml/openjade-1.3.2/catalog in /mnt/oe/tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat

Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
 recipes/openjade/openjade_1.3.2.bb |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/recipes/openjade/openjade_1.3.2.bb b/recipes/openjade/openjade_1.3.2.bb
index a84e899..6c69173 100644
--- a/recipes/openjade/openjade_1.3.2.bb
+++ b/recipes/openjade/openjade_1.3.2.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "OpenJade is a suite of tools for validating, \
 processing, and applying DSSSL (Document Style Semantics and \
 Specification Language) stylesheets to SGML and XML documents."
 LICENSE = "BSD"
-PR = "r4"
+PR = "r5"
 SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
 	   file://configure.patch \
 	   file://autoconf.patch \
@@ -42,8 +42,11 @@ do_install_append () {
        install -m 644 dsssl/catalog ${D}${datadir}/sgml/openjade-${PV}
        install -m 644 dsssl/*.{dtd,dsl,sgm} ${D}${datadir}/sgml/openjade-${PV}
 
+       # The catalog must live in the sysroot and it must be there for
+       # install-catalog to do its thing.
+       install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}
        install-catalog --add ${sysconfdir}/sgml/openjade-${PV}.cat \
-           ${D}${datadir}/sgml/openjade-${PV}/catalog
+           ${datadir}/sgml/openjade-${PV}/catalog
 
        install-catalog --add ${sysconfdir}/sgml/sgml-docbook.cat \
            ${sysconfdir}/sgml/openjade-${PV}.cat
-- 
1.7.1




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

* Re: [PATCH] openjade_1.3.2.bb: Install catalog with the correct path.
  2010-11-30  6:24 [PATCH] openjade_1.3.2.bb: Install catalog with the correct path Graham Gower
@ 2010-12-01 16:43 ` Tim Harvey
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Harvey @ 2010-12-01 16:43 UTC (permalink / raw)
  To: openembedded-devel; +Cc: 0

On 11/29/2010 10:24 PM, Graham Gower wrote:
> Openjade was doing the following:
> install-catalog: addition of /mnt/oe/tmp/work/x86_64-linux/openjade-native-1.3.2-r4/image/mnt/oe/tmp/sysroots/x86_64-linux/share/sgml/openjade-1.3.2/catalog in /mnt/oe/tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat
>
> Which was causing lengthy errors like this one:
> http://tinderbox.openembedded.org/packages/1149296/
>
> Now I get:
> install-catalog: addition of /mnt/oe/tmp/sysroots/x86_64-linux/share/sgml/openjade-1.3.2/catalog in /mnt/oe/tmp/sysroots/x86_64-linux/etc/sgml/openjade-1.3.2.cat
>
> Signed-off-by: Graham Gower<graham.gower@gmail.com>
> ---
>   recipes/openjade/openjade_1.3.2.bb |    7 +++++--
>   1 files changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/recipes/openjade/openjade_1.3.2.bb b/recipes/openjade/openjade_1.3.2.bb
> index a84e899..6c69173 100644
> --- a/recipes/openjade/openjade_1.3.2.bb
> +++ b/recipes/openjade/openjade_1.3.2.bb
> @@ -5,7 +5,7 @@ DESCRIPTION = "OpenJade is a suite of tools for validating, \
>   processing, and applying DSSSL (Document Style Semantics and \
>   Specification Language) stylesheets to SGML and XML documents."
>   LICENSE = "BSD"
> -PR = "r4"
> +PR = "r5"
>   SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
>   	   file://configure.patch \
>   	   file://autoconf.patch \
> @@ -42,8 +42,11 @@ do_install_append () {
>          install -m 644 dsssl/catalog ${D}${datadir}/sgml/openjade-${PV}
>          install -m 644 dsssl/*.{dtd,dsl,sgm} ${D}${datadir}/sgml/openjade-${PV}
>
> +       # The catalog must live in the sysroot and it must be there for
> +       # install-catalog to do its thing.
> +       install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}
>          install-catalog --add ${sysconfdir}/sgml/openjade-${PV}.cat \
> -           ${D}${datadir}/sgml/openjade-${PV}/catalog
> +           ${datadir}/sgml/openjade-${PV}/catalog
>
>          install-catalog --add ${sysconfdir}/sgml/sgml-docbook.cat \
>              ${sysconfdir}/sgml/openjade-${PV}.cat

Acked-by: Tim Harvey <harvey.tim@gmail.com>

Thanks - I've been running into this for quite some time now with 
parallel builds and haven't been able to figure out what wasn't being 
staged properly.

This needs to get into release-2010.12 if someone can cherry-pick it.

Tim




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

end of thread, other threads:[~2010-12-01 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-30  6:24 [PATCH] openjade_1.3.2.bb: Install catalog with the correct path Graham Gower
2010-12-01 16:43 ` Tim Harvey

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.