* [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
@ 2022-08-17 11:43 Andrei Gherzan
2022-08-17 11:43 ` [meta-java][PATCH 2/3] libmatthew: Include features check from classpath Andrei Gherzan
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Andrei Gherzan @ 2022-08-17 11:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: andrei, Andrei Gherzan
From: Andrei Gherzan <andrei.gherzan@huawei.com>
This will make it easier to maintain reflecting the same distro check on
packages depending on classpath (in the dependency chain).
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
recipes-core/classpath/classpath-features-check.inc | 6 ++++++
recipes-core/classpath/classpath_0.99.bb | 4 +---
2 files changed, 7 insertions(+), 3 deletions(-)
create mode 100644 recipes-core/classpath/classpath-features-check.inc
diff --git a/recipes-core/classpath/classpath-features-check.inc b/recipes-core/classpath/classpath-features-check.inc
new file mode 100644
index 0000000..c238fc3
--- /dev/null
+++ b/recipes-core/classpath/classpath-features-check.inc
@@ -0,0 +1,6 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+inherit features_check
+REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/recipes-core/classpath/classpath_0.99.bb b/recipes-core/classpath/classpath_0.99.bb
index 5b9d904..f18ad1d 100644
--- a/recipes-core/classpath/classpath_0.99.bb
+++ b/recipes-core/classpath/classpath_0.99.bb
@@ -1,8 +1,6 @@
require classpath.inc
-inherit features_check
-
-REQUIRED_DISTRO_FEATURES = "x11"
+include classpath-features-check.inc
LIC_FILES_CHKSUM = "file://LICENSE;md5=92acc79f1f429143f4624d07b253702a"
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* [meta-java][PATCH 2/3] libmatthew: Include features check from classpath
2022-08-17 11:43 [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check Andrei Gherzan
@ 2022-08-17 11:43 ` Andrei Gherzan
2022-08-17 11:43 ` [meta-java][PATCH 3/3] dbus-java: " Andrei Gherzan
2022-08-22 7:38 ` [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check Richard Leitner
2 siblings, 0 replies; 12+ messages in thread
From: Andrei Gherzan @ 2022-08-17 11:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: andrei, Andrei Gherzan
From: Andrei Gherzan <andrei.gherzan@huawei.com>
classpath is a dependency of this package that also has a required
distro feature on x11. Without having the same feature check here, a
world build would fail when x11 is not enabled. Reflecting the same
feature check in this recipe, makes sure that world will skip it as
well.
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
recipes-core/libmatthew/libmatthew.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-core/libmatthew/libmatthew.inc b/recipes-core/libmatthew/libmatthew.inc
index b000387..4157d51 100644
--- a/recipes-core/libmatthew/libmatthew.inc
+++ b/recipes-core/libmatthew/libmatthew.inc
@@ -5,11 +5,14 @@ SECTION = "libs"
LICENSE = "MIT"
DEPENDS = "virtual/java-native classpath-native classpath"
+
S = "${WORKDIR}/libmatthew-java-${PV}"
PACKAGE_ARCH = "${TUNE_PKGARCH}"
inherit java-library
+include recipes-core/classpath/classpath-features-check.inc
+
# Some internal version numbers which change from time to time.
# Allowing to override them makes this include file more
# versatile.
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* [meta-java][PATCH 3/3] dbus-java: Include features check from classpath
2022-08-17 11:43 [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check Andrei Gherzan
2022-08-17 11:43 ` [meta-java][PATCH 2/3] libmatthew: Include features check from classpath Andrei Gherzan
@ 2022-08-17 11:43 ` Andrei Gherzan
2022-08-22 7:38 ` [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check Richard Leitner
2 siblings, 0 replies; 12+ messages in thread
From: Andrei Gherzan @ 2022-08-17 11:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: andrei, Andrei Gherzan
From: Andrei Gherzan <andrei.gherzan@huawei.com>
classpath is an indirect dependency of this package that also has a
required distro feature on x11. Without having the same feature check
here, a world build would fail when x11 is not enabled. Reflecting the
same feature check in this recipe, makes sure that world will skip it as
well.
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
recipes-extended/dbus/dbus-java_2.7.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-extended/dbus/dbus-java_2.7.bb b/recipes-extended/dbus/dbus-java_2.7.bb
index ca7652a..0e5ae92 100644
--- a/recipes-extended/dbus/dbus-java_2.7.bb
+++ b/recipes-extended/dbus/dbus-java_2.7.bb
@@ -25,6 +25,8 @@ S = "${WORKDIR}/dbus-java-${PV}"
inherit java-library
+include recipes-core/classpath/classpath-features-check.inc
+
# jamvm-native unfortunately contains non-generificed java/lang/reflect classes
# which are accessed in this package. Work around this by setting the bootclasspath
# explicitly.
--
2.25.1
^ permalink raw reply related [flat|nested] 12+ messages in thread* Re: [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
2022-08-17 11:43 [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check Andrei Gherzan
2022-08-17 11:43 ` [meta-java][PATCH 2/3] libmatthew: Include features check from classpath Andrei Gherzan
2022-08-17 11:43 ` [meta-java][PATCH 3/3] dbus-java: " Andrei Gherzan
@ 2022-08-22 7:38 ` Richard Leitner
2022-08-22 7:46 ` Andrei Gherzan
2 siblings, 1 reply; 12+ messages in thread
From: Richard Leitner @ 2022-08-22 7:38 UTC (permalink / raw)
To: andrei; +Cc: openembedded-devel, Andrei Gherzan
On Wed, Aug 17, 2022 at 01:43:06PM +0200, Andrei Gherzan via lists.openembedded.org wrote:
> From: Andrei Gherzan <andrei.gherzan@huawei.com>
Hi Andrei,
thanks for the series. I've just applied them to master-next. As soon as
some testing happened I will merge them to master.
If you have any question please just drop me a line.
regards;rl
>
> This will make it easier to maintain reflecting the same distro check on
> packages depending on classpath (in the dependency chain).
>
> Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
> ---
> recipes-core/classpath/classpath-features-check.inc | 6 ++++++
> recipes-core/classpath/classpath_0.99.bb | 4 +---
> 2 files changed, 7 insertions(+), 3 deletions(-)
> create mode 100644 recipes-core/classpath/classpath-features-check.inc
>
> diff --git a/recipes-core/classpath/classpath-features-check.inc b/recipes-core/classpath/classpath-features-check.inc
> new file mode 100644
> index 0000000..c238fc3
> --- /dev/null
> +++ b/recipes-core/classpath/classpath-features-check.inc
> @@ -0,0 +1,6 @@
> +# SPDX-FileCopyrightText: Huawei Inc.
> +#
> +# SPDX-License-Identifier: Apache-2.0
> +
> +inherit features_check
> +REQUIRED_DISTRO_FEATURES = "x11"
> diff --git a/recipes-core/classpath/classpath_0.99.bb b/recipes-core/classpath/classpath_0.99.bb
> index 5b9d904..f18ad1d 100644
> --- a/recipes-core/classpath/classpath_0.99.bb
> +++ b/recipes-core/classpath/classpath_0.99.bb
> @@ -1,8 +1,6 @@
> require classpath.inc
>
> -inherit features_check
> -
> -REQUIRED_DISTRO_FEATURES = "x11"
> +include classpath-features-check.inc
>
> LIC_FILES_CHKSUM = "file://LICENSE;md5=92acc79f1f429143f4624d07b253702a"
>
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
2022-08-22 7:38 ` [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check Richard Leitner
@ 2022-08-22 7:46 ` Andrei Gherzan
2022-08-22 8:15 ` Richard Leitner
0 siblings, 1 reply; 12+ messages in thread
From: Andrei Gherzan @ 2022-08-22 7:46 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded, Andrei Gherzan
On Mon, 22 Aug 2022, at 08:38, Richard Leitner wrote:
> On Wed, Aug 17, 2022 at 01:43:06PM +0200, Andrei Gherzan via
> lists.openembedded.org wrote:
>> From: Andrei Gherzan <andrei.gherzan@huawei.com>
>
> Hi Andrei,
>
> thanks for the series. I've just applied them to master-next. As soon as
> some testing happened I will merge them to master.
>
> If you have any question please just drop me a line.
Thanks, Richard. I've also sent the series against kirkstone. It'd be awesome if we could do the same there. Is the testing something automated that I can check out logs on?
Andrei
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
2022-08-22 7:46 ` Andrei Gherzan
@ 2022-08-22 8:15 ` Richard Leitner
2022-08-22 9:28 ` Andrei Gherzan
0 siblings, 1 reply; 12+ messages in thread
From: Richard Leitner @ 2022-08-22 8:15 UTC (permalink / raw)
To: andrei; +Cc: openembedded, Andrei Gherzan
On Mon, Aug 22, 2022 at 08:46:45AM +0100, Andrei Gherzan via lists.openembedded.org wrote:
> On Mon, 22 Aug 2022, at 08:38, Richard Leitner wrote:
> > On Wed, Aug 17, 2022 at 01:43:06PM +0200, Andrei Gherzan via
> > lists.openembedded.org wrote:
> >> From: Andrei Gherzan <andrei.gherzan@huawei.com>
> >
> > Hi Andrei,
> >
> > thanks for the series. I've just applied them to master-next. As soon as
> > some testing happened I will merge them to master.
> >
> > If you have any question please just drop me a line.
>
> Thanks, Richard. I've also sent the series against kirkstone. It'd be awesome if we could do the same there. Is the testing something automated that I can check out logs on?
As currently master and kirkstone are the same I will simply merge
kirkstone with master as soon as the changes were merged to master if
that's OK with you?
Unfortunately the testing infrastructure is not public available :(
But ideas/offers where to host a public test runner are highly
appreciated ;-)
regards;rl
>
> Andrei
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
2022-08-22 8:15 ` Richard Leitner
@ 2022-08-22 9:28 ` Andrei Gherzan
2022-08-23 4:31 ` Richard Leitner
0 siblings, 1 reply; 12+ messages in thread
From: Andrei Gherzan @ 2022-08-22 9:28 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded
On Mon, 22 Aug 2022, at 09:15, Richard Leitner wrote:
> On Mon, Aug 22, 2022 at 08:46:45AM +0100, Andrei Gherzan via
> lists.openembedded.org wrote:
>> On Mon, 22 Aug 2022, at 08:38, Richard Leitner wrote:
>> > On Wed, Aug 17, 2022 at 01:43:06PM +0200, Andrei Gherzan via
>> > lists.openembedded.org wrote:
>> >> From: Andrei Gherzan <andrei.gherzan@huawei.com>
>> >
>> > Hi Andrei,
>> >
>> > thanks for the series. I've just applied them to master-next. As soon as
>> > some testing happened I will merge them to master.
>> >
>> > If you have any question please just drop me a line.
>>
>> Thanks, Richard. I've also sent the series against kirkstone. It'd be awesome if we could do the same there. Is the testing something automated that I can check out logs on?
>
> As currently master and kirkstone are the same I will simply merge
> kirkstone with master as soon as the changes were merged to master if
> that's OK with you?
Sounds good.
>
> Unfortunately the testing infrastructure is not public available :(
Got it. That's fine. I'll just keep an eye on the repo.
>
> But ideas/offers where to host a public test runner are highly
> appreciated ;-)
What is the current testing plan for the layer?
Andrei
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
2022-08-22 9:28 ` Andrei Gherzan
@ 2022-08-23 4:31 ` Richard Leitner
2022-08-24 16:29 ` Andrei Gherzan
0 siblings, 1 reply; 12+ messages in thread
From: Richard Leitner @ 2022-08-23 4:31 UTC (permalink / raw)
To: Andrei Gherzan; +Cc: openembedded
On Mon, Aug 22, 2022 at 10:28:34AM +0100, Andrei Gherzan wrote:
> On Mon, 22 Aug 2022, at 09:15, Richard Leitner wrote:
> >
> > Unfortunately the testing infrastructure is not public available :(
>
> Got it. That's fine. I'll just keep an eye on the repo.
>
> >
> > But ideas/offers where to host a public test runner are highly
> > appreciated ;-)
>
> What is the current testing plan for the layer?
It's basically running the image tests for arm, armv7, arm64, x86,
x86_64 and ppc with the mejate and mejate-musl distribution.
I can prepare and share a repository containing those kas and gitlab-ci
configurations if that's interesting to you?
regards;rl
> Andrei
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
2022-08-23 4:31 ` Richard Leitner
@ 2022-08-24 16:29 ` Andrei Gherzan
2022-08-30 9:31 ` Andrei Gherzan
0 siblings, 1 reply; 12+ messages in thread
From: Andrei Gherzan @ 2022-08-24 16:29 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded
On Tue, 23 Aug 2022, at 05:31, Richard Leitner wrote:
> On Mon, Aug 22, 2022 at 10:28:34AM +0100, Andrei Gherzan wrote:
>> On Mon, 22 Aug 2022, at 09:15, Richard Leitner wrote:
>> >
>> > Unfortunately the testing infrastructure is not public available :(
>>
>> Got it. That's fine. I'll just keep an eye on the repo.
>>
>> >
>> > But ideas/offers where to host a public test runner are highly
>> > appreciated ;-)
>>
>> What is the current testing plan for the layer?
>
> It's basically running the image tests for arm, armv7, arm64, x86,
> x86_64 and ppc with the mejate and mejate-musl distribution.
>
> I can prepare and share a repository containing those kas and gitlab-ci
> configurations if that's interesting to you?
Sure. Send them over when you get a chance.
BTW, did the testing finish? Are we able to push the changes?
Andrei
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
2022-08-24 16:29 ` Andrei Gherzan
@ 2022-08-30 9:31 ` Andrei Gherzan
2022-08-30 15:10 ` Richard Leitner
0 siblings, 1 reply; 12+ messages in thread
From: Andrei Gherzan @ 2022-08-30 9:31 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded
On Wed, 24 Aug 2022, at 17:29, Andrei Gherzan wrote:
> On Tue, 23 Aug 2022, at 05:31, Richard Leitner wrote:
>> On Mon, Aug 22, 2022 at 10:28:34AM +0100, Andrei Gherzan wrote:
>>> On Mon, 22 Aug 2022, at 09:15, Richard Leitner wrote:
>>> >
>>> > Unfortunately the testing infrastructure is not public available :(
>>>
>>> Got it. That's fine. I'll just keep an eye on the repo.
>>>
>>> >
>>> > But ideas/offers where to host a public test runner are highly
>>> > appreciated ;-)
>>>
>>> What is the current testing plan for the layer?
>>
>> It's basically running the image tests for arm, armv7, arm64, x86,
>> x86_64 and ppc with the mejate and mejate-musl distribution.
>>
>> I can prepare and share a repository containing those kas and gitlab-ci
>> configurations if that's interesting to you?
>
> Sure. Send them over when you get a chance.
>
> BTW, did the testing finish? Are we able to push the changes?
Hi Richard,
Do we have any updates on this patch set? It would be great if we could get it in kirkstone soon.
Thanks,
Andrei
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
2022-08-30 9:31 ` Andrei Gherzan
@ 2022-08-30 15:10 ` Richard Leitner
2022-08-30 16:04 ` Andrei Gherzan
0 siblings, 1 reply; 12+ messages in thread
From: Richard Leitner @ 2022-08-30 15:10 UTC (permalink / raw)
To: Andrei Gherzan; +Cc: openembedded
On Tue, Aug 30, 2022 at 10:31:04AM +0100, Andrei Gherzan wrote:
...
> Do we have any updates on this patch set? It would be great if we could get it in kirkstone soon.
I'm currently facing problems with some of the tests/builds for arm64. I
hope to get them sorted out today or tomorrow.
I'll give you a ping as soon as those tests are finished successfully.
regards;rl
>
> Thanks,
> Andrei
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check
2022-08-30 15:10 ` Richard Leitner
@ 2022-08-30 16:04 ` Andrei Gherzan
0 siblings, 0 replies; 12+ messages in thread
From: Andrei Gherzan @ 2022-08-30 16:04 UTC (permalink / raw)
To: Richard Leitner; +Cc: openembedded
On Tue, 30 Aug 2022, at 16:10, Richard Leitner wrote:
> On Tue, Aug 30, 2022 at 10:31:04AM +0100, Andrei Gherzan wrote:
>
> ...
>
>> Do we have any updates on this patch set? It would be great if we could get it in kirkstone soon.
>
> I'm currently facing problems with some of the tests/builds for arm64. I
> hope to get them sorted out today or tomorrow.
>
> I'll give you a ping as soon as those tests are finished successfully.
Thanks for the update. One small thing that I have realised - the patches I've pushed have the SPDX headers with an Apache license. Could you change that to MIT? I can also send a v2 series if that is easier for you.
Andrei
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2022-08-30 16:05 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-17 11:43 [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check Andrei Gherzan
2022-08-17 11:43 ` [meta-java][PATCH 2/3] libmatthew: Include features check from classpath Andrei Gherzan
2022-08-17 11:43 ` [meta-java][PATCH 3/3] dbus-java: " Andrei Gherzan
2022-08-22 7:38 ` [oe] [meta-java][PATCH 1/3] classpath: Use an include file for x11 feature check Richard Leitner
2022-08-22 7:46 ` Andrei Gherzan
2022-08-22 8:15 ` Richard Leitner
2022-08-22 9:28 ` Andrei Gherzan
2022-08-23 4:31 ` Richard Leitner
2022-08-24 16:29 ` Andrei Gherzan
2022-08-30 9:31 ` Andrei Gherzan
2022-08-30 15:10 ` Richard Leitner
2022-08-30 16:04 ` Andrei Gherzan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.