[oe] [meta-oe][PATCH] gnome-common: add PACKAGECONFIG for autoconf-archive

Qi.Chen at windriver.com Qi.Chen at windriver.com
Tue Oct 24 08:19:44 UTC 2017


From: Chen Qi <Qi.Chen at windriver.com>

Add PACKAGECONFIG for autoconf-archive. Default to enable it to avoid
m4 file conflicts between gnome-common and autoconf-archive.

e.g.
IMAGE_INSTALL_append = " gnome-common autoconf-archive-dev"
bitbake <image>

We enable autoconf-archive PACKAGECONFIG to avoid the following error.

Error: Transaction check error:
  file /usr/share/aclocal/ax_check_enable_debug.m4 conflicts between attempted installs of gnome-common-3.18.0-r0.noarch and autoconf-archive-dev-2016.09.16-r0.core2_64
  file /usr/share/aclocal/ax_code_coverage.m4 conflicts between attempted installs of gnome-common-3.18.0-r0.noarch and autoconf-archive-dev-2016.09.16-r0.core2_64

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb b/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb
index 06f3bb3..d874164 100644
--- a/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb
+++ b/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb
@@ -14,6 +14,10 @@ SRC_URI[archive.sha256sum] = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fd
 EXTRA_AUTORECONF = ""
 DEPENDS = ""
 
+# Default to enable autoconf-archive to avoid conflicts
+PACKAGECONFIG ??= "autoconf-archive"
+PACKAGECONFIG[autoconf-archive] = "--with-autoconf-archive, --without-autoconf-archive, autoconf-archive"
+
 FILES_${PN} += "${datadir}/aclocal"
 FILES_${PN}-dev = ""
 
-- 
1.9.1




More information about the Openembedded-devel mailing list