gnome-common: add PACKAGECONFIG for autoconf-archive
PATCH 1/1 gnome-common: add PACKAGECONFIG for autoconf-archive
From: Chen Qi <[email protected]>
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
--- meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb +4 -0
@@ -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 = ""
Signature · 1 line
1.9.1
ping
Quoted 35 lines · On 10/24/2017 04:19 PM, [email protected] wrote:
From: Chen Qi <[email protected]>
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.m4conflicts 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.m4conflicts between attempted installs of gnome-common-3.18.0-r0.noarch and autoconf-archive-dev-2016.09.16-r0.core2_64Signed-off-by Chen Qi <[email protected]>--- meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb +4
-0@@ -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 = ""
gnome-common is marked as allarch, autoconf-archive isn't. So gnome-common cannot depend on it as it is now.
This change causes:
=== Comparing signatures for task do_configure.sigdata between qemux86 and
qemux86copy ===
ERROR: gnome-common different signature for task do_configure.sigdata between qemux86 and qemux86copy
runtaskdeps changed:
gnome-common/gnome-common_3.18.0.bb.do_prepare_recipe_sysroot with hash f3130e0be68211325008e37b3d49460b
changed to
gnome-common/gnome-common_3.18.0.bb.do_prepare_recipe_sysroot with hash 0360cfa01ddf508a7670af2fcb306e20
Hash for dependent task gnome-common/gnome-common_3.18.0.bb.do_prepare_recipe_sysroot changed from f3130e0be68211325008e37b3d49460b to 0360cfa01ddf508a7670af2fcb306e20
Quoted 55 lines · ChenQi
ping
Quoted 36 lines · On 10/24/2017 04:19 PM, [email protected] wrote:
From: Chen Qi <[email protected]>
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.m4conflicts 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.m4conflicts between
attempted installs of gnome-common-3.18.0-r0.noarch and autoconf-archive-dev-2016.09.16-r0.core2_64Signed-off-by Chen Qi <[email protected]>--- meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb +0
-0@@ -14,6 +14,10 @@ SRC_URI[archive.sha256sum] ="
22569e370ae755e04527b76328befc4c73b62bfd4a572499fd
EXTRA_AUTORECONF= ""
DEPENDS = ""
+# Default to enable autoconf-archive to avoid conflictsmeta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb SRC_URI[archive.sha256sum] = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fd · line 22
Quoted 6 lines
meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb +3
-1+PACKAGECONFIG ??= "autoconf-archive" +PACKAGECONFIG[autoconf-archive] = "--with-autoconf-archive, --without-autoconf-archive, autoconf-archive" + FILES_${PN} += "${datadir}/aclocal" FILES_${PN}-dev = ""--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Martin,
I sent out patch to oe-core to fix the problem you mentioned.
Now oe-core has merged the following patch. Could you please help merging this patch?
commit a9be3c445a047bc6fadf65b0d0f874c86c593e5d
Author: Chen Qi <[email protected]> Date: Mon Nov 13 13:26:22 2017 +0800
autoconf-archive: inherit allarch and fix package splitting
autoconf-archive is a set of common m4 macros, it should be allarch, just like it is on other distros.
Also fix package splitting. With current package splitting, autoconf-archive itself contains almost nothing, the m4 macros are contained in its dev package. However, autoconf-archive should contain those m4 marcos itself.
(From OE-Core rev: 8cbf5523f002e8ae0d8123755d2cbc3e8b0138ac)
Best Regards,
Chen Qi
Quoted 86 lines · Martin Jansa
gnome-common is marked as allarch, autoconf-archive isn't. So gnome-common cannot depend on it as it is now.
This change causes:
=== Comparing signatures for task do_configure.sigdata between
qemux86 and qemux86copy ===
ERROR: gnome-common different signature for task do_configure.sigdata between qemux86 and qemux86copy
runtaskdeps changed:
gnome-common/gnome-common_3.18.0.bb.do_prepare_recipe_sysroot with hashf3130e0be68211325008e37b3d49460b
changed to
gnome-common/gnome-common_3.18.0.bb.do_prepare_recipe_sysroot with hash0360cfa01ddf508a7670af2fcb306e20
Hash for dependent task gnome-common/gnome-common_3.18.0.bb.do_prepare_recipe_sysroot changed fromf3130e0be68211325008e37b3d49460bto0360cfa01ddf508a7670af2fcb306e20On Tue, Nov 7, 2017 at 3:10 AM, ChenQi <[email protected] <mailto:[email protected]>> wrote:
ping On 10/24/2017 04:19 PM, [email protected] <mailto:[email protected]> wrote: From: Chen Qi <[email protected] <mailto:[email protected]>> 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 <[email protected] <mailto:[email protected]>> --- meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb <http://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 <http://gnome-common_3.18.0.bb> b/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb <http://gnome-common_3.18.0.bb> index 06f3bb3..d874164 100644 --- a/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb <http://gnome-common_3.18.0.bb> +++ b/meta-oe/recipes-gnome/gnome-common/gnome-common_3.18.0.bb <http://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 = "" -- _______________________________________________ Openembedded-devel mailing list [email protected] <mailto:[email protected]> http://lists.openembedded.org/mailman/listinfo/openembedded-devel <http://lists.openembedded.org/mailman/listinfo/openembedded-devel>