Re: [OE-core] [RFC PATCH 0/1] package.bbclass: Expose list of split out debug files

2024-02-27 Thread Alexander Kanavin
On Wed, 28 Feb 2024 at 07:22, Philip Lorenz  wrote:
> However, this relies on debuginfod scraping the debug packages for their
> build IDs. This is not only inefficient (as all packages need to be
> extracted again), but it also does not scale well when covering a large
> number of builds.

Is it possible to see numbers behind this claim? When there is a
proposal to increase code complexity, that needs to be justified in a
way that can be locally observed.

> Is this extension something that is viable to be merged? We are
> considering open-sourcing the other parts needed to implement the setup
> described above, but as those parts are still in the prototyping phase,
> it will require some more time.

The patch looks okay, but it's not useful without those other parts,
so you need to get them ready and submit the whole set.

Alex

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



[OE-core] [PATCH] rpm: Fix the following error when run nativesdk-rpm in nativesdk environment.

2024-02-27 Thread leimaohui via lists.openembedded.org
From: Lei Maohui 

  package busybox-inittab-1.36.1-r0.ubinux_x86_64 is intended for a different 
architecture
  package busybox-udhcpc-1.36.1-r0.core2_64 is intended for a different 
architecture
  package ldconfig-2.39+git0+312e159626-r0.core2_64 is intended for a different 
architecture
  ..

CMAKE_INSTALL_SYSCONFDIR is necessary. If not set
CMAKE_INSTALL_SYSCONFDIR, nativesdk-rpm will use the default setting:
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-ubinuxsdk-linux/etc to 
find rpmrc file.

Signed-off-by: Lei Maohui 
---
 meta/recipes-devtools/rpm/rpm_4.19.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/rpm/rpm_4.19.1.bb 
b/meta/recipes-devtools/rpm/rpm_4.19.1.bb
index 1f8611a29c..a495f7ced2 100644
--- a/meta/recipes-devtools/rpm/rpm_4.19.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.19.1.bb
@@ -57,7 +57,7 @@ EXTRA_OECMAKE:append:libc-musl = " -DENABLE_NLS=OFF 
-DENABLE_OPENMP=OFF"
 # --sysconfdir prevents rpm from attempting to access machine-specific 
configuration in sysroot/etc; we need to have it in rootfs
 # --localstatedir prevents rpm from writing its database to native sysroot 
when building images
 EXTRA_OECMAKE:append:class-native = " -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc 
-DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var"
-EXTRA_OECMAKE:append:class-nativesdk = " -DCMAKE_INSTALL_FULL_SYSCONFDIR=/etc"
+EXTRA_OECMAKE:append:class-nativesdk = " -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc 
-DCMAKE_INSTALL_FULL_SYSCONFDIR=/etc"
 
 inherit cmake gettext pkgconfig python3targetconfig
 OECMAKE_GENERATOR = "Unix Makefiles"
-- 
2.34.1


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



[OE-core][PATCH 1/1] python3-cryptography{-vectors}: 42.0.2 -> 42.0.4

2024-02-27 Thread Soumya via lists.openembedded.org
From: Soumya Sambu 

Changelog:
==
42.0.4 - 2024-02-20
* Fixed a null-pointer-dereference and segfault that could occur
when creating a PKCS#12 bundle. Credit to Alexander-Programming for
reporting the issue. CVE-2024-26130
* Fixed ASN.1 encoding for PKCS7/SMIME signed messages. The fields
SMIMECapabilities and SignatureAlgorithmIdentifier should now be
correctly encoded according to the definitions in RFC 2633 RFC 3370.

42.0.3 - 2024-02-15
* Fixed an initialization issue that caused key loading failures for
some users.

https://cryptography.io/en/latest/changelog/#v42-0-4

Signed-off-by: Soumya Sambu 
---
 ...vectors_42.0.2.bb => python3-cryptography-vectors_42.0.4.bb} | 2 +-
 ...n3-cryptography_42.0.2.bb => python3-cryptography_42.0.4.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-cryptography-vectors_42.0.2.bb => 
python3-cryptography-vectors_42.0.4.bb} (91%)
 rename meta/recipes-devtools/python/{python3-cryptography_42.0.2.bb => 
python3-cryptography_42.0.4.bb} (95%)

diff --git 
a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.2.bb 
b/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.4.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-cryptography-vectors_42.0.2.bb
rename to meta/recipes-devtools/python/python3-cryptography-vectors_42.0.4.bb
index 94fbc94c55..9500e890f3 100644
--- a/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.2.bb
+++ b/meta/recipes-devtools/python/python3-cryptography-vectors_42.0.4.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
 # NOTE: Make sure to keep this recipe at the same version as 
python3-cryptography
 #   Upgrade both recipes at the same time
 
-SRC_URI[sha256sum] = 
"adcdccf5d9ee661a9602ad21d2525f678ba07a6e768ce79835994e208bab0e16"
+SRC_URI[sha256sum] = 
"d6b707d238a5e2390c3dae7761b997b68c2b8c0723ed24fc13f832bcc8739945"
 
 PYPI_PACKAGE = "cryptography_vectors"
 
diff --git a/meta/recipes-devtools/python/python3-cryptography_42.0.2.bb 
b/meta/recipes-devtools/python/python3-cryptography_42.0.4.bb
similarity index 95%
rename from meta/recipes-devtools/python/python3-cryptography_42.0.2.bb
rename to meta/recipes-devtools/python/python3-cryptography_42.0.4.bb
index c21c4d1a03..e864d6ce4f 100644
--- a/meta/recipes-devtools/python/python3-cryptography_42.0.2.bb
+++ b/meta/recipes-devtools/python/python3-cryptography_42.0.4.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4 \
"
 LDSHARED += "-pthread"
 
-SRC_URI[sha256sum] = 
"e0ec52ba3c7f1b7d813cd52649a5b3ef1fc0d433219dc8c93827c57eab6cf888"
+SRC_URI[sha256sum] = 
"831a4b37accef30cccd34fcb916a5d7b5be3cbbe27268a02832c3e450aea39cb"
 
 SRC_URI += "file://0001-pyproject.toml-remove-benchmark-disable-option.patch \
 file://check-memfree.py \
-- 
2.40.0


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



[OE-core] [PATCH 48/48] xprop: upgrade 1.2.6 -> 1.2.7

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
 Fix C23 build by renaming variable 'true'

Signed-off-by: Wang Mingyu 
---
 .../xorg-app/{xprop_1.2.6.bb => xprop_1.2.7.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-app/{xprop_1.2.6.bb => xprop_1.2.7.bb} (86%)

diff --git a/meta/recipes-graphics/xorg-app/xprop_1.2.6.bb 
b/meta/recipes-graphics/xorg-app/xprop_1.2.7.bb
similarity index 86%
rename from meta/recipes-graphics/xorg-app/xprop_1.2.6.bb
rename to meta/recipes-graphics/xorg-app/xprop_1.2.7.bb
index 438a897f1e..96e364b2b3 100644
--- a/meta/recipes-graphics/xorg-app/xprop_1.2.6.bb
+++ b/meta/recipes-graphics/xorg-app/xprop_1.2.7.bb
@@ -15,4 +15,4 @@ DEPENDS += "libxmu"
 PE = "1"
 
 SRC_URI_EXT = "xz"
-SRC_URI[sha256sum] = 
"580b8525b12ecc0144aa16c88b0aafa76d2e799b44c8c6c50f9ce92788b5586e"
+SRC_URI[sha256sum] = 
"4436e3148bb91a162406230d9f736a49ca8b50b74790015dc15d78d6ce8e825f"
-- 
2.34.1


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



[OE-core] [PATCH 40/48] python3-trove-classifiers: upgrade 2024.1.8 -> 2024.2.23

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
*Add classifier: 'License :: OSI Approved :: Educational Community License'
*PR for Issue #170
*fix spurious line
*Update src/trove_classifiers/__init__.py

Signed-off-by: Wang Mingyu 
---
 ...fiers_2024.1.8.bb => python3-trove-classifiers_2024.2.23.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-trove-classifiers_2024.1.8.bb => 
python3-trove-classifiers_2024.2.23.bb} (87%)

diff --git a/meta/recipes-devtools/python/python3-trove-classifiers_2024.1.8.bb 
b/meta/recipes-devtools/python/python3-trove-classifiers_2024.2.23.bb
similarity index 87%
rename from meta/recipes-devtools/python/python3-trove-classifiers_2024.1.8.bb
rename to meta/recipes-devtools/python/python3-trove-classifiers_2024.2.23.bb
index 6b923bb43f..8514a52616 100644
--- a/meta/recipes-devtools/python/python3-trove-classifiers_2024.1.8.bb
+++ b/meta/recipes-devtools/python/python3-trove-classifiers_2024.2.23.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pypa/trove-classifiers;
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 
-SRC_URI[sha256sum] = 
"6e36caf430ff6485c4b57a4c6b364a13f6a898d16b9417c6c37467e59c14b05a"
+SRC_URI[sha256sum] = 
"8385160a12aac69c93fff058fb613472ed773a24a27eb3cd4b144cfbdd79f38c"
 
 inherit pypi python_setuptools_build_meta ptest
 
-- 
2.34.1


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



[OE-core] [PATCH 46/48] xkbcomp: upgrade 1.4.6 -> 1.4.7

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 .../xorg-app/{xkbcomp_1.4.6.bb => xkbcomp_1.4.7.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-app/{xkbcomp_1.4.6.bb => xkbcomp_1.4.7.bb} 
(86%)

diff --git a/meta/recipes-graphics/xorg-app/xkbcomp_1.4.6.bb 
b/meta/recipes-graphics/xorg-app/xkbcomp_1.4.7.bb
similarity index 86%
rename from meta/recipes-graphics/xorg-app/xkbcomp_1.4.6.bb
rename to meta/recipes-graphics/xorg-app/xkbcomp_1.4.7.bb
index 44f462f523..f259f33dd8 100644
--- a/meta/recipes-graphics/xorg-app/xkbcomp_1.4.6.bb
+++ b/meta/recipes-graphics/xorg-app/xkbcomp_1.4.7.bb
@@ -16,4 +16,4 @@ BBCLASSEXTEND = "native"
 EXTRA_OECONF += "--disable-selective-werror"
 
 SRC_URI_EXT = "xz"
-SRC_URI[sha256sum] = 
"fa50d611ef41e034487af7bd8d8c718df53dd18002f591cca16b0384afc58e98"
+SRC_URI[sha256sum] = 
"0a288114e5f44e31987042c79aecff1ffad53a8154b8ec971c24a69a80f81f77"
-- 
2.34.1


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



[OE-core] [PATCH 42/48] python3: upgrade 3.12.1 -> 3.12.2

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

0001-Avoid-shebang-overflow-on-python-config.py.patch
0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
0001-gh-114492-Initialize-struct-termios-before-calling-t.patch
0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
0001-skip-no_stdout_fileno-test-due-to-load-variability.patch
0001-test_xml_etree.py-Fix-for-Expat-2.6.0-with-reparse-d.patch
0020-configure.ac-setup.py-do-not-add-a-c
refreshed for 3.12.2

Changelog:
 https://docs.python.org/3.12/whatsnew/3.12.html

Signed-off-by: Wang Mingyu 
---
 ...shebang-overflow-on-python-config.py.patch |  7 +++---
 ...-qemu-wrapper-when-gathering-profile.patch |  7 +++---
 ...sts-due-to-load-variability-on-YP-AB.patch |  7 +++---
 ...lize-struct-termios-before-calling-t.patch | 24 ---
 ...asename-to-replace-CC-for-checking-c.patch |  7 +++---
 ..._fileno-test-due-to-load-variability.patch |  7 +++---
 ...y-Fix-for-Expat-2.6.0-with-reparse-d.patch | 14 +--
 ...up.py-do-not-add-a-curses-include-pa.patch |  7 +++---
 .../python/python3/makerace.patch |  7 +++---
 .../{python3_3.12.1.bb => python3_3.12.2.bb}  |  2 +-
 10 files changed, 32 insertions(+), 57 deletions(-)
 rename meta/recipes-devtools/python/{python3_3.12.1.bb => python3_3.12.2.bb} 
(99%)

diff --git 
a/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
 
b/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
index 03ecda98c2..0d807db39f 100644
--- 
a/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
+++ 
b/meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch
@@ -1,4 +1,4 @@
-From 33bf96f31c4873032ace2cc9afacc3785997527a Mon Sep 17 00:00:00 2001
+From 365399f17d35719d828ddd49182dcb401fb7791c Mon Sep 17 00:00:00 2001
 From: Paulo Neves 
 Date: Tue, 7 Jun 2022 16:16:41 +0200
 Subject: [PATCH] Avoid shebang overflow on python-config.py
@@ -11,16 +11,15 @@ Denial reason: [1]
 Upstream-Status: Denied [distribution]
 
 [1] https://github.com/python/cpython/pull/93760#pullrequestreview-1005365737
-
 ---
  Makefile.pre.in | 2 ++
  1 file changed, 2 insertions(+)
 
 diff --git a/Makefile.pre.in b/Makefile.pre.in
-index fb0b525..75d2e73 100644
+index 77bf09a..6353c57 100644
 --- a/Makefile.pre.in
 +++ b/Makefile.pre.in
-@@ -2335,6 +2335,8 @@ python-config: $(srcdir)/Misc/python-config.in 
Misc/python-config.sh
+@@ -2339,6 +2339,8 @@ python-config: $(srcdir)/Misc/python-config.in 
Misc/python-config.sh
@ # Substitution happens here, as the completely-expanded BINDIR
@ # is not available in configure
sed -e "s,@EXENAME@,$(EXENAME)," < $(srcdir)/Misc/python-config.in 
>python-config.py
diff --git 
a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
 
b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
index 158cbf8ee0..ee33128fa1 100644
--- 
a/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
+++ 
b/meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
@@ -1,20 +1,19 @@
-From ea8e486a416b90c562f3b33faa91d9d1d030be0e Mon Sep 17 00:00:00 2001
+From 38278339832a57dbf5fa3ef21accaa03e2c814d7 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Wed, 30 Jan 2019 12:41:04 +0100
 Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data
 
 Upstream-Status: Inappropriate [oe-core specific]
 Signed-off-by: Alexander Kanavin 
-
 ---
  Makefile.pre.in | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
 
 diff --git a/Makefile.pre.in b/Makefile.pre.in
-index 7af1845..fc7ab79 100644
+index dd5e69f..381feb0 100644
 --- a/Makefile.pre.in
 +++ b/Makefile.pre.in
-@@ -656,8 +656,7 @@ profile-run-stamp:
+@@ -658,8 +658,7 @@ profile-run-stamp:
# enabled.
$(MAKE) profile-gen-stamp
# Next, run the profile task to generate the profile information.
diff --git 
a/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
 
b/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
index edb85395ff..197daa71a5 100644
--- 
a/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
+++ 
b/meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
@@ -1,4 +1,4 @@
-From bafdd769330c9d49a066fb1427f451b8d253262d Mon Sep 17 00:00:00 2001
+From 3471e3478e0760c42e04f8046cee2367ab5706d2 Mon Sep 17 00:00:00 2001
 From: Yi Fan Yu 
 Date: Thu, 1 Apr 2021 13:08:37 -0700
 Subject: [PATCH] Skip failing tests due to load variability on YP AB
@@ -17,14 +17,13 @@ Skip two additional tests due to suspected load variability 

[OE-core] [PATCH 47/48] xkeyboard-config: upgrade 2.40 -> 2.41

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
===
Translations updated

Signed-off-by: Wang Mingyu 
---
 .../{xkeyboard-config_2.40.bb => xkeyboard-config_2.41.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-lib/{xkeyboard-config_2.40.bb => 
xkeyboard-config_2.41.bb} (92%)

diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.40.bb 
b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.41.bb
similarity index 92%
rename from meta/recipes-graphics/xorg-lib/xkeyboard-config_2.40.bb
rename to meta/recipes-graphics/xorg-lib/xkeyboard-config_2.41.bb
index 5c1f475739..79ce7dea35 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.40.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.41.bb
@@ -13,7 +13,7 @@ LICENSE = "MIT & MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8fc8ae699974c360e2e2e883a63ce264"
 
 SRC_URI = "${XORG_MIRROR}/individual/data/xkeyboard-config/${BPN}-${PV}.tar.xz"
-SRC_URI[sha256sum] = 
"7a3dba1bec7dc7191432da021242d17c9cf6c89690e6c57b0de048ff8c9d2ae3"
+SRC_URI[sha256sum] = 
"f02cd6b957295e0d50236a3db15825256c92f67ef1f73bf1c77a4b179edf728f"
 
 SECTION = "x11/libs"
 DEPENDS = "util-macros libxslt-native"
-- 
2.34.1


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



[OE-core] [PATCH 45/48] swig: upgrade 4.2.0 -> 4.2.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
determinism.patch
refreshed for 4.2.1

Changelog:

-Correctly ignore duplicate template instantiation (when the
 duplicate contains typedef'd template parameters).
-Fix segfault shrinking STL containers.
-Fix -Wundef warning about testing the value of __cplusplus when compiling
 SWIG-generated C code.  Warning introduced by a change in SWIG 4.2.0.
-Fix memory leak when getting or setting a PHP attribute which wraps a C++
 member variable.
-Fix for wrapping STL containers that are static member variables or global
 variables (most scripting languages).

Signed-off-by: Wang Mingyu 
---
 ...roc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch | 9 -
 meta/recipes-devtools/swig/swig/determinism.patch| 7 +++
 .../swig/{swig_4.2.0.bb => swig_4.2.1.bb}| 2 +-
 3 files changed, 8 insertions(+), 10 deletions(-)
 rename meta/recipes-devtools/swig/{swig_4.2.0.bb => swig_4.2.1.bb} (72%)

diff --git 
a/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
 
b/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
index 9c6ae389be..5e83e92725 100644
--- 
a/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
+++ 
b/meta/recipes-devtools/swig/swig/0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
@@ -1,4 +1,4 @@
-From ab0ab5e685bd9077c44fdca5c1a27b0f477444d7 Mon Sep 17 00:00:00 2001
+From b88a98348b3841f0b702e314631883d46f9f362d Mon Sep 17 00:00:00 2001
 From: "NODA, Kai" 
 Date: Sun, 22 Apr 2012 17:01:02 +0900
 Subject: [PATCH] Use /proc/self/exe for "swig -swiglib" on non-Win32
@@ -8,13 +8,12 @@ If it wasn't found, then fall back to a fixed string just as 
before.
 
 Upstream-Status: Submitted
 http://sourceforge.net/mailarchive/message.php?msg_id=29179733
-
 ---
  Source/Modules/main.cxx | 24 ++--
  1 file changed, 22 insertions(+), 2 deletions(-)
 
 diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
-index 8a44921..8250dee 100644
+index 76b4f9d..de0a512 100644
 --- a/Source/Modules/main.cxx
 +++ b/Source/Modules/main.cxx
 @@ -25,6 +25,11 @@
@@ -29,7 +28,7 @@ index 8a44921..8250dee 100644
  
  // Global variables
  
-@@ -886,9 +891,9 @@ int SWIG_main(int argc, char *argv[], const 
TargetLanguageModule *tlm) {
+@@ -895,9 +900,9 @@ int SWIG_main(int argc, char *argv[], const 
TargetLanguageModule *tlm) {
  
// Check for SWIG_LIB environment variable
if ((c = getenv("SWIG_LIB")) == (char *) 0) {
@@ -40,7 +39,7 @@ index 8a44921..8250dee 100644
  if (!(GetModuleFileName(0, buf, MAX_PATH) == 0 || (p = strrchr(buf, 
'\\')) == 0)) {
*(p + 1) = '\0';
SwigLib = NewStringf("%sLib", buf); // Native windows installation path
-@@ -898,7 +903,22 @@ int SWIG_main(int argc, char *argv[], const 
TargetLanguageModule *tlm) {
+@@ -907,7 +912,22 @@ int SWIG_main(int argc, char *argv[], const 
TargetLanguageModule *tlm) {
  if (Len(SWIG_LIB_WIN_UNIX) > 0)
SwigLibWinUnix = NewString(SWIG_LIB_WIN_UNIX); // Unix installation 
path using a drive letter (for msys/mingw)
  #else
diff --git a/meta/recipes-devtools/swig/swig/determinism.patch 
b/meta/recipes-devtools/swig/swig/determinism.patch
index 417f0c4317..9c49414ad7 100644
--- a/meta/recipes-devtools/swig/swig/determinism.patch
+++ b/meta/recipes-devtools/swig/swig/determinism.patch
@@ -1,4 +1,4 @@
-From 25bf9893ec1f557781eb241508ea1bec959061fe Mon Sep 17 00:00:00 2001
+From 28648b3873d83e26bd19b64ce2c0a41ced9292d3 Mon Sep 17 00:00:00 2001
 From: Richard Purdie 
 Date: Mon, 1 Mar 2021 00:11:10 +
 Subject: [PATCH] swig: Fix reproducibility issue
@@ -8,16 +8,15 @@ breaks reproducibilty.
 
 Upstream-Status: Inappropriate [OE reproducibiity fix upstream unlikely to 
take]
 RP 2021/3/1
-
 ---
  Source/Modules/main.cxx | 1 -
  1 file changed, 1 deletion(-)
 
 diff --git a/Source/Modules/main.cxx b/Source/Modules/main.cxx
-index 8250dee..415761d 100644
+index de0a512..ac9e825 100644
 --- a/Source/Modules/main.cxx
 +++ b/Source/Modules/main.cxx
-@@ -629,7 +629,6 @@ static void getoptions(int argc, char *argv[]) {
+@@ -638,7 +638,6 @@ static void getoptions(int argc, char *argv[]) {
}
} else if (strcmp(argv[i], "-version") == 0) {
fprintf(stdout, "\nSWIG Version %s\n", Swig_package_version());
diff --git a/meta/recipes-devtools/swig/swig_4.2.0.bb 
b/meta/recipes-devtools/swig/swig_4.2.1.bb
similarity index 72%
rename from meta/recipes-devtools/swig/swig_4.2.0.bb
rename to meta/recipes-devtools/swig/swig_4.2.1.bb
index 2ab4ed006c..4b438a7298 100644
--- a/meta/recipes-devtools/swig/swig_4.2.0.bb
+++ b/meta/recipes-devtools/swig/swig_4.2.1.bb
@@ -4,4 +4,4 @@ SRC_URI += 
"file://0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.pat
 file://0001-configure-use-pkg-config-for-pcre-detection.patch \
 

[OE-core] [PATCH 43/48] python3-urllib3: upgrade 2.1.0 -> 2.2.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
===
-Fixed issue where "InsecureRequestWarning" was emitted for HTTPS connections
 when using Emscripten.
-Fixed "HTTPConnectionPool.urlopen" to stop automatically casting non-proxy
 headers to "HTTPHeaderDict".
-Changed "InvalidChunkLength" to "ProtocolError" when response terminates
 before the chunk length is sent.
-Changed "ProtocolError" to be more verbose on incomplete reads with excess
 content.
-Added support for 'Emscripten and Pyodide
-Added support for "HTTPResponse.read1()" method.
-Added rudimentary support for HTTP/2.
-Fixed issue where requests against urls with trailing dots were failing due to
 SSL errors when using proxy.
-Fixed "HTTPConnection.proxy_is_verified" and
 "HTTPSConnection.proxy_is_verified" to be always set to a boolean after
 connecting to a proxy. It could be "None" in some cases previously.
-Fixed an issue where "headers" passed in a request with "json=" would be
 mutated
-Fixed "HTTPSConnection.is_verified" to be set to "False" when connecting
 from a HTTPS proxy to an HTTP target. It was set to "True" previously.
-Fixed handling of new error message from OpenSSL 3.2.0 when configuring an
 HTTP proxy as HTTPS
-Fixed TLS 1.3 post-handshake auth when the server certificate validation is
 disabled
-Note for downstream distributors: To run integration tests, you now need to run
 the tests a second time with the "--integration" pytest flag.

Signed-off-by: Wang Mingyu 
---
 .../{python3-urllib3_2.1.0.bb => python3-urllib3_2.2.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-urllib3_2.1.0.bb => 
python3-urllib3_2.2.1.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-urllib3_2.1.0.bb 
b/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-urllib3_2.1.0.bb
rename to meta/recipes-devtools/python/python3-urllib3_2.2.1.bb
index ad6dc6d405..fc1828b4ee 100644
--- a/meta/recipes-devtools/python/python3-urllib3_2.1.0.bb
+++ b/meta/recipes-devtools/python/python3-urllib3_2.2.1.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/shazow/urllib3;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=52d273a3054ced561275d4d15260ecda"
 
-SRC_URI[sha256sum] = 
"df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7b52d54"
+SRC_URI[sha256sum] = 
"d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"
 
 inherit pypi python_hatchling
 
-- 
2.34.1


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



[OE-core] [PATCH 44/48] python3-yamllint: upgrade 1.33.0 -> 1.35.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:

-Restore ignoration of files passed as command-line arguments
-Fix failure on broken symlinks that should be ignored
-Docs: Restore official Read the Docs theme
-Config: validate ignore-from-file inside rules
-Rule quoted-strings: fix only-when-needed in flow maps and sequences
-Rule key-duplicates: add forbid-duplicated-merge-keys option
-Rule quoted-strings: add check-keys option
-Docs: add GitLab CI example
-Rule truthy: adapt forbidden values based on YAML version

Signed-off-by: Wang Mingyu 
---
 .../{python3-yamllint_1.33.0.bb => python3-yamllint_1.35.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-yamllint_1.33.0.bb => 
python3-yamllint_1.35.1.bb} (80%)

diff --git a/meta/recipes-devtools/python/python3-yamllint_1.33.0.bb 
b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
similarity index 80%
rename from meta/recipes-devtools/python/python3-yamllint_1.33.0.bb
rename to meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
index 155b65b008..53188b0262 100644
--- a/meta/recipes-devtools/python/python3-yamllint_1.33.0.bb
+++ b/meta/recipes-devtools/python/python3-yamllint_1.35.1.bb
@@ -7,7 +7,7 @@ inherit pypi setuptools3
 
 PYPI_PACKAGE = "yamllint"
 
-SRC_URI[sha256sum] = 
"2dceab9ef2d99518a2fcf4ffc964d44250ac4459be1ba3ca315118e4a1a81f7d"
+SRC_URI[sha256sum] = 
"7a003809f88324fd2c877734f2d575ee7881dd9043360657cc8049c809eba6cd"
 
 DEPENDS += "python3-setuptools-scm-native"
 RDEPENDS:${PN} += "python3-pathspec python3-pyyaml"
-- 
2.34.1


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



[OE-core] [PATCH 38/48] python3-setuptools-rust: upgrade 1.8.1 -> 1.9.0

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
-Deprecate py_limited_api option to RustExtension in favour of always using
 "auto" to configure this from bdist_wheel.

Signed-off-by: Wang Mingyu 
---
 ...etuptools-rust_1.8.1.bb => python3-setuptools-rust_1.9.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-setuptools-rust_1.8.1.bb => 
python3-setuptools-rust_1.9.0.bb} (93%)

diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.8.1.bb 
b/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
similarity index 93%
rename from meta/recipes-devtools/python/python3-setuptools-rust_1.8.1.bb
rename to meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
index 13817cb315..8eb2513d69 100644
--- a/meta/recipes-devtools/python/python3-setuptools-rust_1.8.1.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.9.0.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5"
 SRC_URI = "${PYPI_SRC_URI} \

https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a/setuptools-rust-${PV}.tar.gz
 \
"
-SRC_URI[sha256sum] = 
"94b1dd5d5308b3138d5b933c3a2b55e6d6927d1a22632e509fcea9ddd0f7e486"
+SRC_URI[sha256sum] = 
"704df0948f2e4cc60c2596ad6e840ea679f4f43e58ed4ad0c1857807240eab96"
 
 inherit cargo pypi python_setuptools_build_meta
 
-- 
2.34.1


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



[OE-core] [PATCH 41/48] python3-typing-extensions: upgrade 4.9.0 -> 4.10.0

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:

-Add support for PEP 728, supporting the closed keyword argument and the special
 __extra_items__ key for TypedDict.
-Add support for PEP 742, adding typing_extensions.TypeIs.
-Drop runtime error when a read-only TypedDict item overrides a mutable one.
 Type checkers should still flag this as an error.
-Speedup issubclass() checks against simple runtime-checkable protocols by
 around 6% (backporting python/cpython#112717
-Fix a regression in the implementation of protocols where typing.Protocol
 classes that were not marked as @runtime_checkable would be unnecessarily
 introspected, potentially causing exceptions to be raised if the protocol had
 problematic members.

Signed-off-by: Wang Mingyu 
---
 ...-extensions_4.9.0.bb => python3-typing-extensions_4.10.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-typing-extensions_4.9.0.bb => 
python3-typing-extensions_4.10.0.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-typing-extensions_4.9.0.bb 
b/meta/recipes-devtools/python/python3-typing-extensions_4.10.0.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-typing-extensions_4.9.0.bb
rename to meta/recipes-devtools/python/python3-typing-extensions_4.10.0.bb
index 3553c597ac..8698a80cc5 100644
--- a/meta/recipes-devtools/python/python3-typing-extensions_4.9.0.bb
+++ b/meta/recipes-devtools/python/python3-typing-extensions_4.10.0.bb
@@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2"
 # The name on PyPi is slightly different.
 PYPI_PACKAGE = "typing_extensions"
 
-SRC_URI[sha256sum] = 
"23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783"
+SRC_URI[sha256sum] = 
"b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb"
 
 inherit pypi python_flit_core
 
-- 
2.34.1


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



[OE-core] [PATCH 36/48] python3-pytest: upgrade 8.0.0 -> 8.0.2

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:

-Fix collection on Windows where initial paths contain the short version
 of a path (for example c:\PROGRA~1\tests).
-Fix an IndexError crash raising from getstatementrange_ast.
-Reverted a fix to --maxfail handling in pytest 8.0.0 because it caused a
 regression in pytest-xdist whereby session fixture teardowns may get executed
 multiple times when the max-fails is reached.
-Correctly handle errors from getpass.getuser() in Python 3.13.
-Fix an edge case where ExceptionInfo._stringify_exception could crash
 pytest.raises().
-Fix regression with pytest.warns() using custom warning subclasses which
 have more than one parameter in their __init__.
-Fix a regression in pytest 8.0.0 whereby calling pytest.skip() and similar
 control-flow exceptions within a pytest.warns() block would get suppressed
 instead of propagating.
-Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module
 get ignored by the doctests in the module.
-Fix a regression in pytest 8.0.0 whereby items would be collected in reverse
 order in some circumstances.

Signed-off-by: Wang Mingyu 
---
 .../python/{python3-pytest_8.0.0.bb => python3-pytest_8.0.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-pytest_8.0.0.bb => 
python3-pytest_8.0.2.bb} (92%)

diff --git a/meta/recipes-devtools/python/python3-pytest_8.0.0.bb 
b/meta/recipes-devtools/python/python3-pytest_8.0.2.bb
similarity index 92%
rename from meta/recipes-devtools/python/python3-pytest_8.0.0.bb
rename to meta/recipes-devtools/python/python3-pytest_8.0.2.bb
index f43796710a..57e979e909 100644
--- a/meta/recipes-devtools/python/python3-pytest_8.0.0.bb
+++ b/meta/recipes-devtools/python/python3-pytest_8.0.2.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "The pytest framework makes it easy to write 
small tests, yet scal
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=bd27e41b6550fe0fc45356d1d81ee37c"
 
-SRC_URI[sha256sum] = 
"249b1b0864530ba251b7438274c4d251c58d868edaaec8762893ad4a0d71c36c"
+SRC_URI[sha256sum] = 
"d4051d623a2e0b7e51960ba963193b09ce6daeb9759a451844a21e4ddedfc1bd"
 
 DEPENDS += "python3-setuptools-scm-native"
 
-- 
2.34.1


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



[OE-core] [PATCH 39/48] python3-setuptools: upgrade 69.0.3 -> 69.1.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for 69.1.1

Changelog:
==
-Updated and removed obsolete Python < 3.8 code and comments.
-Updated Package Discovery and Resource Access using pkg_resources to use stdlib
 importlib.machinery instead of importlib_machinery
-In tests, rely on pytest-home for reusable fixture.
-Explicitely marked as Protocol and fixed missing self argument in interfaces
 pkg_resources.IMetadataProvider and pkg_resources.IResourceProvider
-Restored expectation that egg-link files would be named with dash separators
 for compatibility with pip prior to version 24.

Signed-off-by: Wang Mingyu 
---
 ...stutils-sysconfig.py-make-it-possible-to-substite.patch | 3 +--
 ...1-conditionally-do-not-fetch-code-by-easy_install.patch | 7 +++
 ...3-setuptools_69.0.3.bb => python3-setuptools_69.1.1.bb} | 2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools_69.0.3.bb => 
python3-setuptools_69.1.1.bb} (94%)

diff --git 
a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
 
b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
index 7cafde4d5d..fc0631ffd2 100644
--- 
a/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
+++ 
b/meta/recipes-devtools/python/python3-setuptools/0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
@@ -1,4 +1,4 @@
-From bfa655d63e79ba5a75441604ca14a70800794189 Mon Sep 17 00:00:00 2001
+From 85e65daf5e3ce4741e3653dc8912dc7555f84e78 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Wed, 11 May 2022 21:41:14 +0200
 Subject: [PATCH] _distutils/sysconfig.py: make it possible to substite the
@@ -15,7 +15,6 @@ would happen to this module in light of distutils deprecation.
 
 Upstream-Status: Inappropriate [oe-core specific]
 Signed-off-by: Alexander Kanavin 
-
 ---
  setuptools/_distutils/sysconfig.py | 12 ++--
  1 file changed, 10 insertions(+), 2 deletions(-)
diff --git 
a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
 
b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
index 9b17dba178..71bb77227c 100644
--- 
a/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
+++ 
b/meta/recipes-devtools/python/python3-setuptools/0001-conditionally-do-not-fetch-code-by-easy_install.patch
@@ -1,4 +1,4 @@
-From 519e2845014f04b4c23b5cf8f92fc4e5dcf40f20 Mon Sep 17 00:00:00 2001
+From 6fe7afb3fd1612325f6dde94738adacc5d8d7659 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Tue, 17 Jul 2018 10:13:38 +0800
 Subject: [PATCH] conditionally do not fetch code by easy_install
@@ -9,16 +9,15 @@ internet by easy_install.
 Upstream-Status: Inappropriate [oe specific]
 
 Signed-off-by: Hongxu Jia 
-
 ---
  setuptools/command/easy_install.py | 5 +
  1 file changed, 5 insertions(+)
 
 diff --git a/setuptools/command/easy_install.py 
b/setuptools/command/easy_install.py
-index 8ba4f09..8ea40c5 100644
+index cc0c409..948bcf2 100644
 --- a/setuptools/command/easy_install.py
 +++ b/setuptools/command/easy_install.py
-@@ -676,6 +676,11 @@ class easy_install(Command):
+@@ -671,6 +671,11 @@ class easy_install(Command):
  os.path.exists(tmpdir) and _rmtree(tmpdir)
  
  def easy_install(self, spec, deps=False):
diff --git a/meta/recipes-devtools/python/python3-setuptools_69.0.3.bb 
b/meta/recipes-devtools/python/python3-setuptools_69.1.1.bb
similarity index 94%
rename from meta/recipes-devtools/python/python3-setuptools_69.0.3.bb
rename to meta/recipes-devtools/python/python3-setuptools_69.1.1.bb
index 715c89338f..77d4e0aa03 100644
--- a/meta/recipes-devtools/python/python3-setuptools_69.0.3.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_69.1.1.bb
@@ -11,7 +11,7 @@ SRC_URI:append:class-native = " 
file://0001-conditionally-do-not-fetch-code-by-e
 SRC_URI += " \
 
file://0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch"
 
-SRC_URI[sha256sum] = 
"be1af57fc409f93647f2e8e4573a142ed38724b8cdd389706a867bb4efcf1e78"
+SRC_URI[sha256sum] = 
"5c0806c7d9af348e6dd3777b4f4dbb42c7ad85b190104837488eab9a7c945cf8"
 
 DEPENDS += "python3"
 
-- 
2.34.1


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



[OE-core] [PATCH 34/48] python3-pip: upgrade 23.3.2 -> 24.0

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

no_shebang_mangling.patch
refreshed for 24.0

Changelog:
===
-Retry on HTTP status code 502
-Automatically use the setuptools PEP 517 build backend when --config-settings
 is used for projects without pyproject.toml.
-Make pip freeze and pip uninstall of legacy editable installs of packages
 whose name contains _ compatible with setuptools>=69.0.3.
-Support per requirement --config-settings for editable installs.

Signed-off-by: Wang Mingyu 
---
 .../python/python3-pip/no_shebang_mangling.patch | 9 -
 .../{python3-pip_23.3.2.bb => python3-pip_24.0.bb}   | 2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)
 rename meta/recipes-devtools/python/{python3-pip_23.3.2.bb => 
python3-pip_24.0.bb} (97%)

diff --git a/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch 
b/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch
index b59f4888da..99fa14ee03 100644
--- a/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch
+++ b/meta/recipes-devtools/python/python3-pip/no_shebang_mangling.patch
@@ -1,4 +1,4 @@
-From 915bf32cd117cd86cc0d4b96bc9490b1c7119ffd Mon Sep 17 00:00:00 2001
+From 2aa82aeb0783c5fab32bfe1dd3da9ae8fc6e Mon Sep 17 00:00:00 2001
 From: Richard Purdie 
 Date: Wed, 23 Feb 2022 12:27:06 +
 Subject: [PATCH] python3-pip: Don't change shebang
@@ -8,16 +8,15 @@ to be python3 from the environment when building anything for 
the target
 (or nativesdk). This avoids incorrect interpreter paths in the target scripts.
 
 Upstream-Status: Inappropriate [OE specific config]
-
 ---
  src/pip/_vendor/distlib/scripts.py | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
 diff --git a/src/pip/_vendor/distlib/scripts.py 
b/src/pip/_vendor/distlib/scripts.py
-index d270624..42c0d10 100644
+index cfa45d2..313f499 100644
 --- a/src/pip/_vendor/distlib/scripts.py
 +++ b/src/pip/_vendor/distlib/scripts.py
-@@ -137,6 +137,8 @@ class ScriptMaker(object):
+@@ -144,6 +144,8 @@ class ScriptMaker(object):
  See also: http://www.in-ulm.de/~mascheck/various/shebang/#length
https://hg.mozilla.org/mozilla-central/file/tip/mach
  """
@@ -26,7 +25,7 @@ index d270624..42c0d10 100644
  if os.name != 'posix':
  simple_shebang = True
  else:
-@@ -348,7 +350,7 @@ class ScriptMaker(object):
+@@ -362,7 +364,7 @@ class ScriptMaker(object):
  return
  
  match = FIRST_LINE_RE.match(first_line.replace(b'\r\n', b'\n'))
diff --git a/meta/recipes-devtools/python/python3-pip_23.3.2.bb 
b/meta/recipes-devtools/python/python3-pip_24.0.bb
similarity index 97%
rename from meta/recipes-devtools/python/python3-pip_23.3.2.bb
rename to meta/recipes-devtools/python/python3-pip_24.0.bb
index 0f2ab9288b..be4a29500a 100644
--- a/meta/recipes-devtools/python/python3-pip_23.3.2.bb
+++ b/meta/recipes-devtools/python/python3-pip_24.0.bb
@@ -33,7 +33,7 @@ inherit pypi python_setuptools_build_meta
 
 SRC_URI += "file://no_shebang_mangling.patch"
 
-SRC_URI[sha256sum] = 
"7fd9972f96db22c8077a1ee2691b172c8089b17a5652a44494a9ecb0d78f9149"
+SRC_URI[sha256sum] = 
"ea9bd1a847e8c5774a5777bb398c19e80bcd4e2aa16a4b301b718fe6f593aba2"
 
 do_install:append() {
 rm -f ${D}/${bindir}/pip
-- 
2.34.1


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



[OE-core] [PATCH 37/48] python3-pytz: upgrade 2023.4 -> 2024.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 .../python/{python3-pytz_2023.4.bb => python3-pytz_2024.1.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-pytz_2023.4.bb => 
python3-pytz_2024.1.bb} (89%)

diff --git a/meta/recipes-devtools/python/python3-pytz_2023.4.bb 
b/meta/recipes-devtools/python/python3-pytz_2024.1.bb
similarity index 89%
rename from meta/recipes-devtools/python/python3-pytz_2023.4.bb
rename to meta/recipes-devtools/python/python3-pytz_2024.1.bb
index 78d2b323de..158e800fed 100644
--- a/meta/recipes-devtools/python/python3-pytz_2023.4.bb
+++ b/meta/recipes-devtools/python/python3-pytz_2024.1.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999"
 
 inherit pypi setuptools3 ptest
 
-SRC_URI[sha256sum] = 
"31d4583c4ed539cd037956140d695e42c033a19e984bfce9964a3f7d59bc2b40"
+SRC_URI[sha256sum] = 
"2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812"
 
 RDEPENDS:${PN}:class-target += "\
 python3-datetime \
-- 
2.34.1


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



[OE-core] [PATCH 35/48] python3-pycairo: upgrade 1.25.1 -> 1.26.0

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:

* Bump minimum required meson version from 0.56.0 to 0.64.0
* Various meson related cleanups
* Fix header file being installed to the wrong location with meson on some 
systems
* Adds a new "wheel" meson build option as preparation for meson-python support
* Update dependencies (libpng, pixman, zlib) of the Windows wheels
* Various maintenance related updates

Signed-off-by: Wang Mingyu 
---
 .../{python3-pycairo_1.25.1.bb => python3-pycairo_1.26.0.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-pycairo_1.25.1.bb => 
python3-pycairo_1.26.0.bb} (90%)

diff --git a/meta/recipes-devtools/python/python3-pycairo_1.25.1.bb 
b/meta/recipes-devtools/python/python3-pycairo_1.26.0.bb
similarity index 90%
rename from meta/recipes-devtools/python/python3-pycairo_1.25.1.bb
rename to meta/recipes-devtools/python/python3-pycairo_1.26.0.bb
index 1599f6d39e..ea8b81be76 100644
--- a/meta/recipes-devtools/python/python3-pycairo_1.25.1.bb
+++ b/meta/recipes-devtools/python/python3-pycairo_1.26.0.bb
@@ -13,7 +13,7 @@ DEPENDS = "cairo python3"
 SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/pycairo-${PV}.tar.gz"
 GITHUB_BASE_URI = "https://github.com/pygobject/pycairo/releases/;
 
-SRC_URI[sha256sum] = 
"7e2be4fbc3b4536f16db7a11982cbf713e75069a4d73d44fe5a49b68423f5c0c"
+SRC_URI[sha256sum] = 
"20a874fbddb21e14acd9b955881ee1dc6e63b9c549a192d613a907f9cbeb"
 
 S = "${WORKDIR}/pycairo-${PV}"
 
-- 
2.34.1


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



[OE-core] [PATCH 32/48] python3-dbusmock: upgrade 0.30.2 -> 0.31.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
-power_profiles_daemon: Move back to original D-Bus name to avoid breaking 
compatibility
-Add upower_power_profiles_daemon template for version 0.20 API with new D-Bus 
name

Signed-off-by: Wang Mingyu 
---
 .../{python3-dbusmock_0.30.2.bb => python3-dbusmock_0.31.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-dbusmock_0.30.2.bb => 
python3-dbusmock_0.31.1.bb} (87%)

diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.30.2.bb 
b/meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb
similarity index 87%
rename from meta/recipes-devtools/python/python3-dbusmock_0.30.2.bb
rename to meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb
index 8e1f0f93fe..fc32c6bbb6 100644
--- a/meta/recipes-devtools/python/python3-dbusmock_0.30.2.bb
+++ b/meta/recipes-devtools/python/python3-dbusmock_0.31.1.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://pypi.org/project/python-dbusmock/;
 LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
-SRC_URI[sha256sum] = 
"1d7b3794af7b280942f7f6cda4d8bb5d17d8c7216000825cf8b43b6af8792d7d"
+SRC_URI[sha256sum] = 
"b23b8e1b51fe2a9b13e617fff6b60b3ed8e536c080cf3498019d223678d5ea49"
 
 PYPI_PACKAGE = "python-dbusmock"
 
-- 
2.34.1


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



[OE-core] [PATCH 33/48] python3-hypothesis: upgrade 6.97.3 -> 6.98.12

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

Signed-off-by: Wang Mingyu 
---
 ...thon3-hypothesis_6.97.3.bb => python3-hypothesis_6.98.12.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hypothesis_6.97.3.bb => 
python3-hypothesis_6.98.12.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.97.3.bb 
b/meta/recipes-devtools/python/python3-hypothesis_6.98.12.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.97.3.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.98.12.bb
index 52ed2da575..a74c3af401 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.97.3.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.98.12.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
 file://test_rle.py \
 "
 
-SRC_URI[sha256sum] = 
"00216ddadaee17ba73451e262f973970a97d34fd75ec34ef57510147264c34d1"
+SRC_URI[sha256sum] = 
"584ef03a847464b0d14a63e53fcc3335a75b1f1eb3bcc770a03ff950ee4e279e"
 
 RDEPENDS:${PN} += " \
 python3-attrs \
-- 
2.34.1


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



[OE-core] [PATCH 28/48] pciutils: upgrade 3.10.0 -> 3.11.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

configure.patch
refreshed for 3.11.1

Changelog:
===
* Fixed wrong API version in lib/pci.h.
* Updated README.Windows.
* Fix compilation on Windows.
* update-pciids now supports XZ compression. If libpci is configured
  with support for compression, all downloaded files are recompressed
  as gzip. Otherwise they are stored as plain text.
* update-pciids now sends itself as the User-Agent.
* Added a pcilmr utility for PCIe lane margining.
* Re-factored access to i386 ports on all relevant platforms.
* Added i386 port access on OpenBSD.
* Back-ends for Windows received many bug fixes and improvements.
* ECAM back-end now scans ACPI and BIOS memory faster.
* Linux systems without pread/pwrite are no longer supported
  as they are hopefully long gone. This helps avoid the tricky check
  for presence of pread which was found to fail on musl libc.
* Improved decoding of PCIe control and status registers.
* Decoding of CXL capabilities now supports up to CXL 3.0.
* lspci now displays interrupt message numbers consistently across
  different capabilities.
* Cache of IDs resolved via DNS, which was located in ~/.pci-ids
  by default, is now stored according to the XDG base directory
  specification in $XDG_CACHE_HOME/pci-ids.
* All source files now have SPDX license identifiers.
* Internal: The "aux" fields of structs pci_access and pci_dev
  reserved for use by back-ends were renamed to backend_data to better
  reflect their meaning.
* As usually, various minor bug fixes and updated pci.ids.

Signed-off-by: Wang Mingyu 
---
 meta/recipes-bsp/pciutils/pciutils/configure.patch| 11 +--
 .../{pciutils_3.10.0.bb => pciutils_3.11.1.bb}|  2 +-
 2 files changed, 6 insertions(+), 7 deletions(-)
 rename meta/recipes-bsp/pciutils/{pciutils_3.10.0.bb => pciutils_3.11.1.bb} 
(95%)

diff --git a/meta/recipes-bsp/pciutils/pciutils/configure.patch 
b/meta/recipes-bsp/pciutils/pciutils/configure.patch
index 91bd255899..5015cf4884 100644
--- a/meta/recipes-bsp/pciutils/pciutils/configure.patch
+++ b/meta/recipes-bsp/pciutils/pciutils/configure.patch
@@ -1,4 +1,4 @@
-From 42e7d5f5f1d84a56b125aa05de33d31e28ad1124 Mon Sep 17 00:00:00 2001
+From 561216c8cbc280aaa9aecf30cb11835a4a0a78ed Mon Sep 17 00:00:00 2001
 From: Richard Purdie 
 Date: Wed, 31 Dec 2008 17:20:38 +
 Subject: [PATCH] pciutils: Upgarde 2.2.4 -> 3.0.3
@@ -17,18 +17,17 @@ Ionut Radu 
 2017/6/15 - RP - Cleanups and merging patches
 
 Upstream-Status: Inappropriate [embedded specific]
-
 ---
  Makefile  |  2 +-
  lib/configure | 14 ++
  2 files changed, 11 insertions(+), 5 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index 3df076d..9b247d3 100644
+index aaec04e..9c1dab0 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -110,7 +110,7 @@ example$(EXEEXT): example.o lib/$(PCIIMPLIB)
- example.o: example.c $(PCIINC)
+@@ -123,7 +123,7 @@ pcilmr$(EXEEXT): pcilmr.o $(LMROBJS) $(COMMON) 
lib/$(PCIIMPLIB)
+ pcilmr.o: pcilmr.c $(LMRINC)
  
  %$(EXEEXT): %.o
 -  $(CC) $(LDFLAGS) $(TARGET_ARCH) $^ $(LDLIBS) -o $@
@@ -37,7 +36,7 @@ index 3df076d..9b247d3 100644
  ifdef PCI_OS_WINDOWS
  comma := ,
 diff --git a/lib/configure b/lib/configure
-index 57b064b..b269332 100755
+index 3df057a..c87e71c 100755
 --- a/lib/configure
 +++ b/lib/configure
 @@ -9,6 +9,10 @@ echo_n() {
diff --git a/meta/recipes-bsp/pciutils/pciutils_3.10.0.bb 
b/meta/recipes-bsp/pciutils/pciutils_3.11.1.bb
similarity index 95%
rename from meta/recipes-bsp/pciutils/pciutils_3.10.0.bb
rename to meta/recipes-bsp/pciutils/pciutils_3.11.1.bb
index e27cfd4ced..044074ccc3 100644
--- a/meta/recipes-bsp/pciutils/pciutils_3.10.0.bb
+++ b/meta/recipes-bsp/pciutils/pciutils_3.11.1.bb
@@ -14,7 +14,7 @@ DEPENDS = "zlib kmod make-native"
 SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
file://configure.patch"
 
-SRC_URI[sha256sum] = 
"238a2e27166730e53a17fe07bfad229e07fa39b618117e5944b6d7eda9fbb0e9"
+SRC_URI[sha256sum] = 
"3f472ad864473de5ba17f765cc96ef5f33e1b730918d3adda6f945a2a9290df4"
 
 inherit multilib_header pkgconfig update-alternatives
 
-- 
2.34.1


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



[OE-core] [PATCH 30/48] python3-beartype: upgrade 0.17.0 -> 0.17.2

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 .../{python3-beartype_0.17.0.bb => python3-beartype_0.17.2.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-beartype_0.17.0.bb => 
python3-beartype_0.17.2.bb} (75%)

diff --git a/meta/recipes-devtools/python/python3-beartype_0.17.0.bb 
b/meta/recipes-devtools/python/python3-beartype_0.17.2.bb
similarity index 75%
rename from meta/recipes-devtools/python/python3-beartype_0.17.0.bb
rename to meta/recipes-devtools/python/python3-beartype_0.17.2.bb
index 7b14a3794b..05fd74543b 100644
--- a/meta/recipes-devtools/python/python3-beartype_0.17.0.bb
+++ b/meta/recipes-devtools/python/python3-beartype_0.17.2.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://beartype.readthedocs.io;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e71f94261c1b39896cacacfeaf60560e"
 
-SRC_URI[sha256sum] = 
"3226fbba8c53b4e698acdb47dcaf3c0640151c4d405618c281e6631f4112947d"
+SRC_URI[sha256sum] = 
"e911e1ae7de4bccd15745f7643609d8732f64de5c2fb844e89cbbed1c5a8d495"
 
 inherit setuptools3 pypi
 
-- 
2.34.1


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



[OE-core] [PATCH 31/48] python3-certifi: upgrade 2023.11.17 -> 2024.2.2

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 ...ython3-certifi_2023.11.17.bb => python3-certifi_2024.2.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-certifi_2023.11.17.bb => 
python3-certifi_2024.2.2.bb} (86%)

diff --git a/meta/recipes-devtools/python/python3-certifi_2023.11.17.bb 
b/meta/recipes-devtools/python/python3-certifi_2024.2.2.bb
similarity index 86%
rename from meta/recipes-devtools/python/python3-certifi_2023.11.17.bb
rename to meta/recipes-devtools/python/python3-certifi_2024.2.2.bb
index daed712362..4e61b8d9d4 100644
--- a/meta/recipes-devtools/python/python3-certifi_2023.11.17.bb
+++ b/meta/recipes-devtools/python/python3-certifi_2024.2.2.bb
@@ -7,7 +7,7 @@ HOMEPAGE = " http://certifi.io/;
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=11618cb6a975948679286b1211bd573c"
 
-SRC_URI[sha256sum] = 
"9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1"
+SRC_URI[sha256sum] = 
"0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f"
 
 inherit pypi setuptools3
 
-- 
2.34.1


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



[OE-core] [PATCH 29/48] pkgconf: upgrade 2.1.0 -> 2.1.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
* Documentation fixes
* Fix --modversion with constraints.
* Reintroduce an optimization to the dependency graph walker which avoids
  revisiting already visited nodes.
* Add a regression test to check that the dependency flattener is working
  as expected.

Signed-off-by: Wang Mingyu 
---
 .../pkgconf/{pkgconf_2.1.0.bb => pkgconf_2.1.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/pkgconf/{pkgconf_2.1.0.bb => pkgconf_2.1.1.bb} 
(96%)

diff --git a/meta/recipes-devtools/pkgconf/pkgconf_2.1.0.bb 
b/meta/recipes-devtools/pkgconf/pkgconf_2.1.1.bb
similarity index 96%
rename from meta/recipes-devtools/pkgconf/pkgconf_2.1.0.bb
rename to meta/recipes-devtools/pkgconf/pkgconf_2.1.1.bb
index 1921f3a086..33d69451bb 100644
--- a/meta/recipes-devtools/pkgconf/pkgconf_2.1.0.bb
+++ b/meta/recipes-devtools/pkgconf/pkgconf_2.1.1.bb
@@ -20,7 +20,7 @@ SRC_URI = "\
 file://pkg-config-native.in \
 file://pkg-config-esdk.in \
 "
-SRC_URI[sha256sum] = 
"266d5861ee51c52bc710293a1d36622ae16d048d71ec56034a02eb9cf9677761"
+SRC_URI[sha256sum] = 
"3a224f2accf091b77a5781316e27b9ee3ba82c083cc2e539e08940b68a44fec5"
 
 inherit autotools
 
-- 
2.34.1


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



[OE-core] [PATCH 25/48] mpg123: upgrade 1.32.4 -> 1.32.5

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:

- build:
-- CMake port uses CFLAGS for pulse/jack/tinyalsa properly now (bug 366).
-- CMake port links libsyn123 with libm now (bug 370).
- libmpg123:
-- Fix --enable-portable (no usage of LFS_WRAP_NONE, bug 368).
-- Fix dct36 wrapper usage for x86-64 and NEON. Stupid (bug 367) and
   also avoid returning void.
-- Make ARM builds work with nagging (missing feature macros for std=c99)

Signed-off-by: Wang Mingyu 
---
 .../mpg123/{mpg123_1.32.4.bb => mpg123_1.32.5.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/mpg123/{mpg123_1.32.4.bb => mpg123_1.32.5.bb} 
(96%)

diff --git a/meta/recipes-multimedia/mpg123/mpg123_1.32.4.bb 
b/meta/recipes-multimedia/mpg123/mpg123_1.32.5.bb
similarity index 96%
rename from meta/recipes-multimedia/mpg123/mpg123_1.32.4.bb
rename to meta/recipes-multimedia/mpg123/mpg123_1.32.5.bb
index 8c6101fee8..52526471ef 100644
--- a/meta/recipes-multimedia/mpg123/mpg123_1.32.4.bb
+++ b/meta/recipes-multimedia/mpg123/mpg123_1.32.5.bb
@@ -10,7 +10,7 @@ LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e7b9c15fcfb986abb4cc5e8400a24169"
 
 SRC_URI = "https://www.mpg123.de/download/${BP}.tar.bz2;
-SRC_URI[sha256sum] = 
"5a99664338fb2f751b662f40ee25804d0c9db6b575dcb5ce741c6dc64224a08a"
+SRC_URI[sha256sum] = 
"af908cdf6cdb6544b97bc706a799f79894e69468af5881bf454a0ebb9171ed63"
 
 UPSTREAM_CHECK_REGEX = "mpg123-(?P\d+(\.\d+)+)\.tar"
 
-- 
2.34.1


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



[OE-core] [PATCH 27/48] pango: upgrade 1.51.0 -> 1.52.0

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
=
- Add pango_font_map_reload_font
- Improve formatting of font sizes

Signed-off-by: Wang Mingyu 
---
 .../recipes-graphics/pango/{pango_1.51.0.bb => pango_1.52.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/pango/{pango_1.51.0.bb => pango_1.52.0.bb} (94%)

diff --git a/meta/recipes-graphics/pango/pango_1.51.0.bb 
b/meta/recipes-graphics/pango/pango_1.52.0.bb
similarity index 94%
rename from meta/recipes-graphics/pango/pango_1.51.0.bb
rename to meta/recipes-graphics/pango/pango_1.52.0.bb
index 85a0270a3f..7505ff9279 100644
--- a/meta/recipes-graphics/pango/pango_1.51.0.bb
+++ b/meta/recipes-graphics/pango/pango_1.52.0.bb
@@ -23,7 +23,7 @@ SRC_URI += "file://run-ptest \
file://0001-Skip-running-test-layout-test.patch \
"
 
-SRC_URI[archive.sha256sum] = 
"74efc109ae6f903bbe6af77eaa2ac6094b8ee245a2e23f132a7a8f0862d1a9f5"
+SRC_URI[archive.sha256sum] = 
"1ec8518879c3f43224499f08e8ecbbdf4a5d302ed6cd3853b4fa949f82b89a9b"
 
 DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo 
harfbuzz fribidi"
 
-- 
2.34.1


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



[OE-core] [PATCH 24/48] minicom: upgrade 2.8 -> 2.9

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

0001-fix-minicom-h-v-return-value-is-not-0.patch
allow.to.disable.lockdev.patch
removed since they're included in 2.9.

Changelog:

 - Change Hardware Flow Control Default to No.
 - Timestamping mode is now saved and restored.
 - Split "Screen and Keyboard" menu into two menus.
 - Update to gettext-0.21.
 - Change return values of --help and --version to success.
 - Support higher baud rates on MacOS
 - Save character send delay to config file
 - Save newline send delay to config file
 - Update translations: Romanian, German, French, Norwegian/Bookmal, Polish,
Serbian, Swedish
 - New translation: Georgian, Korean

Signed-off-by: Wang Mingyu 
---
 ...ix-minicom-h-v-return-value-is-not-0.patch | 33 ---
 .../minicom/allow.to.disable.lockdev.patch| 30 -
 .../{minicom_2.8.bb => minicom_2.9.bb}|  7 ++--
 3 files changed, 2 insertions(+), 68 deletions(-)
 delete mode 100644 
meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch
 delete mode 100644 
meta/recipes-extended/minicom/minicom/allow.to.disable.lockdev.patch
 rename meta/recipes-extended/minicom/{minicom_2.8.bb => minicom_2.9.bb} (80%)

diff --git 
a/meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch
 
b/meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch
deleted file mode 100644
index 9e67126f3e..00
--- 
a/meta/recipes-extended/minicom/minicom/0001-fix-minicom-h-v-return-value-is-not-0.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Exit normally for help/verison options
-
-If -v or -h is used for the help/version information, it is a normal exit 
situation,
-not an error condition. Sometimes these are used as a simple operation test of 
the
-resulting binary so the exit code does matter.
-
-Signed-off-by: Richard Purdie 
-Upstream-Status: Submitted 
[https://salsa.debian.org/minicom-team/minicom/-/merge_requests/14]

- src/minicom.c |6 ++
- 1 file changed, 2 insertions(+), 4 deletions(-)
-
-Index: minicom-2.8/src/minicom.c
-===
 minicom-2.8.orig/src/minicom.c
-+++ minicom-2.8/src/minicom.c
-@@ -1257,14 +1257,14 @@ int main(int argc, char **argv)
-  "modify it under the terms of the GNU General Public 
License\n"
-  "as published by the Free Software Foundation; either 
version\n"
-  "2 of the License, or (at your option) any later 
version.\n\n"));
--  exit(1);
-+  exit(0);
-   break;
- case 's': /* setup mode */
-   dosetup = 1;
-   break;
- case 'h':
-   helpthem();
--  exit(1);
-+  exit(0);
-   break;
- case 'p': /* Pseudo terminal to use. */
-   if (strncmp(optarg, "/dev/", 5) == 0)
diff --git 
a/meta/recipes-extended/minicom/minicom/allow.to.disable.lockdev.patch 
b/meta/recipes-extended/minicom/minicom/allow.to.disable.lockdev.patch
deleted file mode 100644
index 39dc5c0492..00
--- a/meta/recipes-extended/minicom/minicom/allow.to.disable.lockdev.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-configure: Allow lockdev to be disabled
-
-When the pkgconfig dependencies may be present, it is useful to be
-able to explictly disable the lockdev dependency. This adds such an
-option.
-
-Signed-off-by: Martin Jansa 
-Signed-off-by: Richard Purdie 
-
-Upstream-Status: Submitted 
[https://salsa.debian.org/minicom-team/minicom/-/merge_requests/14]
-
-Index: minicom-2.8/configure.ac
-===
 minicom-2.8.orig/configure.ac
-+++ minicom-2.8/configure.ac
-@@ -43,7 +43,13 @@ if test "x$enable_socket" = xyes; then
- fi
- 
- PKG_PROG_PKG_CONFIG
--if test -n "$PKG_CONFIG"; then
-+
-+AC_ARG_ENABLE([lockdev],
-+AS_HELP_STRING([--enable-lockdev],
-+   [Enable lockdev support (def: enabled)]),
-+[], [enable_lockdev="yes"])
-+
-+if test -n "$PKG_CONFIG" && test "x$enable_lockdev" = xyes; then
-   PKG_CHECK_MODULES([LOCKDEV], [lockdev], 
AC_DEFINE([HAVE_LOCKDEV],[1],[Define if you have lockdev]),[:])
- fi
- 
diff --git a/meta/recipes-extended/minicom/minicom_2.8.bb 
b/meta/recipes-extended/minicom/minicom_2.9.bb
similarity index 80%
rename from meta/recipes-extended/minicom/minicom_2.8.bb
rename to meta/recipes-extended/minicom/minicom_2.9.bb
index 2640c6b057..907d5c79c9 100644
--- a/meta/recipes-extended/minicom/minicom_2.8.bb
+++ b/meta/recipes-extended/minicom/minicom_2.9.bb
@@ -7,12 +7,9 @@ LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=420477abc567404debca0a2a1cb6b645 \
 
file://src/minicom.h;beginline=1;endline=12;md5=a58838cb709f0db517f4e42730c49e81"
 
-SRC_URI = "${DEBIAN_MIRROR}/main/m/${BPN}/${BPN}_${PV}.orig.tar.bz2 \
-   file://allow.to.disable.lockdev.patch \
-   

[OE-core] [PATCH 23/48] makedepend: upgrade 1.0.8 -> 1.0.9

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 .../xorg-util/{makedepend_1.0.8.bb => makedepend_1.0.9.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-util/{makedepend_1.0.8.bb => 
makedepend_1.0.9.bb} (88%)

diff --git a/meta/recipes-graphics/xorg-util/makedepend_1.0.8.bb 
b/meta/recipes-graphics/xorg-util/makedepend_1.0.9.bb
similarity index 88%
rename from meta/recipes-graphics/xorg-util/makedepend_1.0.8.bb
rename to meta/recipes-graphics/xorg-util/makedepend_1.0.9.bb
index ad769de205..6db7d04079 100644
--- a/meta/recipes-graphics/xorg-util/makedepend_1.0.8.bb
+++ b/meta/recipes-graphics/xorg-util/makedepend_1.0.9.bb
@@ -17,4 +17,4 @@ BBCLASSEXTEND = "native"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=43a6eda34b48ee821b3b66f4f753ce4f"
 
-SRC_URI[sha256sum] = 
"275f0d2b196bfdc740aab9f02bb48cb7a97e4dfea011a7b468ed5648d0019e54"
+SRC_URI[sha256sum] = 
"bc94ffda6cd4671603a69c39dbe8f96b317707b9185b2aaa3b54b5d134b41884"
-- 
2.34.1


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



[OE-core] [PATCH 26/48] ofono: upgrade 2.3 -> 2.4

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:

-Add support for new provision database format.
-Add support for Quectel EG96 modem.

Signed-off-by: Wang Mingyu 
---
 meta/recipes-connectivity/ofono/{ofono_2.3.bb => ofono_2.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-connectivity/ofono/{ofono_2.3.bb => ofono_2.4.bb} (95%)

diff --git a/meta/recipes-connectivity/ofono/ofono_2.3.bb 
b/meta/recipes-connectivity/ofono/ofono_2.4.bb
similarity index 95%
rename from meta/recipes-connectivity/ofono/ofono_2.3.bb
rename to meta/recipes-connectivity/ofono/ofono_2.4.bb
index db5c8173de..dae5cc3c25 100644
--- a/meta/recipes-connectivity/ofono/ofono_2.3.bb
+++ b/meta/recipes-connectivity/ofono/ofono_2.4.bb
@@ -13,7 +13,7 @@ SRC_URI = "\
 file://0001-mbim-add-an-optional-TEMP_FAILURE_RETRY-macro-copy.patch \
 file://0002-mbim-Fix-build-with-ell-0.39-by-restoring-unlikely-m.patch \
 "
-SRC_URI[sha256sum] = 
"658f9c16aec09c56bd36424982afc6ef292c0942b3a9e8ffefdda5974f01dac3"
+SRC_URI[sha256sum] = 
"93580adc1afd1890dc516efb069de0c5cdfef014415256ddfb28ab172df2d11d"
 
 inherit autotools pkgconfig update-rc.d systemd gobject-introspection-data
 
-- 
2.34.1


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



[OE-core] [PATCH 20/48] libxkbfile: upgrade 1.1.2 -> 1.1.3

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
===
-configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
-Set close-on-exec when opening files
-_XkbMakeAtom: remove check for impossible case
-_XkbInitAtoms: check for malloc() failure
-XkbChangeAtomDisplay: stop leaking atom name
-XkbCFReportError: avoid -Wformat-nonliteral warning
-XkbWriteCFile: stop leaking header file ifdef name
-DefaultParser: avoid -Wimplicit-fallthrough warnings
-xkbtext.c: Add tbGetBufferString helper function
-XkbIndentText: Fix -Wsign-compare warning
-Fix -Wsign-compare warnings in xkbtext.c & xkmread.c
-Add a meson build system

Signed-off-by: Wang Mingyu 
---
 .../xorg-lib/{libxkbfile_1.1.2.bb => libxkbfile_1.1.3.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-lib/{libxkbfile_1.1.2.bb => 
libxkbfile_1.1.3.bb} (81%)

diff --git a/meta/recipes-graphics/xorg-lib/libxkbfile_1.1.2.bb 
b/meta/recipes-graphics/xorg-lib/libxkbfile_1.1.3.bb
similarity index 81%
rename from meta/recipes-graphics/xorg-lib/libxkbfile_1.1.2.bb
rename to meta/recipes-graphics/xorg-lib/libxkbfile_1.1.3.bb
index 58dec8ae95..aab6284384 100644
--- a/meta/recipes-graphics/xorg-lib/libxkbfile_1.1.2.bb
+++ b/meta/recipes-graphics/xorg-lib/libxkbfile_1.1.3.bb
@@ -13,4 +13,4 @@ DEPENDS += "virtual/libx11 xorgproto"
 PE = "1"
 
 BBCLASSEXTEND = "native"
-SRC_URI[sha256sum] = 
"b8a3784fac420b201718047cfb6c2d5ee7e8b9481564c2667b4215f6616644b1"
+SRC_URI[sha256sum] = 
"a9b63eea997abb9ee6a8b4fbb515831c841f471af845a09de443b28003874bec"
-- 
2.34.1


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



[OE-core] [PATCH 22/48] lighttpd: upgrade 1.4.73 -> 1.4.74

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
 http://www.lighttpd.net/2024/2/19/1.4.74/

Signed-off-by: Wang Mingyu 
---
 .../lighttpd/{lighttpd_1.4.73.bb => lighttpd_1.4.74.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/lighttpd/{lighttpd_1.4.73.bb => 
lighttpd_1.4.74.bb} (97%)

diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.73.bb 
b/meta/recipes-extended/lighttpd/lighttpd_1.4.74.bb
similarity index 97%
rename from meta/recipes-extended/lighttpd/lighttpd_1.4.73.bb
rename to meta/recipes-extended/lighttpd/lighttpd_1.4.74.bb
index ea83a4b507..7460d3d716 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.73.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.74.bb
@@ -16,7 +16,7 @@ SRC_URI = 
"http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t
file://lighttpd \
"
 
-SRC_URI[sha256sum] = 
"818816d0b314b0aa8728a7076513435f6d5eb227f3b61323468e1f10dbe84ca8"
+SRC_URI[sha256sum] = 
"5c08736e83088f7e019797159f306e88ec729abe976dc98fb3bed71b9d3e53b5"
 
 DEPENDS = "virtual/crypt"
 
-- 
2.34.1


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



[OE-core] [PATCH 21/48] libxvmc: upgrade 1.0.13 -> 1.0.14

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 .../xorg-lib/{libxvmc_1.0.13.bb => libxvmc_1.0.14.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-lib/{libxvmc_1.0.13.bb => libxvmc_1.0.14.bb} 
(85%)

diff --git a/meta/recipes-graphics/xorg-lib/libxvmc_1.0.13.bb 
b/meta/recipes-graphics/xorg-lib/libxvmc_1.0.14.bb
similarity index 85%
rename from meta/recipes-graphics/xorg-lib/libxvmc_1.0.13.bb
rename to meta/recipes-graphics/xorg-lib/libxvmc_1.0.14.bb
index d6d009831a..af18afc62d 100644
--- a/meta/recipes-graphics/xorg-lib/libxvmc_1.0.13.bb
+++ b/meta/recipes-graphics/xorg-lib/libxvmc_1.0.14.bb
@@ -16,4 +16,4 @@ PE = "1"
 
 XORG_PN = "libXvMC"
 
-SRC_URI[sha256sum] = 
"0a9ebe6dea7888a747e5aca1b891d53cd7d3a5f141a9645f77d9b6a12cee657c"
+SRC_URI[sha256sum] = 
"e4be9eb6b6bafdbbf81f47f7163047215376e45e2dc786d0ea6181c930725ed9"
-- 
2.34.1


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



[OE-core] [PATCH 19/48] libxext: upgrade 1.3.5 -> 1.3.6

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
===
-Wrap Xext*CheckExtension() in do { ... } while(0)
-configure: raise minimum autoconf requirement to 2.70
-configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
-_xgeGetExtensionVersion should not free info on failure
-Check for malloc failure in _xgeGetExtensionVersion
-_xgeDpyClose: handle NULL return from _xgeFindDisplay
-XEVI: fix -Walloc-size

Signed-off-by: Wang Mingyu 
---
 .../xorg-lib/{libxext_1.3.5.bb => libxext_1.3.6.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-lib/{libxext_1.3.5.bb => libxext_1.3.6.bb} 
(89%)

diff --git a/meta/recipes-graphics/xorg-lib/libxext_1.3.5.bb 
b/meta/recipes-graphics/xorg-lib/libxext_1.3.6.bb
similarity index 89%
rename from meta/recipes-graphics/xorg-lib/libxext_1.3.5.bb
rename to meta/recipes-graphics/xorg-lib/libxext_1.3.6.bb
index 7d0597ef1d..275926a885 100644
--- a/meta/recipes-graphics/xorg-lib/libxext_1.3.5.bb
+++ b/meta/recipes-graphics/xorg-lib/libxext_1.3.6.bb
@@ -21,4 +21,4 @@ PE = "1"
 XORG_PN = "libXext"
 BBCLASSEXTEND = "native nativesdk"
 
-SRC_URI[sha256sum] = 
"db14c0c895c57ea33a8559de8cb2b93dc76c42ea4a39e294d175938a133d7bca"
+SRC_URI[sha256sum] = 
"edb59fa23994e405fdc5b400afdf5820ae6160b94f35e3dc3da4457a16e89753"
-- 
2.34.1


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



[OE-core] [PATCH 15/48] libpng: upgrade 1.6.41 -> 1.6.42

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
 Fixed the implementation of the macro function png_check_sig().

Signed-off-by: Wang Mingyu 
---
 .../libpng/{libpng_1.6.41.bb => libpng_1.6.42.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/libpng/{libpng_1.6.41.bb => libpng_1.6.42.bb} 
(92%)

diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.41.bb 
b/meta/recipes-multimedia/libpng/libpng_1.6.42.bb
similarity index 92%
rename from meta/recipes-multimedia/libpng/libpng_1.6.41.bb
rename to meta/recipes-multimedia/libpng/libpng_1.6.42.bb
index 8c7529be9b..d84cb19151 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.41.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.42.bb
@@ -11,7 +11,7 @@ DEPENDS = "zlib"
 LIBV = "16"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/${BP}.tar.xz"
-SRC_URI[sha256sum] = 
"d6a49a7a4abca7e44f72542030e53319c081fea508daccf4ecc7c6d9958d190f"
+SRC_URI[sha256sum] = 
"c919dbc11f4c03b05aba3f8884d8eb7adfe3572ad228af972bb60057bdb48450"
 
 MIRRORS += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/ 
${SOURCEFORGE_MIRROR}/${BPN}/${BPN}${LIBV}/older-releases/"
 
-- 
2.34.1


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



[OE-core] [PATCH 18/48] liburi-perl: upgrade 5.25 -> 5.27

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
- Add missing NAME section to POD of URI::geo
- Add URI::geo

Signed-off-by: Wang Mingyu 
---
 .../perl/{liburi-perl_5.25.bb => liburi-perl_5.27.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/perl/{liburi-perl_5.25.bb => liburi-perl_5.27.bb} 
(94%)

diff --git a/meta/recipes-devtools/perl/liburi-perl_5.25.bb 
b/meta/recipes-devtools/perl/liburi-perl_5.27.bb
similarity index 94%
rename from meta/recipes-devtools/perl/liburi-perl_5.25.bb
rename to meta/recipes-devtools/perl/liburi-perl_5.27.bb
index 0305955524..e5db7b3cfe 100644
--- a/meta/recipes-devtools/perl/liburi-perl_5.25.bb
+++ b/meta/recipes-devtools/perl/liburi-perl_5.27.bb
@@ -12,7 +12,7 @@ SRC_URI = 
"${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \
file://0001-Skip-TODO-test-cases-that-fail.patch \
"
 
-SRC_URI[sha256sum] = 
"ef61941da09fff2503cea3692c4f2fc48c0e4442486e2a28345cb32d44d0d271"
+SRC_URI[sha256sum] = 
"11962d8a8a8496906e5d34774affc235a1c95c112d390c0b4171f3e91e9e2a97"
 
 S = "${WORKDIR}/URI-${PV}"
 
-- 
2.34.1


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



[OE-core] [PATCH 16/48] libsecret: upgrade 0.21.2 -> 0.21.4

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
 * file-backend: Subscribe before calling dbus
 * meson: Fix crypto option being silently ignored
 * Updated translations
 * Port PAM module from gnome-keyring
 * secret-tool: Fix memory issues in lock command

Signed-off-by: Wang Mingyu 
---
 .../libsecret/{libsecret_0.21.2.bb => libsecret_0.21.4.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-gnome/libsecret/{libsecret_0.21.2.bb => 
libsecret_0.21.4.bb} (91%)

diff --git a/meta/recipes-gnome/libsecret/libsecret_0.21.2.bb 
b/meta/recipes-gnome/libsecret/libsecret_0.21.4.bb
similarity index 91%
rename from meta/recipes-gnome/libsecret/libsecret_0.21.2.bb
rename to meta/recipes-gnome/libsecret/libsecret_0.21.4.bb
index 2d8ea952c5..88c3c73510 100644
--- a/meta/recipes-gnome/libsecret/libsecret_0.21.2.bb
+++ b/meta/recipes-gnome/libsecret/libsecret_0.21.4.bb
@@ -13,7 +13,7 @@ inherit gnomebase gi-docgen vala gobject-introspection 
manpages
 
 DEPENDS += "glib-2.0 libgcrypt gettext-native"
 
-SRC_URI[archive.sha256sum] = 
"e4a341496a0815e64c8d3b8fabab33d7bae7efdeab77b843669731d5b181dcee"
+SRC_URI[archive.sha256sum] = 
"163d08d783be6d4ab9a979ceb5a4fecbc1d9660d3c34168c581301cd53912b20"
 
 GTKDOC_MESON_OPTION = 'gtk_doc'
 
-- 
2.34.1


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



[OE-core] [PATCH 17/48] libunistring: upgrade 1.1 -> 1.2

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

License-Update:
===
doc/libunistring.texi (Conventions):
 Explain the (resultbuf, lengthp) return value convention from the user's point 
of view.
doc/libunistring.texi (Include files):
 Fix documentation of _LIBUNISTRING_VERSION and _libunistring_version 
(incorrect since 2010-05-14).
 Add documentation of _libunistring_unicode_version.

Changelog:
=
* The data tables and algorithms have been updated to Unicode version 15.1.0.
* New functions u8_pcpy, u16_pcpy, u32_pcpy, similar to mempcpy.
* New functions uc_indic_conjunct_break_name, uc_indic_conjunct_break_byname,
  uc_indic_conjunct_break.
* New functions
uc_is_property_prepended_concatenation_mark,
uc_is_property_id_compat_math_start, uc_is_property_id_compat_math_continue,
uc_is_property_ids_unary_operator
  and new constants
UC_PROPERTY_PREPENDED_CONCATENATION_MARK,
UC_PROPERTY_ID_COMPAT_MATH_START, UC_PROPERTY_ID_COMPAT_MATH_CONTINUE,
UC_PROPERTY_IDS_UNARY_OPERATOR.
* New constant _libunistring_unicode_version.
* The UTF-8 decoder functions, especially u8_mbtouc, are now more Unicode
  Standard compliant.
* The *printf functions no longer support the %n directive, for security
  reasons.
* Fixed a bug in the *printf functions: In the %U, %lU, %llU directives, a
  negative width given as an argument did not trigger left-justification.
* The functions u16_strstr and u32_strstr now operate in worst-case linear
  time.

Signed-off-by: Wang Mingyu 
---
 .../{libunistring_1.1.bb => libunistring_1.2.bb}| 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/libunistring/{libunistring_1.1.bb => 
libunistring_1.2.bb} (85%)

diff --git a/meta/recipes-support/libunistring/libunistring_1.1.bb 
b/meta/recipes-support/libunistring/libunistring_1.2.bb
similarity index 85%
rename from meta/recipes-support/libunistring/libunistring_1.1.bb
rename to meta/recipes-support/libunistring/libunistring_1.2.bb
index 009707a54a..3018dbfdfb 100644
--- a/meta/recipes-support/libunistring/libunistring_1.1.bb
+++ b/meta/recipes-support/libunistring/libunistring_1.2.bb
@@ -16,12 +16,12 @@ SECTION = "devel"
 LICENSE = "LGPL-3.0-or-later | GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
 
file://README;beginline=45;endline=65;md5=3a896a943b4da2c551e6be1af27eff8d \
-
file://doc/libunistring.texi;md5=266e4297d7c18f197be3d9622ba99685 \
-   "
+
file://doc/libunistring.texi;md5=36b7d20daef7fbcc032333ae2429aa94 \
+"
 DEPENDS = "gperf-native"
 
 SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz"
-SRC_URI[sha256sum] = 
"a2252beeec830ac444b9f68d6b38ad883db19919db35b5cf827c385bdb6a"
+SRC_URI[sha256sum] = 
"fd6d5662fa706487c48349a758b57bc149ce94ec6c30624ec9fdc473ceabbc8e"
 
 inherit autotools texinfo
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



[OE-core] [PATCH 14/48] libpcre2: upgrade 10.42 -> 10.43

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

License-Update: Copyright year updated to 2024.

Changelog:

* The JIT code no longer supports ARMv5 architecture.
* A new function pcre2_get_match_data_heapframes_size() for finer heap control.
* New option flags to restrict the interaction between ASCII and non-ASCII
  characters for caseless matching and \d and friends. There are also new
  pattern constructs to control these flags from within a pattern.
* Upgrade to Unicode 15.0.0.
* Treat a NULL pattern with zero length as an empty string.
* Added support for limited-length variable-length lookbehind assertions, with
  a default maximum length of 255 characters (same as Perl) but with a function
  to adjust the limit.
* Support for LoongArch in JIT.
* Perl changed the meaning of (for example) {,3} which did not used to be
  recognized as a quantifier. Now it means {0,3} and PCRE2 has also changed.
  Note that {,} is still not a quantifier.
* Following Perl, allow spaces and tabs after { and before } in all Perl-
  compatible items that use braces, and also around commas in quantifiers. The
  one exception in PCRE2 is \u{...}, which is from ECMAScript, not Perl, and
  PCRE2 follows ECMAScript usage.
* Changed the meaning of \w and its synonyms and derivatives (\b and \B) in UCP
  mode to follow Perl. It now matches characters whose general categories are L
  or N or whose particular categories are Mn (non-spacing mark) or Pc
  (combining punctuation).
* Changed the default meaning of [:xdigit:] in UCP mode to follow Perl. It now
  matches the "fullwidth" versions of hex digits. PCRE2_EXTRA_ASCII_DIGIT can
  be used to keep it ASCII only.
* Make PCRE2_UCP the default in UTF mode in pcre2grep and add -no_ucp,
  --case-restrict and --posix-digit.
* Add --group-separator and --no-group-separator to pcre2grep.

Signed-off-by: Wang Mingyu 
---
 .../libpcre/{libpcre2_10.42.bb => libpcre2_10.43.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libpcre/{libpcre2_10.42.bb => libpcre2_10.43.bb} 
(92%)

diff --git a/meta/recipes-support/libpcre/libpcre2_10.42.bb 
b/meta/recipes-support/libpcre/libpcre2_10.43.bb
similarity index 92%
rename from meta/recipes-support/libpcre/libpcre2_10.42.bb
rename to meta/recipes-support/libpcre/libpcre2_10.43.bb
index f471b3f90a..fd0bd79212 100644
--- a/meta/recipes-support/libpcre/libpcre2_10.42.bb
+++ b/meta/recipes-support/libpcre/libpcre2_10.43.bb
@@ -8,14 +8,14 @@ SUMMARY = "Perl Compatible Regular Expressions version 2"
 HOMEPAGE = "http://www.pcre.org;
 SECTION = "devel"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENCE;md5=41bfb977e4933c506588724ce69bf5d2"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=321a5eb46acae6b6c1ff2c7a866d836a"
 
 SRC_URI = "${GITHUB_BASE_URI}/download/pcre2-${PV}/pcre2-${PV}.tar.bz2"
 
 GITHUB_BASE_URI = "https://github.com/PhilipHazel/pcre2/releases;
 UPSTREAM_CHECK_REGEX = "releases/tag/pcre2-(?P\d+(\.\d+)+)$"
 
-SRC_URI[sha256sum] = 
"8d36cd8cb6ea2a4c2bb358ff6411b0c788633a2a45dabbf1aeb4b701d1b5e840"
+SRC_URI[sha256sum] = 
"e2a53984ff0b07dfdb5ae4486bbb9b21cca8e7df2434096cc9bf1b728c350bcb"
 
 CVE_PRODUCT = "pcre2"
 
-- 
2.34.1


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



[OE-core] [PATCH 13/48] libmicrohttpd: upgrade 0.9.77 -> 1.0.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
  fixes and improves builds with non-default configure parameters.

Signed-off-by: Wang Mingyu 
---
 .../{libmicrohttpd_0.9.77.bb => libmicrohttpd_1.0.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libmicrohttpd/{libmicrohttpd_0.9.77.bb => 
libmicrohttpd_1.0.1.bb} (90%)

diff --git a/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.77.bb 
b/meta/recipes-support/libmicrohttpd/libmicrohttpd_1.0.1.bb
similarity index 90%
rename from meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.77.bb
rename to meta/recipes-support/libmicrohttpd/libmicrohttpd_1.0.1.bb
index 792ac24726..0628ee71b5 100644
--- a/meta/recipes-support/libmicrohttpd/libmicrohttpd_0.9.77.bb
+++ b/meta/recipes-support/libmicrohttpd/libmicrohttpd_1.0.1.bb
@@ -7,7 +7,7 @@ SECTION = "net"
 DEPENDS = "file"
 
 SRC_URI = "${GNU_MIRROR}/libmicrohttpd/${BPN}-${PV}.tar.gz"
-SRC_URI[sha256sum] = 
"9e7023a151120060d2806a6ea4c13ca9933ece4eacfc5c9464d20edddb76b0a0"
+SRC_URI[sha256sum] = 
"a89e09fc9b4de34dde19f4fcb4faaa1ce10299b9908db1132bbfa1de47882b94"
 
 inherit autotools lib_package pkgconfig gettext
 
-- 
2.34.1


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



[OE-core] [PATCH 11/48] libhandy: upgrade 1.8.2 -> 1.8.3

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
- HdyStyleManager
  - Support contrast setting in the settings portal
  - Remove an extra unref
- Translation updates
  - Catalan
  - Georgian
  - Romanian
  - Turkish

Signed-off-by: Wang Mingyu 
---
 .../libhandy/{libhandy_1.8.2.bb => libhandy_1.8.3.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-gnome/libhandy/{libhandy_1.8.2.bb => libhandy_1.8.3.bb} 
(95%)

diff --git a/meta/recipes-gnome/libhandy/libhandy_1.8.2.bb 
b/meta/recipes-gnome/libhandy/libhandy_1.8.3.bb
similarity index 95%
rename from meta/recipes-gnome/libhandy/libhandy_1.8.2.bb
rename to meta/recipes-gnome/libhandy/libhandy_1.8.3.bb
index e863e8d13b..7f5f02a7ba 100644
--- a/meta/recipes-gnome/libhandy/libhandy_1.8.2.bb
+++ b/meta/recipes-gnome/libhandy/libhandy_1.8.3.bb
@@ -10,7 +10,7 @@ LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI = 
"git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-8"
-SRCREV = "48ae7ec0f7f9ee5f666da38b0e39e66874957166"
+SRCREV = "9b0071408ce86a3ef843806fddd723a85f6f2416"
 S = "${WORKDIR}/git"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+\.(\d*[02468])+(\.\d+))"
-- 
2.34.1


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



[OE-core] [PATCH 12/48] libksba: upgrade 1.6.5 -> 1.6.6

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
 Fix a possible wrong error return from the DER builder.

Signed-off-by: Wang Mingyu 
---
 .../libksba/{libksba_1.6.5.bb => libksba_1.6.6.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libksba/{libksba_1.6.5.bb => libksba_1.6.6.bb} 
(94%)

diff --git a/meta/recipes-support/libksba/libksba_1.6.5.bb 
b/meta/recipes-support/libksba/libksba_1.6.6.bb
similarity index 94%
rename from meta/recipes-support/libksba/libksba_1.6.5.bb
rename to meta/recipes-support/libksba/libksba_1.6.6.bb
index 62ba73d2d5..2230a032f6 100644
--- a/meta/recipes-support/libksba/libksba_1.6.5.bb
+++ b/meta/recipes-support/libksba/libksba_1.6.6.bb
@@ -24,7 +24,7 @@ UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html;
 SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
file://ksba-add-pkgconfig-support.patch"
 
-SRC_URI[sha256sum] = 
"a564628c574c99287998753f98d750babd91a4e9db451f46ad140466ef2a6d16"
+SRC_URI[sha256sum] = 
"5dec033d211559338838c0c4957c73dfdc3ee86f73977d6279640c9cd08ce6a4"
 
 do_configure:prepend () {
# Else these could be used in preference to those in aclocal-copy
-- 
2.34.1


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



[OE-core] [PATCH 10/48] libgpg-error: upgrade 1.47 -> 1.48

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

0001-Do-not-fail-when-testing-config-scripts.patch
refreshed for 1.48

Changelog:
===
 * New configure option --with-libtool-modification.
 * New option parser flag to detect commands given without a double
   dash.  There is also the new meta command "command-mode" to set
   this flag via a config file.
 * Added an es_fopen mode flag "sequential" with support on Windows.
 * Added an es_fopen mode flag "wipe" to cleanup internal buffers at
   close time.
 * New function gpgrt_wipememory.
 * Improvements to setenv on Windows.
 * Fixed call to estream-printf string filters.
 * Many improvements to the yat2m tool.
 * Updates to the build system.

Signed-off-by: Wang Mingyu 
---
 .../0001-Do-not-fail-when-testing-config-scripts.patch | 7 +++
 .../{libgpg-error_1.47.bb => libgpg-error_1.48.bb} | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)
 rename meta/recipes-support/libgpg-error/{libgpg-error_1.47.bb => 
libgpg-error_1.48.bb} (95%)

diff --git 
a/meta/recipes-support/libgpg-error/libgpg-error/0001-Do-not-fail-when-testing-config-scripts.patch
 
b/meta/recipes-support/libgpg-error/libgpg-error/0001-Do-not-fail-when-testing-config-scripts.patch
index ee3147f3df..d72838bb05 100644
--- 
a/meta/recipes-support/libgpg-error/libgpg-error/0001-Do-not-fail-when-testing-config-scripts.patch
+++ 
b/meta/recipes-support/libgpg-error/libgpg-error/0001-Do-not-fail-when-testing-config-scripts.patch
@@ -1,4 +1,4 @@
-From a45989a64af20ef6a9f7c1552f19bba116e7cd0a Mon Sep 17 00:00:00 2001
+From 75622f8b21459eb556b36edc3537fdaded7f04bf Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Fri, 28 Feb 2020 09:19:56 +
 Subject: [PATCH] Do not fail when testing config scripts
@@ -9,16 +9,15 @@ failure is due to that.
 
 Upstream-Status: Inappropriate [oe-core specific]
 Signed-off-by: Alexander Kanavin 
-
 ---
  src/Makefile.am | 1 -
  1 file changed, 1 deletion(-)
 
 diff --git a/src/Makefile.am b/src/Makefile.am
-index c61adde..1b8b4ff 100644
+index 9389e99..6ded263 100644
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
-@@ -323,6 +323,5 @@ gpg-error-config: gpgrt-config gpg-error-config-old 
gpg-error-config-test.sh
+@@ -324,6 +324,5 @@ gpg-error-config: gpgrt-config gpg-error-config-old 
gpg-error-config-test.sh
else   \
  echo "no";   \
  echo "***  Please report to  with 
gpg-error-config-test.log"; \
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.47.bb 
b/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
similarity index 95%
rename from meta/recipes-support/libgpg-error/libgpg-error_1.47.bb
rename to meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
index 0f35fd95b2..9f2b49209d 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.47.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.48.bb
@@ -20,7 +20,7 @@ SRC_URI = 
"${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
file://run-ptest \
"
 
-SRC_URI[sha256sum] = 
"9e3c670966b96ecc746c28c2c419541e3bcb787d1a73930f5e5f5e1bcbbb9bdb"
+SRC_URI[sha256sum] = 
"89ce1ae893e122924b858de84dc4f67aae29ffa610ebf668d5aa539045663d6f"
 
 BINCONFIG = "${bindir}/gpg-error-config"
 
-- 
2.34.1


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



[OE-core] [PATCH 07/48] gcr: upgrade 4.1.0 -> 4.2.0

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
- gcr-ssh-agent: add command line options to gcr-ssh-agent [GNOME/gcr!129]
- gcr-ssh-agent: Fix memory leak spotted by ASan [GNOME/gcr!133]
- gcr-ssh-agent: Port memory safety fixes from gnome-keyring ssh-agent 
[GNOME/gcr!128]
- Updated translations

Signed-off-by: Wang Mingyu 
---
 meta/recipes-gnome/gcr/{gcr_4.1.0.bb => gcr_4.2.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-gnome/gcr/{gcr_4.1.0.bb => gcr_4.2.0.bb} (95%)

diff --git a/meta/recipes-gnome/gcr/gcr_4.1.0.bb 
b/meta/recipes-gnome/gcr/gcr_4.2.0.bb
similarity index 95%
rename from meta/recipes-gnome/gcr/gcr_4.1.0.bb
rename to meta/recipes-gnome/gcr/gcr_4.2.0.bb
index 399f327e04..c534e22f0a 100644
--- a/meta/recipes-gnome/gcr/gcr_4.1.0.bb
+++ b/meta/recipes-gnome/gcr/gcr_4.2.0.bb
@@ -20,7 +20,7 @@ inherit gnomebase gtk-icon-cache gi-docgen features_check 
vala gobject-introspec
 
 REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 
'opengl', '', d)}"
 
-SRC_URI[archive.sha256sum] = 
"9ceaad29284ba919b9216e2888c18ec67240c2c93b3a4856bc5488bbc1f3a383"
+SRC_URI[archive.sha256sum] = 
"e15e31329e0171229d552d25563f176c5b6179795bf91fae2b141f69a9b7c480"
 
 PACKAGECONFIG ??= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
-- 
2.34.1


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



[OE-core] [PATCH 08/48] git: upgrade 2.43.0 -> 2.44.0

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.44.0.txt

Signed-off-by: Wang Mingyu 
---
 meta/recipes-devtools/git/{git_2.43.0.bb => git_2.44.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/git/{git_2.43.0.bb => git_2.44.0.bb} (98%)

diff --git a/meta/recipes-devtools/git/git_2.43.0.bb 
b/meta/recipes-devtools/git/git_2.44.0.bb
similarity index 98%
rename from meta/recipes-devtools/git/git_2.43.0.bb
rename to meta/recipes-devtools/git/git_2.44.0.bb
index f913290081..e6d1470873 100644
--- a/meta/recipes-devtools/git/git_2.43.0.bb
+++ b/meta/recipes-devtools/git/git_2.44.0.bb
@@ -160,4 +160,4 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
  "
 EXTRA_OEMAKE += "NO_GETTEXT=1"
 
-SRC_URI[tarball.sha256sum] = 
"ed238f5c72a014f238cc49fe7df4c6883732a388b381c105e2c5be77302f"
+SRC_URI[tarball.sha256sum] = 
"f9e36f085458fe9688fbbe7846b8c4770b13d161fcd8953655f36b2b85f06b76"
-- 
2.34.1


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



[OE-core] [PATCH 09/48] libffi: upgrade 3.4.5 -> 3.4.6

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

meta/recipes-support/libffi/libffi/not-win32.patch
refreshed for 3.4.6

Changelog:
===
-chore: update version to 3.4.6 and fix long double regression on mips64 and 
alpha
-Update sparc64 host
-Update cfarm hostnames
-Always define long double types
-update copyright year in libffi.texi
-Update version, copyright and testsuite info
-Fix test filename reference

Signed-off-by: Wang Mingyu 
---
 meta/recipes-support/libffi/libffi/not-win32.patch | 7 +++
 .../libffi/{libffi_3.4.5.bb => libffi_3.4.6.bb}| 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)
 rename meta/recipes-support/libffi/{libffi_3.4.5.bb => libffi_3.4.6.bb} (94%)

diff --git a/meta/recipes-support/libffi/libffi/not-win32.patch 
b/meta/recipes-support/libffi/libffi/not-win32.patch
index 38f9b0025c..f4ed839ed8 100644
--- a/meta/recipes-support/libffi/libffi/not-win32.patch
+++ b/meta/recipes-support/libffi/libffi/not-win32.patch
@@ -1,4 +1,4 @@
-From 20bc4e03442e15965ae3907013e9a177878f0323 Mon Sep 17 00:00:00 2001
+From be9d4cc110c159812699780348686da371296b94 Mon Sep 17 00:00:00 2001
 From: Ross Burton 
 Date: Thu, 4 Feb 2016 16:22:50 +
 Subject: [PATCH] libffi: ensure sysroot paths are not in libffi.pc
@@ -15,16 +15,15 @@ As this block is generally pointless, disable it.
 
 Upstream-Status: Inappropriate
 Signed-off-by: Ross Burton 
-
 ---
  configure.ac | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index 7e8cd98..cf37e88 100644
+index 816bfd6..e37c5a8 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -405,7 +405,7 @@ AC_ARG_ENABLE(multi-os-directory,
+@@ -401,7 +401,7 @@ AC_ARG_ENABLE(multi-os-directory,
  
  # These variables are only ever used when we cross-build to X86_WIN32.
  # And we only support this with GCC, so...
diff --git a/meta/recipes-support/libffi/libffi_3.4.5.bb 
b/meta/recipes-support/libffi/libffi_3.4.6.bb
similarity index 94%
rename from meta/recipes-support/libffi/libffi_3.4.5.bb
rename to meta/recipes-support/libffi/libffi_3.4.6.bb
index be96c894e2..a6857a3981 100644
--- a/meta/recipes-support/libffi/libffi_3.4.5.bb
+++ b/meta/recipes-support/libffi/libffi_3.4.6.bb
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=1db54c9fd307a12218766c3c7f650ca7"
 SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \
file://not-win32.patch \
"
-SRC_URI[sha256sum] = 
"96fff4e589e3b239d888d9aa44b3ff30693c2ba1617f953925a70ddebcc102b2"
+SRC_URI[sha256sum] = 
"b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e"
 
 EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp"
 EXTRA_OECONF:class-native += "--with-gcc-arch=generic"
-- 
2.34.1


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



[OE-core] [PATCH 03/48] createrepo-c: upgrade 1.0.3 -> 1.0.4

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 .../{createrepo-c_1.0.3.bb => createrepo-c_1.0.4.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/createrepo-c/{createrepo-c_1.0.3.bb => 
createrepo-c_1.0.4.bb} (96%)

diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.3.bb 
b/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.4.bb
similarity index 96%
rename from meta/recipes-devtools/createrepo-c/createrepo-c_1.0.3.bb
rename to meta/recipes-devtools/createrepo-c/createrepo-c_1.0.4.bb
index cfd406650c..f498bcb655 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.3.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.4.bb
@@ -9,7 +9,7 @@ SRC_URI = 
"git://github.com/rpm-software-management/createrepo_c;branch=master;p
file://0001-include-rpm-rpmstring.h.patch \
"
 
-SRCREV = "f5b5cb3d7389da979b9f05d72ab13979a8c2dccf"
+SRCREV = "4ade5ea5c4c636f045f29a2d8d8a57241fc5d24e"
 
 S = "${WORKDIR}/git"
 
-- 
2.34.1


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



[OE-core] [PATCH 06/48] efivar: upgrade 38 -> 39

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
-Add -T workaround for GNU ld 2.36
-Add extern "C" to headers for easier use by C++
-Avoid format error on i686
-Fix the -march issue for riscv64
-Fix musl build
-Fix invalid free in main()
-Remove deprecated --add-needed linker flag
-src/Makefile: build util.c separately for makeguids
-Adjust dependency for libefivar and libefiboot objects
-Set LC_ALL=C to force English output from ld
-LLD: fix detection and remove not needed workarounds
-Fix glibc 2.36 build (mount.h conflicts)
-File device paths: don't print "File(" or ")"
-Use off_t instead of off64_t
-Revamp efi_well_known_* variable handling
-Allow overriding PKG_CONFIG
-Allow passing of hex values to -A
-Allow -a to create a non-existent variable
-make: add option to disable building/installing the docs
-esl-iter.h: fix type declaration of return value for gcc-13
-Minor code updates
-src/Makefile: do not override LIBS and CFLAGS for prerequisites
-linux: handle non-ACPI systems in device_get()
-Change set data to be const.
-dp.h: check _ucs2size in format_ucs2()
-Fix wrong if condition in efi_variable_get_data
-Make README statement match license
-Remove needless access() in efivarfs_probe()

Signed-off-by: Wang Mingyu 
---
 meta/recipes-bsp/efivar/{efivar_38.bb => efivar_39.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-bsp/efivar/{efivar_38.bb => efivar_39.bb} (94%)

diff --git a/meta/recipes-bsp/efivar/efivar_38.bb 
b/meta/recipes-bsp/efivar/efivar_39.bb
similarity index 94%
rename from meta/recipes-bsp/efivar/efivar_38.bb
rename to meta/recipes-bsp/efivar/efivar_39.bb
index d88eb3fef5..aab319be91 100644
--- a/meta/recipes-bsp/efivar/efivar_38.bb
+++ b/meta/recipes-bsp/efivar/efivar_39.bb
@@ -10,7 +10,7 @@ COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
 SRC_URI = "git://github.com/rhinstaller/efivar.git;branch=main;protocol=https \
file://0001-docs-do-not-build-efisecdb-manpage.patch \
"
-SRCREV = "90e88b221e8bc60dc50f3246051369b8f580c0d0"
+SRCREV = "c47820c37ac26286559ec004de07d48d05f3308c"
 PV .= "+39+git"
 
 S = "${WORKDIR}/git"
-- 
2.34.1


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



[OE-core] [PATCH 05/48] ed: upgrade 1.20 -> 1.20.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
  io.c (write_file): Don't create missing intermediate directories.

Signed-off-by: Wang Mingyu 
---
 meta/recipes-extended/ed/{ed_1.20.bb => ed_1.20.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/ed/{ed_1.20.bb => ed_1.20.1.bb} (93%)

diff --git a/meta/recipes-extended/ed/ed_1.20.bb 
b/meta/recipes-extended/ed/ed_1.20.1.bb
similarity index 93%
rename from meta/recipes-extended/ed/ed_1.20.bb
rename to meta/recipes-extended/ed/ed_1.20.1.bb
index 07b04b..9ae53002c3 100644
--- a/meta/recipes-extended/ed/ed_1.20.bb
+++ b/meta/recipes-extended/ed/ed_1.20.1.bb
@@ -19,7 +19,7 @@ bindir = "${base_bindir}"
 SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz"
 UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/"
 
-SRC_URI[sha256sum] = 
"c6030defe6ae172f1687906d7354054c75a6a9130af319d4e73c50a91959c5a6"
+SRC_URI[sha256sum] = 
"b1a463b297a141f9876c4b1fcd01477f645cded92168090e9a35db2af4babbca"
 
 EXTRA_OEMAKE = "-e MAKEFLAGS="
 
-- 
2.34.1


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



[OE-core] [PATCH 04/48] dnf: upgrade 4.18.2 -> 4.19.0

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

Changelog:
==
-Do not load filelists metadata by default
-Disable deltarpm support
-Add a hint for user on transaction file dependency failure
-Fix failing API unit test on rawhide (RhBug:2261066)
-automatic: Use add_security_filters, not _update_security_filters

Signed-off-by: Wang Mingyu 
---
 meta/recipes-devtools/dnf/{dnf_4.18.2.bb => dnf_4.19.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/dnf/{dnf_4.18.2.bb => dnf_4.19.0.bb} (98%)

diff --git a/meta/recipes-devtools/dnf/dnf_4.18.2.bb 
b/meta/recipes-devtools/dnf/dnf_4.19.0.bb
similarity index 98%
rename from meta/recipes-devtools/dnf/dnf_4.18.2.bb
rename to meta/recipes-devtools/dnf/dnf_4.19.0.bb
index dc0c18be5e..784d7a94b3 100644
--- a/meta/recipes-devtools/dnf/dnf_4.18.2.bb
+++ b/meta/recipes-devtools/dnf/dnf_4.19.0.bb
@@ -19,7 +19,7 @@ SRC_URI = 
"git://github.com/rpm-software-management/dnf.git;branch=master;protoc
 
 SRC_URI:append:class-native = 
"file://0001-dnf-write-the-log-lock-to-root.patch"
 
-SRCREV = "1c43d0999178d492381ad0b43917ffd9c74016f8"
+SRCREV = "566a61f9d8a2830ac6dcc3a94c59224cef1c3d03"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"
 
 S = "${WORKDIR}/git"
-- 
2.34.1


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



[OE-core] [PATCH 02/48] ccache: upgrade 4.9 -> 4.9.1

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

License-Update: Copyright year updated to 2024.

Changelog:
==
- Improved detection of bad remote storage URLs gracefully. This also fixes
  crashes seen in ccache's own test suite. +
- Made caching completely disabled when modification of a source or include file
  is detected during ccache invocation. Previously this was only done for the
  direct mode. +
- Fixed a MSVC crash when using '/Zi' with many concurrent compilations. +
- Fixed a crash when '-arch' is the last compiler option. +

Signed-off-by: Wang Mingyu 
---
 .../ccache/{ccache_4.9.bb => ccache_4.9.1.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/ccache/{ccache_4.9.bb => ccache_4.9.1.bb} (82%)

diff --git a/meta/recipes-devtools/ccache/ccache_4.9.bb 
b/meta/recipes-devtools/ccache/ccache_4.9.1.bb
similarity index 82%
rename from meta/recipes-devtools/ccache/ccache_4.9.bb
rename to meta/recipes-devtools/ccache/ccache_4.9.1.bb
index 8550470e3f..0d447c4915 100644
--- a/meta/recipes-devtools/ccache/ccache_4.9.bb
+++ b/meta/recipes-devtools/ccache/ccache_4.9.1.bb
@@ -7,14 +7,14 @@ HOMEPAGE = "http://ccache.samba.org;
 SECTION = "devel"
 
 LICENSE = "GPL-3.0-or-later"
-LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=11b0b581dd56bbac4f5de214d47927ca"
+LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=9896d6f0aee4d89b9e5ff0afaae0af06"
 
 DEPENDS = "zstd"
 
 SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
file://0001-xxhash.h-Fix-build-with-gcc-12.patch \
"
-SRC_URI[sha256sum] = 
"866b2223d59333640f0e7a003cbb85b32d9ca3c9445bd9e3cf142942e69dd3ec"
+SRC_URI[sha256sum] = 
"12834ecaaaf2db069dda1d1d991f91c19e3274cc04a471af5b64195def17e90f"
 
 inherit cmake github-releases
 
-- 
2.34.1


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



[OE-core] [PATCH 01/48] bash-completion: upgrade 2.11 -> 2.12.0

2024-02-27 Thread wangmy via lists.openembedded.org
From: Wang Mingyu 

License-Update:
 docs(COPYING): use unmodified upstream license file

Changelog:
 https://github.com/scop/bash-completion/releases/tag/2.12.0

Signed-off-by: Wang Mingyu 
---
 .../{bash-completion_2.11.bb => bash-completion_2.12.0.bb}   | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-support/bash-completion/{bash-completion_2.11.bb => 
bash-completion_2.12.0.bb} (83%)

diff --git a/meta/recipes-support/bash-completion/bash-completion_2.11.bb 
b/meta/recipes-support/bash-completion/bash-completion_2.12.0.bb
similarity index 83%
rename from meta/recipes-support/bash-completion/bash-completion_2.11.bb
rename to meta/recipes-support/bash-completion/bash-completion_2.12.0.bb
index 19bc81619f..66f65f565c 100644
--- a/meta/recipes-support/bash-completion/bash-completion_2.11.bb
+++ b/meta/recipes-support/bash-completion/bash-completion_2.12.0.bb
@@ -8,14 +8,13 @@ HOMEPAGE = "https://github.com/scop/bash-completion;
 BUGTRACKER = "https://github.com/scop/bash-completion/issues;
 
 LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SECTION = "console/utils"
 
 SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BPN}-${PV}.tar.xz"
 
-SRC_URI[md5sum] = "2514c6772d0de6254758b98c53f91861"
-SRC_URI[sha256sum] = 
"73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac"
+SRC_URI[sha256sum] = 
"3eb05b1783c339ef59ed576afb0f678fa4ef49a6de8a696397df3148f8345af9"
 GITHUB_BASE_URI = "https://github.com/scop/bash-completion/releases;
 
 PARALLEL_MAKE = ""
-- 
2.34.1


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



Re: [OE-core] [PATCH 2/2] libexif: improve ptest packaging

2024-02-27 Thread Richard Purdie
On Tue, 2024-02-27 at 15:51 +, Ross Burton wrote:
> From: Ross Burton 
> 
> The NLS tests don't actually test anything useful and were not being ran
> anyway, so don't install them.
> 
> Install the test binaries using libtool so that we install the actual
> binaries instead of libtool wrapper scripts.  This means that if we also
> tell the Makefile to use /bin/sh there's no need to RDEPEND on bash.
> 
> Signed-off-by: Ross Burton 
> ---
>  meta/recipes-support/libexif/libexif/run-ptest |  2 +-
>  meta/recipes-support/libexif/libexif_0.6.24.bb | 14 --
>  2 files changed, 5 insertions(+), 11 deletions(-)

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6617

Lots of QA errors/warnings from this :(

Cheers,

Richard


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



[OE-core] [RFC PATCH 0/1] package.bbclass: Expose list of split out debug files

2024-02-27 Thread Philip Lorenz
With the introduction of debuginfod ([1]), providing debug symbols to
developers has been greatly simplified. Initial support for spawning a
debuginfod server is already available as part of poky.

However, this relies on debuginfod scraping the debug packages for their
build IDs. This is not only inefficient (as all packages need to be
extracted again), but it also does not scale well when covering a large
number of builds.

To mitigate this, we are currently working on an approach to extract the
metadata needed to provide debug symbols as part of the bitbake build.
This metadata includes the mapping of the GNU build ID to the package
holding the debug symbol. The metadata will be treated as another build
artifact and can be consumed by a daemon implementing the debuginfod
HTTP API to serve debug symbol file requests from the package feed
produced by the bitbake build.

Initially, we considered implementing the generation of debug metadata
directly as part of emit_pkgdata() in package.bbclass (disabled by
default). However, we discarded this idea as introducing a configuration
option would increase maintenance effort for a feature that would
potentially only be enabled in very few builds.  Instead, we opted to
extend package.bbclass to expose the minimal information needed to
reliably identify debug symbol files, which can then be consumed by a
packaging hook.

Is this extension something that is viable to be merged? We are
considering open-sourcing the other parts needed to implement the setup
described above, but as those parts are still in the prototyping phase,
it will require some more time.

[1] https://sourceware.org/elfutils/Debuginfod.html

Philip Lorenz (1):
  package.bbclass: Expose list of split out debug files

 meta/classes-global/package.bbclass |  4 
 meta/lib/oe/package.py  | 19 ++-
 2 files changed, 14 insertions(+), 9 deletions(-)

-- 
2.43.2


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



[OE-core] [RFC PATCH 1/1] package.bbclass: Expose list of split out debug files

2024-02-27 Thread Philip Lorenz
A packaging hook installed via PACKAGEFUNCS may want to access the list
of debug symbol files produced during packaging.

Correctly determining the list of debug files based on existing
variables is non-trivial, so this patch introduces the PKGDEBUGFILES
variable which holds the path to all files generated during stripping.

Signed-off-by: Philip Lorenz 
---
 meta/classes-global/package.bbclass |  4 
 meta/lib/oe/package.py  | 19 ++-
 2 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/meta/classes-global/package.bbclass 
b/meta/classes-global/package.bbclass
index aa1eb5e901..f2d358459f 100644
--- a/meta/classes-global/package.bbclass
+++ b/meta/classes-global/package.bbclass
@@ -67,6 +67,10 @@ PACKAGE_DEPENDS += "rpm-native dwarfsrcfiles-native"
 # tools at rootfs build time.
 PACKAGE_WRITE_DEPS ??= ""
 
+# List of files containing debug symbols. The paths are rooted at their
+# destination path (e.g. /usr/lib/.debug instead of ${PKGD}/usr/lib/.debug)
+PKGDEBUGFILES = ""
+
 def legitimize_package_name(s):
 return oe.package.legitimize_package_name(s)
 
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
index 587810bdaf..921a958ed1 100644
--- a/meta/lib/oe/package.py
+++ b/meta/lib/oe/package.py
@@ -781,7 +781,7 @@ def splitdebuginfo(file, dvar, dv, d):
 # target system binary, the other contains any debugging information. The
 # two files are linked to reference each other.
 #
-# return a mapping of files:debugsources
+# return a mapping of files:debugfile:debugsources
 
 src = file[len(dvar):]
 dest = dv["libdir"] + os.path.dirname(src) + dv["dir"] + "/" + 
os.path.basename(src) + dv["append"]
@@ -791,7 +791,7 @@ def splitdebuginfo(file, dvar, dv, d):
 if file.endswith(".ko") and file.find("/lib/modules/") != -1:
 if oe.package.is_kernel_module_signed(file):
 bb.debug(1, "Skip strip on signed module %s" % file)
-return (file, sources)
+return (file, file, sources)
 
 # Split the file...
 bb.utils.mkdirhier(os.path.dirname(debugfile))
@@ -821,7 +821,7 @@ def splitdebuginfo(file, dvar, dv, d):
 if newmode:
 os.chmod(file, origmode)
 
-return (file, sources)
+return (file, debugfile, sources)
 
 def splitstaticdebuginfo(file, dvar, dv, d):
 # Unlike the function above, there is no way to split a static library
@@ -830,7 +830,7 @@ def splitstaticdebuginfo(file, dvar, dv, d):
 # We will then strip (preserving symbols) the static library in the
 # typical location.
 #
-# return a mapping of files:debugsources
+# return a mapping of files:debugfile:debugsources
 
 src = file[len(dvar):]
 dest = dv["staticlibdir"] + os.path.dirname(src) + dv["staticdir"] + "/" + 
os.path.basename(src) + dv["staticappend"]
@@ -861,7 +861,7 @@ def splitstaticdebuginfo(file, dvar, dv, d):
 if newmode:
 os.chmod(file, origmode)
 
-return (file, sources)
+return (file, debugfile, sources)
 
 def inject_minidebuginfo(file, dvar, dv, d):
 # Extract just the symbols from debuginfo into minidebuginfo,
@@ -1175,13 +1175,14 @@ def process_split_and_strip_files(d):
 results = oe.utils.multiprocess_launch(splitstaticdebuginfo, 
staticlibs, d, extraargs=(dvar, dv, d))
 else:
 for file in staticlibs:
-results.append( (file,source_info(file, d)) )
+results.append( (file,file,source_info(file, d)) )
 
-d.setVar("PKGDEBUGSOURCES", {strip_pkgd_prefix(f): sorted(s) for f, s 
in results})
+d.setVar("PKGDEBUGSOURCES", {strip_pkgd_prefix(f): sorted(s) for f, _, 
s in results})
+d.setVar("PKGDEBUGFILES", [strip_pkgd_prefix(d) for _, d, _ in 
results])
 
 sources = set()
-for r in results:
-sources.update(r[1])
+for _, _, sourcefile in results:
+sources.update(sourcefile)
 
 # Hardlink our debug symbols to the other hardlink copies
 for ref in inodes:
-- 
2.43.2


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



Re: [OE-core] [PATCH v2 2/2] python3-cryptography: Update pyo3 crate to 0.20.3

2024-02-27 Thread Khem Raj
On Tue, Feb 27, 2024 at 10:59 AM Tim Orling  wrote:
>
>
>
> On Tue, Feb 27, 2024 at 9:51 AM Khem Raj  wrote:
>>
>> This gets it building on architectures without 64bit atomics.
>>
>
> We could also upgrade to python3-cryptography 42.0.5
> https://cryptography.io/en/latest/changelog/#v42-0-5
> Do we want to do that at this stage?

upgrade to 42.0.5 will still need this patch regardless
since it will only be in next release, so update or not is orthogonal
to this issue.

>
>>
>> Signed-off-by: Khem Raj 
>> ---
>>  .../python/python3-cryptography-crates.inc|  22 ++--
>>  ...m-0.20.2-to-0.20.3-in-src-rust-10462.patch | 105 ++
>>  .../python/python3-cryptography_42.0.2.bb |   1 +
>>  3 files changed, 118 insertions(+), 10 deletions(-)
>>  create mode 100644 
>> meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
>>
>> diff --git a/meta/recipes-devtools/python/python3-cryptography-crates.inc 
>> b/meta/recipes-devtools/python/python3-cryptography-crates.inc
>> index 4714c76bd2b..b26e22b70c3 100644
>> --- a/meta/recipes-devtools/python/python3-cryptography-crates.inc
>> +++ b/meta/recipes-devtools/python/python3-cryptography-crates.inc
>> @@ -25,12 +25,13 @@ SRC_URI += " \
>>  crate://crates.io/parking_lot_core/0.9.9 \
>>  crate://crates.io/pem/3.0.3 \
>>  crate://crates.io/pkg-config/0.3.29 \
>> +crate://crates.io/portable-atomic/1.6.0 \
>>  crate://crates.io/proc-macro2/1.0.78 \
>> -crate://crates.io/pyo3/0.20.2 \
>> -crate://crates.io/pyo3-build-config/0.20.2 \
>> -crate://crates.io/pyo3-ffi/0.20.2 \
>> -crate://crates.io/pyo3-macros/0.20.2 \
>> -crate://crates.io/pyo3-macros-backend/0.20.2 \
>> +crate://crates.io/pyo3/0.20.3 \
>> +crate://crates.io/pyo3-build-config/0.20.3 \
>> +crate://crates.io/pyo3-ffi/0.20.3 \
>> +crate://crates.io/pyo3-macros/0.20.3 \
>> +crate://crates.io/pyo3-macros-backend/0.20.3 \
>>  crate://crates.io/quote/1.0.35 \
>>  crate://crates.io/redox_syscall/0.4.1 \
>>  crate://crates.io/scopeguard/1.2.0 \
>> @@ -74,12 +75,13 @@ SRC_URI[parking_lot-0.12.1.sha256sum] = 
>> "3742b2c103b9f06bc9fff0a37ff4912935851be
>>  SRC_URI[parking_lot_core-0.9.9.sha256sum] = 
>> "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
>>  SRC_URI[pem-3.0.3.sha256sum] = 
>> "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310"
>>  SRC_URI[pkg-config-0.3.29.sha256sum] = 
>> "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
>> +SRC_URI[portable-atomic-1.6.0.sha256sum] = 
>> "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
>>  SRC_URI[proc-macro2-1.0.78.sha256sum] = 
>> "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
>> -SRC_URI[pyo3-0.20.2.sha256sum] = 
>> "9a89dc7a5850d0e983be1ec2a463a171d20990487c3cfcd68b5363f1ee3d6fe0"
>> -SRC_URI[pyo3-build-config-0.20.2.sha256sum] = 
>> "07426f0d8fe5a601f26293f300afd1a7b1ed5e78b2a705870c5f30893c5163be"
>> -SRC_URI[pyo3-ffi-0.20.2.sha256sum] = 
>> "dbb7dec17e17766b46bca4f1a4215a85006b4c2ecde122076c562dd058da6cf1"
>> -SRC_URI[pyo3-macros-0.20.2.sha256sum] = 
>> "05f738b4e40d50b5711957f142878cfa0f28e054aa0ebdfc3fd137a843f74ed3"
>> -SRC_URI[pyo3-macros-backend-0.20.2.sha256sum] = 
>> "0fc910d4851847827daf9d6cdd4a823fbdaab5b8818325c5e97a86da79e8881f"
>> +SRC_URI[pyo3-0.20.3.sha256sum] = 
>> "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
>> +SRC_URI[pyo3-build-config-0.20.3.sha256sum] = 
>> "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
>> +SRC_URI[pyo3-ffi-0.20.3.sha256sum] = 
>> "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
>> +SRC_URI[pyo3-macros-0.20.3.sha256sum] = 
>> "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
>> +SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = 
>> "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
>>  SRC_URI[quote-1.0.35.sha256sum] = 
>> "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
>>  SRC_URI[redox_syscall-0.4.1.sha256sum] = 
>> "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
>>  SRC_URI[scopeguard-1.2.0.sha256sum] = 
>> "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
>> diff --git 
>> a/meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
>>  
>> b/meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
>> new file mode 100644
>> index 000..33dd7ae5d5a
>> --- /dev/null
>> +++ 
>> b/meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
>> @@ -0,0 +1,105 @@
>> +From f6ec5ab18b5beacb08b0157c5193ea626b44b4e1 Mon Sep 17 00:00:00 2001
>> +From: Khem Raj 
>> +Date: Tue, 27 Feb 2024 09:30:15 -0800
>> +Subject: [PATCH] Bump pyo3 from 0.20.2 to 0.20.3 in /src/rust (#10462)
>> +
>> +It fixes build on 

Re: [OE-core] [PATCH V5] systemd: fix a dead link under /var/log

2024-02-27 Thread Changqing Li


On 2/27/24 17:28, Alexander Kanavin wrote:

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

The patch description doesn't match the patch content. The packaging
doesn't change for README items, and VOLATILE_LOG_DIR isn't checked
anywhere.


This patch is for fixing two problems:

1.

Currently,  There is one line in /usr/lib/tmpfile.d/legacy.conf(this is 
in package systemd),


"L /var/log/README - - - - ../../usr/share/doc/systemd/README.logs"

This line will create an link to "${datadir}/doc/systemd/README.logs" 
during boot,


and ${datadir}/doc/systemd/README.logs is in package systemd-doc. So 
there will be dead link when systemd-doc is not installed.


So that's why I create another legacy-doc.conf packaged into systemd-doc

2.

The symlink in legacy.conf use relative path.  but for oe, 
whenVOLATILE_LOG_DIR is true, /var/log is a link to /var/volatile/log, so


/var/log/README need link to ../../../usr/share/doc/systemd/README.logs,

while VOLATILE_LOG_DIR is false, /var/log is a dir, so /var/log/README

need link to ../../usr/share/doc/systemd/README.logs.

After change it to absolute path, checking of VOLATILE_LOG_DIR is not 
needed.




Also, don't tweak WATCHDOR_TIMEOUT block, it's not relevant, and hard
to tell if something changed there.

ok


I would rather suggest packaging the needed README item into the same
package that references it from other files. What is beoding done with
sed and grep is *really* hard to understand.


I think these is what I am doing.

Any more comments? if not, I can update the description of this patch

to make things more clear.

Thanks

//Changqing




Alex

On Tue, 27 Feb 2024 at 06:11, Changqing Li
  wrote:

From: Changqing Li

Commit 6fe23ff31c0 changed README to a symlink to README.logs, and
install README.logs under systemd doc dir.

But for OE, systemd doc dir is splited into package systemd-doc, when it
is not installed on the target, there will be an dead link:
Eg:
root@intel-x86-64:/var/log# ls -l README
lrwxrwxrwx 1 root root 39 Jun 20 08:57 README -> 
../../usr/share/doc/systemd/README.logs
root@intel-x86-64:/var/log# ls -l ../../usr/share/doc/systemd/README.logs
ls: cannot access '../../usr/share/doc/systemd/README.logs': No such file or 
directory

First, package this link into systemd-doc to fix above issue.  Second,
Source link path created by systemd is not correct when VOLATILE_LOG_DIR
is true. Create the symlink using absolute path to cover both condition.

Signed-off-by: Changqing Li
---
  meta/recipes-core/systemd/systemd_255.1.bb | 15 +++
  1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/systemd/systemd_255.1.bb 
b/meta/recipes-core/systemd/systemd_255.1.bb
index 9e09c89355..73ef0f01b2 100644
--- a/meta/recipes-core/systemd/systemd_255.1.bb
+++ b/meta/recipes-core/systemd/systemd_255.1.bb
@@ -382,10 +382,15 @@ do_install() {
 # add a profile fragment to disable systemd pager with busybox less
 install -Dm 0644 ${WORKDIR}/systemd-pager.sh 
${D}${sysconfdir}/profile.d/systemd-pager.sh

-if [ -n "${WATCHDOG_TIMEOUT}" ]; then
-sed -i -e 
's/#RebootWatchdogSec=10min/RebootWatchdogSec=${WATCHDOG_TIMEOUT}/' \
-${D}/${sysconfdir}/systemd/system.conf
-fi
+   if [ -n "${WATCHDOG_TIMEOUT}" ]; then
+   sed -i -e 
's/#RebootWatchdogSec=10min/RebootWatchdogSec=${WATCHDOG_TIMEOUT}/' \
+   ${D}/${sysconfdir}/systemd/system.conf
+   fi
+
+   if grep -q '^L /var/log/README' 
${D}${nonarch_libdir}/tmpfiles.d/legacy.conf 2>/dev/null; then
+   sed -i -e '/^L \/var\/log\/README/d' 
${D}${nonarch_libdir}/tmpfiles.d/legacy.conf
+   echo "L ${localstatedir}/log/README - - - - 
${datadir}/doc/systemd/README.logs" > 
${D}${nonarch_libdir}/tmpfiles.d/legacy-doc.conf
+   fi
  }

  python populate_packages:prepend (){
@@ -622,6 +627,8 @@ FILES:${PN}-udev-rules = "\
  ${rootlibexecdir}/udev/rules.d/99-systemd.rules \
  "

+FILES:${PN}-doc  += "${nonarch_libdir}/tmpfiles.d/legacy-doc.conf"
+
  CONFFILES:${PN} = "${sysconfdir}/systemd/coredump.conf \
 ${sysconfdir}/systemd/journald.conf \
 ${sysconfdir}/systemd/logind.conf \
--
2.25.1





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



Re: [OE-core][PATCH 1/2] bash: add locale alias for ja_JP shiftjis in run-ptest

2024-02-27 Thread Xiangyu Chen


On 2/27/24 17:41, Alexander Kanavin wrote:

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

Wait. Why is the correct locale not generated? How do other systems do
it? There's an issue elsewhere, possibly in glibc-locale, and this
works around that, instead of fixing the original problem.


Hi Alex,


Since SHIFTJIS is not a ISO2022/posix compliant and not in the list of 
glibc locale data support, it was generated by manual with localedef and 
don't have a unified name.



The following name has been already found on different linux:

ja_JP.SJIS ja_JP.SHIFT_JIS ja_JP.shiftjis japanese.sjis


Br,

Xiangyu




Alex

On Tue, 27 Feb 2024 at 09:57, Xiangyu Chen
 wrote:

From: Xiangyu Chen 

Bash has a test case that needs ja_JP shift jis locale.

It will check current system has ja_JP.SJIS locale or not, but in yocto,
this locale named ja_JP.shiftjis, they are the same.
So create a locale alias, making ja_JP.SJIS link to ja_JP.shiftjis.

Also add warning message if current system doesn't contain shift jis locale.

Signed-off-by: Xiangyu Chen 
---
  meta/recipes-extended/bash/bash/run-ptest | 21 +
  1 file changed, 21 insertions(+)

diff --git a/meta/recipes-extended/bash/bash/run-ptest 
b/meta/recipes-extended/bash/bash/run-ptest
index 738ad3c42c..3cafb5e2ea 100644
--- a/meta/recipes-extended/bash/bash/run-ptest
+++ b/meta/recipes-extended/bash/bash/run-ptest
@@ -3,6 +3,7 @@
  en_US=`locale -a | grep en_US*`
  fr_FR=`locale -a | grep fr_FR*`
  de_DE=`locale -a | grep de_DE*`
+ja_JP_SJIS=`locale -a | grep ja_JP.shiftjis`

  if [ -z "$en_US" ]
  then
@@ -19,8 +20,28 @@ then
  echo "Warning: The de_DE* locales is needed to run the intl.tests, please 
add it."
  fi

+if [ -z "$ja_JP_SJIS" ]
+then
+echo "Warning: The ja_JP.shiftjis locales is needed to run the intl.tests, 
please add it."
+else
+# Yocto generated shiftjis locale named ja_JP.shiftjis, but bash's test script 
using ja_JP.SJIS
+# They are the same one, so add an alias in locale.alias
+if [ -f /usr/share/locale/locale.alias ]
+then
+cp /usr/share/locale/locale.alias 
/usr/share/locale/locale.alias.bak
+fi
+
+echo "ja_JP.SJISja_JP.shiftjis" >> 
/usr/share/locale/locale.alias
+fi
+
+
  useradd bashtest
  chown -R bashtest:bashtest tests
  setpriv --reuid bashtest --rgid bashtest --clear-groups --reset-env $(dirname 
"$0")/run-bash-ptests
  chown -R root:root tests
  userdel -r bashtest
+
+if [ -f /usr/share/locale/locale.alias.bak ]
+then
+mv /usr/share/locale/locale.alias.bak /usr/share/locale/locale.alias
+fi
--
2.34.1





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



Re: [OE-core] [RFC OE-core][PATCH 3/3] goarch: disable dynamic linking globally

2024-02-27 Thread Chen Qi via lists.openembedded.org

Is this 1.21 upgrade going to be merged in LTS 5.0?
The reason I'm asking is that I'm going to upgrade some recipes in 
meta-virt and I'd like to check what would be the go version in the next 
release.


P.S.
Is this runtime error OE specific? Is it caused by some OE specific patch?

Regards,
Qi

On 2/27/24 18:07, Jose Quaresma wrote:

With go-1.21 dynamic linking cause a runtime panic:

| root@qemux86-64:~# go-helloworld
| panic: runtime error: index out of range [0] with length 0
|
| goroutine 1 [running]:
| flag.init()
| /usr/lib/go/src/flag/flag.go:1199 +0xf9

In my opinion, this would be a good trade-off so that we can update and
leave the version 1.20 for the next LTS 5.0 since we are already quite
behind on the version available upstream which already has the 1.22 available.

Signed-off-by: Jose Quaresma 
---
  meta/classes-recipe/goarch.bbclass | 14 +++---
  1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/meta/classes-recipe/goarch.bbclass 
b/meta/classes-recipe/goarch.bbclass
index 1ebe03864f..6899ec28e4 100644
--- a/meta/classes-recipe/goarch.bbclass
+++ b/meta/classes-recipe/goarch.bbclass
@@ -38,13 +38,13 @@ BASE_GOARM:armv5 = '5'
  # Go supports dynamic linking on a limited set of architectures.
  # See the supportsDynlink function in go/src/cmd/compile/internal/gc/main.go
  GO_DYNLINK = ""
-GO_DYNLINK:arm ?= "1"
-GO_DYNLINK:aarch64 ?= "1"
-GO_DYNLINK:x86 ?= "1"
-GO_DYNLINK:x86-64 ?= "1"
-GO_DYNLINK:powerpc64 ?= "1"
-GO_DYNLINK:powerpc64le ?= "1"
-GO_DYNLINK:class-native ?= ""
+GO_DYNLINK:arm = ""
+GO_DYNLINK:aarch64 = ""
+GO_DYNLINK:x86 = ""
+GO_DYNLINK:x86-64 = ""
+GO_DYNLINK:powerpc64 = ""
+GO_DYNLINK:powerpc64le = ""
+GO_DYNLINK:class-native = ""
  GO_DYNLINK:class-nativesdk = ""
  
  # define here because everybody inherits this class







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



Re: [OE-core] [PATCH V6] rxvt-unicode: Fix installing of terminfo

2024-02-27 Thread Changqing Li


On 2/27/24 17:37, Alexander Kanavin wrote:

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

On Tue, 27 Feb 2024 at 08:10, Changqing Li
  wrote:

+
+   install -d ${D}/${sysconfdir}
+   install -m 0644 ${S}/doc/etc/rxvt-unicode.terminfo 
${D}/${sysconfdir}/rxvt-unicode.terminfo
+}
+
+RDEPENDS:${PN} = "ncurses-tools"
+PACKAGE_WRITE_DEPS += "qemu-native"
+pkg_postinst:${PN} () {
+   if [ -n "$D" ]; then
+   if ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 
'true', 'false', d)}; then
+   outdir=$(${@qemu_run_binary(d, '$D', '${bindir}/tic')} -D 2>&1 | 
sed -n "2p" | awk '{ print $2 }')
+   ${@qemu_run_binary(d, '$D', '${bindir}/tic')} -x 
${sysconfdir}/rxvt-unicode.terminfo -o $D$outdir
+   fi
+   fi
  }

I would really prefer to make native tic do the right thing, if the
only problem is that it installs the needed items into the wrong
location.


Yes, the wrong location is the only problem. V4 patch is a way to make 
native tic install to  a right location.


but this solution (hardcode output dir to $(DESTDIR)$(datadir)/terminfo) 
is rejected by upstream.


if use V4 patch,  we need to make it an oe specific patch.


upstream said that to it is better to use target tic to generate the 
terminfo to make sure ncurses in the


target environment can get the correct terminfo. That's why I changed to 
use target tic. but we do will met


"some targets don't support usermode" problem.

So what's your suggestion about this? use V4 patch?

if you think the hardcode path $(DESTDIR)$(datadir)/terminfo) is not 
good in v4,  I can do some change for V4.


Since native tic and target tic is from the same recipe, the TERMINFO 
should be the same except native tic is under ${RECIPE_SYSROOT_NATIVE}.


how about like what I did in this patch,  get the native outputdir from 
native tic, cut ${RECIPE_SYSROOT_NATIVE} to get target outputdir, then 
pass it to nativetic .. -o  ${DESTDIR}${target outputdir}


//Changqing



qemu usermode is notoriously brittle, and isn't available on some
targets at all.

Alex

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



[OE-core][PATCH] perf: Fix QA error due to most recent kernel

2024-02-27 Thread Ryan Eatmon via lists.openembedded.org
A change in the latest kernel (next), triggers a QA error due to a
missing RDEPENDS on perl for perf-tests.

ERROR: QA Issue: 
/usr/libexec/perf-core/tests/shell/common/check_no_patterns_found.pl contained 
in package perf-tests requires /usr/bin/perl, but no providers found in 
RDEPENDS:perf-tests? [file-rdeps]

Signed-off-by: Ryan Eatmon 
---
 meta/recipes-kernel/perf/perf.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 4f26813de0..ae7e24aa0c 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -382,7 +382,7 @@ RDEPENDS:${PN} += "elfutils bash"
 RDEPENDS:${PN}-archive =+ "bash"
 RDEPENDS:${PN}-python =+ "bash python3 python3-modules 
${@bb.utils.contains('PACKAGECONFIG', 'audit', 'audit-python', '', d)}"
 RDEPENDS:${PN}-perl =+ "bash perl perl-modules"
-RDEPENDS:${PN}-tests =+ "python3 bash"
+RDEPENDS:${PN}-tests =+ "python3 bash perl"
 
 RSUGGESTS:${PN} += "${PN}-archive ${PN}-tests \
 ${@bb.utils.contains('PACKAGECONFIG', 'perl', 
'${PN}-perl', '', d)} \
-- 
2.17.1


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



Re: [OE-core] [PATCH 2/3] kernel-yocto.bblass: run kernel_version_sanity_check after do_patch

2024-02-27 Thread Bruce Ashfield
On Tue, Feb 27, 2024 at 4:01 PM Enrico Jörns  wrote:
>
> Am Dienstag, dem 27.02.2024 um 14:46 -0500 schrieb Bruce Ashfield:
> > On Tue, Feb 27, 2024 at 2:32 PM Enrico Jörns  wrote:
> > >
> > > Am Dienstag, dem 27.02.2024 um 14:13 -0500 schrieb Bruce Ashfield:
> > > > On Tue, Feb 27, 2024 at 1:55 PM Enrico Jörns  
> > > > wrote:
> > > > >
> > > > > Am Dienstag, dem 27.02.2024 um 12:36 -0500 schrieb Bruce Ashfield:
> > > > > > On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  
> > > > > > wrote:
> > > > > > >
> > > > > > > The kernel patches may modify the kernel version, thus wait for 
> > > > > > > do_patch
> > > > > > > before running the version check.
> > > > > >
> > > > > > While that may be true for kernel's in general, I sincerely hope 
> > > > > > that no one is
> > > > > > patching in a new kernel version to linux-yocto.
> > > > > >
> > > > > > I don't have any great concerns with the patch, I just don't think 
> > > > > > it
> > > > > > is necessary :)
> > > > >
> > > > > Yes, the use case is actually not linux-yocto itself.
> > > > > Thus it might be most relevant in combination with moving the version 
> > > > > check to
> > > > > kernel.bbclass.
> > > > >
> > > > > How I actually came across this check is that (in some projects) we 
> > > > > use the linux-
> > > > > yocto.bbclass
> > > > > for
> > > > > non-linux-yocto kernels since some functionality (especially fragment 
> > > > > handling) seems useful
> > > > > in
> > > > > general.
> > > > >
> > > > > I am still unsure if I should try to move (or duplicate) the required 
> > > > > features in the
> > > > > generic
> > > > > kernel.bbclass or if using linux-yocto.bbclass for 'mainline' kernel 
> > > > > is an appropriate use
> > > > > case..?
> > > > >
> > > >
> > > > There's no need to use the linux-yocto repository when using
> > > > kernel-yocto bbclass, so
> > > > definitely, it is an acceptable use case. In fact meta-mainline, and
> > > > linux-yocto themselves
> > > > are both using kernel-yocto bbclass to build mainline/-stable kernels.
> > > >
> > > > I'd rather not move the kernel-yocto bits into kernel.bbclass, since
> > > > if that was something
> > > > easily done .. I would have done it a long time ago.
> > > >
> > > > Keeping the split in the functionality allows those that don't care
> > > > about linux-yocto to
> > > > keep their recipes and workflow the same, and those that want to opt
> > > > into the kernel-yocto
> > > > functionality can just inherit the class.
> > >
> > > Yes, I wouldn't move the meta data handling and its tricky pieces, since 
> > > this is actually
> > > something
> > > I see in kernel-yocto.bbclass, too.
> > >
> > > But.. do you have an opinion on adding simple config fragment handling in 
> > > kernel.bbclass (like
> > > we
> > > have in busybox or u-boot)? So mainly calling merge_config.sh somewhere 
> > > around do_configure.
> > > (It would however need to be compatible with (or replaced by) the more 
> > > advanced handling in
> > > kernel-
> > > yocto.bbclass.)
> >
> > I do have a very strong opinion.
> >
> > If we were going to do that, I also would have done it many years ago.
> >
> > Having some, but not all of the meta-data and merging split between the
> > classes would be a disaster.
>
> I would not call config fragments 'meta-data' and was thinking more about 
> something that is replaced
> by kernel-yocto.bbclass. That a split of meta-data handling would be a 
> disaster is something I would
> agree on.

That is what we've always called them, because it isn't just the
fragments that are the important part, it is the common nature
of the fragments (the actual merge_config upstreamining is
something that grew out of what we have, and I participated
in the effort).

The fragments abstract and describe the feature and carry
information about how they should be applied (and in theory,
are used along with the patches), hence the "meta" information
they carry.

By keeping the official support in kernel-yocto, and leveraging
the kernel-cache as the common location for the fragments,
we've been gathering / consolidating for 10 years now. If fragments
end up sprayed everywhere (which they still can, even with the
kernel-yocto centre of mass), then really we haven't done much
else besides whacking some text files into a larger text file.

>
> > If there's something that the meta-data handling is doing in kernel-yocto
> > bbclass that isn't working or isn't appropriate, we can fix it there.
>
> Ok, if the opinion is that strong, than this is the way to go for me first of 
> all.
> (However, I do not have any meta-data in mind in our use case anyway.)
>
> > Other layers and classes in those layers are of course free to do whatever
> > they want, but we need to be consistent in core.
>
> Clear.
>
> > In fact, I've had a bug and a prototype patch for many years now that
> > does move some of the configuration merging to kernel.bbclass, but it
> > only increases complexity and doesn't offer any benefits 

[OE-core][kirkstone 16/16] kernel: make LOCALVERSION consistent between recipes

2024-02-27 Thread Steve Sakoman
From: Bruce Ashfield 

The initial fix for localversion setting in 6.3+ broke older
recipes and also broke recipes setting localversion in a kernel
recipe, as make-mod-scripts (and other locations) can trigger
a regeneration of files and don't have access to the variable.

Moving the setting of this variable to the global namespace
doesn't make sense, so we follow the example of the kernel-abiversion
and save a kernel-localversion to the build artifacts.

Recipes that may regenerate scripts/dynamic files, must
depend on the do_shared_workedir of the kernel and use the helper
function to read the file storing the localversion.

Signed-off-by: Bruce Ashfield 
Signed-off-by: Alexandre Belloni 

cherry-picked from master b378eec156998eea55ba61e59103cb34fab0d07c

Signed-off-by: Andreas Helbech Kleist 
Acked-by: Ryan Eatmon 
Signed-off-by: Steve Sakoman 
---
 meta/classes/kernel-arch.bbclass   |  8 
 meta/classes/kernel.bbclass| 14 ++
 meta/classes/kernelsrc.bbclass |  1 +
 meta/classes/linux-kernel-base.bbclass | 11 +++
 meta/classes/module-base.bbclass   |  1 +
 .../make-mod-scripts/make-mod-scripts_1.0.bb   |  3 +++
 6 files changed, 30 insertions(+), 8 deletions(-)

diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 0a79dea0af..62c8211621 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -65,11 +65,3 @@ KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc 
${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DE
 KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
 KERNEL_AR = "${CCACHE}${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
 TOOLCHAIN ?= "gcc"
-
-# 6.3+ requires the variable LOCALVERSION to be set to not get a "+" in
-# the local version. Having it empty means nothing will be added, and any
-# value will be appended to the local kernel version. This replaces the
-# use of .scmversion file for setting a localversion without using
-# the CONFIG_LOCALVERSION option.
-KERNEL_LOCALVERSION ??= ""
-export LOCALVERSION ?= "${KERNEL_LOCALVERSION}"
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 940f1a3cf4..96e41b5192 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -541,6 +541,7 @@ do_shared_workdir () {
#
 
echo "${KERNEL_VERSION}" > $kerneldir/${KERNEL_PACKAGE_NAME}-abiversion
+   echo "${KERNEL_LOCALVERSION}" > 
$kerneldir/${KERNEL_PACKAGE_NAME}-localversion
 
# Copy files required for module builds
cp System.map $kerneldir/System.map-${KERNEL_VERSION}
@@ -630,6 +631,19 @@ python check_oldest_kernel() {
 check_oldest_kernel[vardepsexclude] += "OLDEST_KERNEL KERNEL_VERSION"
 do_configure[prefuncs] += "check_oldest_kernel"
 
+KERNEL_LOCALVERSION ??= ""
+
+# 6.3+ requires the variable LOCALVERSION to be set to not get a "+" in
+# the local version. Having it empty means nothing will be added, and any
+# value will be appended to the local kernel version. This replaces the
+# use of .scmversion file for setting a localversion without using
+# the CONFIG_LOCALVERSION option.
+#
+# Note: This class saves the value of localversion to a file
+# so other recipes like make-mod-scripts can restore it via the
+# helper function get_kernellocalversion_file
+export LOCALVERSION="${KERNEL_LOCALVERSION}"
+
 kernel_do_configure() {
# fixes extra + in /lib/modules/2.6.37+
# $ scripts/setlocalversion . => +
diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass
index a951ba3325..a79bf18b09 100644
--- a/meta/classes/kernelsrc.bbclass
+++ b/meta/classes/kernelsrc.bbclass
@@ -5,6 +5,7 @@ do_patch[depends] += "virtual/kernel:do_shared_workdir"
 do_patch[noexec] = "1"
 do_package[depends] += "virtual/kernel:do_populate_sysroot"
 KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}"
+LOCAL_VERSION = "${@get_kernellocalversion_file("${STAGING_KERNEL_BUILDDIR}")}"
 
 inherit linux-kernel-base
 
diff --git a/meta/classes/linux-kernel-base.bbclass 
b/meta/classes/linux-kernel-base.bbclass
index 73a6fe36d9..0e2a4a4abe 100644
--- a/meta/classes/linux-kernel-base.bbclass
+++ b/meta/classes/linux-kernel-base.bbclass
@@ -33,6 +33,17 @@ def get_kernelversion_file(p):
 except IOError:
 return None
 
+def get_kernellocalversion_file(p):
+fn = p + '/kernel-localversion'
+
+try:
+with open(fn, 'r') as f:
+return f.readlines()[0].strip()
+except IOError:
+return ""
+
+return ""
+
 def linux_module_packages(s, d):
 suffix = ""
 return " ".join(map(lambda s: "kernel-module-%s%s" % 
(s.lower().replace('_', '-').replace('@', '+'), suffix), s.split()))
diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass
index 27bd69ff33..5b2fde8144 100644
--- a/meta/classes/module-base.bbclass
+++ b/meta/classes/module-base.bbclass
@@ -14,6 +14,7 @@ 

[OE-core][kirkstone 15/16] kernel: fix localversion in v6.3+

2024-02-27 Thread Steve Sakoman
From: Bruce Ashfield 

During testing of the v6.4 reference kernel, it was noticed that
on-target modules no longer matched the magic value of the running
kernel.

This was due to a different localversion in the cross built kernel
and the scripts / resources created on target.

This was due to changes in the setlocalversion script introduced
in the v6.3 series.

The .scmversion file is no longer used (or packaged) to inhibit
the addition of a "+" (through querying of the git status of the
kernel) or the setting of a local version.

We recently introduced the KERNEL_LOCALVERSION variable to allow
recipes to place a value in .scmversion, so we extend the use of
that variable to kernel-arch.bbclass and use it to set the
exported variable LOCALVERSION.

We must do it at the kernel-arch level, as the variable must be
exported in any kernel build to ensure that setlocalversion always
correctly sets the localversion.

Signed-off-by: Bruce Ashfield 
Signed-off-by: Richard Purdie 

cherry-picked from master 765b13b7305c8d2f222cfc66d77c02e6a088c691

Signed-off-by: Andreas Helbech Kleist 
Signed-off-by: Steve Sakoman 
---
 meta/classes/kernel-arch.bbclass | 7 +++
 meta/classes/kernel.bbclass  | 6 --
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 4cd08b96fb..0a79dea0af 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -66,3 +66,10 @@ KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd 
${HOST_LD_KERNEL_ARCH}"
 KERNEL_AR = "${CCACHE}${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
 TOOLCHAIN ?= "gcc"
 
+# 6.3+ requires the variable LOCALVERSION to be set to not get a "+" in
+# the local version. Having it empty means nothing will be added, and any
+# value will be appended to the local kernel version. This replaces the
+# use of .scmversion file for setting a localversion without using
+# the CONFIG_LOCALVERSION option.
+KERNEL_LOCALVERSION ??= ""
+export LOCALVERSION ?= "${KERNEL_LOCALVERSION}"
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 80fb1879b0..940f1a3cf4 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -418,7 +418,7 @@ do_compile_kernelmodules() {
if (grep -q -i -e '^CONFIG_MODULES=y$' ${B}/.config); then
oe_runmake -C ${B} ${PARALLEL_MAKE} modules ${KERNEL_EXTRA_ARGS}
 
-   # Module.symvers gets updated during the 
+   # Module.symvers gets updated during the
# building of the kernel modules. We need to
# update this in the shared workdir since some
# external kernel modules has a dependency on
@@ -614,7 +614,6 @@ do_shared_workdir () {
 # We don't need to stage anything, not the modules/firmware since those would 
clash with linux-firmware
 SYSROOT_DIRS = ""
 
-KERNEL_LOCALVERSION ??= ""
 KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || 
oe_runmake -C ${S} O=${B} oldnoconfig"
 
 python check_oldest_kernel() {
@@ -636,6 +635,9 @@ kernel_do_configure() {
# $ scripts/setlocalversion . => +
# $ make kernelversion => 2.6.37
# $ make kernelrelease => 2.6.37+
+   # See kernel-arch.bbclass for post v6.3 removal of the extra
+   # + in localversion. .scmversion is no longer used, and the
+   # variable LOCALVERSION must be used
if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]; then
echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
-- 
2.34.1


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



[OE-core][kirkstone 14/16] kernel.bbclass: introduce KERNEL_LOCALVERSION

2024-02-27 Thread Steve Sakoman
From: Ming Liu 

Just like UBOOT_LOCALVERSION, an end user can set KERNEL_LOCALVERSION
to append a string to the name of the local version of the kernel
image.

Signed-off-by: Ming Liu 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 

cherry-picked from master 229435a52f36ddec5f85fb6d5ccd42044b688397

Signed-off-by: Andreas Helbech Kleist 
Signed-off-by: Steve Sakoman 
---
 meta/classes/kernel.bbclass  | 6 +-
 meta/conf/documentation.conf | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 5951347361..80fb1879b0 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -614,6 +614,7 @@ do_shared_workdir () {
 # We don't need to stage anything, not the modules/firmware since those would 
clash with linux-firmware
 SYSROOT_DIRS = ""
 
+KERNEL_LOCALVERSION ??= ""
 KERNEL_CONFIG_COMMAND ?= "oe_runmake_call -C ${S} O=${B} olddefconfig || 
oe_runmake -C ${S} O=${B} oldnoconfig"
 
 python check_oldest_kernel() {
@@ -635,7 +636,10 @@ kernel_do_configure() {
# $ scripts/setlocalversion . => +
# $ make kernelversion => 2.6.37
# $ make kernelrelease => 2.6.37+
-   touch ${B}/.scmversion ${S}/.scmversion
+   if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ]; then
+   echo ${KERNEL_LOCALVERSION} > ${B}/.scmversion
+   echo ${KERNEL_LOCALVERSION} > ${S}/.scmversion
+   fi
 
if [ "${S}" != "${B}" ] && [ -f "${S}/.config" ] && [ ! -f 
"${B}/.config" ]; then
mv "${S}/.config" "${B}/.config"
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf
index ab2addb321..e55bfa288d 100644
--- a/meta/conf/documentation.conf
+++ b/meta/conf/documentation.conf
@@ -253,6 +253,7 @@ KERNEL_MODULE_PROBECONF[doc] = "Lists kernel modules for 
which the build system
 KERNEL_PACKAGE_NAME[doc] = "Name prefix for kernel packages. Defaults to 
'kernel'."
 KERNEL_PATH[doc] = "The location of the kernel sources. This variable is set 
to the value of the STAGING_KERNEL_DIR within the module class 
(module.bbclass)."
 KERNEL_SRC[doc] = "The location of the kernel sources. This variable is set to 
the value of the STAGING_KERNEL_DIR within the module class (module.bbclass)."
+KERNEL_LOCALVERSION[doc] = "Appends a string to the name of the local version 
of the kernel image."
 KFEATURE_DESCRIPTION[doc] = "Provides a short description of a configuration 
fragment. You use this variable in the .scc file that describes a configuration 
fragment file."
 KMACHINE[doc] = "The machine as known by the kernel."
 KTYPE[doc] = "Defines the kernel type to be used in assembling the 
configuration."
-- 
2.34.1


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



[OE-core][kirkstone 13/16] scripts: python 3.12 regex

2024-02-27 Thread Steve Sakoman
From: Adrian Freihofer 

All the regexes throw a warning like this:

WARNING: scripts/lib/recipetool/create_buildsys.py:140:
  SyntaxWarning: invalid escape sequence '\s'
  proj_re = re.compile('project\s*\(([^)]*)\)', re.IGNORECASE)

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

Signed-off-by: Adrian Freihofer 
Signed-off-by: Richard Purdie 

Backported from master: 24b0ba00d4f0b4d9834f7693ecb6032dfc534a80

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 scripts/combo-layer   |  2 +-
 scripts/contrib/bbvars.py |  6 ++--
 scripts/contrib/convert-overrides.py  |  8 ++---
 scripts/lib/checklayer/__init__.py|  4 +--
 scripts/lib/recipetool/create.py  | 12 +++
 scripts/lib/recipetool/create_buildsys.py | 38 +++
 scripts/oe-check-sstate   |  2 +-
 scripts/oe-pkgdata-util   |  2 +-
 scripts/opkg-query-helper.py  |  2 +-
 9 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/scripts/combo-layer b/scripts/combo-layer
index 7f2020fca7..19ad32660d 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-layer
@@ -483,7 +483,7 @@ def check_repo_clean(repodir):
 exit if repo is dirty
 """
 output=runcmd("git status --porcelain", repodir)
-r = re.compile('\?\? patch-.*/')
+r = re.compile(r'\?\? patch-.*/')
 dirtyout = [item for item in output.splitlines() if not r.match(item)]
 if dirtyout:
 logger.error("git repo %s is dirty, please fix it first", repodir)
diff --git a/scripts/contrib/bbvars.py b/scripts/contrib/bbvars.py
index 090133600b..a9cdf082ab 100755
--- a/scripts/contrib/bbvars.py
+++ b/scripts/contrib/bbvars.py
@@ -36,8 +36,8 @@ def bbvar_is_documented(var, documented_vars):
 def collect_documented_vars(docfiles):
 ''' Walk the docfiles and collect the documented variables '''
 documented_vars = []
-prog = re.compile(".*($|[^A-Z_])')
+prog = re.compile(r".*($|[^A-Z_])')
 for d in docfiles:
 with open(d) as f:
 documented_vars += var_prog.findall(f.read())
@@ -45,7 +45,7 @@ def collect_documented_vars(docfiles):
 return documented_vars
 
 def bbvar_doctag(var, docconf):
-prog = re.compile('^%s\[doc\] *= *"(.*)"' % (var))
+prog = re.compile(r'^%s\[doc\] *= *"(.*)"' % (var))
 if docconf == "":
 return "?"
 
diff --git a/scripts/contrib/convert-overrides.py 
b/scripts/contrib/convert-overrides.py
index 1939757f1b..c69acb4095 100755
--- a/scripts/contrib/convert-overrides.py
+++ b/scripts/contrib/convert-overrides.py
@@ -81,19 +81,19 @@ skip_ext = [".html", ".patch", ".m4", ".diff"] + 
args.skip_ext
 
 vars_re = {}
 for exp in vars:
-vars_re[exp] = (re.compile('((^|[#\'"\s\-\+])[A-Za-z0-9_\-:${}\.]+)_' + 
exp), r"\1:" + exp)
+vars_re[exp] = (re.compile(r'((^|[#\'"\s\-\+])[A-Za-z0-9_\-:${}\.]+)_' + 
exp), r"\1:" + exp)
 
 shortvars_re = {}
 for exp in shortvars:
-shortvars_re[exp] = (re.compile('((^|[#\'"\s\-\+])[A-Za-z0-9_\-:${}\.]+)_' 
+ exp + '([\(\'"\s:])'), r"\1:" + exp + r"\3")
+shortvars_re[exp] = 
(re.compile(r'((^|[#\'"\s\-\+])[A-Za-z0-9_\-:${}\.]+)_' + exp + 
r'([\(\'"\s:])'), r"\1:" + exp + r"\3")
 
 package_re = {}
 for exp in packagevars:
-package_re[exp] = (re.compile('(^|[#\'"\s\-\+]+)' + exp + '_' + 
'([$a-z"\'\s%\[<{\\\*].)'), r"\1" + exp + r":\2")
+package_re[exp] = (re.compile(r'(^|[#\'"\s\-\+]+)' + exp + r'_' + 
r'([$a-z"\'\s%\[<{\\\*].)'), r"\1" + exp + r":\2")
 
 # Other substitutions to make
 subs = {
-'r = re.compile("([^:]+):\s*(.*)")' : 'r = re.compile("(^.+?):\s+(.*)")',
+'r = re.compile(r"([^:]+):\s*(.*)")' : 'r = re.compile(r"(^.+?):\s+(.*)")',
 "val = d.getVar('%s_%s' % (var, pkg))" : "val = d.getVar('%s:%s' % (var, 
pkg))",
 "f.write('%s_%s: %s\\n' % (var, pkg, encode(val)))" : "f.write('%s:%s: 
%s\\n' % (var, pkg, encode(val)))",
 "d.getVar('%s_%s' % (scriptlet_name, pkg))" : "d.getVar('%s:%s' % 
(scriptlet_name, pkg))",
diff --git a/scripts/lib/checklayer/__init__.py 
b/scripts/lib/checklayer/__init__.py
index 938805289e..53f99dce1e 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -324,8 +324,8 @@ def get_signatures(builddir, failsafe=False, machine=None, 
extravars=None):
 else:
 raise
 
-sig_regex = re.compile("^(?P.*:.*):(?P.*) .$")
-tune_regex = re.compile("(^|\s)SIGGEN_LOCKEDSIGS_t-(?P\S*)\s*=\s*")
+sig_regex = re.compile(r"^(?P.*:.*):(?P.*) .$")
+tune_regex = re.compile(r"(^|\s)SIGGEN_LOCKEDSIGS_t-(?P\S*)\s*=\s*")
 current_tune = None
 with open(sigs_file, 'r') as f:
 for line in f.readlines():
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index 67894fb4d0..7b4c501456 

[OE-core][kirkstone 12/16] meta/recipes: python 3.12 regex

2024-02-27 Thread Steve Sakoman
From: Adrian Freihofer 

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

Signed-off-by: Adrian Freihofer 
Signed-off-by: Richard Purdie 

Cherry-picked from master: f2d80817baea298b953d6e14daad65087b3b50c9

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/perf/perf/sort-pmuevents.py | 8 
 meta/recipes-rt/rt-tests/files/rt_bmark.py  | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-kernel/perf/perf/sort-pmuevents.py 
b/meta/recipes-kernel/perf/perf/sort-pmuevents.py
index 0362f2d8fa..0a87e553ab 100755
--- a/meta/recipes-kernel/perf/perf/sort-pmuevents.py
+++ b/meta/recipes-kernel/perf/perf/sort-pmuevents.py
@@ -36,10 +36,10 @@ with open(infile, 'r') as file:
 preamble_regex = re.compile( '^(.*?)^(struct|const struct|static struct|static 
const struct)', re.MULTILINE | re.DOTALL )
 
 preamble = re.search( preamble_regex, data )
-struct_block_regex = re.compile( '^(struct|const struct|static struct|static 
const struct).*?(\w+) (.*?)\[\] = {(.*?)^};', re.MULTILINE | re.DOTALL )
-field_regex =  re.compile( '{.*?},', re.MULTILINE | re.DOTALL )
-cpuid_regex = re.compile( '\.cpuid = (.*?),', re.MULTILINE | re.DOTALL )
-name_regex = re.compile( '\.name = (.*?),', re.MULTILINE | re.DOTALL )
+struct_block_regex = re.compile(r'^(struct|const struct|static struct|static 
const struct).*?(\w+) (.*?)\[\] = {(.*?)^};', re.MULTILINE | re.DOTALL )
+field_regex =  re.compile(r'{.*?},', re.MULTILINE | re.DOTALL )
+cpuid_regex = re.compile(r'\.cpuid = (.*?),', re.MULTILINE | re.DOTALL )
+name_regex = re.compile(r'\.name = (.*?),', re.MULTILINE | re.DOTALL )
 
 # create a dictionary structure to store all the structs, their
 # types and then their fields.
diff --git a/meta/recipes-rt/rt-tests/files/rt_bmark.py 
b/meta/recipes-rt/rt-tests/files/rt_bmark.py
index 3b84447a0f..2a4eed412f 100755
--- a/meta/recipes-rt/rt-tests/files/rt_bmark.py
+++ b/meta/recipes-rt/rt-tests/files/rt_bmark.py
@@ -265,7 +265,7 @@ cmd = ("cyclictest",
"-d", str(interval_delta),
"-l", str(loop_count)
)
-rex = re.compile(b"C:\s*(\d+).*Min:\s*(\d+).*Avg:\s*(\d+).*Max:\s*(\d+)")
+rex = re.compile(r"C:\s*(\d+).*Min:\s*(\d+).*Avg:\s*(\d+).*Max:\s*(\d+)")
 
 def run_cyclictest_once():
 res = subprocess.check_output(cmd)
-- 
2.34.1


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



[OE-core][kirkstone 11/16] meta/lib/oeqa: python 3.12 regex

2024-02-27 Thread Steve Sakoman
From: Adrian Freihofer 

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

Signed-off-by: Adrian Freihofer 
Signed-off-by: Richard Purdie 

Cherry-picked from master: 9002850f0c2e409d3bc629e36bb360b96326bb64

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 meta/lib/oeqa/oetest.py  | 2 +-
 meta/lib/oeqa/selftest/cases/bblayers.py | 2 +-
 meta/lib/oeqa/selftest/cases/fitimage.py | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py
index 9c84466dd0..b53c611062 100644
--- a/meta/lib/oeqa/oetest.py
+++ b/meta/lib/oeqa/oetest.py
@@ -256,7 +256,7 @@ class TestContext(object):
 
 modules = []
 for test in self.testslist:
-if re.search("\w+\.\w+\.test_\S+", test):
+if re.search(r"\w+\.\w+\.test_\S+", test):
 test = '.'.join(t.split('.')[:3])
 module = pkgutil.get_loader(test)
 modules.append(module)
diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py 
b/meta/lib/oeqa/selftest/cases/bblayers.py
index 7d74833f61..0b9f16eeae 100644
--- a/meta/lib/oeqa/selftest/cases/bblayers.py
+++ b/meta/lib/oeqa/selftest/cases/bblayers.py
@@ -46,7 +46,7 @@ class BitbakeLayers(OESelftestTestCase):
 bb_file = os.path.join(testoutdir, recipe_path, recipe_file)
 self.assertTrue(os.path.isfile(bb_file), msg = "Cannot find 
xcursor-transparent-theme_0.1.1.bb in the test_bitbakelayers_flatten local 
dir.")
 contents = ftools.read_file(bb_file)
-find_in_contents = re.search("# bbappended from meta-selftest 
#\n(.*\n)*include test_recipe.inc", contents)
+find_in_contents = re.search(r"# bbappended from meta-selftest 
#\n(.*\n)*include test_recipe.inc", contents)
 self.assertTrue(find_in_contents, msg = "Flattening layers did not 
work. bitbake-layers flatten output: %s" % result.output)
 
 def test_bitbakelayers_add_remove(self):
diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py 
b/meta/lib/oeqa/selftest/cases/fitimage.py
index d732a9020d..4d820faf92 100644
--- a/meta/lib/oeqa/selftest/cases/fitimage.py
+++ b/meta/lib/oeqa/selftest/cases/fitimage.py
@@ -202,7 +202,7 @@ UBOOT_MKIMAGE_SIGN_ARGS = "-c 'a smart comment'"
 signed_sections = {}
 for line in result.output.splitlines():
 if line.startswith((' Configuration', ' Image')):
-in_signed = re.search('\((.*)\)', line).groups()[0]
+in_signed = re.search(r'\((.*)\)', line).groups()[0]
 elif re.match('^ *', line) in (' ', ''):
 in_signed = None
 elif in_signed:
@@ -521,7 +521,7 @@ UBOOT_FIT_HASH_ALG = "sha256"
 signed_sections = {}
 for line in result.output.splitlines():
 if line.startswith((' Image')):
-in_signed = re.search('\((.*)\)', line).groups()[0]
+in_signed = re.search(r'\((.*)\)', line).groups()[0]
 elif re.match(' \w', line):
 in_signed = None
 elif in_signed:
@@ -675,7 +675,7 @@ FIT_SIGN_INDIVIDUAL = "1"
 signed_sections = {}
 for line in result.output.splitlines():
 if line.startswith((' Image')):
-in_signed = re.search('\((.*)\)', line).groups()[0]
+in_signed = re.search(r'\((.*)\)', line).groups()[0]
 elif re.match(' \w', line):
 in_signed = None
 elif in_signed:
-- 
2.34.1


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



[OE-core][kirkstone 10/16] feature-microblaze-versions.inc: python 3.12 regex

2024-02-27 Thread Steve Sakoman
From: Adrian Freihofer 

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

Signed-off-by: Adrian Freihofer 

feature-microblaze-versions.inc#

Signed-off-by: Richard Purdie 

Cherry-picked from master: 662f52f1713c9f070550fc0c874eb62312218ea4

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 .../machine/include/microblaze/feature-microblaze-versions.inc  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc 
b/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
index 5c37f49abb..658e87b8cd 100644
--- a/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
+++ b/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc
@@ -16,7 +16,7 @@ def microblaze_current_version(d, gcc = False):
 # find the current version, and convert it to major/minor integers
 version = None
 for t in (d.getVar("TUNE_FEATURES") or "").split():
-m = re.search("^v(\d+)\.(\d+)", t)
+m = re.search(r"^v(\d+)\.(\d+)", t)
 if m:
 version = int(m.group(1)), int(m.group(2))
 break
-- 
2.34.1


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



[OE-core][kirkstone 09/16] oeqa/selftest/oelib/buildhistory: git default branch

2024-02-27 Thread Steve Sakoman
From: Adrian Freihofer 

On hosts with git defaulting to main branch the following exception
occures:

File .../buildhistory.py", line 99, in test_compare_dict_blobs_default
  blob1 = self.repo.heads.master.commit.tree.blobs[0]
  ^^
File "/usr/lib/python3.12/site-packages/git/util.py", line 1114, in __getattr__
  return list.__getattribute__(self, attr)
 ^
AttributeError: 'IterableList' object has no attribute 'master'

Support main and master branch for these test cases.

Note: setting the default branch with --initial-branch requires git
version 2.28 or later. Some of the still supported host distros do not
provide this feature yet.

Signed-off-by: Adrian Freihofer 
Signed-off-by: Richard Purdie 

Cherry-picked from master: 7df99843d8f31d8e0c2872ff625f4a5abf28f740

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 .../oeqa/selftest/cases/oelib/buildhistory.py  | 18 ++
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py 
b/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py
index 33bd6df2f3..ae12aa0865 100644
--- a/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py
+++ b/meta/lib/oeqa/selftest/cases/oelib/buildhistory.py
@@ -28,6 +28,16 @@ class TestBlobParsing(OESelftestTestCase):
 import shutil
 shutil.rmtree(self.repo_path)
 
+@property
+def heads_default(self):
+"""
+Support repos defaulting to master or to main branch
+"""
+try:
+return self.repo.heads.main
+except AttributeError:
+return self.repo.heads.master
+
 def commit_vars(self, to_add={}, to_remove = [], msg="A commit message"):
 if len(to_add) == 0 and len(to_remove) == 0:
 return
@@ -65,10 +75,10 @@ class TestBlobParsing(OESelftestTestCase):
 changesmap = { "foo-2" : ("2", "8"), "bar" : ("","4"), "bar-2" : 
("","5")}
 
 self.commit_vars(to_add = { "foo" : "1", "foo-2" : "2", "foo-3" : "3" 
})
-blob1 = self.repo.heads.master.commit.tree.blobs[0]
+blob1 = self.heads_default.commit.tree.blobs[0]
 
 self.commit_vars(to_add = { "foo-2" : "8", "bar" : "4", "bar-2" : "5" 
})
-blob2 = self.repo.heads.master.commit.tree.blobs[0]
+blob2 = self.heads_default.commit.tree.blobs[0]
 
 change_records = compare_dict_blobs(os.path.join(self.repo_path, 
self.test_file),
 blob1, blob2, False, False)
@@ -84,10 +94,10 @@ class TestBlobParsing(OESelftestTestCase):
 defaultmap = { x : ("default", "1")  for x in ["PKG", "PKGE", "PKGV", 
"PKGR"]}
 
 self.commit_vars(to_add = { "foo" : "1" })
-blob1 = self.repo.heads.master.commit.tree.blobs[0]
+blob1 = self.heads_default.commit.tree.blobs[0]
 
 self.commit_vars(to_add = { "PKG" : "1", "PKGE" : "1", "PKGV" : "1", 
"PKGR" : "1" })
-blob2 = self.repo.heads.master.commit.tree.blobs[0]
+blob2 = self.heads_default.commit.tree.blobs[0]
 
 change_records = compare_dict_blobs(os.path.join(self.repo_path, 
self.test_file),
 blob1, blob2, False, False)
-- 
2.34.1


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



[OE-core][kirkstone 08/16] oeqa/selftest/recipetool: expect meson.bb

2024-02-27 Thread Steve Sakoman
From: Adrian Freihofer 

Latest recipetool from master branch generates a pyhton3-meson.bb recipe
while the older version from kirkstone generates a meson.bb. Change the
test to pass with meson.bb.

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 meta/lib/oeqa/selftest/cases/recipetool.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py 
b/meta/lib/oeqa/selftest/cases/recipetool.py
index c888770533..a2d8d292ad 100644
--- a/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -444,7 +444,7 @@ class RecipetoolCreateTests(RecipetoolBase):
 # older release of Meson at present so we don't need a toml parser.
 temprecipe = os.path.join(self.tempdir, 'recipe')
 os.makedirs(temprecipe)
-recipefile = os.path.join(temprecipe, 'python3-meson_git.bb')
+recipefile = os.path.join(temprecipe, 'meson_git.bb')
 srcuri = 'https://github.com/mesonbuild/meson;rev=0.52.1'
 cmd = ['recipetool', 'create', '-o', temprecipe, srcuri]
 result = runCmd(cmd)
@@ -480,7 +480,7 @@ class RecipetoolCreateTests(RecipetoolBase):
 temprecipe = os.path.join(self.tempdir, 'recipe')
 os.makedirs(temprecipe)
 pv = '0.52.1'
-recipefile = os.path.join(temprecipe, 'python3-meson_%s.bb' % pv)
+recipefile = os.path.join(temprecipe, 'meson_%s.bb' % pv)
 srcuri = 
'https://github.com/mesonbuild/meson/releases/download/%s/meson-%s.tar.gz' % 
(pv, pv)
 result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
 self.assertTrue(os.path.isfile(recipefile))
-- 
2.34.1


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



[OE-core][kirkstone 07/16] oeqa/selftest/recipetool: downgrade meson version to not use pyproject.toml

2024-02-27 Thread Steve Sakoman
From: Ross Burton 

recipetool's pyproject.toml parsing needs tomllib (python 3.11+) or
tomli (not a hard dependency), so is prone to failing depending on the
host configuration.

Downgrade the Meson release used for the checks to 0.52.1, which was the
last release before moving to pyproject.toml.

Signed-off-by: Ross Burton 
Signed-off-by: Richard Purdie 

Backported from master: 6dfe573d83687e5431841f062442b54b9fa22ff3

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 meta/lib/oeqa/selftest/cases/recipetool.py | 29 --
 1 file changed, 16 insertions(+), 13 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py 
b/meta/lib/oeqa/selftest/cases/recipetool.py
index db21325155..c888770533 100644
--- a/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -440,17 +440,19 @@ class RecipetoolCreateTests(RecipetoolBase):
 self._test_recipe_contents(recipefile, checkvars, inherits)
 
 def test_recipetool_create_github(self):
-# Basic test to see if github URL mangling works
+# Basic test to see if github URL mangling works. Deliberately use an
+# older release of Meson at present so we don't need a toml parser.
 temprecipe = os.path.join(self.tempdir, 'recipe')
 os.makedirs(temprecipe)
-recipefile = os.path.join(temprecipe, 'meson_git.bb')
-srcuri = 'https://github.com/mesonbuild/meson;rev=1.3.1'
-result = runCmd(['recipetool', 'create', '-o', temprecipe, srcuri])
-self.assertTrue(os.path.isfile(recipefile))
+recipefile = os.path.join(temprecipe, 'python3-meson_git.bb')
+srcuri = 'https://github.com/mesonbuild/meson;rev=0.52.1'
+cmd = ['recipetool', 'create', '-o', temprecipe, srcuri]
+result = runCmd(cmd)
+self.assertTrue(os.path.isfile(recipefile), msg="recipe %s not created 
for command %s, output %s" % (recipefile, " ".join(cmd), result.output))
 checkvars = {}
-checkvars['LICENSE'] = set(['Apache-2.0', 'Proprietary', 'Unknown'])
-checkvars['SRC_URI'] = 
'git://github.com/mesonbuild/meson;protocol=https;branch=1.3'
-inherits = ['python_setuptools_build_meta']
+checkvars['LICENSE'] = set(['Apache-2.0', "Unknown"])
+checkvars['SRC_URI'] = 
'git://github.com/mesonbuild/meson;protocol=https;branch=0.52'
+inherits = ['setuptools3']
 self._test_recipe_contents(recipefile, checkvars, inherits)
 
 def test_recipetool_create_python3_setuptools(self):
@@ -473,18 +475,19 @@ class RecipetoolCreateTests(RecipetoolBase):
 self._test_recipe_contents(recipefile, checkvars, inherits)
 
 def test_recipetool_create_github_tarball(self):
-# Basic test to ensure github URL mangling doesn't apply to release 
tarballs
+# Basic test to ensure github URL mangling doesn't apply to release 
tarballs.
+# Deliberately use an older release of Meson at present so we don't 
need a toml parser.
 temprecipe = os.path.join(self.tempdir, 'recipe')
 os.makedirs(temprecipe)
-pv = '1.3.1'
-recipefile = os.path.join(temprecipe, 'meson_%s.bb' % pv)
+pv = '0.52.1'
+recipefile = os.path.join(temprecipe, 'python3-meson_%s.bb' % pv)
 srcuri = 
'https://github.com/mesonbuild/meson/releases/download/%s/meson-%s.tar.gz' % 
(pv, pv)
 result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
 self.assertTrue(os.path.isfile(recipefile))
 checkvars = {}
-checkvars['LICENSE'] = set(['Apache-2.0', 'Proprietary', 'Unknown'])
+checkvars['LICENSE'] = set(['Apache-2.0'])
 checkvars['SRC_URI'] = 
'https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz'
-inherits = ['python_setuptools_build_meta']
+inherits = ['setuptools3']
 self._test_recipe_contents(recipefile, checkvars, inherits)
 
 def _test_recipetool_create_git(self, srcuri, branch=None):
-- 
2.34.1


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



[OE-core][kirkstone 06/16] oeqa/selftest/recipetool: fix for python 3.12

2024-02-27 Thread Steve Sakoman
From: Adrian Freihofer 

test_recipetool_create_github and test_recipetool_create_github_tarball
fail because the old meson version used by these tests cases does not
run on Python 3.12. The issue is in the dependencies.py which comes with
meson:
ERROR: build/tmp/work/recipetool-3z4osyl7/source/git/mesonbuild/
   dependencies.py:777: SyntaxWarning: invalid escape sequence '\.'

Use meson 1.3.1 (what is currently also used on master) as a reference
for these tests.

With this version of meson, recipetool creates recipes named
meson_git.bb or meson_1.3.1.bb. Since this looks more reasonable than
e.g. python3-meson_git.bb the test gets adapted.

Signed-off-by: Adrian Freihofer 
Signed-off-by: Richard Purdie 

Backported from master: 7374a8a2810a6cf027bfefefe87691a3529123ff

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 meta/lib/oeqa/selftest/cases/recipetool.py | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/meta/lib/oeqa/selftest/cases/recipetool.py 
b/meta/lib/oeqa/selftest/cases/recipetool.py
index db8790b57b..db21325155 100644
--- a/meta/lib/oeqa/selftest/cases/recipetool.py
+++ b/meta/lib/oeqa/selftest/cases/recipetool.py
@@ -444,13 +444,13 @@ class RecipetoolCreateTests(RecipetoolBase):
 temprecipe = os.path.join(self.tempdir, 'recipe')
 os.makedirs(temprecipe)
 recipefile = os.path.join(temprecipe, 'meson_git.bb')
-srcuri = 'https://github.com/mesonbuild/meson;rev=0.32.0'
+srcuri = 'https://github.com/mesonbuild/meson;rev=1.3.1'
 result = runCmd(['recipetool', 'create', '-o', temprecipe, srcuri])
 self.assertTrue(os.path.isfile(recipefile))
 checkvars = {}
-checkvars['LICENSE'] = set(['Apache-2.0'])
-checkvars['SRC_URI'] = 
'git://github.com/mesonbuild/meson;protocol=https;branch=master'
-inherits = ['setuptools3']
+checkvars['LICENSE'] = set(['Apache-2.0', 'Proprietary', 'Unknown'])
+checkvars['SRC_URI'] = 
'git://github.com/mesonbuild/meson;protocol=https;branch=1.3'
+inherits = ['python_setuptools_build_meta']
 self._test_recipe_contents(recipefile, checkvars, inherits)
 
 def test_recipetool_create_python3_setuptools(self):
@@ -476,15 +476,15 @@ class RecipetoolCreateTests(RecipetoolBase):
 # Basic test to ensure github URL mangling doesn't apply to release 
tarballs
 temprecipe = os.path.join(self.tempdir, 'recipe')
 os.makedirs(temprecipe)
-pv = '0.32.0'
+pv = '1.3.1'
 recipefile = os.path.join(temprecipe, 'meson_%s.bb' % pv)
 srcuri = 
'https://github.com/mesonbuild/meson/releases/download/%s/meson-%s.tar.gz' % 
(pv, pv)
 result = runCmd('recipetool create -o %s %s' % (temprecipe, srcuri))
 self.assertTrue(os.path.isfile(recipefile))
 checkvars = {}
-checkvars['LICENSE'] = set(['Apache-2.0'])
+checkvars['LICENSE'] = set(['Apache-2.0', 'Proprietary', 'Unknown'])
 checkvars['SRC_URI'] = 
'https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz'
-inherits = ['setuptools3']
+inherits = ['python_setuptools_build_meta']
 self._test_recipe_contents(recipefile, checkvars, inherits)
 
 def _test_recipetool_create_git(self, srcuri, branch=None):
-- 
2.34.1


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



[OE-core][kirkstone 05/16] oeqa: replace deprecated assertEquals

2024-02-27 Thread Steve Sakoman
From: Adrian Freihofer 

assertEquals is deprecated since Python 2.7:
https://docs.python.org/2/library/unittest.html#deprecated-aliases
It throws errors at least on Python 3.12. Replace it by assertEqual.

Signed-off-by: Adrian Freihofer 
Signed-off-by: Richard Purdie 

Backported from master: 68286d0b70cf09a0d2950b48945c9192fb8c8769

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 meta/lib/oeqa/sdk/buildtools-cases/sanity.py | 2 +-
 meta/lib/oeqa/selftest/cases/devtool.py  | 2 +-
 meta/lib/oeqa/selftest/cases/liboe.py| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/lib/oeqa/sdk/buildtools-cases/sanity.py 
b/meta/lib/oeqa/sdk/buildtools-cases/sanity.py
index 64baaa8f84..68b19f4d47 100644
--- a/meta/lib/oeqa/sdk/buildtools-cases/sanity.py
+++ b/meta/lib/oeqa/sdk/buildtools-cases/sanity.py
@@ -19,4 +19,4 @@ class SanityTests(OESDKTestCase):
 # Canonicalise the location of this command
 tool_path = os.path.realpath(self._run("command -v %s" % 
command).strip())
 # Assert that the tool was found inside the SDK root
-self.assertEquals(os.path.commonprefix((sdk_base, tool_path)), 
sdk_base)
+self.assertEqual(os.path.commonprefix((sdk_base, tool_path)), 
sdk_base)
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py 
b/meta/lib/oeqa/selftest/cases/devtool.py
index aea2ad6561..dc0fc35062 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -919,7 +919,7 @@ class DevtoolModifyTests(DevtoolBase):
 runCmd('git -C %s checkout %s' % (tempdir, branch))
 with open(source, "rt") as f:
 content = f.read()
-self.assertEquals(content, expected)
+self.assertEqual(content, expected)
 check('devtool', 'This is a test for something\n')
 check('devtool-no-overrides', 'This is a test for something\n')
 check('devtool-override-qemuarm', 'This is a test for qemuarm\n')
diff --git a/meta/lib/oeqa/selftest/cases/liboe.py 
b/meta/lib/oeqa/selftest/cases/liboe.py
index afe8f8809f..da88ff480e 100644
--- a/meta/lib/oeqa/selftest/cases/liboe.py
+++ b/meta/lib/oeqa/selftest/cases/liboe.py
@@ -97,6 +97,6 @@ class LibOE(OESelftestTestCase):
 
 dstcnt = len(os.listdir(dst))
 srccnt = len(os.listdir(src))
-self.assertEquals(dstcnt, len(testfiles), "Number of files in dst (%s) 
differs from number of files in src(%s)." % (dstcnt, srccnt))
+self.assertEqual(dstcnt, len(testfiles), "Number of files in dst (%s) 
differs from number of files in src(%s)." % (dstcnt, srccnt))
 
 oe.path.remove(testloc)
-- 
2.34.1


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



[OE-core][kirkstone 04/16] runqemu: add qmp socket support

2024-02-27 Thread Steve Sakoman
From: Ross Burton 

Add support for qmp sockets and defaults to unix:qmp.sock if unspecified

Signed-off-by: Ross Burton 
Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
Signed-off-by: Richard Purdie 

Backported from master: 380631797f0d63124a8c21efa93ab672dbd79283
Qemu throws many warnings without qmp and many runtime tests fail
without this patch also on kirkstone.

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 scripts/runqemu | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/scripts/runqemu b/scripts/runqemu
index 81d95133b6..ba7c1b2461 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -82,6 +82,7 @@ of the following environment variables (in any order):
 kvm-vhost - enable KVM with vhost when running x86/x86_64 (VT-capable CPU 
required)
 publicvnc - enable a VNC server open to all hosts
 audio - enable audio
+qmp= - create a QMP socket (defaults to unix:qmp.sock if unspecified)
 [*/]ovmf* - OVMF firmware file or base name for booting with UEFI
   tcpserial= - specify tcp serial port number
   qemuparams= - specify custom parameters to QEMU
@@ -216,6 +217,7 @@ class BaseConfig(object):
 self.cleaned = False
 # Files to cleanup after run
 self.cleanup_files = []
+self.qmp = None
 
 def acquire_taplock(self, error=True):
 logger.debug("Acquiring lockfile %s..." % self.taplock)
@@ -512,6 +514,10 @@ to your build configuration.
 elif arg == 'publicvnc':
 self.publicvnc = True
 self.qemu_opt_script += ' -vnc :0'
+elif arg == "qmp":
+self.qmp = "unix:qmp.sock"
+elif arg.startswith("qmp="):
+self.qmp = arg[len('qmp='):]
 elif arg.startswith('tcpserial='):
 self.tcpserial_portnum = '%s' % arg[len('tcpserial='):]
 elif arg.startswith('qemuparams='):
@@ -1332,6 +1338,10 @@ to your build configuration.
 raise RunQemuError("Failed to boot, QB_SYSTEM_NAME is NULL!")
 self.qemu_system = qemu_system
 
+def setup_qmp(self):
+if self.qmp:
+self.qemu_opt += " -qmp %s,server,nowait" % self.qmp
+
 def setup_vga(self):
 if self.nographic == True:
 if self.sdl == True:
@@ -1462,6 +1472,7 @@ to your build configuration.
 if self.snapshot:
 self.qemu_opt += " -snapshot"
 
+self.setup_qmp()
 self.setup_serial()
 self.setup_vga()
 
-- 
2.34.1


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



[OE-core][kirkstone 03/16] populate_sdk_ext: use ConfigParser instead of SafeConfigParser

2024-02-27 Thread Steve Sakoman
From: Ross Burton 

SafeConfigParser was renamed to ConfigParser in 3.2, and the
SafeConfigParser alias will be removed in 3.12.

Signed-off-by: Ross Burton 
Signed-off-by: Alexandre Belloni 

Cherry-picked from master: 71b3e7f71727137b4b996cc4160c9cc1581824b8

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 meta/classes/populate_sdk_ext.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/populate_sdk_ext.bbclass 
b/meta/classes/populate_sdk_ext.bbclass
index ca1b7753cb..bdd86863c6 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -227,7 +227,7 @@ python copy_buildsystem () {
 
 # Write out config file for devtool
 import configparser
-config = configparser.SafeConfigParser()
+config = configparser.ConfigParser()
 config.add_section('General')
 config.set('General', 'bitbake_subdir', conf_bbpath)
 config.set('General', 'init_path', conf_initpath)
-- 
2.34.1


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



[OE-core][kirkstone 02/16] scripts/runqemu: fix regex escape sequences

2024-02-27 Thread Steve Sakoman
From: Trevor Gamblin 

When invoking runqemu with Python 3.12, the following warning is
encountered:

|SyntaxWarning: invalid escape sequence '\.'

This is because the interpreter scans the string before it is processed
by the regex module, and it interprets the backslash as part of an
escape sequence, but not a standard one. This will be registered as an
error rather than a warning in future Python versions. To avoid the it,
simply add an extra backslash so that Python doesn't misinterpret the
string, while the regex parser still sees an escaped '.' character.

Signed-off-by: Trevor Gamblin 
Signed-off-by: Richard Purdie 

Backported from master: 0e8a4142bb90a92d175df6b2537d24a372356f98

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 scripts/runqemu | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 8e5d22888d..81d95133b6 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -362,7 +362,7 @@ class BaseConfig(object):
 if p.endswith('.qemuboot.conf'):
 self.qemuboot = p
 self.qbconfload = True
-elif re.search('\.bin$', p) or re.search('bzImage', p) or \
+elif re.search('\\.bin$', p) or re.search('bzImage', p) or \
  re.search('zImage', p) or re.search('vmlinux', p) or \
  re.search('fitImage', p) or re.search('uImage', p):
 self.kernel =  p
@@ -376,13 +376,13 @@ class BaseConfig(object):
 fst = t
 break
 if not fst:
-m = re.search('.*\.(.*)$', self.rootfs)
+m = re.search('.*\\.(.*)$', self.rootfs)
 if m:
 fst =  m.group(1)
 if fst:
 self.check_arg_fstype(fst)
-qb = re.sub('\.' + fst + "$", '', self.rootfs)
-qb = '%s%s' % (re.sub('\.rootfs$', '', qb), '.qemuboot.conf')
+qb = re.sub('\\.' + fst + "$", '', self.rootfs)
+qb = '%s%s' % (re.sub('\\.rootfs$', '', qb), '.qemuboot.conf')
 if os.path.exists(qb):
 self.qemuboot = qb
 self.qbconfload = True
-- 
2.34.1


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



[OE-core][kirkstone 01/16] recipetool/create_buildsys_python: use importlib instead of imp

2024-02-27 Thread Steve Sakoman
From: Chris Laplante 

'imp' was deprecated in Python 3.4 and removed in 3.12. The
piece of importlib we use has been around since 3.3.

Signed-off-by: Chris Laplante 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 

Cherry-picked from master: 457f0dad87b4e45a53865b5ad2c150215bd74019

Signed-off-by: Adrian Freihofer 
Signed-off-by: Steve Sakoman 
---
 scripts/lib/recipetool/create_buildsys_python.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/lib/recipetool/create_buildsys_python.py 
b/scripts/lib/recipetool/create_buildsys_python.py
index 5686a62d3f..a7eed3256f 100644
--- a/scripts/lib/recipetool/create_buildsys_python.py
+++ b/scripts/lib/recipetool/create_buildsys_python.py
@@ -10,7 +10,7 @@ import codecs
 import collections
 import setuptools.command.build_py
 import email
-import imp
+import importlib
 import glob
 import itertools
 import logging
@@ -561,7 +561,6 @@ class PythonRecipeHandler(RecipeHandler):
 return deps
 
 def parse_pkgdata_for_python_packages(self):
-suffixes = [t[0] for t in imp.get_suffixes()]
 pkgdata_dir = tinfoil.config_data.getVar('PKGDATA_DIR')
 
 ldata = tinfoil.config_data.createCopy()
@@ -585,7 +584,7 @@ class PythonRecipeHandler(RecipeHandler):
 continue
 
 for fn in files_info:
-for suffix in suffixes:
+for suffix in importlib.machinery.all_suffixes():
 if fn.endswith(suffix):
 break
 else:
-- 
2.34.1


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



[OE-core][kirkstone 00/16] Patch review

2024-02-27 Thread Steve Sakoman
Please review this set of changes for kirkstone and have comments back by
end of day Thursday, February 29

Passed a-full on autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6616

The following changes since commit 5103ce67741782e43612f495bcc851c6509b734b:

  runqemu: direct mesa to use its own drivers, rather than ones provided by 
host distro (2024-02-25 05:51:38 -1000)

are available in the Git repository at:

  https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
  
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut

Adrian Freihofer (8):
  oeqa: replace deprecated assertEquals
  oeqa/selftest/recipetool: fix for python 3.12
  oeqa/selftest/recipetool: expect meson.bb
  oeqa/selftest/oelib/buildhistory: git default branch
  feature-microblaze-versions.inc: python 3.12 regex
  meta/lib/oeqa: python 3.12 regex
  meta/recipes: python 3.12 regex
  scripts: python 3.12 regex

Bruce Ashfield (2):
  kernel: fix localversion in v6.3+
  kernel: make LOCALVERSION consistent between recipes

Chris Laplante (1):
  recipetool/create_buildsys_python: use importlib instead of imp

Ming Liu (1):
  kernel.bbclass: introduce KERNEL_LOCALVERSION

Ross Burton (3):
  populate_sdk_ext: use ConfigParser instead of SafeConfigParser
  runqemu: add qmp socket support
  oeqa/selftest/recipetool: downgrade meson version to not use
pyproject.toml

Trevor Gamblin (1):
  scripts/runqemu: fix regex escape sequences

 meta/classes/kernel-arch.bbclass  |  1 -
 meta/classes/kernel.bbclass   | 24 +++-
 meta/classes/kernelsrc.bbclass|  1 +
 meta/classes/linux-kernel-base.bbclass| 11 ++
 meta/classes/module-base.bbclass  |  1 +
 meta/classes/populate_sdk_ext.bbclass |  2 +-
 meta/conf/documentation.conf  |  1 +
 .../feature-microblaze-versions.inc   |  2 +-
 meta/lib/oeqa/oetest.py   |  2 +-
 meta/lib/oeqa/sdk/buildtools-cases/sanity.py  |  2 +-
 meta/lib/oeqa/selftest/cases/bblayers.py  |  2 +-
 meta/lib/oeqa/selftest/cases/devtool.py   |  2 +-
 meta/lib/oeqa/selftest/cases/fitimage.py  |  6 +--
 meta/lib/oeqa/selftest/cases/liboe.py |  2 +-
 .../oeqa/selftest/cases/oelib/buildhistory.py | 18 +++--
 meta/lib/oeqa/selftest/cases/recipetool.py| 19 ++
 .../make-mod-scripts/make-mod-scripts_1.0.bb  |  3 ++
 .../perf/perf/sort-pmuevents.py   |  8 ++--
 meta/recipes-rt/rt-tests/files/rt_bmark.py|  2 +-
 scripts/combo-layer   |  2 +-
 scripts/contrib/bbvars.py |  6 +--
 scripts/contrib/convert-overrides.py  |  8 ++--
 scripts/lib/checklayer/__init__.py|  4 +-
 scripts/lib/recipetool/create.py  | 12 +++---
 scripts/lib/recipetool/create_buildsys.py | 38 +--
 .../lib/recipetool/create_buildsys_python.py  |  5 +--
 scripts/oe-check-sstate   |  2 +-
 scripts/oe-pkgdata-util   |  2 +-
 scripts/opkg-query-helper.py  |  2 +-
 scripts/runqemu   | 19 --
 30 files changed, 134 insertions(+), 75 deletions(-)

-- 
2.34.1


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



[OE-core] [PATCH] python3: dont disable readline module for editline

2024-02-27 Thread Nick Owens
if we use editline, then the readline module must also be enabled for
python to build the readline module and link it against libedit.

Signed-off-by: Nick Owens 
---
 meta/recipes-devtools/python/python3_3.12.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3_3.12.1.bb 
b/meta/recipes-devtools/python/python3_3.12.1.bb
index 771902cd2c..b4916d8cef 100644
--- a/meta/recipes-devtools/python/python3_3.12.1.bb
+++ b/meta/recipes-devtools/python/python3_3.12.1.bb
@@ -113,7 +113,7 @@ do_configure:prepend () {
 cat > ${B}/Modules/Setup.local << EOF
 *disabled*
 ${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '', '_gdbm _dbm', d)}
-${@bb.utils.contains('PACKAGECONFIG', 'readline', '', 'readline', d)}
+${@bb.utils.contains_any('PACKAGECONFIG', 'readline editline', '', 'readline', 
d)}
 ${@bb.utils.contains('PACKAGECONFIG', 'tk', '', '_tkinter', d)}
 EOF
 }
-- 
2.34.1


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



Re: [OE-core] [PATCH 2/3] kernel-yocto.bblass: run kernel_version_sanity_check after do_patch

2024-02-27 Thread Enrico Jörns
Am Dienstag, dem 27.02.2024 um 14:46 -0500 schrieb Bruce Ashfield:
> On Tue, Feb 27, 2024 at 2:32 PM Enrico Jörns  wrote:
> > 
> > Am Dienstag, dem 27.02.2024 um 14:13 -0500 schrieb Bruce Ashfield:
> > > On Tue, Feb 27, 2024 at 1:55 PM Enrico Jörns  wrote:
> > > > 
> > > > Am Dienstag, dem 27.02.2024 um 12:36 -0500 schrieb Bruce Ashfield:
> > > > > On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  
> > > > > wrote:
> > > > > > 
> > > > > > The kernel patches may modify the kernel version, thus wait for 
> > > > > > do_patch
> > > > > > before running the version check.
> > > > > 
> > > > > While that may be true for kernel's in general, I sincerely hope that 
> > > > > no one is
> > > > > patching in a new kernel version to linux-yocto.
> > > > > 
> > > > > I don't have any great concerns with the patch, I just don't think it
> > > > > is necessary :)
> > > > 
> > > > Yes, the use case is actually not linux-yocto itself.
> > > > Thus it might be most relevant in combination with moving the version 
> > > > check to
> > > > kernel.bbclass.
> > > > 
> > > > How I actually came across this check is that (in some projects) we use 
> > > > the linux-
> > > > yocto.bbclass
> > > > for
> > > > non-linux-yocto kernels since some functionality (especially fragment 
> > > > handling) seems useful
> > > > in
> > > > general.
> > > > 
> > > > I am still unsure if I should try to move (or duplicate) the required 
> > > > features in the
> > > > generic
> > > > kernel.bbclass or if using linux-yocto.bbclass for 'mainline' kernel is 
> > > > an appropriate use
> > > > case..?
> > > > 
> > > 
> > > There's no need to use the linux-yocto repository when using
> > > kernel-yocto bbclass, so
> > > definitely, it is an acceptable use case. In fact meta-mainline, and
> > > linux-yocto themselves
> > > are both using kernel-yocto bbclass to build mainline/-stable kernels.
> > > 
> > > I'd rather not move the kernel-yocto bits into kernel.bbclass, since
> > > if that was something
> > > easily done .. I would have done it a long time ago.
> > > 
> > > Keeping the split in the functionality allows those that don't care
> > > about linux-yocto to
> > > keep their recipes and workflow the same, and those that want to opt
> > > into the kernel-yocto
> > > functionality can just inherit the class.
> > 
> > Yes, I wouldn't move the meta data handling and its tricky pieces, since 
> > this is actually
> > something
> > I see in kernel-yocto.bbclass, too.
> > 
> > But.. do you have an opinion on adding simple config fragment handling in 
> > kernel.bbclass (like
> > we
> > have in busybox or u-boot)? So mainly calling merge_config.sh somewhere 
> > around do_configure.
> > (It would however need to be compatible with (or replaced by) the more 
> > advanced handling in
> > kernel-
> > yocto.bbclass.)
> 
> I do have a very strong opinion.
> 
> If we were going to do that, I also would have done it many years ago.
> 
> Having some, but not all of the meta-data and merging split between the
> classes would be a disaster.

I would not call config fragments 'meta-data' and was thinking more about 
something that is replaced
by kernel-yocto.bbclass. That a split of meta-data handling would be a disaster 
is something I would
agree on.

> If there's something that the meta-data handling is doing in kernel-yocto
> bbclass that isn't working or isn't appropriate, we can fix it there.

Ok, if the opinion is that strong, than this is the way to go for me first of 
all.
(However, I do not have any meta-data in mind in our use case anyway.)

> Other layers and classes in those layers are of course free to do whatever
> they want, but we need to be consistent in core.

Clear.

> In fact, I've had a bug and a prototype patch for many years now that
> does move some of the configuration merging to kernel.bbclass, but it
> only increases complexity and doesn't offer any benefits .. again, since
> if there's something wrong with the fragment gathering and merging
> in the kernel-yocto bbclass that makes it not broadly applicable, we need
> to fix it there, not make things more complex and confusing by arbitrarily
> splitting it into something unmaintainable.

Keeping it maintainable should be the primary goal, indeed!
I would not call it 'arbitrarily splitting' but at a well-defined point (*no* 
meta-data vs. meta-
data), but if you have already tried to do a proper split I'd keep this as a 
good hint first of all
that the topic is quite tricky.

Thanks for sharing your opinions on that 

Enrico

> Bruce
> 
> > 
> > 
> > Enrico
> > 
> > > Bruce
> > > 
> > > > 
> > > > Regards, Enrico
> > > > 
> > > > > Bruce
> > > > > 
> > > > > > 
> > > > > > Signed-off-by: Enrico Jörns 
> > > > > > ---
> > > > > >  meta/classes-recipe/kernel-yocto.bbclass | 2 +-
> > > > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > > > > 
> > > > > > diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
> > > > > > b/meta/classes-recipe/kernel-
> > > > > > yocto.bbclass
> > > 

[OE-core] Patchtest results for [PATCH] python3-maturin: Recognise riscv32 architecture

2024-02-27 Thread Patchtest
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch 
/home/patchtest/share/mboxes/python3-maturin-Recognise-riscv32-architecture.patch

FAIL: test commit message presence: Please include a commit message on your 
patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)

PASS: pretest src uri left files 
(test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test CVE tag format (test_patch.TestPatch.test_cve_tag_format)
PASS: test Signed-off-by presence 
(test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test Signed-off-by presence 
(test_patch.TestPatch.test_signed_off_by_presence)
PASS: test Upstream-Status presence 
(test_patch.TestPatch.test_upstream_status_presence_format)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test lic files chksum modified not mentioned 
(test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files 
(test_metadata.TestMetadata.test_src_uri_left_files)

SKIP: pretest pylint: No python related patches, skipping test 
(test_python_pylint.PyLint.pretest_pylint)
SKIP: test bugzilla entry format: No bug ID found 
(test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test 
(test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test 
(test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test 
(test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now 
(test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test 
(test_metadata.TestMetadata.test_summary_presence)
SKIP: test target mailing list: Series merged, no reason to check other mailing 
lists (test_mbox.TestMbox.test_target_mailing_list)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!

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



[OE-core] [PATCH] python3-maturin: Recognise riscv32 architecture

2024-02-27 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../0001-Add-32-bit-RISC-V-support.patch  | 102 ++
 .../python/python3-maturin_1.4.0.bb   |   1 +
 2 files changed, 103 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-maturin/0001-Add-32-bit-RISC-V-support.patch

diff --git 
a/meta/recipes-devtools/python/python3-maturin/0001-Add-32-bit-RISC-V-support.patch
 
b/meta/recipes-devtools/python/python3-maturin/0001-Add-32-bit-RISC-V-support.patch
new file mode 100644
index 000..a0ef0c9e228
--- /dev/null
+++ 
b/meta/recipes-devtools/python/python3-maturin/0001-Add-32-bit-RISC-V-support.patch
@@ -0,0 +1,102 @@
+From a945706bd610c5400fc85a248d5e0c96ebd2e953 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Tue, 27 Feb 2024 10:38:49 -0800
+Subject: [PATCH] Add 32-bit RISC-V support
+
+Tested with qemuriscv32 and it builds fine with all tests passed on a
+qemu machine.
+
+Upstream-Status: Submitted [https://github.com/PyO3/maturin/pull/1969]
+Signed-off-by: Khem Raj 
+---
+ src/target.rs | 11 ++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/src/target.rs b/src/target.rs
+index fbb93531..33fa9273 100644
+--- a/src/target.rs
 b/src/target.rs
+@@ -69,6 +69,7 @@ pub enum Arch {
+ X86_64,
+ S390X,
+ Wasm32,
++Riscv32,
+ Riscv64,
+ Mips64el,
+ Mips64,
+@@ -91,6 +92,7 @@ impl fmt::Display for Arch {
+ Arch::X86_64 => write!(f, "x86_64"),
+ Arch::S390X => write!(f, "s390x"),
+ Arch::Wasm32 => write!(f, "wasm32"),
++Arch::Riscv32 => write!(f, "riscv32"),
+ Arch::Riscv64 => write!(f, "riscv64"),
+ Arch::Mips64el => write!(f, "mips64el"),
+ Arch::Mips64 => write!(f, "mips64"),
+@@ -115,7 +117,7 @@ impl Arch {
+ Arch::Powerpc | Arch::Powerpc64Le | Arch::Powerpc64 => "powerpc",
+ Arch::X86 => "i386",
+ Arch::X86_64 => "amd64",
+-Arch::Riscv64 => "riscv",
++Arch::Riscv32 | Arch::Riscv64 => "riscv",
+ Arch::Mips64el | Arch::Mips64 | Arch::Mipsel | Arch::Mips => 
"mips",
+ // sparc64 is unsupported since FreeBSD 13.0
+ Arch::Sparc64 => "sparc64",
+@@ -139,6 +141,7 @@ fn get_supported_architectures(os: ) -> Vec {
+ Arch::S390X,
+ Arch::X86,
+ Arch::X86_64,
++Arch::Riscv32,
+ Arch::Riscv64,
+ Arch::Mips64el,
+ Arch::Mips64,
+@@ -158,6 +161,7 @@ fn get_supported_architectures(os: ) -> Vec {
+ Arch::Powerpc64Le,
+ Arch::X86,
+ Arch::X86_64,
++Arch::Riscv32,
+ Arch::Riscv64,
+ Arch::Mips64el,
+ Arch::Mipsel,
+@@ -171,6 +175,7 @@ fn get_supported_architectures(os: ) -> Vec {
+ Arch::Powerpc,
+ Arch::Powerpc64,
+ Arch::Powerpc64Le,
++Arch::Riscv32,
+ Arch::Riscv64,
+ Arch::Sparc64,
+ ],
+@@ -255,6 +260,7 @@ impl Target {
+ Architecture::Powerpc64le => Arch::Powerpc64Le,
+ Architecture::S390x => Arch::S390X,
+ Architecture::Wasm32 => Arch::Wasm32,
++Architecture::Riscv32(_) => Arch::Riscv32,
+ Architecture::Riscv64(_) => Arch::Riscv64,
+ Architecture::Mips64(mips64_arch) => match mips64_arch {
+ Mips64Architecture::Mips64el => Arch::Mips64el,
+@@ -343,6 +349,7 @@ impl Target {
+ Arch::X86_64 => "x86_64",
+ Arch::S390X => "s390x",
+ Arch::Wasm32 => "wasm32",
++Arch::Riscv32 => "riscv32",
+ Arch::Riscv64 => "riscv64",
+ // It's kinda surprising that Python doesn't include the `el` 
suffix
+ Arch::Mips64el | Arch::Mips64 => "mips64",
+@@ -388,6 +395,7 @@ impl Target {
+ }
+ Arch::Armv6L
+ | Arch::Wasm32
++| Arch::Riscv32
+ | Arch::Riscv64
+ | Arch::Mips64el
+ | Arch::Mips64
+@@ -418,6 +426,7 @@ impl Target {
+ | Arch::Wasm32
+ | Arch::Mipsel
+ | Arch::Mips
++| Arch::Riscv32
+ | Arch::Powerpc => 32,
+ }
+ }
+-- 
+2.44.0
+
diff --git a/meta/recipes-devtools/python/python3-maturin_1.4.0.bb 
b/meta/recipes-devtools/python/python3-maturin_1.4.0.bb
index 82e65abb24d..ed19ee647a0 100644
--- a/meta/recipes-devtools/python/python3-maturin_1.4.0.bb
+++ b/meta/recipes-devtools/python/python3-maturin_1.4.0.bb
@@ -5,6 +5,7 @@ LICENSE = "MIT | Apache-2.0"
 LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 
\
 file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797"
 
+SRC_URI += "file://0001-Add-32-bit-RISC-V-support.patch"
 SRC_URI[sha256sum] = 
"ed12e1768094a7adeafc3a74ebdb8dc2201fa64c4e7e31f14cfc70378bf93790"
 
 S = "${WORKDIR}/maturin-${PV}"
-- 
2.44.0



Re: [OE-core] [PATCH 2/3] kernel-yocto.bblass: run kernel_version_sanity_check after do_patch

2024-02-27 Thread Bruce Ashfield
On Tue, Feb 27, 2024 at 2:32 PM Enrico Jörns  wrote:
>
> Am Dienstag, dem 27.02.2024 um 14:13 -0500 schrieb Bruce Ashfield:
> > On Tue, Feb 27, 2024 at 1:55 PM Enrico Jörns  wrote:
> > >
> > > Am Dienstag, dem 27.02.2024 um 12:36 -0500 schrieb Bruce Ashfield:
> > > > On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  
> > > > wrote:
> > > > >
> > > > > The kernel patches may modify the kernel version, thus wait for 
> > > > > do_patch
> > > > > before running the version check.
> > > >
> > > > While that may be true for kernel's in general, I sincerely hope that 
> > > > no one is
> > > > patching in a new kernel version to linux-yocto.
> > > >
> > > > I don't have any great concerns with the patch, I just don't think it
> > > > is necessary :)
> > >
> > > Yes, the use case is actually not linux-yocto itself.
> > > Thus it might be most relevant in combination with moving the version 
> > > check to kernel.bbclass.
> > >
> > > How I actually came across this check is that (in some projects) we use 
> > > the linux-yocto.bbclass
> > > for
> > > non-linux-yocto kernels since some functionality (especially fragment 
> > > handling) seems useful in
> > > general.
> > >
> > > I am still unsure if I should try to move (or duplicate) the required 
> > > features in the generic
> > > kernel.bbclass or if using linux-yocto.bbclass for 'mainline' kernel is 
> > > an appropriate use
> > > case..?
> > >
> >
> > There's no need to use the linux-yocto repository when using
> > kernel-yocto bbclass, so
> > definitely, it is an acceptable use case. In fact meta-mainline, and
> > linux-yocto themselves
> > are both using kernel-yocto bbclass to build mainline/-stable kernels.
> >
> > I'd rather not move the kernel-yocto bits into kernel.bbclass, since
> > if that was something
> > easily done .. I would have done it a long time ago.
> >
> > Keeping the split in the functionality allows those that don't care
> > about linux-yocto to
> > keep their recipes and workflow the same, and those that want to opt
> > into the kernel-yocto
> > functionality can just inherit the class.
>
> Yes, I wouldn't move the meta data handling and its tricky pieces, since this 
> is actually something
> I see in kernel-yocto.bbclass, too.
>
> But.. do you have an opinion on adding simple config fragment handling in 
> kernel.bbclass (like we
> have in busybox or u-boot)? So mainly calling merge_config.sh somewhere 
> around do_configure.
> (It would however need to be compatible with (or replaced by) the more 
> advanced handling in kernel-
> yocto.bbclass.)

I do have a very strong opinion.

If we were going to do that, I also would have done it many years ago.

Having some, but not all of the meta-data and merging split between the
classes would be a disaster.

If there's something that the meta-data handling is doing in kernel-yocto
bbclass that isn't working or isn't appropriate, we can fix it there.

Other layers and classes in those layers are of course free to do whatever
they want, but we need to be consistent in core.

In fact, I've had a bug and a prototype patch for many years now that
does move some of the configuration merging to kernel.bbclass, but it
only increases complexity and doesn't offer any benefits .. again, since
if there's something wrong with the fragment gathering and merging
in the kernel-yocto bbclass that makes it not broadly applicable, we need
to fix it there, not make things more complex and confusing by arbitrarily
splitting it into something unmaintainable.

Bruce

>
>
> Enrico
>
> > Bruce
> >
> > >
> > > Regards, Enrico
> > >
> > > > Bruce
> > > >
> > > > >
> > > > > Signed-off-by: Enrico Jörns 
> > > > > ---
> > > > >  meta/classes-recipe/kernel-yocto.bbclass | 2 +-
> > > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > > >
> > > > > diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
> > > > > b/meta/classes-recipe/kernel-
> > > > > yocto.bbclass
> > > > > index 108b7e6752..854e4681d5 100644
> > > > > --- a/meta/classes-recipe/kernel-yocto.bbclass
> > > > > +++ b/meta/classes-recipe/kernel-yocto.bbclass
> > > > > @@ -729,6 +729,6 @@ python () {
> > > > >  }
> > > > >
> > > > >  # extra tasks
> > > > > -addtask kernel_version_sanity_check after do_kernel_metadata 
> > > > > do_kernel_checkout before
> > > > > do_compile
> > > > > +addtask kernel_version_sanity_check after do_patch before do_compile
> > > > >  addtask validate_branches before do_patch after do_kernel_checkout
> > > > >  addtask kernel_configcheck after do_configure before do_compile
> > > > > --
> > > > > 2.39.2
> > > > >
> > > >
> > > >
> > >
> > > --
> > > Pengutronix e.K.   | Enrico Jörns|
> > > Embedded Linux Consulting & Support| https://www.pengutronix.de/ |
> > > Steuerwalder Str. 21   | Phone: +49-5121-206917-180  |
> > > 31137 Hildesheim, Germany  | Fax:   +49-5121-206917-9|
> >
> >
> >
>
> --
> Pengutronix e.K.   | 

Re: [OE-core] [PATCH 2/3] kernel-yocto.bblass: run kernel_version_sanity_check after do_patch

2024-02-27 Thread Enrico Jörns
Am Dienstag, dem 27.02.2024 um 14:13 -0500 schrieb Bruce Ashfield:
> On Tue, Feb 27, 2024 at 1:55 PM Enrico Jörns  wrote:
> > 
> > Am Dienstag, dem 27.02.2024 um 12:36 -0500 schrieb Bruce Ashfield:
> > > On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  wrote:
> > > > 
> > > > The kernel patches may modify the kernel version, thus wait for do_patch
> > > > before running the version check.
> > > 
> > > While that may be true for kernel's in general, I sincerely hope that no 
> > > one is
> > > patching in a new kernel version to linux-yocto.
> > > 
> > > I don't have any great concerns with the patch, I just don't think it
> > > is necessary :)
> > 
> > Yes, the use case is actually not linux-yocto itself.
> > Thus it might be most relevant in combination with moving the version check 
> > to kernel.bbclass.
> > 
> > How I actually came across this check is that (in some projects) we use the 
> > linux-yocto.bbclass
> > for
> > non-linux-yocto kernels since some functionality (especially fragment 
> > handling) seems useful in
> > general.
> > 
> > I am still unsure if I should try to move (or duplicate) the required 
> > features in the generic
> > kernel.bbclass or if using linux-yocto.bbclass for 'mainline' kernel is an 
> > appropriate use
> > case..?
> > 
> 
> There's no need to use the linux-yocto repository when using
> kernel-yocto bbclass, so
> definitely, it is an acceptable use case. In fact meta-mainline, and
> linux-yocto themselves
> are both using kernel-yocto bbclass to build mainline/-stable kernels.
> 
> I'd rather not move the kernel-yocto bits into kernel.bbclass, since
> if that was something
> easily done .. I would have done it a long time ago.
> 
> Keeping the split in the functionality allows those that don't care
> about linux-yocto to
> keep their recipes and workflow the same, and those that want to opt
> into the kernel-yocto
> functionality can just inherit the class.

Yes, I wouldn't move the meta data handling and its tricky pieces, since this 
is actually something
I see in kernel-yocto.bbclass, too.

But.. do you have an opinion on adding simple config fragment handling in 
kernel.bbclass (like we
have in busybox or u-boot)? So mainly calling merge_config.sh somewhere around 
do_configure.
(It would however need to be compatible with (or replaced by) the more advanced 
handling in kernel-
yocto.bbclass.)


Enrico

> Bruce
> 
> > 
> > Regards, Enrico
> > 
> > > Bruce
> > > 
> > > > 
> > > > Signed-off-by: Enrico Jörns 
> > > > ---
> > > >  meta/classes-recipe/kernel-yocto.bbclass | 2 +-
> > > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > > > 
> > > > diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
> > > > b/meta/classes-recipe/kernel-
> > > > yocto.bbclass
> > > > index 108b7e6752..854e4681d5 100644
> > > > --- a/meta/classes-recipe/kernel-yocto.bbclass
> > > > +++ b/meta/classes-recipe/kernel-yocto.bbclass
> > > > @@ -729,6 +729,6 @@ python () {
> > > >  }
> > > > 
> > > >  # extra tasks
> > > > -addtask kernel_version_sanity_check after do_kernel_metadata 
> > > > do_kernel_checkout before
> > > > do_compile
> > > > +addtask kernel_version_sanity_check after do_patch before do_compile
> > > >  addtask validate_branches before do_patch after do_kernel_checkout
> > > >  addtask kernel_configcheck after do_configure before do_compile
> > > > --
> > > > 2.39.2
> > > > 
> > > 
> > > 
> > 
> > --
> > Pengutronix e.K.   | Enrico Jörns    |
> > Embedded Linux Consulting & Support    | https://www.pengutronix.de/ |
> > Steuerwalder Str. 21   | Phone: +49-5121-206917-180  |
> > 31137 Hildesheim, Germany  | Fax:   +49-5121-206917-9    |
> 
> 
> 

-- 
Pengutronix e.K.   | Enrico Jörns|
Embedded Linux Consulting & Support| https://www.pengutronix.de/ |
Steuerwalder Str. 21   | Phone: +49-5121-206917-180  |
31137 Hildesheim, Germany  | Fax:   +49-5121-206917-9|

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



Re: [OE-core] [PATCH 2/3] kernel-yocto.bblass: run kernel_version_sanity_check after do_patch

2024-02-27 Thread Bruce Ashfield
On Tue, Feb 27, 2024 at 1:55 PM Enrico Jörns  wrote:
>
> Am Dienstag, dem 27.02.2024 um 12:36 -0500 schrieb Bruce Ashfield:
> > On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  wrote:
> > >
> > > The kernel patches may modify the kernel version, thus wait for do_patch
> > > before running the version check.
> >
> > While that may be true for kernel's in general, I sincerely hope that no 
> > one is
> > patching in a new kernel version to linux-yocto.
> >
> > I don't have any great concerns with the patch, I just don't think it
> > is necessary :)
>
> Yes, the use case is actually not linux-yocto itself.
> Thus it might be most relevant in combination with moving the version check 
> to kernel.bbclass.
>
> How I actually came across this check is that (in some projects) we use the 
> linux-yocto.bbclass for
> non-linux-yocto kernels since some functionality (especially fragment 
> handling) seems useful in
> general.
>
> I am still unsure if I should try to move (or duplicate) the required 
> features in the generic
> kernel.bbclass or if using linux-yocto.bbclass for 'mainline' kernel is an 
> appropriate use case..?
>

There's no need to use the linux-yocto repository when using
kernel-yocto bbclass, so
definitely, it is an acceptable use case. In fact meta-mainline, and
linux-yocto themselves
are both using kernel-yocto bbclass to build mainline/-stable kernels.

I'd rather not move the kernel-yocto bits into kernel.bbclass, since
if that was something
easily done .. I would have done it a long time ago.

Keeping the split in the functionality allows those that don't care
about linux-yocto to
keep their recipes and workflow the same, and those that want to opt
into the kernel-yocto
functionality can just inherit the class.

Bruce

>
> Regards, Enrico
>
> > Bruce
> >
> > >
> > > Signed-off-by: Enrico Jörns 
> > > ---
> > >  meta/classes-recipe/kernel-yocto.bbclass | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
> > > b/meta/classes-recipe/kernel-yocto.bbclass
> > > index 108b7e6752..854e4681d5 100644
> > > --- a/meta/classes-recipe/kernel-yocto.bbclass
> > > +++ b/meta/classes-recipe/kernel-yocto.bbclass
> > > @@ -729,6 +729,6 @@ python () {
> > >  }
> > >
> > >  # extra tasks
> > > -addtask kernel_version_sanity_check after do_kernel_metadata 
> > > do_kernel_checkout before
> > > do_compile
> > > +addtask kernel_version_sanity_check after do_patch before do_compile
> > >  addtask validate_branches before do_patch after do_kernel_checkout
> > >  addtask kernel_configcheck after do_configure before do_compile
> > > --
> > > 2.39.2
> > >
> >
> >
>
> --
> Pengutronix e.K.   | Enrico Jörns|
> Embedded Linux Consulting & Support| https://www.pengutronix.de/ |
> Steuerwalder Str. 21   | Phone: +49-5121-206917-180  |
> 31137 Hildesheim, Germany  | Fax:   +49-5121-206917-9|



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

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



Re: [OE-core] [PATCH v2 2/2] python3-cryptography: Update pyo3 crate to 0.20.3

2024-02-27 Thread Tim Orling
On Tue, Feb 27, 2024 at 9:51 AM Khem Raj  wrote:

> This gets it building on architectures without 64bit atomics.
>
>
We could also upgrade to python3-cryptography 42.0.5
https://cryptography.io/en/latest/changelog/#v42-0-5
Do we want to do that at this stage?


> Signed-off-by: Khem Raj 
> ---
>  .../python/python3-cryptography-crates.inc|  22 ++--
>  ...m-0.20.2-to-0.20.3-in-src-rust-10462.patch | 105 ++
>  .../python/python3-cryptography_42.0.2.bb |   1 +
>  3 files changed, 118 insertions(+), 10 deletions(-)
>  create mode 100644
> meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
>
> diff --git a/meta/recipes-devtools/python/python3-cryptography-crates.inc
> b/meta/recipes-devtools/python/python3-cryptography-crates.inc
> index 4714c76bd2b..b26e22b70c3 100644
> --- a/meta/recipes-devtools/python/python3-cryptography-crates.inc
> +++ b/meta/recipes-devtools/python/python3-cryptography-crates.inc
> @@ -25,12 +25,13 @@ SRC_URI += " \
>  crate://crates.io/parking_lot_core/0.9.9 \
>  crate://crates.io/pem/3.0.3 \
>  crate://crates.io/pkg-config/0.3.29 \
> +crate://crates.io/portable-atomic/1.6.0 \
>  crate://crates.io/proc-macro2/1.0.78 \
> -crate://crates.io/pyo3/0.20.2 \
> -crate://crates.io/pyo3-build-config/0.20.2 \
> -crate://crates.io/pyo3-ffi/0.20.2 \
> -crate://crates.io/pyo3-macros/0.20.2 \
> -crate://crates.io/pyo3-macros-backend/0.20.2 \
> +crate://crates.io/pyo3/0.20.3 \
> +crate://crates.io/pyo3-build-config/0.20.3 \
> +crate://crates.io/pyo3-ffi/0.20.3 \
> +crate://crates.io/pyo3-macros/0.20.3 \
> +crate://crates.io/pyo3-macros-backend/0.20.3 \
>  crate://crates.io/quote/1.0.35 \
>  crate://crates.io/redox_syscall/0.4.1 \
>  crate://crates.io/scopeguard/1.2.0 \
> @@ -74,12 +75,13 @@ SRC_URI[parking_lot-0.12.1.sha256sum] =
> "3742b2c103b9f06bc9fff0a37ff4912935851be
>  SRC_URI[parking_lot_core-0.9.9.sha256sum] =
> "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
>  SRC_URI[pem-3.0.3.sha256sum] =
> "1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310"
>  SRC_URI[pkg-config-0.3.29.sha256sum] =
> "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
> +SRC_URI[portable-atomic-1.6.0.sha256sum] =
> "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
>  SRC_URI[proc-macro2-1.0.78.sha256sum] =
> "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
> -SRC_URI[pyo3-0.20.2.sha256sum] =
> "9a89dc7a5850d0e983be1ec2a463a171d20990487c3cfcd68b5363f1ee3d6fe0"
> -SRC_URI[pyo3-build-config-0.20.2.sha256sum] =
> "07426f0d8fe5a601f26293f300afd1a7b1ed5e78b2a705870c5f30893c5163be"
> -SRC_URI[pyo3-ffi-0.20.2.sha256sum] =
> "dbb7dec17e17766b46bca4f1a4215a85006b4c2ecde122076c562dd058da6cf1"
> -SRC_URI[pyo3-macros-0.20.2.sha256sum] =
> "05f738b4e40d50b5711957f142878cfa0f28e054aa0ebdfc3fd137a843f74ed3"
> -SRC_URI[pyo3-macros-backend-0.20.2.sha256sum] =
> "0fc910d4851847827daf9d6cdd4a823fbdaab5b8818325c5e97a86da79e8881f"
> +SRC_URI[pyo3-0.20.3.sha256sum] =
> "53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
> +SRC_URI[pyo3-build-config-0.20.3.sha256sum] =
> "deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
> +SRC_URI[pyo3-ffi-0.20.3.sha256sum] =
> "62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
> +SRC_URI[pyo3-macros-0.20.3.sha256sum] =
> "7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
> +SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] =
> "7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
>  SRC_URI[quote-1.0.35.sha256sum] =
> "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
>  SRC_URI[redox_syscall-0.4.1.sha256sum] =
> "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
>  SRC_URI[scopeguard-1.2.0.sha256sum] =
> "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
> diff --git
> a/meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
> b/meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
> new file mode 100644
> index 000..33dd7ae5d5a
> --- /dev/null
> +++
> b/meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
> @@ -0,0 +1,105 @@
> +From f6ec5ab18b5beacb08b0157c5193ea626b44b4e1 Mon Sep 17 00:00:00 2001
> +From: Khem Raj 
> +Date: Tue, 27 Feb 2024 09:30:15 -0800
> +Subject: [PATCH] Bump pyo3 from 0.20.2 to 0.20.3 in /src/rust (#10462)
> +
> +It fixes build on hosts without 64bit atomics
> +
> +Upstream-Status: Backport [
> https://github.com/pyca/cryptography/commit/3598d2ee4b5060dbbe6938b893410ed35074567c
> ]
> +
> +Signed-off-by: Khem Raj 
> +---
> + src/rust/Cargo.lock | 28 ++--
> + 1 file changed, 18 insertions(+), 10 deletions(-)
> +
> +diff --git 

Re: [OE-core] [PATCH 2/3] kernel-yocto.bblass: run kernel_version_sanity_check after do_patch

2024-02-27 Thread Enrico Jörns
Am Dienstag, dem 27.02.2024 um 12:36 -0500 schrieb Bruce Ashfield:
> On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  wrote:
> > 
> > The kernel patches may modify the kernel version, thus wait for do_patch
> > before running the version check.
> 
> While that may be true for kernel's in general, I sincerely hope that no one 
> is
> patching in a new kernel version to linux-yocto.
> 
> I don't have any great concerns with the patch, I just don't think it
> is necessary :)

Yes, the use case is actually not linux-yocto itself.
Thus it might be most relevant in combination with moving the version check to 
kernel.bbclass. 

How I actually came across this check is that (in some projects) we use the 
linux-yocto.bbclass for
non-linux-yocto kernels since some functionality (especially fragment handling) 
seems useful in
general.

I am still unsure if I should try to move (or duplicate) the required features 
in the generic
kernel.bbclass or if using linux-yocto.bbclass for 'mainline' kernel is an 
appropriate use case..?


Regards, Enrico

> Bruce
> 
> > 
> > Signed-off-by: Enrico Jörns 
> > ---
> >  meta/classes-recipe/kernel-yocto.bbclass | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
> > b/meta/classes-recipe/kernel-yocto.bbclass
> > index 108b7e6752..854e4681d5 100644
> > --- a/meta/classes-recipe/kernel-yocto.bbclass
> > +++ b/meta/classes-recipe/kernel-yocto.bbclass
> > @@ -729,6 +729,6 @@ python () {
> >  }
> > 
> >  # extra tasks
> > -addtask kernel_version_sanity_check after do_kernel_metadata 
> > do_kernel_checkout before
> > do_compile
> > +addtask kernel_version_sanity_check after do_patch before do_compile
> >  addtask validate_branches before do_patch after do_kernel_checkout
> >  addtask kernel_configcheck after do_configure before do_compile
> > --
> > 2.39.2
> > 
> 
> 

-- 
Pengutronix e.K.   | Enrico Jörns|
Embedded Linux Consulting & Support| https://www.pengutronix.de/ |
Steuerwalder Str. 21   | Phone: +49-5121-206917-180  |
31137 Hildesheim, Germany  | Fax:   +49-5121-206917-9|

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



[OE-core][PATCH] python3-git: upgrade 3.1.41 -> 3.1.42

2024-02-27 Thread Trevor Gamblin
This release contains bugfixes, documentation updates, and changes to
metadata for build and CI.

Changelog: https://github.com/gitpython-developers/GitPython/releases/tag/3.1.42

Signed-off-by: Trevor Gamblin 
---
 .../python/{python3-git_3.1.41.bb => python3-git_3.1.42.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-git_3.1.41.bb => 
python3-git_3.1.42.bb} (92%)

diff --git a/meta/recipes-devtools/python/python3-git_3.1.41.bb 
b/meta/recipes-devtools/python/python3-git_3.1.42.bb
similarity index 92%
rename from meta/recipes-devtools/python/python3-git_3.1.41.bb
rename to meta/recipes-devtools/python/python3-git_3.1.42.bb
index dd0440fe59e..19885a58c74 100644
--- a/meta/recipes-devtools/python/python3-git_3.1.41.bb
+++ b/meta/recipes-devtools/python/python3-git_3.1.42.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "GitPython"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = 
"ed66e624884f76df22c8e16066d567aaa5a37d5b5fa19db2c6df6f7156db9048"
+SRC_URI[sha256sum] = 
"2d99869e0fef71a73cbd242528105af1d6c1b108c60dfabd994bf292f76c3ceb"
 
 DEPENDS += " python3-gitdb"
 
-- 
2.43.2


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



Re: [OE-core] [PATCH 1/3] kernel.bbclass: slightly fix wording, case, and spaces in version check

2024-02-27 Thread Enrico Jörns
Am Dienstag, dem 27.02.2024 um 12:37 -0500 schrieb Bruce Ashfield:
> On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  wrote:
> > 
> > * Version -> version
> > * match of kernel -> match the kernel
> > * Add missing spaces around "=" sign
> 
> There's nothing technically wrong with the missing spaces. Putting the
> assignment in a recipe with or without the spaces should work.

Right, it's more about being consistent with the oe 'coding style' of assigning 
variables 

Enrico

> Bruce
> 
> > 
> > Signed-off-by: Enrico Jörns 
> > ---
> >  meta/classes-recipe/kernel.bbclass | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/meta/classes-recipe/kernel.bbclass 
> > b/meta/classes-recipe/kernel.bbclass
> > index 31e4a683d1..837064cef7 100644
> > --- a/meta/classes-recipe/kernel.bbclass
> > +++ b/meta/classes-recipe/kernel.bbclass
> > @@ -509,7 +509,7 @@ do_kernel_version_sanity_check() {
> >     reg="${reg}${EXTRAVERSION}"
> > 
> >     if [ -z `echo ${PV} | grep -E "${reg}"` ]; then
> > -   bbfatal "Package Version (${PV}) does not match of kernel 
> > being built (${vers}).
> > Please update the PV variable to match the kernel source or set 
> > KERNEL_VERSION_SANITY_SKIP=\"1\"
> > in your recipe."
> > +   bbfatal "Package version (${PV}) does not match the kernel 
> > being built
> > (${vers}). Please update the PV variable to match the kernel source or set
> > KERNEL_VERSION_SANITY_SKIP = \"1\" in your recipe."
> >     fi
> >     exit 0
> >  }
> > --
> > 2.39.2
> > 
> 
> 

-- 
Pengutronix e.K.   | Enrico Jörns|
Embedded Linux Consulting & Support| https://www.pengutronix.de/ |
Steuerwalder Str. 21   | Phone: +49-5121-206917-180  |
31137 Hildesheim, Germany  | Fax:   +49-5121-206917-9|

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



[OE-core] [PATCH v2 1/2] python3-bcrypt: Fix build break on arches without 64 bit atomics

2024-02-27 Thread Khem Raj
bump pyo3 to 0.20.3, which brings the needed fixes for building for
architectures without 64bit atomics [1]

[1] https://github.com/pyca/bcrypt/pull/746

Signed-off-by: Khem Raj 
---
v2: Fix commit msg to reflect affected arches

 .../python/python3-bcrypt-crates.inc  |  22 ++--
 ...-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch | 111 ++
 .../python/python3-bcrypt_4.1.2.bb|   1 +
 3 files changed, 124 insertions(+), 10 deletions(-)
 create mode 100644 
meta/recipes-devtools/python/python3-bcrypt/0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch

diff --git a/meta/recipes-devtools/python/python3-bcrypt-crates.inc 
b/meta/recipes-devtools/python/python3-bcrypt-crates.inc
index 5db6d1e96ef..0e7479f0b57 100644
--- a/meta/recipes-devtools/python/python3-bcrypt-crates.inc
+++ b/meta/recipes-devtools/python/python3-bcrypt-crates.inc
@@ -27,12 +27,13 @@ SRC_URI += " \
 crate://crates.io/parking_lot/0.12.1 \
 crate://crates.io/parking_lot_core/0.9.9 \
 crate://crates.io/pbkdf2/0.12.2 \
+crate://crates.io/portable-atomic/1.6.0 \
 crate://crates.io/proc-macro2/1.0.70 \
-crate://crates.io/pyo3/0.20.0 \
-crate://crates.io/pyo3-build-config/0.20.0 \
-crate://crates.io/pyo3-ffi/0.20.0 \
-crate://crates.io/pyo3-macros/0.20.0 \
-crate://crates.io/pyo3-macros-backend/0.20.0 \
+crate://crates.io/pyo3/0.20.3 \
+crate://crates.io/pyo3-build-config/0.20.3 \
+crate://crates.io/pyo3-ffi/0.20.3 \
+crate://crates.io/pyo3-macros/0.20.3 \
+crate://crates.io/pyo3-macros-backend/0.20.3 \
 crate://crates.io/quote/1.0.33 \
 crate://crates.io/redox_syscall/0.4.1 \
 crate://crates.io/scopeguard/1.2.0 \
@@ -82,12 +83,13 @@ SRC_URI[once_cell-1.19.0.sha256sum] = 
"3fdb12b2476b595f9358c5161aa467c2438859caa
 SRC_URI[parking_lot-0.12.1.sha256sum] = 
"3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
 SRC_URI[parking_lot_core-0.9.9.sha256sum] = 
"4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
 SRC_URI[pbkdf2-0.12.2.sha256sum] = 
"f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
+SRC_URI[portable-atomic-1.6.0.sha256sum] = 
"7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
 SRC_URI[proc-macro2-1.0.70.sha256sum] = 
"39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b"
-SRC_URI[pyo3-0.20.0.sha256sum] = 
"04e8453b658fe480c3e70c8ed4e3d3ec33eb74988bd186561b0cc66b85c3bc4b"
-SRC_URI[pyo3-build-config-0.20.0.sha256sum] = 
"a96fe70b176a89cff78f2fa7b3c930081e163d5379b4dcdf993e3ae29ca662e5"
-SRC_URI[pyo3-ffi-0.20.0.sha256sum] = 
"214929900fd25e6604661ed9cf349727c8920d47deff196c4e28165a6ef2a96b"
-SRC_URI[pyo3-macros-0.20.0.sha256sum] = 
"dac53072f717aa1bfa4db832b39de8c875b7c7af4f4a6fe93cdbf9264cf8383b"
-SRC_URI[pyo3-macros-backend-0.20.0.sha256sum] = 
"7774b5a8282bd4f25f803b1f0d945120be959a36c72e08e7cd031c792fdfd424"
+SRC_URI[pyo3-0.20.3.sha256sum] = 
"53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
+SRC_URI[pyo3-build-config-0.20.3.sha256sum] = 
"deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
+SRC_URI[pyo3-ffi-0.20.3.sha256sum] = 
"62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
+SRC_URI[pyo3-macros-0.20.3.sha256sum] = 
"7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
+SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = 
"7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
 SRC_URI[quote-1.0.33.sha256sum] = 
"5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
 SRC_URI[redox_syscall-0.4.1.sha256sum] = 
"4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
 SRC_URI[scopeguard-1.2.0.sha256sum] = 
"94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
diff --git 
a/meta/recipes-devtools/python/python3-bcrypt/0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch
 
b/meta/recipes-devtools/python/python3-bcrypt/0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch
new file mode 100644
index 000..3f671fcc981
--- /dev/null
+++ 
b/meta/recipes-devtools/python/python3-bcrypt/0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch
@@ -0,0 +1,111 @@
+From cfdd98b3215cc12e66190a9c7f0a32c052e3c2e7 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Mon, 26 Feb 2024 18:26:30 -0800
+Subject: [PATCH] Bump pyo3 from 0.20.0 to 0.20.3 in /src/_bcrypt (#746)
+
+It fixes build on hosts without 64bit atomics
+
+Upstream-Status: Backport 
[https://github.com/pyca/bcrypt/commit/c2ef9350798ab59b18e8a0e04a01389858578fe0]
+Signed-off-by: Khem Raj 
+---
+ src/_bcrypt/Cargo.lock | 22 ++
+ src/_bcrypt/Cargo.toml |  2 +-
+ 2 files changed, 15 insertions(+), 9 deletions(-)
+
+--- a/src/_bcrypt/Cargo.lock
 b/src/_bcrypt/Cargo.lock
+@@ -233,6 +233,12 @@ dependencies = [
+ ]
+ 
+ [[package]]
++name = "portable-atomic"
++version = "1.6.0"
++source = "registry+https://github.com/rust-lang/crates.io-index;
++checksum = 

[OE-core] [PATCH v2 2/2] python3-cryptography: Update pyo3 crate to 0.20.3

2024-02-27 Thread Khem Raj
This gets it building on architectures without 64bit atomics.

Signed-off-by: Khem Raj 
---
 .../python/python3-cryptography-crates.inc|  22 ++--
 ...m-0.20.2-to-0.20.3-in-src-rust-10462.patch | 105 ++
 .../python/python3-cryptography_42.0.2.bb |   1 +
 3 files changed, 118 insertions(+), 10 deletions(-)
 create mode 100644 
meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch

diff --git a/meta/recipes-devtools/python/python3-cryptography-crates.inc 
b/meta/recipes-devtools/python/python3-cryptography-crates.inc
index 4714c76bd2b..b26e22b70c3 100644
--- a/meta/recipes-devtools/python/python3-cryptography-crates.inc
+++ b/meta/recipes-devtools/python/python3-cryptography-crates.inc
@@ -25,12 +25,13 @@ SRC_URI += " \
 crate://crates.io/parking_lot_core/0.9.9 \
 crate://crates.io/pem/3.0.3 \
 crate://crates.io/pkg-config/0.3.29 \
+crate://crates.io/portable-atomic/1.6.0 \
 crate://crates.io/proc-macro2/1.0.78 \
-crate://crates.io/pyo3/0.20.2 \
-crate://crates.io/pyo3-build-config/0.20.2 \
-crate://crates.io/pyo3-ffi/0.20.2 \
-crate://crates.io/pyo3-macros/0.20.2 \
-crate://crates.io/pyo3-macros-backend/0.20.2 \
+crate://crates.io/pyo3/0.20.3 \
+crate://crates.io/pyo3-build-config/0.20.3 \
+crate://crates.io/pyo3-ffi/0.20.3 \
+crate://crates.io/pyo3-macros/0.20.3 \
+crate://crates.io/pyo3-macros-backend/0.20.3 \
 crate://crates.io/quote/1.0.35 \
 crate://crates.io/redox_syscall/0.4.1 \
 crate://crates.io/scopeguard/1.2.0 \
@@ -74,12 +75,13 @@ SRC_URI[parking_lot-0.12.1.sha256sum] = 
"3742b2c103b9f06bc9fff0a37ff4912935851be
 SRC_URI[parking_lot_core-0.9.9.sha256sum] = 
"4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
 SRC_URI[pem-3.0.3.sha256sum] = 
"1b8fcc794035347fb64beda2d3b462595dd2753e3f268d89c5aae77e8cf2c310"
 SRC_URI[pkg-config-0.3.29.sha256sum] = 
"2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
+SRC_URI[portable-atomic-1.6.0.sha256sum] = 
"7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
 SRC_URI[proc-macro2-1.0.78.sha256sum] = 
"e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
-SRC_URI[pyo3-0.20.2.sha256sum] = 
"9a89dc7a5850d0e983be1ec2a463a171d20990487c3cfcd68b5363f1ee3d6fe0"
-SRC_URI[pyo3-build-config-0.20.2.sha256sum] = 
"07426f0d8fe5a601f26293f300afd1a7b1ed5e78b2a705870c5f30893c5163be"
-SRC_URI[pyo3-ffi-0.20.2.sha256sum] = 
"dbb7dec17e17766b46bca4f1a4215a85006b4c2ecde122076c562dd058da6cf1"
-SRC_URI[pyo3-macros-0.20.2.sha256sum] = 
"05f738b4e40d50b5711957f142878cfa0f28e054aa0ebdfc3fd137a843f74ed3"
-SRC_URI[pyo3-macros-backend-0.20.2.sha256sum] = 
"0fc910d4851847827daf9d6cdd4a823fbdaab5b8818325c5e97a86da79e8881f"
+SRC_URI[pyo3-0.20.3.sha256sum] = 
"53bdbb96d49157e65d45cc287af5f32ffadd5f4761438b527b055fb0d4bb8233"
+SRC_URI[pyo3-build-config-0.20.3.sha256sum] = 
"deaa5745de3f5231ce10517a1f5dd97d53e5a2fd77aa6b5842292085831d48d7"
+SRC_URI[pyo3-ffi-0.20.3.sha256sum] = 
"62b42531d03e08d4ef1f6e85a2ed422eb678b8cd62b762e53891c05faf0d4afa"
+SRC_URI[pyo3-macros-0.20.3.sha256sum] = 
"7305c720fa01b8055ec95e484a6eca7a83c841267f0dd5280f0c8b8551d2c158"
+SRC_URI[pyo3-macros-backend-0.20.3.sha256sum] = 
"7c7e9b68bb9c3149c5b0cade5d07f953d6d125eb4337723c4ccdb665f1f96185"
 SRC_URI[quote-1.0.35.sha256sum] = 
"291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
 SRC_URI[redox_syscall-0.4.1.sha256sum] = 
"4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
 SRC_URI[scopeguard-1.2.0.sha256sum] = 
"94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
diff --git 
a/meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
 
b/meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
new file mode 100644
index 000..33dd7ae5d5a
--- /dev/null
+++ 
b/meta/recipes-devtools/python/python3-cryptography/0001-Bump-pyo3-from-0.20.2-to-0.20.3-in-src-rust-10462.patch
@@ -0,0 +1,105 @@
+From f6ec5ab18b5beacb08b0157c5193ea626b44b4e1 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Tue, 27 Feb 2024 09:30:15 -0800
+Subject: [PATCH] Bump pyo3 from 0.20.2 to 0.20.3 in /src/rust (#10462)
+
+It fixes build on hosts without 64bit atomics
+
+Upstream-Status: Backport 
[https://github.com/pyca/cryptography/commit/3598d2ee4b5060dbbe6938b893410ed35074567c]
+
+Signed-off-by: Khem Raj 
+---
+ src/rust/Cargo.lock | 28 ++--
+ 1 file changed, 18 insertions(+), 10 deletions(-)
+
+diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock
+index b2e0ac4..030e38d 100644
+--- a/src/rust/Cargo.lock
 b/src/rust/Cargo.lock
+@@ -263,6 +263,12 @@ version = "0.3.29"
+ source = "registry+https://github.com/rust-lang/crates.io-index;
+ checksum = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb"
+ 
++[[package]]
++name = "portable-atomic"
++version = 

[OE-core] [master][PATCH] wpa-supplicant: Fix CVE-2023-52160

2024-02-27 Thread Claus Stovgaard
PEAP client: Update Phase 2 authentication requirements. Also see
https://www.top10vpn.com/research/wifi-vulnerabilities/

Signed-off-by: Claus Stovgaard 
---
 ...te-Phase-2-authentication-requiremen.patch | 213 ++
 .../wpa-supplicant/wpa-supplicant_2.10.bb |   1 +
 2 files changed, 214 insertions(+)
 create mode 100644 
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch

diff --git 
a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch
 
b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch
new file mode 100644
index 00..620560d3c7
--- /dev/null
+++ 
b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch
@@ -0,0 +1,213 @@
+From f6f7cead3661ceeef54b21f7e799c0afc98537ec Mon Sep 17 00:00:00 2001
+From: Jouni Malinen 
+Date: Sat, 8 Jul 2023 19:55:32 +0300
+Subject: [PATCH] PEAP client: Update Phase 2 authentication requirements
+
+The previous PEAP client behavior allowed the server to skip Phase 2
+authentication with the expectation that the server was authenticated
+during Phase 1 through TLS server certificate validation. Various PEAP
+specifications are not exactly clear on what the behavior on this front
+is supposed to be and as such, this ended up being more flexible than
+the TTLS/FAST/TEAP cases. However, this is not really ideal when
+unfortunately common misconfiguration of PEAP is used in deployed
+devices where the server trust root (ca_cert) is not configured or the
+user has an easy option for allowing this validation step to be skipped.
+
+Change the default PEAP client behavior to be to require Phase 2
+authentication to be successfully completed for cases where TLS session
+resumption is not used and the client certificate has not been
+configured. Those two exceptions are the main cases where a deployed
+authentication server might skip Phase 2 and as such, where a more
+strict default behavior could result in undesired interoperability
+issues. Requiring Phase 2 authentication will end up disabling TLS
+session resumption automatically to avoid interoperability issues.
+
+Allow Phase 2 authentication behavior to be configured with a new phase1
+configuration parameter option:
+'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
+tunnel) behavior for PEAP:
+ * 0 = do not require Phase 2 authentication
+ * 1 = require Phase 2 authentication when client certificate
+   (private_key/client_cert) is no used and TLS session resumption was
+   not used (default)
+ * 2 = require Phase 2 authentication in all cases
+
+Signed-off-by: Jouni Malinen 
+
+CVE: CVE-2023-52160
+Upstream-Status: Backport 
[https://w1.fi/cgit/hostap/commit/?id=8e6485a1bcb0baffdea9e55255a81270b768439c]
+
+Signed-off-by: Claus Stovgaard 
+
+---
+ src/eap_peer/eap_config.h  |  8 ++
+ src/eap_peer/eap_peap.c| 40 +++---
+ src/eap_peer/eap_tls_common.c  |  6 +
+ src/eap_peer/eap_tls_common.h  |  5 
+ wpa_supplicant/wpa_supplicant.conf |  7 ++
+ 5 files changed, 63 insertions(+), 3 deletions(-)
+
+diff --git a/src/eap_peer/eap_config.h b/src/eap_peer/eap_config.h
+index 3238f74..047eec2 100644
+--- a/src/eap_peer/eap_config.h
 b/src/eap_peer/eap_config.h
+@@ -469,6 +469,14 @@ struct eap_peer_config {
+* 1 = use cryptobinding if server supports it
+* 2 = require cryptobinding
+*
++   * phase2_auth option can be used to control Phase 2 (i.e., within TLS
++   * tunnel) behavior for PEAP:
++   * 0 = do not require Phase 2 authentication
++   * 1 = require Phase 2 authentication when client certificate
++   *  (private_key/client_cert) is no used and TLS session resumption was
++   *  not used (default)
++   * 2 = require Phase 2 authentication in all cases
++   *
+* EAP-WSC (WPS) uses following options: pin=Device_Password and
+* uuid=Device_UUID
+*
+diff --git a/src/eap_peer/eap_peap.c b/src/eap_peer/eap_peap.c
+index 12e30df..6080697 100644
+--- a/src/eap_peer/eap_peap.c
 b/src/eap_peer/eap_peap.c
+@@ -67,6 +67,7 @@ struct eap_peap_data {
+   u8 cmk[20];
+   int soh; /* Whether IF-TNCCS-SOH (Statement of Health; Microsoft NAP)
+ * is enabled. */
++  enum { NO_AUTH, FOR_INITIAL, ALWAYS } phase2_auth;
+ };
+ 
+ 
+@@ -114,6 +115,19 @@ static void eap_peap_parse_phase1(struct eap_peap_data 
*data,
+   wpa_printf(MSG_DEBUG, "EAP-PEAP: Require cryptobinding");
+   }
+ 
++  if (os_strstr(phase1, "phase2_auth=0")) {
++  data->phase2_auth = NO_AUTH;
++  wpa_printf(MSG_DEBUG,
++ "EAP-PEAP: Do not require Phase 2 authentication");
++  } else if (os_strstr(phase1, 

Re: [OE-core] [PATCH 3/3] kernel.bbclass: use kernel_version_sanity_check where defined

2024-02-27 Thread Bruce Ashfield
On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  wrote:
>
> The task 'do_kernel_version_sanity_check' was defined in kernel.bbclass
> but used in kernel-yocto.bbclass only.
>
> Since the task does not depend on any kernel-yocto-specific task
> (anymore), move it to the kernel.bbclass so the check can run for all
> kernels.
>
> If it turns out that this causes too many noise for people that are not
> interested in a consistency between ${PV} and the kernel version, an
> option could be to let KERNEL_VERSION_SANITY_SKIP weakly default to "1"
> in kernel.bbclass or alternatively move the entire code to
> kernel-yocto.bbclass.

The check is actually quite annoying / noisy when working on updating a
kernel.

So we may get complaints :)

Again, I don't have a strong opinion, since the functionality is unchanged
for linux-yocto

Bruce

>
> Signed-off-by: Enrico Jörns 
> ---
>  meta/classes-recipe/kernel-yocto.bbclass | 1 -
>  meta/classes-recipe/kernel.bbclass   | 2 ++
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
> b/meta/classes-recipe/kernel-yocto.bbclass
> index 854e4681d5..b7d74b7ab8 100644
> --- a/meta/classes-recipe/kernel-yocto.bbclass
> +++ b/meta/classes-recipe/kernel-yocto.bbclass
> @@ -729,6 +729,5 @@ python () {
>  }
>
>  # extra tasks
> -addtask kernel_version_sanity_check after do_patch before do_compile
>  addtask validate_branches before do_patch after do_kernel_checkout
>  addtask kernel_configcheck after do_configure before do_compile
> diff --git a/meta/classes-recipe/kernel.bbclass 
> b/meta/classes-recipe/kernel.bbclass
> index 837064cef7..3c805fd96f 100644
> --- a/meta/classes-recipe/kernel.bbclass
> +++ b/meta/classes-recipe/kernel.bbclass
> @@ -514,6 +514,8 @@ do_kernel_version_sanity_check() {
> exit 0
>  }
>
> +addtask kernel_version_sanity_check after do_patch before do_compile
> +
>  addtask shared_workdir after do_compile before do_compile_kernelmodules
>  addtask shared_workdir_setscene
>
> --
> 2.39.2
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

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



Re: [OE-core] [PATCH 1/3] kernel.bbclass: slightly fix wording, case, and spaces in version check

2024-02-27 Thread Bruce Ashfield
On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  wrote:
>
> * Version -> version
> * match of kernel -> match the kernel
> * Add missing spaces around "=" sign

There's nothing technically wrong with the missing spaces. Putting the
assignment in a recipe with or without the spaces should work.

Bruce

>
> Signed-off-by: Enrico Jörns 
> ---
>  meta/classes-recipe/kernel.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes-recipe/kernel.bbclass 
> b/meta/classes-recipe/kernel.bbclass
> index 31e4a683d1..837064cef7 100644
> --- a/meta/classes-recipe/kernel.bbclass
> +++ b/meta/classes-recipe/kernel.bbclass
> @@ -509,7 +509,7 @@ do_kernel_version_sanity_check() {
> reg="${reg}${EXTRAVERSION}"
>
> if [ -z `echo ${PV} | grep -E "${reg}"` ]; then
> -   bbfatal "Package Version (${PV}) does not match of kernel 
> being built (${vers}). Please update the PV variable to match the kernel 
> source or set KERNEL_VERSION_SANITY_SKIP=\"1\" in your recipe."
> +   bbfatal "Package version (${PV}) does not match the kernel 
> being built (${vers}). Please update the PV variable to match the kernel 
> source or set KERNEL_VERSION_SANITY_SKIP = \"1\" in your recipe."
> fi
> exit 0
>  }
> --
> 2.39.2
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

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



Re: [OE-core] [PATCH 2/3] kernel-yocto.bblass: run kernel_version_sanity_check after do_patch

2024-02-27 Thread Bruce Ashfield
On Tue, Feb 27, 2024 at 12:09 PM Enrico Jörns  wrote:
>
> The kernel patches may modify the kernel version, thus wait for do_patch
> before running the version check.

While that may be true for kernel's in general, I sincerely hope that no one is
patching in a new kernel version to linux-yocto.

I don't have any great concerns with the patch, I just don't think it
is necessary :)

Bruce

>
> Signed-off-by: Enrico Jörns 
> ---
>  meta/classes-recipe/kernel-yocto.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
> b/meta/classes-recipe/kernel-yocto.bbclass
> index 108b7e6752..854e4681d5 100644
> --- a/meta/classes-recipe/kernel-yocto.bbclass
> +++ b/meta/classes-recipe/kernel-yocto.bbclass
> @@ -729,6 +729,6 @@ python () {
>  }
>
>  # extra tasks
> -addtask kernel_version_sanity_check after do_kernel_metadata 
> do_kernel_checkout before do_compile
> +addtask kernel_version_sanity_check after do_patch before do_compile
>  addtask validate_branches before do_patch after do_kernel_checkout
>  addtask kernel_configcheck after do_configure before do_compile
> --
> 2.39.2
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

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



[OE-core] [PATCH 2/3] kernel-yocto.bblass: run kernel_version_sanity_check after do_patch

2024-02-27 Thread Enrico Jörns
The kernel patches may modify the kernel version, thus wait for do_patch
before running the version check.

Signed-off-by: Enrico Jörns 
---
 meta/classes-recipe/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
b/meta/classes-recipe/kernel-yocto.bbclass
index 108b7e6752..854e4681d5 100644
--- a/meta/classes-recipe/kernel-yocto.bbclass
+++ b/meta/classes-recipe/kernel-yocto.bbclass
@@ -729,6 +729,6 @@ python () {
 }
 
 # extra tasks
-addtask kernel_version_sanity_check after do_kernel_metadata 
do_kernel_checkout before do_compile
+addtask kernel_version_sanity_check after do_patch before do_compile
 addtask validate_branches before do_patch after do_kernel_checkout
 addtask kernel_configcheck after do_configure before do_compile
-- 
2.39.2


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



[OE-core] [PATCH 1/3] kernel.bbclass: slightly fix wording, case, and spaces in version check

2024-02-27 Thread Enrico Jörns
* Version -> version
* match of kernel -> match the kernel
* Add missing spaces around "=" sign

Signed-off-by: Enrico Jörns 
---
 meta/classes-recipe/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/kernel.bbclass 
b/meta/classes-recipe/kernel.bbclass
index 31e4a683d1..837064cef7 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -509,7 +509,7 @@ do_kernel_version_sanity_check() {
reg="${reg}${EXTRAVERSION}"
 
if [ -z `echo ${PV} | grep -E "${reg}"` ]; then
-   bbfatal "Package Version (${PV}) does not match of kernel being 
built (${vers}). Please update the PV variable to match the kernel source or 
set KERNEL_VERSION_SANITY_SKIP=\"1\" in your recipe."
+   bbfatal "Package version (${PV}) does not match the kernel 
being built (${vers}). Please update the PV variable to match the kernel source 
or set KERNEL_VERSION_SANITY_SKIP = \"1\" in your recipe."
fi
exit 0
 }
-- 
2.39.2


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



[OE-core] [PATCH 3/3] kernel.bbclass: use kernel_version_sanity_check where defined

2024-02-27 Thread Enrico Jörns
The task 'do_kernel_version_sanity_check' was defined in kernel.bbclass
but used in kernel-yocto.bbclass only.

Since the task does not depend on any kernel-yocto-specific task
(anymore), move it to the kernel.bbclass so the check can run for all
kernels.

If it turns out that this causes too many noise for people that are not
interested in a consistency between ${PV} and the kernel version, an
option could be to let KERNEL_VERSION_SANITY_SKIP weakly default to "1"
in kernel.bbclass or alternatively move the entire code to
kernel-yocto.bbclass.

Signed-off-by: Enrico Jörns 
---
 meta/classes-recipe/kernel-yocto.bbclass | 1 -
 meta/classes-recipe/kernel.bbclass   | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
b/meta/classes-recipe/kernel-yocto.bbclass
index 854e4681d5..b7d74b7ab8 100644
--- a/meta/classes-recipe/kernel-yocto.bbclass
+++ b/meta/classes-recipe/kernel-yocto.bbclass
@@ -729,6 +729,5 @@ python () {
 }
 
 # extra tasks
-addtask kernel_version_sanity_check after do_patch before do_compile
 addtask validate_branches before do_patch after do_kernel_checkout
 addtask kernel_configcheck after do_configure before do_compile
diff --git a/meta/classes-recipe/kernel.bbclass 
b/meta/classes-recipe/kernel.bbclass
index 837064cef7..3c805fd96f 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -514,6 +514,8 @@ do_kernel_version_sanity_check() {
exit 0
 }
 
+addtask kernel_version_sanity_check after do_patch before do_compile
+
 addtask shared_workdir after do_compile before do_compile_kernelmodules
 addtask shared_workdir_setscene
 
-- 
2.39.2


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



[OE-core] [PATCH 1/2] libexif: remove unused version_underscore

2024-02-27 Thread Ross Burton
From: Ross Burton 

This function hasn't been used since the upgrade to 0.6.23 in 2021[1]

[1] oe-core 65a54f72e15f59bdf9d8c4618f3ef8510541d134

Signed-off-by: Ross Burton 
---
 meta/recipes-support/libexif/libexif_0.6.24.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-support/libexif/libexif_0.6.24.bb 
b/meta/recipes-support/libexif/libexif_0.6.24.bb
index 27e369a89a5..b407ee52de0 100644
--- a/meta/recipes-support/libexif/libexif_0.6.24.bb
+++ b/meta/recipes-support/libexif/libexif_0.6.24.bb
@@ -7,9 +7,6 @@ SECTION = "libs"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=243b725d71bb5df4a1e5920b344b86ad"
 
-def version_underscore(v):
-return "_".join(v.split("."))
-
 SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libexif-${PV}.tar.bz2 \
file://0001-Add-serial-tests-config-needed-by-ptest.patch \
file://run-ptest \
-- 
2.34.1


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



[OE-core] [PATCH 2/2] libexif: improve ptest packaging

2024-02-27 Thread Ross Burton
From: Ross Burton 

The NLS tests don't actually test anything useful and were not being ran
anyway, so don't install them.

Install the test binaries using libtool so that we install the actual
binaries instead of libtool wrapper scripts.  This means that if we also
tell the Makefile to use /bin/sh there's no need to RDEPEND on bash.

Signed-off-by: Ross Burton 
---
 meta/recipes-support/libexif/libexif/run-ptest |  2 +-
 meta/recipes-support/libexif/libexif_0.6.24.bb | 14 --
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/meta/recipes-support/libexif/libexif/run-ptest 
b/meta/recipes-support/libexif/libexif/run-ptest
index 2d23159eb03..9713a1bec2d 100644
--- a/meta/recipes-support/libexif/libexif/run-ptest
+++ b/meta/recipes-support/libexif/libexif/run-ptest
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-make -o Makefile runtest-TESTS
+make -o Makefile SHELL=/bin/sh runtest-TESTS
diff --git a/meta/recipes-support/libexif/libexif_0.6.24.bb 
b/meta/recipes-support/libexif/libexif_0.6.24.bb
index b407ee52de0..69c91773097 100644
--- a/meta/recipes-support/libexif/libexif_0.6.24.bb
+++ b/meta/recipes-support/libexif/libexif_0.6.24.bb
@@ -23,18 +23,12 @@ do_compile_ptest() {
 }
 
 do_install_ptest() {
-install ${B}/test/test*[!\.o] ${D}${PTEST_PATH}
-for f in ${D}${PTEST_PATH}/test*; do
-sed -i "s/\(LD_LIBRARY_PATH=\).*\(:\$LD_LIBRARY_PATH\)\"/\1.\2/" $f
-done
-
 install ${B}/test/Makefile ${D}${PTEST_PATH}
 sed -i -e "/^srcdir/c srcdir = \$\{PWD\}" ${D}${PTEST_PATH}/Makefile
 
-install -d ${D}${PTEST_PATH}/nls
-install ${B}/test/nls/*[!\.o] ${D}${PTEST_PATH}/nls
-install -d ${D}${PTEST_PATH}/.libs
-install ${B}/test/.libs/* ${D}${PTEST_PATH}/.libs
+for f in ${B}/test/test*[!\.o]; do
+libtool --mode=install install $f ${D}${PTEST_PATH}
+done
 
 install ${S}/test/*.sh ${D}${PTEST_PATH}
 
@@ -42,6 +36,6 @@ do_install_ptest() {
 install ${S}/test/testdata/* ${D}${PTEST_PATH}/testdata
 }
 
-RDEPENDS:${PN}-ptest += "make bash"
+RDEPENDS:${PN}-ptest += "make"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


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



  1   2   >