* [PATCH] autoconf-archive: move from meta-oe to OE-core
@ 2017-07-28 14:01 Patrick Ohly
2017-07-28 16:45 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Patrick Ohly @ 2017-07-28 14:01 UTC (permalink / raw)
To: openembedded-core
Having common macros in OE-core that are needed by autotools based
projects makes sense. For example, tpm2.0-tools in meta-measured
depended on meta-oe only because of autoconf-archive.
This is a verbatim copy of the autoconf-archive recipe in
meta-openembedded rev 1cbd1bc1, with just one change: the patch which
disabled the installation of ax_code_coverage.m4 and
ax_check_enable_debug.m4 was removed.
So now autoconf-archive in OE-core provides them. gnome-common in
meta-oe will be changed to not install them and instead depend on
autoconf-archive.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
---
meta/recipes-devtools/autoconf-archive/autoconf-archive.inc | 15 +++++++++++++++
meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb | 13 +++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
create mode 100644 meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
new file mode 100644
index 0000000..9684d1f
--- /dev/null
+++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
@@ -0,0 +1,15 @@
+LICENSE = "GPLv3"
+HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/"
+SECTION = "devel"
+
+DEPENDS += "m4-native"
+DEPENDS_class-native = "m4-native gnu-config-native"
+DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
+
+RDEPENDS_${PN} = "m4 gnu-config gnome-common"
+RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
+RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
+
+SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
+
+inherit autotools
diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
new file mode 100644
index 0000000..0a1a771
--- /dev/null
+++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
@@ -0,0 +1,13 @@
+require autoconf-archive.inc
+
+
+PARALLEL_MAKE = ""
+
+LICENSE = "GPLv2 & GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+SRC_URI[md5sum] = "bf19d4cddce260b3c3e1d51d42509071"
+SRC_URI[sha256sum] = "e8f2efd235f842bad2f6938bf4a72240a5e5fcd248e8444335e63beb60fabd82"
+
+EXTRA_OECONF += "ac_cv_path_M4=m4"
+BBCLASSEXTEND = "native nativesdk"
base-commit: d3a41fbd94462efc8c6f1b55f6fb54001b447c45
--
git-series 0.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] autoconf-archive: move from meta-oe to OE-core
2017-07-28 14:01 [PATCH] autoconf-archive: move from meta-oe to OE-core Patrick Ohly
@ 2017-07-28 16:45 ` Khem Raj
2017-08-10 20:18 ` Martin Jansa
0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2017-07-28 16:45 UTC (permalink / raw)
To: Patrick Ohly; +Cc: Patches and discussions about the oe-core layer
On Fri, Jul 28, 2017 at 7:01 AM, Patrick Ohly <patrick.ohly@intel.com> wrote:
> Having common macros in OE-core that are needed by autotools based
> projects makes sense. For example, tpm2.0-tools in meta-measured
> depended on meta-oe only because of autoconf-archive.
>
> This is a verbatim copy of the autoconf-archive recipe in
> meta-openembedded rev 1cbd1bc1, with just one change: the patch which
> disabled the installation of ax_code_coverage.m4 and
> ax_check_enable_debug.m4 was removed.
>
> So now autoconf-archive in OE-core provides them. gnome-common in
> meta-oe will be changed to not install them and instead depend on
> autoconf-archive.
+1
LGTM
>
> Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
> ---
> meta/recipes-devtools/autoconf-archive/autoconf-archive.inc | 15 +++++++++++++++
> meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb | 13 +++++++++++++
> 2 files changed, 28 insertions(+)
> create mode 100644 meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> create mode 100644 meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
>
> diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> new file mode 100644
> index 0000000..9684d1f
> --- /dev/null
> +++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> @@ -0,0 +1,15 @@
> +LICENSE = "GPLv3"
> +HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/"
> +SECTION = "devel"
> +
> +DEPENDS += "m4-native"
> +DEPENDS_class-native = "m4-native gnu-config-native"
> +DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
> +
> +RDEPENDS_${PN} = "m4 gnu-config gnome-common"
> +RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
> +RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
> +
> +SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
> +
> +inherit autotools
> diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> new file mode 100644
> index 0000000..0a1a771
> --- /dev/null
> +++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> @@ -0,0 +1,13 @@
> +require autoconf-archive.inc
> +
> +
> +PARALLEL_MAKE = ""
> +
> +LICENSE = "GPLv2 & GPLv3"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +
> +SRC_URI[md5sum] = "bf19d4cddce260b3c3e1d51d42509071"
> +SRC_URI[sha256sum] = "e8f2efd235f842bad2f6938bf4a72240a5e5fcd248e8444335e63beb60fabd82"
> +
> +EXTRA_OECONF += "ac_cv_path_M4=m4"
> +BBCLASSEXTEND = "native nativesdk"
>
> base-commit: d3a41fbd94462efc8c6f1b55f6fb54001b447c45
> --
> git-series 0.9.1
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] autoconf-archive: move from meta-oe to OE-core
2017-07-28 16:45 ` Khem Raj
@ 2017-08-10 20:18 ` Martin Jansa
2017-08-10 20:34 ` Mark Hatle
0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2017-08-10 20:18 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 4151 bytes --]
-2
LBTM
If gnome-common should depend on TUNE_PKGARCH autoconf-archive, then
it cannot inherit allarch anymore, see:
ERROR: gnome-common different signature for task
do_package_write_ipk.sigdata between qemux86copy and qemuarm
runtaskdeps changed:
autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata with
hash e26a8076711b7e88a3ffcda74a9e5332
changed to
autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata with
hash ee3f5138593bed3feb8519cf3c26aa7b
Hash for dependent task
autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata changed
from e26a8076711b7e88a3ffcda74a9e5332 to
ee3f5138593bed3feb8519cf3c26aa7b
On Fri, Jul 28, 2017 at 6:45 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Fri, Jul 28, 2017 at 7:01 AM, Patrick Ohly <patrick.ohly@intel.com>
> wrote:
> > Having common macros in OE-core that are needed by autotools based
> > projects makes sense. For example, tpm2.0-tools in meta-measured
> > depended on meta-oe only because of autoconf-archive.
> >
> > This is a verbatim copy of the autoconf-archive recipe in
> > meta-openembedded rev 1cbd1bc1, with just one change: the patch which
> > disabled the installation of ax_code_coverage.m4 and
> > ax_check_enable_debug.m4 was removed.
> >
> > So now autoconf-archive in OE-core provides them. gnome-common in
> > meta-oe will be changed to not install them and instead depend on
> > autoconf-archive.
>
> +1
> LGTM
>
> >
> > Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
> > ---
> > meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> | 15 +++++++++++++++
> > meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> | 13 +++++++++++++
> > 2 files changed, 28 insertions(+)
> > create mode 100644 meta/recipes-devtools/autoconf-archive/autoconf-
> archive.inc
> > create mode 100644 meta/recipes-devtools/autoconf-archive/autoconf-
> archive_2016.09.16.bb
> >
> > diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> > new file mode 100644
> > index 0000000..9684d1f
> > --- /dev/null
> > +++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> > @@ -0,0 +1,15 @@
> > +LICENSE = "GPLv3"
> > +HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/"
> > +SECTION = "devel"
> > +
> > +DEPENDS += "m4-native"
> > +DEPENDS_class-native = "m4-native gnu-config-native"
> > +DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
> > +
> > +RDEPENDS_${PN} = "m4 gnu-config gnome-common"
> > +RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
> > +RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
> > +
> > +SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
> > +
> > +inherit autotools
> > diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-
> archive_2016.09.16.bb b/meta/recipes-devtools/autoconf-archive/autoconf-
> archive_2016.09.16.bb
> > new file mode 100644
> > index 0000000..0a1a771
> > --- /dev/null
> > +++ b/meta/recipes-devtools/autoconf-archive/autoconf-
> archive_2016.09.16.bb
> > @@ -0,0 +1,13 @@
> > +require autoconf-archive.inc
> > +
> > +
> > +PARALLEL_MAKE = ""
> > +
> > +LICENSE = "GPLv2 & GPLv3"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae5
> 04"
> > +
> > +SRC_URI[md5sum] = "bf19d4cddce260b3c3e1d51d42509071"
> > +SRC_URI[sha256sum] = "e8f2efd235f842bad2f6938bf4a722
> 40a5e5fcd248e8444335e63beb60fabd82"
> > +
> > +EXTRA_OECONF += "ac_cv_path_M4=m4"
> > +BBCLASSEXTEND = "native nativesdk"
> >
> > base-commit: d3a41fbd94462efc8c6f1b55f6fb54001b447c45
> > --
> > git-series 0.9.1
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
[-- Attachment #2: Type: text/html, Size: 7272 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] autoconf-archive: move from meta-oe to OE-core
2017-08-10 20:18 ` Martin Jansa
@ 2017-08-10 20:34 ` Mark Hatle
2017-08-10 23:56 ` Martin Jansa
0 siblings, 1 reply; 7+ messages in thread
From: Mark Hatle @ 2017-08-10 20:34 UTC (permalink / raw)
To: Martin Jansa, Khem Raj; +Cc: Patches and discussions about the oe-core layer
On 8/10/17 3:18 PM, Martin Jansa wrote:
> -2
I agree that autoconf-archive should be in oe-core. But...
> LBTM
>
>
> If gnome-common should depend on TUNE_PKGARCH autoconf-archive, then it cannot inherit allarch anymore, see:
>
>
> ERROR: gnome-common different signature for task do_package_write_ipk.sigdata between qemux86copy and qemuarm
> runtaskdeps changed:
> autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata with hash e26a8076711b7e88a3ffcda74a9e5332
> changed to
> autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata with hash ee3f5138593bed3feb8519cf3c26aa7b
> Hash for dependent task autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata changed from e26a8076711b7e88a3ffcda74a9e5332 to ee3f5138593bed3feb8519cf3c26aa7b
>
There should not be an architectural difference. There is no reason it
shouldn't be allarch. Part of the reason we really need to move it into oe-core
is that currently different BSPs may implement it differently making the
'allarch' even MORE complicated.
--Mark
>
> On Fri, Jul 28, 2017 at 6:45 PM, Khem Raj <raj.khem@gmail.com
> <mailto:raj.khem@gmail.com>> wrote:
>
> On Fri, Jul 28, 2017 at 7:01 AM, Patrick Ohly <patrick.ohly@intel.com
> <mailto:patrick.ohly@intel.com>> wrote:
> > Having common macros in OE-core that are needed by autotools based
> > projects makes sense. For example, tpm2.0-tools in meta-measured
> > depended on meta-oe only because of autoconf-archive.
> >
> > This is a verbatim copy of the autoconf-archive recipe in
> > meta-openembedded rev 1cbd1bc1, with just one change: the patch which
> > disabled the installation of ax_code_coverage.m4 and
> > ax_check_enable_debug.m4 was removed.
> >
> > So now autoconf-archive in OE-core provides them. gnome-common in
> > meta-oe will be changed to not install them and instead depend on
> > autoconf-archive.
>
> +1
> LGTM
>
> >
> > Signed-off-by: Patrick Ohly <patrick.ohly@intel.com
> <mailto:patrick.ohly@intel.com>>
> > ---
> > meta/recipes-devtools/autoconf-archive/autoconf-archive.inc |
> 15 +++++++++++++++
> > meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> <http://autoconf-archive_2016.09.16.bb> | 13 +++++++++++++
> > 2 files changed, 28 insertions(+)
> > create mode 100644
> meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> > create mode 100644
> meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> <http://autoconf-archive_2016.09.16.bb>
> >
> > diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> > new file mode 100644
> > index 0000000..9684d1f
> > --- /dev/null
> > +++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> > @@ -0,0 +1,15 @@
> > +LICENSE = "GPLv3"
> > +HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/
> <http://www.gnu.org/software/autoconf-archive/>"
> > +SECTION = "devel"
> > +
> > +DEPENDS += "m4-native"
> > +DEPENDS_class-native = "m4-native gnu-config-native"
> > +DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
> > +
> > +RDEPENDS_${PN} = "m4 gnu-config gnome-common"
> > +RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
> > +RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
> > +
> > +SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
> > +
> > +inherit autotools
> > diff --git
> a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> <http://autoconf-archive_2016.09.16.bb>
> b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> <http://autoconf-archive_2016.09.16.bb>
> > new file mode 100644
> > index 0000000..0a1a771
> > --- /dev/null
> > +++
> b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> <http://autoconf-archive_2016.09.16.bb>
> > @@ -0,0 +1,13 @@
> > +require autoconf-archive.inc
> > +
> > +
> > +PARALLEL_MAKE = ""
> > +
> > +LICENSE = "GPLv2 & GPLv3"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> > +
> > +SRC_URI[md5sum] = "bf19d4cddce260b3c3e1d51d42509071"
> > +SRC_URI[sha256sum] =
> "e8f2efd235f842bad2f6938bf4a72240a5e5fcd248e8444335e63beb60fabd82"
> > +
> > +EXTRA_OECONF += "ac_cv_path_M4=m4"
> > +BBCLASSEXTEND = "native nativesdk"
> >
> > base-commit: d3a41fbd94462efc8c6f1b55f6fb54001b447c45
> > --
> > git-series 0.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>
> --
> _______________________________________________
> 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>
>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] autoconf-archive: move from meta-oe to OE-core
2017-08-10 20:34 ` Mark Hatle
@ 2017-08-10 23:56 ` Martin Jansa
2017-08-11 1:53 ` Mark Hatle
0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2017-08-10 23:56 UTC (permalink / raw)
To: Mark Hatle; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 6541 bytes --]
On Thu, Aug 10, 2017 at 03:34:48PM -0500, Mark Hatle wrote:
> On 8/10/17 3:18 PM, Martin Jansa wrote:
> > -2
>
> I agree that autoconf-archive should be in oe-core. But...
No argument about that, it was already merged to oe-core, I was only
commenting about the gnome-common change included in this commit.
>
> > LBTM
> >
> >
> > If gnome-common should depend on TUNE_PKGARCH autoconf-archive, then it cannot inherit allarch anymore, see:
> >
> >
> > ERROR: gnome-common different signature for task do_package_write_ipk.sigdata between qemux86copy and qemuarm
> > runtaskdeps changed:
> > autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata with hash e26a8076711b7e88a3ffcda74a9e5332
> > changed to
> > autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata with hash ee3f5138593bed3feb8519cf3c26aa7b
> > Hash for dependent task autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata changed from e26a8076711b7e88a3ffcda74a9e5332 to ee3f5138593bed3feb8519cf3c26aa7b
> >
>
> There should not be an architectural difference. There is no reason it
> shouldn't be allarch. Part of the reason we really need to move it into oe-core
> is that currently different BSPs may implement it differently making the
> 'allarch' even MORE complicated.
I don't understand what you mean with BSPs wrt autoconf-archive, but as
it is now, the autoconf-archive in oe-core isn't allarch, so allarch
gnome-common in meta-oe cannot depend on it.
It could be whitelisted in layer.conf or allarch can be dropped from
gnome-common or autoconf-archive can be updated to inherit allarch as
well - either of these options is fine with me, but I won't merge this
change in current state.
>
> --Mark
>
> >
> > On Fri, Jul 28, 2017 at 6:45 PM, Khem Raj <raj.khem@gmail.com
> > <mailto:raj.khem@gmail.com>> wrote:
> >
> > On Fri, Jul 28, 2017 at 7:01 AM, Patrick Ohly <patrick.ohly@intel.com
> > <mailto:patrick.ohly@intel.com>> wrote:
> > > Having common macros in OE-core that are needed by autotools based
> > > projects makes sense. For example, tpm2.0-tools in meta-measured
> > > depended on meta-oe only because of autoconf-archive.
> > >
> > > This is a verbatim copy of the autoconf-archive recipe in
> > > meta-openembedded rev 1cbd1bc1, with just one change: the patch which
> > > disabled the installation of ax_code_coverage.m4 and
> > > ax_check_enable_debug.m4 was removed.
> > >
> > > So now autoconf-archive in OE-core provides them. gnome-common in
> > > meta-oe will be changed to not install them and instead depend on
> > > autoconf-archive.
> >
> > +1
> > LGTM
> >
> > >
> > > Signed-off-by: Patrick Ohly <patrick.ohly@intel.com
> > <mailto:patrick.ohly@intel.com>>
> > > ---
> > > meta/recipes-devtools/autoconf-archive/autoconf-archive.inc |
> > 15 +++++++++++++++
> > > meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> > <http://autoconf-archive_2016.09.16.bb> | 13 +++++++++++++
> > > 2 files changed, 28 insertions(+)
> > > create mode 100644
> > meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> > > create mode 100644
> > meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> > <http://autoconf-archive_2016.09.16.bb>
> > >
> > > diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> > b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> > > new file mode 100644
> > > index 0000000..9684d1f
> > > --- /dev/null
> > > +++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
> > > @@ -0,0 +1,15 @@
> > > +LICENSE = "GPLv3"
> > > +HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/
> > <http://www.gnu.org/software/autoconf-archive/>"
> > > +SECTION = "devel"
> > > +
> > > +DEPENDS += "m4-native"
> > > +DEPENDS_class-native = "m4-native gnu-config-native"
> > > +DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
> > > +
> > > +RDEPENDS_${PN} = "m4 gnu-config gnome-common"
> > > +RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
> > > +RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
> > > +
> > > +SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
> > > +
> > > +inherit autotools
> > > diff --git
> > a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> > <http://autoconf-archive_2016.09.16.bb>
> > b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> > <http://autoconf-archive_2016.09.16.bb>
> > > new file mode 100644
> > > index 0000000..0a1a771
> > > --- /dev/null
> > > +++
> > b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
> > <http://autoconf-archive_2016.09.16.bb>
> > > @@ -0,0 +1,13 @@
> > > +require autoconf-archive.inc
> > > +
> > > +
> > > +PARALLEL_MAKE = ""
> > > +
> > > +LICENSE = "GPLv2 & GPLv3"
> > > +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> > > +
> > > +SRC_URI[md5sum] = "bf19d4cddce260b3c3e1d51d42509071"
> > > +SRC_URI[sha256sum] =
> > "e8f2efd235f842bad2f6938bf4a72240a5e5fcd248e8444335e63beb60fabd82"
> > > +
> > > +EXTRA_OECONF += "ac_cv_path_M4=m4"
> > > +BBCLASSEXTEND = "native nativesdk"
> > >
> > > base-commit: d3a41fbd94462efc8c6f1b55f6fb54001b447c45
> > > --
> > > git-series 0.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>
> > --
> > _______________________________________________
> > 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>
> >
> >
> >
> >
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] autoconf-archive: move from meta-oe to OE-core
2017-08-10 23:56 ` Martin Jansa
@ 2017-08-11 1:53 ` Mark Hatle
2017-08-24 7:47 ` Patrick Ohly
0 siblings, 1 reply; 7+ messages in thread
From: Mark Hatle @ 2017-08-11 1:53 UTC (permalink / raw)
To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1.1: Type: text/plain, Size: 6694 bytes --]
On 8/10/17 6:56 PM, Martin Jansa wrote:
> On Thu, Aug 10, 2017 at 03:34:48PM -0500, Mark Hatle wrote:
>> On 8/10/17 3:18 PM, Martin Jansa wrote:
>>> -2
>>
>> I agree that autoconf-archive should be in oe-core. But...
>
> No argument about that, it was already merged to oe-core, I was only
> commenting about the gnome-common change included in this commit.
Sorry, I missed the context.. ya if the gnome change is arch or board specific
that is wrong. There should be no reason for that.
--Mark
>>
>>> LBTM
>>>
>>>
>>> If gnome-common should depend on TUNE_PKGARCH autoconf-archive, then it cannot inherit allarch anymore, see:
>>>
>>>
>>> ERROR: gnome-common different signature for task do_package_write_ipk.sigdata between qemux86copy and qemuarm
>>> runtaskdeps changed:
>>> autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata with hash e26a8076711b7e88a3ffcda74a9e5332
>>> changed to
>>> autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata with hash ee3f5138593bed3feb8519cf3c26aa7b
>>> Hash for dependent task autoconf-archive/autoconf-archive_2016.09.16.bb.do_packagedata changed from e26a8076711b7e88a3ffcda74a9e5332 to ee3f5138593bed3feb8519cf3c26aa7b
>>>
>>
>> There should not be an architectural difference. There is no reason it
>> shouldn't be allarch. Part of the reason we really need to move it into oe-core
>> is that currently different BSPs may implement it differently making the
>> 'allarch' even MORE complicated.
>
> I don't understand what you mean with BSPs wrt autoconf-archive, but as
> it is now, the autoconf-archive in oe-core isn't allarch, so allarch
> gnome-common in meta-oe cannot depend on it.
>
> It could be whitelisted in layer.conf or allarch can be dropped from
> gnome-common or autoconf-archive can be updated to inherit allarch as
> well - either of these options is fine with me, but I won't merge this
> change in current state.
>
>>
>> --Mark
>>
>>>
>>> On Fri, Jul 28, 2017 at 6:45 PM, Khem Raj <raj.khem@gmail.com
>>> <mailto:raj.khem@gmail.com>> wrote:
>>>
>>> On Fri, Jul 28, 2017 at 7:01 AM, Patrick Ohly <patrick.ohly@intel.com
>>> <mailto:patrick.ohly@intel.com>> wrote:
>>> > Having common macros in OE-core that are needed by autotools based
>>> > projects makes sense. For example, tpm2.0-tools in meta-measured
>>> > depended on meta-oe only because of autoconf-archive.
>>> >
>>> > This is a verbatim copy of the autoconf-archive recipe in
>>> > meta-openembedded rev 1cbd1bc1, with just one change: the patch which
>>> > disabled the installation of ax_code_coverage.m4 and
>>> > ax_check_enable_debug.m4 was removed.
>>> >
>>> > So now autoconf-archive in OE-core provides them. gnome-common in
>>> > meta-oe will be changed to not install them and instead depend on
>>> > autoconf-archive.
>>>
>>> +1
>>> LGTM
>>>
>>> >
>>> > Signed-off-by: Patrick Ohly <patrick.ohly@intel.com
>>> <mailto:patrick.ohly@intel.com>>
>>> > ---
>>> > meta/recipes-devtools/autoconf-archive/autoconf-archive.inc |
>>> 15 +++++++++++++++
>>> > meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
>>> <http://autoconf-archive_2016.09.16.bb> | 13 +++++++++++++
>>> > 2 files changed, 28 insertions(+)
>>> > create mode 100644
>>> meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
>>> > create mode 100644
>>> meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
>>> <http://autoconf-archive_2016.09.16.bb>
>>> >
>>> > diff --git a/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
>>> b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
>>> > new file mode 100644
>>> > index 0000000..9684d1f
>>> > --- /dev/null
>>> > +++ b/meta/recipes-devtools/autoconf-archive/autoconf-archive.inc
>>> > @@ -0,0 +1,15 @@
>>> > +LICENSE = "GPLv3"
>>> > +HOMEPAGE = "http://www.gnu.org/software/autoconf-archive/
>>> <http://www.gnu.org/software/autoconf-archive/>"
>>> > +SECTION = "devel"
>>> > +
>>> > +DEPENDS += "m4-native"
>>> > +DEPENDS_class-native = "m4-native gnu-config-native"
>>> > +DEPENDS_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
>>> > +
>>> > +RDEPENDS_${PN} = "m4 gnu-config gnome-common"
>>> > +RDEPENDS_${PN}_class-native = "m4-native gnu-config-native"
>>> > +RDEPENDS_${PN}_class-nativesdk = "m4-nativesdk gnu-config-nativesdk"
>>> > +
>>> > +SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
>>> > +
>>> > +inherit autotools
>>> > diff --git
>>> a/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
>>> <http://autoconf-archive_2016.09.16.bb>
>>> b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
>>> <http://autoconf-archive_2016.09.16.bb>
>>> > new file mode 100644
>>> > index 0000000..0a1a771
>>> > --- /dev/null
>>> > +++
>>> b/meta/recipes-devtools/autoconf-archive/autoconf-archive_2016.09.16.bb
>>> <http://autoconf-archive_2016.09.16.bb>
>>> > @@ -0,0 +1,13 @@
>>> > +require autoconf-archive.inc
>>> > +
>>> > +
>>> > +PARALLEL_MAKE = ""
>>> > +
>>> > +LICENSE = "GPLv2 & GPLv3"
>>> > +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
>>> > +
>>> > +SRC_URI[md5sum] = "bf19d4cddce260b3c3e1d51d42509071"
>>> > +SRC_URI[sha256sum] =
>>> "e8f2efd235f842bad2f6938bf4a72240a5e5fcd248e8444335e63beb60fabd82"
>>> > +
>>> > +EXTRA_OECONF += "ac_cv_path_M4=m4"
>>> > +BBCLASSEXTEND = "native nativesdk"
>>> >
>>> > base-commit: d3a41fbd94462efc8c6f1b55f6fb54001b447c45
>>> > --
>>> > git-series 0.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>
>>> --
>>> _______________________________________________
>>> 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>
>>>
>>>
>>>
>>>
>>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 507 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] autoconf-archive: move from meta-oe to OE-core
2017-08-11 1:53 ` Mark Hatle
@ 2017-08-24 7:47 ` Patrick Ohly
0 siblings, 0 replies; 7+ messages in thread
From: Patrick Ohly @ 2017-08-24 7:47 UTC (permalink / raw)
To: Mark Hatle, Martin Jansa; +Cc: Patches and discussions about the oe-core layer
On Thu, 2017-08-10 at 20:53 -0500, Mark Hatle wrote:
> On 8/10/17 6:56 PM, Martin Jansa wrote:
> > On Thu, Aug 10, 2017 at 03:34:48PM -0500, Mark Hatle wrote:
> > > On 8/10/17 3:18 PM, Martin Jansa wrote:
> > > > -2
> > >
> > > I agree that autoconf-archive should be in oe-core. But...
> >
> > No argument about that, it was already merged to oe-core, I was
> > only commenting about the gnome-common change included in this
> > commit.
The meta-oe patch is here:
https://patchwork.openembedded.org/series/7995/#
> Sorry, I missed the context.. ya if the gnome change is arch or board
> specific that is wrong. There should be no reason for that.
The patch itself doesn't change anything around that, autoconf-archive
already was arch specific.
Martin is right, because of that the gnome-common->autoconf-archive
dependency can't be done as in the patch above. But what is the right
fix? Is autoconf-archive really arch specific or can "inherit allarch"
be added to it?
If not, can we add it to SIGGEN_EXCLUDERECIPES_ABISAFE to allow the
gnome-common->autoconf-archive dependency? That would also prevent
rebuilding software when updating autoconf-archive, which may or may
not be the right thing to do - I'm undecided myself.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-08-24 7:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28 14:01 [PATCH] autoconf-archive: move from meta-oe to OE-core Patrick Ohly
2017-07-28 16:45 ` Khem Raj
2017-08-10 20:18 ` Martin Jansa
2017-08-10 20:34 ` Mark Hatle
2017-08-10 23:56 ` Martin Jansa
2017-08-11 1:53 ` Mark Hatle
2017-08-24 7:47 ` Patrick Ohly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox