On 2017年04月12日 19:04, Jussi Kukkonen wrote:
On 12 April 2017 at 13:52, Zhixiong Chi <zhixiong....@windriver.com <mailto:zhixiong....@windriver.com>> wrote:

    After updating the autoconf-archive version to 2016.09.16,
    autoconf-archive
    installs the same ax_*.m4 macros that gnome-common installs. So
    there will
    be the conflict occurs.
    The option '--with-autoconf-archive' is passed to configure, the
    macros
    are not installed, and gnome-common will not install any M4 macros
    that
    conflict with autoconf-archive.
    At the same time, set the RDEPENDS for gnome-common.

    Signed-off-by: Zhixiong Chi <zhixiong....@windriver.com
    <mailto:zhixiong....@windriver.com>>
    ---
     meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
    <http://gnome-common_3.18.0.bb> | 3 +++
     1 file changed, 3 insertions(+)

    diff --git a/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
    <http://gnome-common_3.18.0.bb>
    b/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
    <http://gnome-common_3.18.0.bb>
    index 06f3bb3..96817bb 100644
    --- a/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
    <http://gnome-common_3.18.0.bb>
    +++ b/meta/recipes-gnome/gnome/gnome-common_3.18.0.bb
    <http://gnome-common_3.18.0.bb>
    @@ -14,6 +14,9 @@ SRC_URI[archive.sha256sum] =
    "22569e370ae755e04527b76328befc4c73b62bfd4a572499fd
     EXTRA_AUTORECONF = ""
     DEPENDS = ""

    +EXTRA_OECONF += " --with-autoconf-archive"
    +RDEPENDS_${PN} = "autoconf-archive"


autoconf-archive is not in oe-core, is it?

Yes,it is.
As Alex said, it shouldn't depend the recipe from the other layers.
I will try to move autoconf-archive into oe-core next step.

Thanks.

    +
     FILES_${PN} += "${datadir}/aclocal"
     FILES_${PN}-dev = ""

    --
    1.9.1

    --
    _______________________________________________
    Openembedded-core mailing list
    Openembedded-core@lists.openembedded.org
    <mailto:Openembedded-core@lists.openembedded.org>
    http://lists.openembedded.org/mailman/listinfo/openembedded-core
    <http://lists.openembedded.org/mailman/listinfo/openembedded-core>



--
---------------------
Thanks,
Zhixiong Chi
Tel: +86-10-8477-7036

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to