[poky] [PATCH 4/7] xorg-[lib-common|proto-common]: disable use of fop document generation
Martin Jansa
martin.jansa at gmail.com
Mon Apr 4 14:20:48 PDT 2011
On Fri, Apr 1, 2011 at 3:38 PM, Joshua Lock <josh at linux.intel.com> wrote:
> From: Joshua Lock <josh at linux.intel.com>
>
> On Fedora 15 I see a huge Java backtrace when document generation runs for
> some xorg libs. As fop is automatically detected, with the possibility of
> detecting fop on the host whilst doing target builds, the safest bet is to
> explicitly disable fop for document generation.
>
> Signed-off-by: Joshua Lock <josh at linux.intel.com>
> ---
> meta/recipes-graphics/xorg-lib/xorg-lib-common.inc | 2 +-
> .../xorg-proto/xorg-proto-common.inc | 1 +
> 2 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
> index 4ed8c86..d843d65 100644
> --- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
> +++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
> @@ -13,4 +13,4 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
>
> inherit autotools pkgconfig
>
> -EXTRA_OECONF = "--enable-malloc0returnsnull"
> +EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no"
> diff --git a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
> index 92aa1fe..ab1af28 100644
> --- a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
> +++ b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
> @@ -14,6 +14,7 @@ S = "${WORKDIR}/${XORG_PN}-${PV}"
> DEPENDS = "util-macros"
>
> inherit autotools pkgconfig
> +EXTRA_OECONF = "--with-fop=no"
after this I get
| checking for xmlto... no
| configure: WARNING: xmlto not found - documentation targets will be skipped
| configure: error: --with-fop expects 'yes' or 'no'
| FATAL: oe_runconf failed
| ERROR: Function 'do_configure' failed (see
/OE/shr-core/tmp/work/x86_64-linux/xproto-native-1_7.0.20-r0/temp/log.do_configure.29076
for further information)
NOTE: package xproto-native-1_7.0.20-r0: task do_configure: Failed
ERROR: Task 957
(virtual:native:/OE/shr-core/openembedded-core/meta/recipes-graphics/xorg-proto/xproto_7.0.20.bb,
do_configure) failed with exit code '1'
because there is
--with-fop=no--enable-specs=no
so you had to put space after no, or before this
OE nokia900 at shr ~/shr-core $ grep OECONF
openembedded-core/meta/recipes-graphics/xorg-proto/xproto_7.0.20.bb
EXTRA_OECONF_append = "--enable-specs=no"
>
> # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
> RDEPENDS_${PN}-dev = ""
> --
> 1.7.4.1
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
More information about the poky
mailing list