* [PATCH 0/3] Fixes for doc-related build failures.
@ 2011-04-04 20:19 Scott Garman
2011-04-04 20:19 ` [PATCH 1/3] docbook-sgml-dtd-native.inc: run install-catalog only during do_populate_sysroot Scott Garman
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Scott Garman @ 2011-04-04 20:19 UTC (permalink / raw)
To: poky
From: Scott Garman <scott.a.garman@intel.com>
Hi Saul,
Paul identified the root cause of the build failures occurring with
the documentation related packages. The problem is that functions
appended to SSTATEPOSTINSTFUNCS can now be run for *all* tasks.
These commits ensure the sysroot-related operations only happen
during the do_populate_sysroot tasks.
This fixes [YOCTO #948] (Thank you Dexuan for the bug report).
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: sgarman/docbook-fix
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/docbook-fix
Thanks,
Scott Garman <scott.a.garman@intel.com>
---
Scott Garman (3):
docbook-sgml-dtd-native.inc: run install-catalog only during
do_populate_sysroot
openjade-native: run install-catalog only during do_populate_sysroot
docbook-dsssl-stylesheets-native: run install-catalog only during
do_populate_sysroot
.../docbook-dsssl-stylesheets-native_1.79.bb | 12 +++++++-----
.../docbook-sgml-dtd/docbook-sgml-dtd-native.inc | 12 +++++++-----
.../openjade/openjade-native_1.3.2.bb | 12 +++++++-----
3 files changed, 21 insertions(+), 15 deletions(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] docbook-sgml-dtd-native.inc: run install-catalog only during do_populate_sysroot
2011-04-04 20:19 [PATCH 0/3] Fixes for doc-related build failures Scott Garman
@ 2011-04-04 20:19 ` Scott Garman
2011-04-04 20:19 ` [PATCH 2/3] openjade-native: " Scott Garman
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Scott Garman @ 2011-04-04 20:19 UTC (permalink / raw)
To: poky
From: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
---
.../docbook-sgml-dtd/docbook-sgml-dtd-native.inc | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
index 83cedbc..5df6e6e 100644
--- a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
@@ -39,9 +39,11 @@ do_install () {
}
docbook_sgml_dtd_sstate_postinst () {
- # Ensure that the catalog file sgml-docbook.cat is properly
- # updated when the package is installed from sstate cache.
- install-catalog \
- --add ${sysconfdir}/sgml/sgml-docbook.cat \
- ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat
+ if [ "${BB_CURRENTTASK}" = "populate_sysroot" ]; then
+ # Ensure that the catalog file sgml-docbook.cat is properly
+ # updated when the package is installed from sstate cache.
+ install-catalog \
+ --add ${sysconfdir}/sgml/sgml-docbook.cat \
+ ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat
+ fi
}
--
1.7.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] openjade-native: run install-catalog only during do_populate_sysroot
2011-04-04 20:19 [PATCH 0/3] Fixes for doc-related build failures Scott Garman
2011-04-04 20:19 ` [PATCH 1/3] docbook-sgml-dtd-native.inc: run install-catalog only during do_populate_sysroot Scott Garman
@ 2011-04-04 20:19 ` Scott Garman
2011-04-04 20:19 ` [PATCH 3/3] docbook-dsssl-stylesheets-native: " Scott Garman
2011-04-04 21:53 ` [PATCH 0/3] Fixes for doc-related build failures Scott Garman
3 siblings, 0 replies; 5+ messages in thread
From: Scott Garman @ 2011-04-04 20:19 UTC (permalink / raw)
To: poky
From: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
---
.../openjade/openjade-native_1.3.2.bb | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
index 5c1037a..f98eea2 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -62,9 +62,11 @@ do_install() {
}
openjade_sstate_postinst() {
- # Ensure that the catalog file sgml-docbook.cat is properly
- # updated when the package is installed from sstate cache.
- install-catalog \
- --add ${sysconfdir}/sgml/sgml-docbook.cat \
- ${sysconfdir}/sgml/openjade-${PV}.cat
+ if [ "${BB_CURRENTTASK}" = "populate_sysroot" ]; then
+ # Ensure that the catalog file sgml-docbook.cat is properly
+ # updated when the package is installed from sstate cache.
+ install-catalog \
+ --add ${sysconfdir}/sgml/sgml-docbook.cat \
+ ${sysconfdir}/sgml/openjade-${PV}.cat
+ fi
}
--
1.7.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] docbook-dsssl-stylesheets-native: run install-catalog only during do_populate_sysroot
2011-04-04 20:19 [PATCH 0/3] Fixes for doc-related build failures Scott Garman
2011-04-04 20:19 ` [PATCH 1/3] docbook-sgml-dtd-native.inc: run install-catalog only during do_populate_sysroot Scott Garman
2011-04-04 20:19 ` [PATCH 2/3] openjade-native: " Scott Garman
@ 2011-04-04 20:19 ` Scott Garman
2011-04-04 21:53 ` [PATCH 0/3] Fixes for doc-related build failures Scott Garman
3 siblings, 0 replies; 5+ messages in thread
From: Scott Garman @ 2011-04-04 20:19 UTC (permalink / raw)
To: poky
From: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
---
.../docbook-dsssl-stylesheets-native_1.79.bb | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
index fc4d266..b680384 100644
--- a/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
+++ b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
@@ -38,9 +38,11 @@ do_install () {
}
docbook_dsssl_stylesheets_sstate_postinst () {
- # Ensure that the catalog file sgml-docbook.cat is properly
- # updated when the package is installed from sstate cache.
- install-catalog \
- --add ${sysconfdir}/sgml/sgml-docbook.cat \
- ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat
+ if [ "${BB_CURRENTTASK}" = "populate_sysroot" ]; then
+ # Ensure that the catalog file sgml-docbook.cat is properly
+ # updated when the package is installed from sstate cache.
+ install-catalog \
+ --add ${sysconfdir}/sgml/sgml-docbook.cat \
+ ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat
+ fi
}
--
1.7.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] Fixes for doc-related build failures.
2011-04-04 20:19 [PATCH 0/3] Fixes for doc-related build failures Scott Garman
` (2 preceding siblings ...)
2011-04-04 20:19 ` [PATCH 3/3] docbook-dsssl-stylesheets-native: " Scott Garman
@ 2011-04-04 21:53 ` Scott Garman
3 siblings, 0 replies; 5+ messages in thread
From: Scott Garman @ 2011-04-04 21:53 UTC (permalink / raw)
To: poky@yoctoproject.org
On 04/04/2011 01:19 PM, Scott Garman wrote:
> From: Scott Garman<scott.a.garman@intel.com>
>
> Hi Saul,
>
> Paul identified the root cause of the build failures occurring with
> the documentation related packages. The problem is that functions
> appended to SSTATEPOSTINSTFUNCS can now be run for *all* tasks.
> These commits ensure the sysroot-related operations only happen
> during the do_populate_sysroot tasks.
>
> This fixes [YOCTO #948] (Thank you Dexuan for the bug report).
Richard just alerted me to a problem with this pull request. Going to
re-spin shortly.
Scott
--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-04-04 21:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-04 20:19 [PATCH 0/3] Fixes for doc-related build failures Scott Garman
2011-04-04 20:19 ` [PATCH 1/3] docbook-sgml-dtd-native.inc: run install-catalog only during do_populate_sysroot Scott Garman
2011-04-04 20:19 ` [PATCH 2/3] openjade-native: " Scott Garman
2011-04-04 20:19 ` [PATCH 3/3] docbook-dsssl-stylesheets-native: " Scott Garman
2011-04-04 21:53 ` [PATCH 0/3] Fixes for doc-related build failures Scott Garman
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.