Re: [oe] [meta-oe][PATCHv2] libjxl: add recipe

2024-04-04 Thread Martin Jansa
I'm seeing build failure in 32bit arm builds (with multilib):

lib32-libjxl/0.10.2/recipe-sysroot-native/usr/lib/arm-oemllib32-linux-gnueabi/gcc/arm-oemllib32-linux-gnueabi/13.2.0/include/arm_neon.h:7526:1:
error: inlining failed in call to 'always_inline' 'float32x4_t
vcvt_f32_f16(float16x4_t)': target specific option mismatch
 7526 | vcvt_f32_f16 (float16x4_t __a)
  | ^~~~
In file included from
TOPDIR/BUILD/work/mach-oemllib32-linux-gnueabi/lib32-libjxl/0.10.2/git/third_party/skcms/skcms.cc:2315:
TOPDIR/BUILD/work/mach-oemllib32-linux-gnueabi/lib32-libjxl/0.10.2/git/third_party/skcms/src/Transform_inl.h:155:24:
note: called from here
  155 | return vcvt_f32_f16((float16x4_t)half);
  |^~~

should I try to reproduce on some publicly available arm MACHINE (like
qemuarm) or is someone else seeing this as well?

On Tue, Apr 2, 2024 at 7:50 AM Markus Volk  wrote:
>
> Import this recipe from meta-wayland, because it is a prerequisite
> for the Gnome desktop. The recently updated gnome-backgrounds package
> has converted most of the backgrounds to jxl and to keep them usable
> the gdk-pixbuf-loader for jpegxl must be provided. This is included
> in the libjxl package itself.
>
> Signed-off-by: Markus Volk 
> ---
>  .../libjxl/libjxl_2.10.0.bb   | 42 +++
>  1 file changed, 42 insertions(+)
>  create mode 100644 meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb
>
> diff --git a/meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb 
> b/meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb
> new file mode 100644
> index 0..0c4f79fdb
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/libjxl/libjxl_2.10.0.bb
> @@ -0,0 +1,42 @@
> +SUMMARY = "Reference implementation of JPEG XL (encoder and decoder)"
> +HOMEPAGE = "https://github.com/libjxl/libjxl/;
> +
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=6a905a337cc228a1f68f0b5416f52a7f"
> +
> +inherit cmake pkgconfig mime
> +
> +DEPENDS = "highway brotli"
> +
> +SRC_URI = "gitsm://github.com/libjxl/libjxl.git;protocol=https;nobranch=1"
> +
> +SRCREV = "e1489592a770b989303b0edc5cc1dc447bbe0515"
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OECMAKE = " \
> +   -DCMAKE_BUILD_TYPE=Release \
> +   -DJPEGXL_ENABLE_PLUGINS=ON \
> +   -DBUILD_TESTING=OFF \
> +   -DJPEGXL_WARNINGS_AS_ERRORS=OFF \
> +   -DJPEGXL_ENABLE_SIZELESS_VECTORS=ON \
> +   -DJPEGXL_ENABLE_SJPEG=OFF \
> +   -DJPEGXL_ENABLE_BENCHMARK=OFF \
> +   -DJPEGXL_ENABLE_EXAMPLES=OFF \
> +   -DJPEGXL_ENABLE_MANPAGES=OFF \
> +   -DJPEGXL_ENABLE_SKCMS=ON \
> +   -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
> +   -DJPEGXL_FORCE_SYSTEM_HWY=ON \
> +   -DJPEGXL_ENABLE_JNI=OFF \
> +   -DJPEGXL_ENABLE_TCMALLOC=OFF \
> +   -DJPEGXL_ENABLE_TOOLS=OFF \
> +"
> +
> +PACKAGECONFIG ?= "mime gdk-pixbuf-loader"
> +PACKAGECONFIG[gdk-pixbuf-loader] = 
> "-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=ON,-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=OFF,gdk-pixbuf"
> +PACKAGECONFIG[gimp] = 
> "-DJPEGXL_ENABLE_PLUGIN_GIMP210=ON,-DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF,gimp"
> +PACKAGECONFIG[mime] = 
> "-DJPEGXL_ENABLE_PLUGIN_MIME=ON,-DJPEGXL_ENABLE_PLUGIN_MIME=OFF"
> +
> +FILES:${PN} += "${libdir}/gdk-pixbuf-2.0 ${datadir}"
> +
> +CXXFLAGS:append:arm = " -mfp16-format=ieee"
> +
> --
> 2.44.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109812): 
https://lists.openembedded.org/g/openembedded-devel/message/109812
Mute This Topic: https://lists.openembedded.org/mt/105282918/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH] python3-pyzmq: Fix ptests

2024-04-04 Thread Khem Raj
Add missing dependency on tornado, its also flagged by some ptests

   {'python3-pyzmq': ['tests/test_ioloop.py:test_ioloop',
  'tests/test_ioloop.py:test_ioloop_install']}

Skip ptests which cause zeromq errors

Signed-off-by: Khem Raj 
---
 meta-python/recipes-devtools/python/python3-pyzmq/run-ptest | 3 ++-
 meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest 
b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
index 8d2017d39c..beefefa663 100644
--- a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
@@ -1,3 +1,4 @@
 #!/bin/sh
 
-pytest --automake
+pytest --automake \
+-k 'not test_callable_check and not test_on_recv_basic and not 
test_on_recv_wake and not test_on_recv_async and not test_on_recv_async_error 
and not test_curve'
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb 
b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb
index ca602d2507..540aa62006 100644
--- a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb
@@ -28,6 +28,7 @@ FILES:${PN}-test += "\
 RDEPENDS:${PN} += "\
 python3-json \
 python3-multiprocessing \
+python3-tornado \
 "
 
 RDEPENDS:${PN}-ptest += "\
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109811): 
https://lists.openembedded.org/g/openembedded-devel/message/109811
Mute This Topic: https://lists.openembedded.org/mt/105342897/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH] python3-whoosh: Fix an intermittent ptest

2024-04-04 Thread Khem Raj
It fails sometimes when system is under stress

Signed-off-by: Khem Raj 
---
 ...nstic-test_minimize_dfa-test-as-XFAI.patch | 29 +++
 .../python/python3-whoosh_2.7.4.bb|  2 ++
 2 files changed, 31 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch

diff --git 
a/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch
 
b/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch
new file mode 100644
index 00..91fea24524
--- /dev/null
+++ 
b/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch
@@ -0,0 +1,29 @@
+From ede95a4f4487b4fc3cad8452ae388376966fca0e Mon Sep 17 00:00:00 2001
+From: Chris Lamb 
+Date: Fri, 5 Apr 2019 15:48:23 +0200
+Subject: [PATCH] Mark non-determinstic test_minimize_dfa test as XFAIL
+
+Sourced from Debian [1]
+[1] 
https://sources.debian.org/src/python-whoosh/2.7.4%2Bgit6-g9134ad92-8/debian/patches/0003-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch/
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj 
+---
+ tests/test_automata.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tests/test_automata.py b/tests/test_automata.py
+index daab96c..7031dc3 100644
+--- a/tests/test_automata.py
 b/tests/test_automata.py
+@@ -327,6 +327,7 @@ def test_regular():
+ assert not ex.accept("bc")
+ 
+ 
++@pytest.mark.xfail(strict=False)
+ def test_minimize_dfa():
+ # Example from 
www.cs.odu.edu/~toida/nerzic/390teched/regular/fa/min-fa.html
+ 
+-- 
+2.44.0
+
diff --git a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb 
b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
index 38d3e1cecd..406de2e525 100644
--- a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
+++ b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
@@ -7,6 +7,8 @@ Whoosh works can be extended or replaced to meet your needs 
exactly."
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05303186defc6141143629961c7c8a60"
 
+SRC_URI += 
"file://0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch"
+
 SRC_URI[md5sum] = "893433e9c0525ac043df33e6e04caab2"
 SRC_URI[sha256sum] = 
"e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69"
 
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109810): 
https://lists.openembedded.org/g/openembedded-devel/message/109810
Mute This Topic: https://lists.openembedded.org/mt/105341881/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][kirkstone][PATCH 2/2] python3-twisted: Add python3-asyncio to RDEPENDS

2024-04-04 Thread Guðni Már Gilbert
From: Hains van den Bosch 

To fix crash due to missing module:

from twisted.internet import defer
File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 14, in 

from asyncio import AbstractEventLoop, Future, iscoroutine
ModuleNotFoundError: No module named 'asyncio'

Signed-off-by: Hains van den Bosch 
Signed-off-by: Khem Raj 
Signed-off-by: Guðni Már Gilbert 
---
 meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb 
b/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb
index 3225b6c98..c55c86ea5 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb
@@ -57,6 +57,7 @@ RDEPENDS:${PN} = "\
 "
 
 RDEPENDS:${PN}-core = "${PYTHON_PN}-appdirs \
+   ${PYTHON_PN}-asyncio \
${PYTHON_PN}-automat \
${PYTHON_PN}-constantly \
${PYTHON_PN}-core \
-- 
2.34.1

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been 
automatically archived by Mimecast, a leader in email security and cyber 
resilience. Mimecast integrates email defenses with brand protection, security 
awareness training, web security, compliance and other essential capabilities. 
Mimecast helps protect large and small organizations from malicious activity, 
human error and technology failure; and to lead the movement toward building a 
more resilient world. To find out more, visit our website.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109809): 
https://lists.openembedded.org/g/openembedded-devel/message/109809
Mute This Topic: https://lists.openembedded.org/mt/105339166/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][kirkstone][PATCH 1/2] python3-twisted: Add python3-typing-extensions to RDEPENDS

2024-04-04 Thread Guðni Már Gilbert
From: Hains van den Bosch 

To fix crash due to missing module:

File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 42, in 

from typing_extensions import Literal, ParamSpec, Protocol
ModuleNotFoundError: No module named 'typing_extensions'

Signed-off-by: Hains van den Bosch 
Signed-off-by: Khem Raj 
Signed-off-by: Guðni Már Gilbert 
---
 meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb 
b/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb
index f4575c9c2..3225b6c98 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb
@@ -65,6 +65,7 @@ RDEPENDS:${PN}-core = "${PYTHON_PN}-appdirs \
${PYTHON_PN}-incremental \
${PYTHON_PN}-pyhamcrest \
${PYTHON_PN}-pyserial \
+   ${PYTHON_PN}-typing-extensions \
${PYTHON_PN}-unixadmin \
${PYTHON_PN}-zopeinterface \
 "
-- 
2.34.1

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been 
automatically archived by Mimecast, a leader in email security and cyber 
resilience. Mimecast integrates email defenses with brand protection, security 
awareness training, web security, compliance and other essential capabilities. 
Mimecast helps protect large and small organizations from malicious activity, 
human error and technology failure; and to lead the movement toward building a 
more resilient world. To find out more, visit our website.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109808): 
https://lists.openembedded.org/g/openembedded-devel/message/109808
Mute This Topic: https://lists.openembedded.org/mt/105339162/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] syslog-ng: fix build without ipv6 in distro features

2024-04-04 Thread Peter Marko via lists.openembedded.org
From: Peter Marko 

Sumbitted to https://github.com/syslog-ng/syslog-ng/pull/4880

Signed-off-by: Peter Marko 
---
 ...ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch | 40 +++
 .../syslog-ng/syslog-ng_4.6.0.bb  |  1 +
 2 files changed, 41 insertions(+)
 create mode 100644 
meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch

diff --git 
a/meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch
 
b/meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch
new file mode 100644
index 0..f21ad5d70
--- /dev/null
+++ 
b/meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch
@@ -0,0 +1,40 @@
+From 896d77dd949b52d6ea5798e5a038ba97d6b802be Mon Sep 17 00:00:00 2001
+From: Peter Marko 
+Date: Thu, 4 Apr 2024 15:44:18 +0200
+Subject: [PATCH] macros: guard ipv6 code with SYSLOG_NG_ENABLE_IPV6
+
+With ipv6 disabled, there are linking errors currently.
+This fixes it by not using the symbols when IPv6 is disabled.
+
+Solves #4810 with my config options
+https://github.com/openembedded/meta-openembedded/blob/2487e65ee3842b6ae0c7a2628985be6189ed9ebf/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb
+
+Upstream-Status: Submitted [https://github.com/syslog-ng/syslog-ng/pull/4880]
+
+Signed-off-by: Peter Marko 
+---
+ lib/template/macros.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/lib/template/macros.c b/lib/template/macros.c
+index 54142706c..fcb83637f 100644
+--- a/lib/template/macros.c
 b/lib/template/macros.c
+@@ -277,12 +277,14 @@ _get_originating_ip_protocol(const LogMessage *msg)
+ return 0;
+   if (g_sockaddr_inet_check(msg->saddr))
+ return 4;
++#if SYSLOG_NG_ENABLE_IPV6
+   if (g_sockaddr_inet6_check(msg->saddr))
+ {
+   if (g_sockaddr_inet6_is_v4_mapped(msg->saddr))
+ return 4;
+   return 6;
+ }
++#endif
+   return 0;
+ }
+ 
+-- 
+2.30.2
+
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb 
b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb
index 4cc5d8451..458494415 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb
@@ -23,6 +23,7 @@ SRC_URI = 
"https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.ta
file://syslog-ng-tmp.conf \
file://syslog-ng.service-the-syslog-ng-service.patch \
file://0001-Fix-buildpaths-warning.patch \
+   file://0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch 
\
 "
 SRC_URI:append:powerpc64le = " 
file://0001-plugin.c-workaround-powerpc64le-segfaults-error.patch"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109807): 
https://lists.openembedded.org/g/openembedded-devel/message/109807
Mute This Topic: https://lists.openembedded.org/mt/105337787/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 4/5] python3-pydantic: Ignore failing testcases

2024-04-04 Thread Khem Raj
Lot of them are due to pytestv8

Signed-off-by: Khem Raj 
---
 meta-python/recipes-devtools/python/python3-pydantic_2.6.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.6.4.bb 
b/meta-python/recipes-devtools/python/python3-pydantic_2.6.4.bb
index ddc24d08c6..9c52564121 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic_2.6.4.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic_2.6.4.bb
@@ -49,5 +49,5 @@ do_install_ptest() {
 rm -f ${D}${PTEST_PATH}/tests/test_mypy.py
 # We are not trying to run benchmarks
 rm -rf ${D}${PTEST_PATH}/tests/benchmarks
+sed -i -e "/--automake/ s/$/ -k 'not test_config_validation_error_cause 
and not test_dataclass_config_validate_default and not 
test_annotated_validator_nested and not test_use_bare and not 
test_use_no_fields and not test_validator_bad_fields_throws_configerror and not 
test_assert_raises_validation_error and not 
test_model_config_validate_default'/" ${D}${PTEST_PATH}/run-ptest
 }
-
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109805): 
https://lists.openembedded.org/g/openembedded-devel/message/109805
Mute This Topic: https://lists.openembedded.org/mt/105337018/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 5/5] python3-pydantic-core: Skip failing ptests

2024-04-04 Thread Khem Raj
possibly due to oe using newer version of pytest

Signed-off-by: Khem Raj 
---
 .../recipes-devtools/python/python3-pydantic-core_2.16.3.bb  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb 
b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
index 40478cdbb6..934e3e2bb2 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
@@ -48,4 +48,5 @@ do_install:append() {
 
 do_install_ptest() {
 cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
+sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap 
and not test_model_class_root_validator_before and not 
test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest
 }
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109806): 
https://lists.openembedded.org/g/openembedded-devel/message/109806
Mute This Topic: https://lists.openembedded.org/mt/105337019/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 3/5] python3-netaddr: Ignore failing tests on musl

2024-04-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-python/recipes-devtools/python/python3-netaddr_1.2.1.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-netaddr_1.2.1.bb 
b/meta-python/recipes-devtools/python/python3-netaddr_1.2.1.bb
index 082e7c5025..bedf0dab01 100644
--- a/meta-python/recipes-devtools/python/python3-netaddr_1.2.1.bb
+++ b/meta-python/recipes-devtools/python/python3-netaddr_1.2.1.bb
@@ -20,3 +20,6 @@ do_install_ptest() {
 cp -rf ${S}/netaddr/tests/* ${D}${PTEST_PATH}/tests/
 }
 
+do_install_ptest:append:libc-musl () {
+sed -i -e "/--automake/ s/$/ -k 'not test_strategy_ipv6'/" 
${D}${PTEST_PATH}/run-ptest
+}
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109804): 
https://lists.openembedded.org/g/openembedded-devel/message/109804
Mute This Topic: https://lists.openembedded.org/mt/105337017/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 1/5] python3-pydantic-core: Enable benchmark tests

2024-04-04 Thread Khem Raj
Add missing dependencies for additional ptests

Signed-off-by: Khem Raj 
---
 .../recipes-devtools/python/python3-pydantic-core_2.16.3.bb| 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb 
b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
index 2086091d63..40478cdbb6 100644
--- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb
@@ -30,6 +30,8 @@ RDEPENDS:${PN}-ptest += "\
 python3-hypothesis \
 python3-pytest \
 python3-pytest-mock \
+python3-pytest-timeout \
+python3-pytest-benchmark \
 python3-unittest-automake-output \
 "
 
@@ -46,5 +48,4 @@ do_install:append() {
 
 do_install_ptest() {
 cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
-rm -rf ${D}${PTEST_PATH}/tests/benchmarks
 }
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109802): 
https://lists.openembedded.org/g/openembedded-devel/message/109802
Mute This Topic: https://lists.openembedded.org/mt/105337015/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 2/5] python3-pydbus: Fix typo in ptest package name

2024-04-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb 
b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
index 7399ae1a01..5754fd2adf 100644
--- a/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pydbus_0.6.0.bb
@@ -20,7 +20,7 @@ RDEPENDS:${PN} = "python3-pygobject \
   python3-io \
   python3-logging"
 
-RDEPENDS:${PN}-ptests = "bash"
+RDEPENDS:${PN}-ptest += "bash"
 
 do_install_ptest() {
 install -d ${D}${PTEST_PATH}/tests
-- 
2.44.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109803): 
https://lists.openembedded.org/g/openembedded-devel/message/109803
Mute This Topic: https://lists.openembedded.org/mt/105337016/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-python][PATCH] python3-twisted: Add python3-asyncio to RDEPENDS

2024-04-04 Thread Guðni Már Gilbert
Hi please ignore this patch/email from me, there is 1 more patch which is 
supposed to follow this one and I see it's not properly signed by me. I'll try 
sending this to myself first to check the email is sent correctly next time (I 
haven't done backporting before like this)

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109801): 
https://lists.openembedded.org/g/openembedded-devel/message/109801
Mute This Topic: https://lists.openembedded.org/mt/105335402/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH] python3-twisted: Add python3-asyncio to RDEPENDS

2024-04-04 Thread Guðni Már Gilbert
From: Hains van den Bosch 

To fix crash due to missing module:

from twisted.internet import defer
File "/usr/lib/python3.11/site-packages/twisted/internet/defer.py", line 14, in 

from asyncio import AbstractEventLoop, Future, iscoroutine
ModuleNotFoundError: No module named 'asyncio'

Signed-off-by: Hains van den Bosch 
Signed-off-by: Khem Raj 
---
 meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb 
b/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb
index 3225b6c98..c55c86ea5 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_22.2.0.bb
@@ -57,6 +57,7 @@ RDEPENDS:${PN} = "\
 "
 
 RDEPENDS:${PN}-core = "${PYTHON_PN}-appdirs \
+   ${PYTHON_PN}-asyncio \
${PYTHON_PN}-automat \
${PYTHON_PN}-constantly \
${PYTHON_PN}-core \
-- 
2.34.1

Disclaimer

The information contained in this communication from the sender is 
confidential. It is intended solely for use by the recipient and others 
authorized to receive it. If you are not the recipient, you are hereby notified 
that any disclosure, copying, distribution or taking action in relation of the 
contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been 
automatically archived by Mimecast, a leader in email security and cyber 
resilience. Mimecast integrates email defenses with brand protection, security 
awareness training, web security, compliance and other essential capabilities. 
Mimecast helps protect large and small organizations from malicious activity, 
human error and technology failure; and to lead the movement toward building a 
more resilient world. To find out more, visit our website.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109800): 
https://lists.openembedded.org/g/openembedded-devel/message/109800
Mute This Topic: https://lists.openembedded.org/mt/105335402/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] mariadb: Use inherit_defer for native class

2024-04-04 Thread Chaitanya Vadrevu
My apologies, you’re right the issue is fixed. I was using a slightly older 
master that didn’t have the fix.

Please discard my patch.

Chaitanya


INTERNAL - NI CONFIDENTIAL

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109799): 
https://lists.openembedded.org/g/openembedded-devel/message/109799
Mute This Topic: https://lists.openembedded.org/mt/105327970/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] mariadb: Use inherit_defer for native class

2024-04-04 Thread Yoann Congal
Le jeu. 4 avr. 2024 à 14:52, Chaitanya Vadrevu  a
écrit :

> Since useradd.bbclass is using inherit_defer in oe-core, some classes are
> now
> appearing after native resulting in QA errors
>
> QA Issue: mariadb-native: native/nativesdk class is not inherited last,
> this can result in unexpected behaviour. Classes inherited after
> native/nativesdk: useradd-staticids.bbclass [native-last]
>
> Signed-off-by: Chaitanya Vadrevu 
>

Hi!

I believed I fixed this on master since
https://git.openembedded.org/meta-openembedded/commit/?id=065d6496e4af178e5b1f8e4e3c5f17ac587717a6

I just tested this again : no QA issue on master on my local build.
Are you targeting a non-master branch?


> ---
>  meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
> b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
> index 578357b48..04380eb43 100644
> --- a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
> +++ b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
> @@ -1,5 +1,5 @@
>  require mariadb.inc
> -inherit native
> +inherit_defer native
>
>  PROVIDES += "mysql5-native"
>  DEPENDS = "ncurses-native zlib-native bison-native libpcre2-native \
> --
> 2.34.1
>
>
> 
>
>

-- 
Yoann Congal
Smile ECS - Tech expert

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109798): 
https://lists.openembedded.org/g/openembedded-devel/message/109798
Mute This Topic: https://lists.openembedded.org/mt/105327970/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] mariadb: Use inherit_defer for native class

2024-04-04 Thread Chaitanya Vadrevu
Since useradd.bbclass is using inherit_defer in oe-core, some classes are now
appearing after native resulting in QA errors

QA Issue: mariadb-native: native/nativesdk class is not inherited last, this 
can result in unexpected behaviour. Classes inherited after native/nativesdk: 
useradd-staticids.bbclass [native-last]

Signed-off-by: Chaitanya Vadrevu 
---
 meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb 
b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
index 578357b48..04380eb43 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
+++ b/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
@@ -1,5 +1,5 @@
 require mariadb.inc
-inherit native
+inherit_defer native
 
 PROVIDES += "mysql5-native"
 DEPENDS = "ncurses-native zlib-native bison-native libpcre2-native \
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109797): 
https://lists.openembedded.org/g/openembedded-devel/message/109797
Mute This Topic: https://lists.openembedded.org/mt/105327970/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH] rocksdb: fix build error for DEBUG_BUILD

2024-04-04 Thread Yi Zhao
It fails to build rocksdb when '-Og' is set in CXXFLAGS (e.g.
DEBUG_BUILD = '1' in local.conf):

rocksdb/9.0.0/git/util/xxhash.h:4491:1: error: inlining failed in call
to 'always_inline' 'void XXH3_scrambleAcc_sse2(void*, const void*)':
function not considered for inlining
 4491 | XXH3_scrambleAcc_sse2(void* XXH_RESTRICT acc, const void* XXH_RESTRICT 
secret)
  | ^
rocksdb/9.0.0/git/util/xxhash.h:5139:19: note: called from here
 5139 | f_scramble(acc, secret + secretSize - XXH_STRIPE_LEN);
  | ~~^~~
rocksdb/9.0.0/git/util/xxhash.h:4177:1: error: inlining failed in call
to 'always_inline' 'void XXH3_accumulate_sse2(xxh_u64*, const xxh_u8*, const 
xxh_u8*, size_t)':
function not considered for inlining
 4177 | XXH3_accumulate_##name(xxh_u64* XXH_RESTRICT acc,   \
  | ^~~~

Check and disable inlining when "-Og" is present.

Signed-off-by: Yi Zhao 
---
 meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb 
b/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb
index 76d75f2b5..ee007acfa 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb
@@ -44,6 +44,8 @@ EXTRA_OECMAKE = "\
 -DFAIL_ON_WARNINGS=OFF \
 "
 
+CXXFLAGS += "${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Og', 
'-DXXH_NO_INLINE_HINTS', '', d)}"
+
 do_install:append() {
 # Fix for qa check buildpaths
 sed -i "s#${RECIPE_SYSROOT}##g" 
${D}${libdir}/cmake/rocksdb/RocksDBTargets.cmake
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109796): 
https://lists.openembedded.org/g/openembedded-devel/message/109796
Mute This Topic: https://lists.openembedded.org/mt/105327959/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-