[oe] [PATCH] xfconfig: use sysroot and target perl

Trevor Woerner trevor.woerner at linaro.org
Sun Mar 30 20:51:12 UTC 2014


On 12/07/13 17:29, Ulf Samuelsson wrote:
> xfconf-4.10.0 does not use OE sysroot as is.
> --with-sysroot=yes 
> will make configure run CC --print-sysroot
> and use that.
>
> Signed-off-by: Ulf Samuelsson <ulf at emagii.com>
> ---
>  meta-xfce/recipes-xfce/xfconf/xfconf_4.10.0.bb |    6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta-xfce/recipes-xfce/xfconf/xfconf_4.10.0.bb b/meta-xfce/recipes-xfce/xfconf/xfconf_4.10.0.bb
> index 4ea2b88..6d5bf57 100644
> --- a/meta-xfce/recipes-xfce/xfconf/xfconf_4.10.0.bb
> +++ b/meta-xfce/recipes-xfce/xfconf/xfconf_4.10.0.bb
> @@ -2,10 +2,14 @@ DESCRIPTION = "Xfce configuration daemon and utilities"
>  SECTION = "x11/wm"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
> -DEPENDS = "dbus-glib libxfce4util perl-native"
> +DEPENDS = "dbus-glib libxfce4util perl"
> +PR="r1"
>  
>  inherit xfce
>  
> +EXTRA_OECONF += "PERL=${STAGING_DIR_TARGET}/usr/bin/perl"
> +EXTRA_OECONF += "--with-sysroot=yes"
> +
>  SRC_URI += "file://0001-Simplify-checks.patch"
>  SRC_URI[md5sum] = "4ed48150a03fb5f42b455494307b7f28"
>  SRC_URI[sha256sum] = "175219a441cc7d0f210bbd1a3b0abba41598627cd9db27235811400c3e100576"

This patch is causing the build to emit a QA warning:

xfconf-4.10.0: xfconf: configure was passed unrecognised options: --with-sysroot

Is this really the right option to supply for what you're trying to do?

http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20140329_001343.log/qa.log


On my machine this package builds with this option (--with-sysroot)
removed, but I realize that testing on one machine is probably not
sufficient.



More information about the Openembedded-devel mailing list