[OE-core] [PATCH] oeqa/selftest/context: Rely on bitbake-getvar --value to only return value

2023-09-22 Thread Peter Kjellerstedt
Before, "bitbake-getvar --value " would include log output together
with the value. This was handled by piping the output to "tail -1".
Now, "bitbake-getvar --value" will no longer output any logs so the
piping to "tail" is no longer needed.

Signed-off-by: Peter Kjellerstedt 
---

This of course relies on the corresponding patch for bitbake-getvar to
have been applied first.

 meta/lib/oeqa/selftest/context.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/context.py 
b/meta/lib/oeqa/selftest/context.py
index 5a09aeedff..c148aa5aab 100644
--- a/meta/lib/oeqa/selftest/context.py
+++ b/meta/lib/oeqa/selftest/context.py
@@ -111,7 +111,7 @@ class OESelftestTestContext(OETestContext):
 
 # Relative paths in BBLAYERS only works when the new build dir share 
the same ascending node
 if self.newbuilddir:
-bblayers = subprocess.check_output("bitbake-getvar --value 
BBLAYERS | tail -1", cwd=builddir, shell=True, text=True)
+bblayers = subprocess.check_output("bitbake-getvar --value 
BBLAYERS", cwd=builddir, shell=True, text=True)
 if '..' in bblayers:
 bblayers_abspath = [os.path.abspath(path) for path in 
bblayers.split()]
 with open("%s/conf/bblayers.conf" % newbuilddir, "a") as f:

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188140): 
https://lists.openembedded.org/g/openembedded-core/message/188140
Mute This Topic: https://lists.openembedded.org/mt/101535023/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] bitbake.conf: add MACHINE to SDK_NAME

2023-09-22 Thread Denys Dmytriyenko
Do the same here as Poky has done 5 years ago, adding MACHINE to
SDK_NAME:

https://git.yoctoproject.org/meta-yocto/commit/?id=3614dd4aee9d19f1024edb6a36b2862c2d726c04

This avoids file conflicts in deploy/sdk/ when building multiple
machines (either manually or via multiconfig), where sdk/toolchain
installers, manifests and now SPDX archives will overlap otherwise.

Signed-off-by: Denys Dmytriyenko 
Signed-off-by: Denys Dmytriyenko 
---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 67577c8fe7..3fd089cebb 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -459,7 +459,7 @@ PKGDATA_DIR_SDK = "${TMPDIR}/pkgdata/${SDK_SYS}"
 ##
 
 SDK_NAME_PREFIX ?= "oecore"
-SDK_NAME = "${SDK_NAME_PREFIX}-${IMAGE_BASENAME}-${SDK_ARCH}-${TUNE_PKGARCH}"
+SDK_NAME = 
"${SDK_NAME_PREFIX}-${IMAGE_BASENAME}-${SDK_ARCH}-${TUNE_PKGARCH}-${MACHINE}"
 SDKPATH = "/usr/local/oe-sdk-hardcoded-buildpath"
 SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
 # The path to default to installing the SDK to
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188138): 
https://lists.openembedded.org/g/openembedded-core/message/188138
Mute This Topic: https://lists.openembedded.org/mt/101531119/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] spdx: use TOOLCHAIN_OUTPUTNAME for SDK filename prefix

2023-09-22 Thread Denys Dmytriyenko
Replace SDK_NAME with TOOLCHAIN_OUTPUTNAME when naming SDK host and
target SPDX archives.

In most cases TOOLCHAIN_OUTPUTNAME is almost identical to SDK_NAME,
but sometimes custom meta-toolchain recipes have some variations and
populate_sdk_base.bbclass already uses TOOLCHAIN_OUTPUTNAME to name
corresponding host and target manifests:

SDK_HOST_MANIFEST = "${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.host.manifest"
SDK_TARGET_MANIFEST = "${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.target.manifest"

To match the naming convention, also use TOOLCHAIN_OUTPUTNAME here
for naming SPDX archives as well, resulting in:

${TOOLCHAIN_OUTPUTNAME}-host.spdx.tar.zst
${TOOLCHAIN_OUTPUTNAME}-target.spdx.tar.zst

Signed-off-by: Denys Dmytriyenko 
Signed-off-by: Denys Dmytriyenko 
---
 meta/classes/create-spdx-2.2.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/create-spdx-2.2.bbclass 
b/meta/classes/create-spdx-2.2.bbclass
index a2b96da61a..885f07a1f8 100644
--- a/meta/classes/create-spdx-2.2.bbclass
+++ b/meta/classes/create-spdx-2.2.bbclass
@@ -986,7 +986,7 @@ def sdk_combine_spdx(d, sdk_type):
 from pathlib import Path
 from oe.sdk import sdk_list_installed_packages
 
-sdk_name = d.getVar("SDK_NAME") + "-" + sdk_type
+sdk_name = d.getVar("TOOLCHAIN_OUTPUTNAME") + "-" + sdk_type
 sdk_deploydir = Path(d.getVar("SDKDEPLOYDIR"))
 sdk_spdxid = oe.sbom.get_sdk_spdxid(sdk_name)
 sdk_packages = sdk_list_installed_packages(d, sdk_type == "target")
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188139): 
https://lists.openembedded.org/g/openembedded-core/message/188139
Mute This Topic: https://lists.openembedded.org/mt/101531120/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 5/5] debugedit: Use musl-legacy-error

2023-09-22 Thread Khem Raj
Use error.h to provide GNU extentions for error API
Drop the patch trying to do something about it

Signed-off-by: Khem Raj 
---
v3: Added

 .../debugedit/debugedit_5.0.bb|   4 +-
 ...tools-Add-error.h-for-non-glibc-case.patch | 102 --
 2 files changed, 2 insertions(+), 104 deletions(-)
 delete mode 100644 
meta/recipes-devtools/debugedit/files/0001-tools-Add-error.h-for-non-glibc-case.patch

diff --git a/meta/recipes-devtools/debugedit/debugedit_5.0.bb 
b/meta/recipes-devtools/debugedit/debugedit_5.0.bb
index 257238fa245..63ad7babd9a 100644
--- a/meta/recipes-devtools/debugedit/debugedit_5.0.bb
+++ b/meta/recipes-devtools/debugedit/debugedit_5.0.bb
@@ -11,8 +11,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
 SRC_URI = "https://sourceware.org/ftp/debugedit/${PV}/debugedit-${PV}.tar.xz;
 
-SRC_URI:append:libc-musl = " \
-   file://0001-tools-Add-error.h-for-non-glibc-case.patch \
+SRC_URI:append:libc-musl = "\
file://0002-sepdebugcrcfix.c-do-not-use-64bit-variants.patch \
file://0003-Makefile.am-do-not-update-manual.patch \
"
@@ -20,6 +19,7 @@ SRC_URI:append:libc-musl = " \
 SRC_URI[sha256sum] = 
"e9ecd7d350bebae1f178ce6776ca19a648b6fe8fa22f5b3044b38d7899aa553e"
 
 DEPENDS = "elfutils"
+DEPENDS:append:libc-musl = " musl-legacy-error"
 
 inherit pkgconfig autotools
 
diff --git 
a/meta/recipes-devtools/debugedit/files/0001-tools-Add-error.h-for-non-glibc-case.patch
 
b/meta/recipes-devtools/debugedit/files/0001-tools-Add-error.h-for-non-glibc-case.patch
deleted file mode 100644
index f6d64cb4e7d..000
--- 
a/meta/recipes-devtools/debugedit/files/0001-tools-Add-error.h-for-non-glibc-case.patch
+++ /dev/null
@@ -1,102 +0,0 @@
-From 4c797d3b559ba51bd9ccd9a2036245819acce843 Mon Sep 17 00:00:00 2001
-From: Chen Qi 
-Date: Thu, 23 Mar 2023 10:54:21 +0800
-Subject: [PATCH] tools: Add error.h for non-glibc case
-
-error is glibc specific API, so this patch will mostly not accepted
-upstream given that elfutils has been closely tied to glibc
-
-This is a OE specific workaround for musl.
-
-Upstream-Status: Inappropriate [OE Specific]
-
-Signed-off-by: Chen Qi 

- tools/debugedit.c  |  7 ++-
- tools/error.h  | 27 +++
- tools/sepdebugcrcfix.c |  7 ++-
- 3 files changed, 39 insertions(+), 2 deletions(-)
- create mode 100644 tools/error.h
-
-diff --git a/tools/debugedit.c b/tools/debugedit.c
-index 668777a..a72c3c0 100644
 a/tools/debugedit.c
-+++ b/tools/debugedit.c
-@@ -25,7 +25,6 @@
- #include 
- #include 
- #include 
--#include 
- #include 
- #include 
- #include 
-@@ -40,6 +39,12 @@
- #include 
- #include 
- 
-+#ifdef __GLIBC__
-+#include 
-+#else
-+#include "error.h"
-+#endif
-+
- #ifndef MAX
- #define MAX(m, n) ((m) < (n) ? (n) : (m))
- #endif
-diff --git a/tools/error.h b/tools/error.h
-new file mode 100644
-index 000..9b24418
 /dev/null
-+++ b/tools/error.h
-@@ -0,0 +1,27 @@
-+#ifndef _ERROR_H_
-+#define _ERROR_H_
-+
-+#include 
-+#include 
-+#include 
-+#include 
-+#include 
-+
-+static unsigned int error_message_count = 0;
-+
-+static inline void error(int status, int errnum, const char* format, ...)
-+{
-+  va_list ap;
-+  fprintf(stderr, "%s: ", program_invocation_name);
-+  va_start(ap, format);
-+  vfprintf(stderr, format, ap);
-+  va_end(ap);
-+  if (errnum)
-+  fprintf(stderr, ": %s", strerror(errnum));
-+  fprintf(stderr, "\n");
-+  error_message_count++;
-+  if (status)
-+  exit(status);
-+}
-+
-+#endif/* _ERROR_H_ */
-diff --git a/tools/sepdebugcrcfix.c b/tools/sepdebugcrcfix.c
-index da50e6c..c4a9d56 100644
 a/tools/sepdebugcrcfix.c
-+++ b/tools/sepdebugcrcfix.c
-@@ -29,10 +29,15 @@
- #include 
- #include 
- #include 
--#include 
- #include 
- #include 
- 
-+#ifdef __GLIBC__
-+#include 
-+#else
-+#include "error.h"
-+#endif
-+
- #ifndef _
- #define _(x) x
- #endif
--- 
-2.17.1
-
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188137): 
https://lists.openembedded.org/g/openembedded-core/message/188137
Mute This Topic: https://lists.openembedded.org/mt/101529919/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 4/5] elfutils: Depend on musl-legacy-error for musl targets

2023-09-22 Thread Khem Raj
this ensures a gnu compatible error APIs are made available, the patch
to workaround this is no longer needed.

Signed-off-by: Khem Raj 
---
v3: Added

 .../elfutils/elfutils_0.189.bb|  3 +-
 .../0015-config-eu.am-do-not-use-Werror.patch | 37 ---
 2 files changed, 1 insertion(+), 39 deletions(-)
 delete mode 100644 
meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch

diff --git a/meta/recipes-devtools/elfutils/elfutils_0.189.bb 
b/meta/recipes-devtools/elfutils/elfutils_0.189.bb
index d6352de5cf5..d8bf82b0229 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.189.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.189.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
 
file://debuginfod/debuginfod-client.c;endline=28;md5=f0a7c3170776866ee94e8f9225a6ad79
 \
 "
 DEPENDS = "zlib virtual/libintl"
-DEPENDS:append:libc-musl = " argp-standalone fts musl-obstack "
+DEPENDS:append:libc-musl = " argp-standalone fts musl-legacy-error 
musl-obstack"
 # The Debian patches below are from:
 # 
http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz
 SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
@@ -24,7 +24,6 @@ SRC_URI = 
"https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
"
 SRC_URI:append:libc-musl = " \
file://0003-musl-utils.patch \
-   file://0015-config-eu.am-do-not-use-Werror.patch \
"
 SRC_URI[sha256sum] = 
"39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8"
 
diff --git 
a/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
 
b/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
deleted file mode 100644
index 9ee5801c561..000
--- 
a/meta/recipes-devtools/elfutils/files/0015-config-eu.am-do-not-use-Werror.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From c209233857a73970d7a7dd8da664903570efc7ea Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Mon, 22 Jun 2020 21:35:16 +
-Subject: [PATCH] config/eu.am: do not use -Werror
-
-Due to re-definition of error() on musl, gcc starts throwing
-errors where none happen with glibc. Since upstream is not
-likely to be interested in musl builds, lets just disable
-Werror.
-
-Upstream-Status: Inappropriate [oe core specific]
-Signed-off-by: Alexander Kanavin 
-

- config/eu.am | 2 --
- 1 file changed, 2 deletions(-)
-diff --git a/config/eu.am b/config/eu.am
-index e6c241f..4136e7c 100644
 a/config/eu.am
-+++ b/config/eu.am
-@@ -99,7 +99,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
-   $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
-   $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
-   $(USE_AFTER_FREE3_WARNING) \
--  $(if $($(*F)_no_Werror),,-Werror) \
-   $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
-   $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
-   $(if 
$($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \
-@@ -109,7 +108,6 @@ AM_CXXFLAGS = -std=c++11 -Wall -Wshadow \
-  $(TRAMPOLINES_WARNING) \
-  $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
-  $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
-- $(if $($(*F)_no_Werror),,-Werror) \
-  $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
-  $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
-  $(if 
$($(*F)_no_Wpacked_not_aligned),$(NO_PACKED_NOT_ALIGNED_WARNING),) \
--- 
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188136): 
https://lists.openembedded.org/g/openembedded-core/message/188136
Mute This Topic: https://lists.openembedded.org/mt/101529918/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 v3 3/5] musl-legacy-error: Add recipe

2023-09-22 Thread Khem Raj
This adds glibc error() API implementation which is needed by few
packages still.

Signed-off-by: Khem Raj 
---
v3: Added new

 meta/conf/distro/include/maintainers.inc  |  1 +
 meta/recipes-core/musl/musl-legacy-error.bb   | 26 
 .../musl/musl-legacy-error/error.h| 60 +++
 3 files changed, 87 insertions(+)
 create mode 100644 meta/recipes-core/musl/musl-legacy-error.bb
 create mode 100644 meta/recipes-core/musl/musl-legacy-error/error.h

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index e977c84fc82..f69f229fc85 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -531,6 +531,7 @@ RECIPE_MAINTAINER:pn-mtd-utils = "Denys Dmytriyenko 
"
 RECIPE_MAINTAINER:pn-mtdev = "Anuj Mittal "
 RECIPE_MAINTAINER:pn-mtools = "Anuj Mittal "
 RECIPE_MAINTAINER:pn-musl = "Khem Raj "
+RECIPE_MAINTAINER:pn-musl-legacy-error = "Khem Raj "
 RECIPE_MAINTAINER:pn-musl-locales = "Khem Raj "
 RECIPE_MAINTAINER:pn-musl-obstack = "Khem Raj "
 RECIPE_MAINTAINER:pn-musl-utils = "Khem Raj "
diff --git a/meta/recipes-core/musl/musl-legacy-error.bb 
b/meta/recipes-core/musl/musl-legacy-error.bb
new file mode 100644
index 000..5ce5a233ab1
--- /dev/null
+++ b/meta/recipes-core/musl/musl-legacy-error.bb
@@ -0,0 +1,26 @@
+# Copyright (C) 2023 Khem Raj 
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "error API GNU extention implementation"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = 
"file://error.h;beginline=1;md5=2ee396b23e8507fbf8f98af0471a77c6"
+SECTION = "devel"
+
+SRC_URI = "file://error.h"
+
+do_configure[noexec] = "1"
+do_compile[noexec] = "1"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+S = "${WORKDIR}"
+
+do_install() {
+   install -Dm 0644 ${S}/error.h -t ${D}${includedir}
+}
+#
+# We will skip parsing for non-musl systems
+#
+COMPATIBLE_HOST = ".*-musl.*"
+DEV_PKG_DEPENDENCY = ""
+RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
diff --git a/meta/recipes-core/musl/musl-legacy-error/error.h 
b/meta/recipes-core/musl/musl-legacy-error/error.h
new file mode 100644
index 000..9a4e1f8d006
--- /dev/null
+++ b/meta/recipes-core/musl/musl-legacy-error/error.h
@@ -0,0 +1,60 @@
+#ifndef _ERROR_H_
+#define _ERROR_H_
+
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#warning usage of non-standard #include  is deprecated
+
+static unsigned int error_message_count = 0;
+
+static inline void error(int status, int errnum, const char* format, ...)
+{
+   /* should be fflush(stdout), but that's unspecified if stdout has been 
closed;
+* stick with fflush(NULL) for simplicity (glibc checks if the fd is 
still valid) */
+   fflush(NULL);
+
+   va_list ap;
+   fprintf(stderr, "%s: ", program_invocation_name);
+   va_start(ap, format);
+   vfprintf(stderr, format, ap);
+   va_end(ap);
+   if (errnum)
+   fprintf(stderr, ": %s", strerror(errnum));
+   fprintf(stderr, "\n");
+   error_message_count++;
+   if (status)
+   exit(status);
+}
+
+static int error_one_per_line = 0;
+
+static inline void error_at_line(int status, int errnum, const char *filename,
+   unsigned int linenum, const char *format, ...)
+{
+   va_list ap;
+   if (error_one_per_line) {
+   static const char *old_filename;
+   static int old_linenum;
+   if (linenum == old_linenum && filename == old_filename)
+   return;
+   old_filename = filename;
+   old_linenum = linenum;
+   }
+   fprintf(stderr, "%s: %s:%u: ", program_invocation_name, filename, 
linenum);
+   va_start(ap, format);
+   vfprintf(stderr, format, ap);
+   va_end(ap);
+   if (errnum)
+   fprintf(stderr, ": %s", strerror(errnum));
+   fprintf(stderr, "\n");
+   error_message_count++;
+   if (status)
+   exit(status);
+}
+
+
+#endif /* _ERROR_H_ */
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188135): 
https://lists.openembedded.org/g/openembedded-core/message/188135
Mute This Topic: https://lists.openembedded.org/mt/101529917/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 v3 2/5] bsd-headers: Define __CONCAT and __STRING

2023-09-22 Thread Khem Raj
Sync with other musl distros

Signed-off-by: Khem Raj 
---
v3: Rebased

 meta/recipes-core/musl/bsd-headers/sys-cdefs.h | 8 
 1 file changed, 8 insertions(+)

diff --git a/meta/recipes-core/musl/bsd-headers/sys-cdefs.h 
b/meta/recipes-core/musl/bsd-headers/sys-cdefs.h
index 209a623c0f0..841a5da8ba4 100644
--- a/meta/recipes-core/musl/bsd-headers/sys-cdefs.h
+++ b/meta/recipes-core/musl/bsd-headers/sys-cdefs.h
@@ -1,3 +1,6 @@
+#ifndef _SYS_CDEFS_H_
+#define _SYS_CDEFS_H_
+
 #warning usage of non-standard #include  is deprecated
 
 #undef __P
@@ -24,3 +27,8 @@
 # define __THROW
 # define __NTH(fct) fct
 #endif
+
+#define __CONCAT(x,y)   x ## y
+#define __STRING(x) #x
+
+#endif /* _SYS_CDEFS_H_ */
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188134): 
https://lists.openembedded.org/g/openembedded-core/message/188134
Mute This Topic: https://lists.openembedded.org/mt/101529916/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 v3 1/5] musl: Update to latest

2023-09-22 Thread Khem Raj
Brings following bug fixes

* 79bdacff glob: fix wrong return code when aborting before any matches
* 7291c6c6 statvfs: allocate spare for f_type
* 39e43f08 math: fix ld80 powl(x,huge) and powl(LDBL_MAX,small)
* 6d101027 math: fix ld80 acoshl(x) for x < 0

Drop MIRRORS and switch to etalabs.net for git fetch URI
original repo is not working correcting with git Fetcher

Signed-off-by: Khem Raj 
---
v3: Update SRC_URI to fetchable location

 meta/recipes-core/musl/musl_git.bb | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-core/musl/musl_git.bb 
b/meta/recipes-core/musl/musl_git.bb
index 4a4fe978f93..7dd949ffafd 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -4,21 +4,17 @@
 require musl.inc
 inherit linuxloader
 
-SRCREV = "83b858f83b658bd34eca5d8ad4d145f673ae7e5e"
+SRCREV = "79bdacff83a6bd5b70ff5ae5eb8b6de82c2f7c30"
 
 BASEVER = "1.2.4"
 
 PV = "${BASEVER}+git"
 
-# mirror is at git://github.com/kraj/musl.git
-
-SRC_URI = "git://git.musl-libc.org/git/musl.git;branch=master;protocol=https \
+SRC_URI = "git://git.etalabs.net/git/musl;branch=master;protocol=https \
file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \

file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \
   "
 
-MIRRORS += "git://git.musl-libc.org/git/musl.git 
git://github.com/kraj/musl.git"
-
 S = "${WORKDIR}/git"
 
 PROVIDES += "virtual/libc virtual/libiconv virtual/libintl virtual/crypt"
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188133): 
https://lists.openembedded.org/g/openembedded-core/message/188133
Mute This Topic: https://lists.openembedded.org/mt/101529915/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] classes/create-spdx-2.2: Add missing import oe.packagedata

2023-09-22 Thread Ryan Eatmon via lists.openembedded.org



On 9/22/2023 1:47 AM, Richard Purdie wrote:

On Wed, 2023-09-20 at 10:30 -0500, Ryan Eatmon via
lists.openembedded.org wrote:

Add missing import statement to fix build failures:

File: 
'/scratch/jenkins_builds/arago-master-wip/build/sources/oe-core/meta/classes/create-spdx-2.2.bbclass',
 lineno: 722, function: collect_package_providers
  0718:deps.append((d.getVar("PN"), d.getVar("BB_HASHFILENAME")))
  0719:
  0720:for dep_pn, dep_hashfn in deps:
  0721:localdata = d
  *** 0722:recipe_data = oe.packagedata.read_pkgdata(dep_pn, localdata)
  0723:if not recipe_data:
  0724:localdata = bb.data.createCopy(d)
  0725:localdata.setVar("PKGDATA_DIR", "${PKGDATA_DIR_SDK}")
  0726:recipe_data = oe.packagedata.read_pkgdata(dep_pn, 
localdata)
Exception: AttributeError: module 'oe' has no attribute 'packagedata'

Signed-off-by: Ryan Eatmon 
---
  meta/classes/create-spdx-2.2.bbclass | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/classes/create-spdx-2.2.bbclass 
b/meta/classes/create-spdx-2.2.bbclass
index 9b28d124c7..ff319207f7 100644
--- a/meta/classes/create-spdx-2.2.bbclass
+++ b/meta/classes/create-spdx-2.2.bbclass
@@ -708,6 +708,7 @@ def collect_package_providers(d):
  from pathlib import Path
  import oe.sbom
  import oe.spdx
+import oe.packagedata
  import json
  
  deploy_dir_spdx = Path(d.getVar("DEPLOY_DIR_SPDX"))


We've realised that packagedata is missing in BBIMPORTS in
meta/lib/oe/__init__.py which should fix this but also add missing
dependency information so I'm likely to go with that change and this
one shouldn't be needed. Let me know if that isn't the case.


Your fix is better as it should cover all cases and not just this one.



Cheers,

Richard


--
Ryan Eatmonreat...@ti.com
-
Texas Instruments, Inc.  -  LCPD  -  MGTS

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188132): 
https://lists.openembedded.org/g/openembedded-core/message/188132
Mute This Topic: https://lists.openembedded.org/mt/101480881/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 06/17] python3-click: Copy recipe from meta-python

2023-09-22 Thread Marta Rybczynska
Sure Khem,
We wanted to make sure there are no major objections to this patchset and
immediately follow with removals in meta-openembedded.

Cheers,
Marta

On Fri, 22 Sept 2023, 17:24 Khem Raj,  wrote:

> On 9/22/23 7:46 AM, Samantha Jalabert wrote:
> > From: Samantha Jalabert 
> >
> > commit: 1a14a28f132a10e9db7b3e5bb2b5361c4679946e
> >
> > Signed-off-by: Marta Rybczynska 
>
> Please send a removal patch for meta-python as well. So we can keep
> passing the yp compat checks for meta-openembedded on AB and coordinate
> the change between meta-python and oe-core
>
> > ---
> >   .../python/python3-click/run-ptest|  3 ++
> >   .../python/python3-click_8.1.7.bb | 39 +++
> >   2 files changed, 42 insertions(+)
> >   create mode 100644 meta/recipes-devtools/python/python3-click/run-ptest
> >   create mode 100644 meta/recipes-devtools/python/python3-click_8.1.7.bb
> >
> > diff --git a/meta/recipes-devtools/python/python3-click/run-ptest
> b/meta/recipes-devtools/python/python3-click/run-ptest
> > new file mode 100644
> > index 00..b63c4de0d9
> > --- /dev/null
> > +++ b/meta/recipes-devtools/python/python3-click/run-ptest
> > @@ -0,0 +1,3 @@
> > +#!/bin/sh
> > +
> > +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'|
> sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e
> 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" ||
> $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk
> '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" ||
> $NF=="XPASS") {$NF="";print $0}else{print}}'
> > diff --git a/meta/recipes-devtools/python/python3-click_8.1.7.bb
> b/meta/recipes-devtools/python/python3-click_8.1.7.bb
> > new file mode 100644
> > index 00..a4ec6cd1ef
> > --- /dev/null
> > +++ b/meta/recipes-devtools/python/python3-click_8.1.7.bb
> > @@ -0,0 +1,39 @@
> > +SUMMARY = "A simple wrapper around optparse for powerful command line
> utilities."
> > +DESCRIPTION = "\
> > +Click is a Python package for creating beautiful command line
> interfaces \
> > +in a composable way with as little code as necessary. It's the "Command
> \
> > +Line Interface Creation Kit". It's highly configurable but comes with \
> > +sensible defaults out of the box."
> > +HOMEPAGE = "http://click.pocoo.org/;
> > +LICENSE = "BSD-3-Clause"
> > +LIC_FILES_CHKSUM =
> "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8"
> > +
> > +SRC_URI[sha256sum] =
> "ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"
> > +
> > +inherit pypi setuptools3 ptest
> > +
> > +SRC_URI += "file://run-ptest"
> > +
> > +RDEPENDS:${PN}-ptest += " \
> > + ${PYTHON_PN}-pytest \
> > + ${PYTHON_PN}-terminal \
> > + ${PYTHON_PN}-unixadmin \
> > +"
> > +
> > +do_install_ptest() {
> > +install -d ${D}${PTEST_PATH}/tests
> > +cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
> > +cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
> > +cp -rf ${S}/docs ${D}${PTEST_PATH}/
> > +}
> > +
> > +UPSTREAM_CHECK_REGEX = "click/(?P\d+(\.\d+)+)/"
> > +
> > +CLEANBROKEN = "1"
> > +
> > +RDEPENDS:${PN} += "\
> > +${PYTHON_PN}-io \
> > +${PYTHON_PN}-threading \
> > +"
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> >
> >
> >
> >
> >
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188131): 
https://lists.openembedded.org/g/openembedded-core/message/188131
Mute This Topic: https://lists.openembedded.org/mt/101522496/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] musl: Drop MIRRORS

2023-09-22 Thread Khem Raj
yeah I am trying to investigate, locally I reproduced it once but then
I did bitbake -ccleanall musl and then it started to work.

I see this in log.do_fetch on AB

http://sprunge.us/c5J8K3

says

fatal: protocol error: bad line length character: erro


On Fri, Sep 22, 2023 at 9:07 AM Alexandre Belloni
 wrote:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/15/builds/8149/steps/11/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/7837/steps/11/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/7859/steps/11/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/7193/steps/13/logs/stdio
>
> On 21/09/2023 18:15:20-0700, Khem Raj wrote:
> > When using mirrors fetcher gets into a weird state when shallow clones
> > are enables.
> >
> > ERROR: Bitbake Fetcher Error: UnpackError('No up to date source found: 
> > clone directory not available or not up to date: 
> > /mnt/b/yoe/master/downloads/git2/git.musl-libc.org.git.musl.git; shallow 
> > clone not available: 
> > /mnt/b/yoe/master/downloads/gitshallow_git.musl-libc.org.git.musl.git_79bdacf-1_master.tar.gz',
> >  'git://git.musl-libc.org/git/musl.git;branch=master;protocol=https')
> >
> > Anyway the mirrors were added as backup when we had issues with musl git
> > in past.
> >
> > Signed-off-by: Khem Raj 
> > ---
> >  meta/recipes-core/musl/musl_git.bb | 6 +-
> >  1 file changed, 1 insertion(+), 5 deletions(-)
> >
> > diff --git a/meta/recipes-core/musl/musl_git.bb 
> > b/meta/recipes-core/musl/musl_git.bb
> > index dbc31e1d83b..72253636dc8 100644
> > --- a/meta/recipes-core/musl/musl_git.bb
> > +++ b/meta/recipes-core/musl/musl_git.bb
> > @@ -10,15 +10,11 @@ BASEVER = "1.2.4"
> >
> >  PV = "${BASEVER}+git"
> >
> > -# mirror is at git://github.com/kraj/musl.git
> > -
> > -SRC_URI = 
> > "git://git.musl-libc.org/git/musl.git;branch=master;protocol=https \
> > +SRC_URI = "git://git.musl-libc.org/git/musl;branch=master;protocol=https \
> > 
> > file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \
> > 
> > file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \
> >"
> >
> > -MIRRORS += "git://git.musl-libc.org/git/musl.git 
> > git://github.com/kraj/musl.git"
> > -
> >  S = "${WORKDIR}/git"
> >
> >  PROVIDES += "virtual/libc virtual/libiconv virtual/libintl virtual/crypt"
> > --
> > 2.42.0
> >
>
> >
> > 
> >
>
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188130): 
https://lists.openembedded.org/g/openembedded-core/message/188130
Mute This Topic: https://lists.openembedded.org/mt/101513420/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] mesa: Update clang-17 patch to upstream v2

2023-09-22 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../0001-gallium-Fix-build-with-llvm-17.patch | 27 ---
 1 file changed, 18 insertions(+), 9 deletions(-)

diff --git 
a/meta/recipes-graphics/mesa/files/0001-gallium-Fix-build-with-llvm-17.patch 
b/meta/recipes-graphics/mesa/files/0001-gallium-Fix-build-with-llvm-17.patch
index 3631a918b0c..0ca7a22b45b 100644
--- a/meta/recipes-graphics/mesa/files/0001-gallium-Fix-build-with-llvm-17.patch
+++ b/meta/recipes-graphics/mesa/files/0001-gallium-Fix-build-with-llvm-17.patch
@@ -1,4 +1,4 @@
-From 865762e0a767a121206d818bdd58301afbf30104 Mon Sep 17 00:00:00 2001
+From c8e9776abc3dfd3f2411797a90a03e7fa16263ef Mon Sep 17 00:00:00 2001
 From: Khem Raj 
 Date: Fri, 23 Jun 2023 01:20:38 -0700
 Subject: [PATCH] gallium: Fix build with llvm 17
@@ -10,14 +10,12 @@ so add conditions to exclude them for llvm >= 17
 Upstream-Status: Submitted 
[https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23827]
 Signed-off-by: Khem Raj 
 ---
- src/gallium/auxiliary/gallivm/lp_bld_init.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
+ src/gallium/auxiliary/gallivm/lp_bld_init.c | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
 
-diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c 
b/src/gallium/auxiliary/gallivm/lp_bld_init.c
-index 24d0823..3d4573e 100644
 --- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
 +++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
-@@ -42,8 +42,10 @@
+@@ -42,19 +42,23 @@
  
  #include 
  #include 
@@ -29,6 +27,17 @@ index 24d0823..3d4573e 100644
  #include 
  #endif
  #include 
--- 
-2.41.0
-
+ #if GALLIVM_USE_NEW_PASS == 1
+ #include 
+-#elif GALLIVM_HAVE_CORO == 1
++#elif GALLIVM_HAVE_CORO == 1 && LLVM_VERSION_MAJOR < 17
+ #if LLVM_VERSION_MAJOR <= 8 && (DETECT_ARCH_AARCH64 || DETECT_ARCH_ARM || 
DETECT_ARCH_S390 || DETECT_ARCH_MIPS64)
+ #include 
+ #endif
++#if LLVM_VERSION_MAJOR < 17
+ #include 
+ #endif
++#endif
+ 
+ unsigned gallivm_perf = 0;
+ 
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188129): 
https://lists.openembedded.org/g/openembedded-core/message/188129
Mute This Topic: https://lists.openembedded.org/mt/101524707/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][kirkstone][PATCH] go: Fix CVE-2023-39318

2023-09-22 Thread Steve Sakoman
On Thu, Sep 21, 2023 at 7:07 AM Siddharth via lists.openembedded.org
 wrote:
>
> From: Siddharth Doshi 
>
> Upstream-Status: Backport from 
> [https://github.com/golang/go/commit/023b542edf38e2a1f87fcefb9f75ff2f99401b4c]
> CVE: CVE-2023-39318
> Signed-off-by: Siddharth Doshi 
> ---
>  meta/recipes-devtools/go/go-1.17.13.inc   |   1 +
>  .../go/go-1.21/CVE-2023-39318.patch   | 238 ++

Could you please send a V2 that deals with the fuzz warning?

WARNING: go-cross-core2-64-1.17.13-r0 do_patch: Fuzz detected:

Applying patch CVE-2023-39318.patch
patching file src/html/template/context.go
patching file src/html/template/escape.go
Hunk #1 succeeded at 721 (offset 21 lines).
patching file src/html/template/escape_test.go
Hunk #1 succeeded at 503 with fuzz 2.
patching file src/html/template/state_string.go
patching file src/html/template/transition.go
Hunk #2 succeeded at 270 (offset 5 lines).
Hunk #3 succeeded at 300 (offset 5 lines).
Hunk #4 succeeded at 409 (offset 15 lines).

Thanks!

Steve

>  2 files changed, 239 insertions(+)
>  create mode 100644 meta/recipes-devtools/go/go-1.21/CVE-2023-39318.patch
>
> diff --git a/meta/recipes-devtools/go/go-1.17.13.inc 
> b/meta/recipes-devtools/go/go-1.17.13.inc
> index 119ae112af..df7d5d235a 100644
> --- a/meta/recipes-devtools/go/go-1.17.13.inc
> +++ b/meta/recipes-devtools/go/go-1.17.13.inc
> @@ -44,6 +44,7 @@ SRC_URI += "\
>  file://CVE-2023-24531_2.patch \
>  file://CVE-2023-29409.patch \
>  file://CVE-2023-39319.patch \
> +file://CVE-2023-39318.patch \
>  "
>  SRC_URI[main.sha256sum] = 
> "a1a48b23afb206f95e7bbaa9b898d965f90826f6f1d1fc0c1d784ada0cd300fd"
>
> diff --git a/meta/recipes-devtools/go/go-1.21/CVE-2023-39318.patch 
> b/meta/recipes-devtools/go/go-1.21/CVE-2023-39318.patch
> new file mode 100644
> index 00..942af323e0
> --- /dev/null
> +++ b/meta/recipes-devtools/go/go-1.21/CVE-2023-39318.patch
> @@ -0,0 +1,238 @@
> +From 023b542edf38e2a1f87fcefb9f75ff2f99401b4c Mon Sep 17 00:00:00 2001
> +From: Roland Shoemaker 
> +Date: Thu, 3 Aug 2023 12:24:13 -0700
> +Subject: [PATCH] [release-branch.go1.20] html/template: support HTML-like
> + comments in script contexts
> +
> +Per Appendix B.1.1 of the ECMAScript specification, support HTML-like
> +comments in script contexts. Also per section 12.5, support hashbang
> +comments. This brings our parsing in-line with how browsers treat these
> +comment types.
> +
> +Thanks to Takeshi Kaneko (GMO Cybersecurity by Ierae, Inc.) for
> +reporting this issue.
> +
> +Fixes #62196
> +Fixes #62395
> +Fixes CVE-2023-39318
> +
> +Change-Id: Id512702c5de3ae46cf648e268cb10e1eb392a181
> +Reviewed-on: 
> https://team-review.git.corp.google.com/c/golang/go-private/+/1976593
> +Run-TryBot: Roland Shoemaker 
> +Reviewed-by: Tatiana Bradley 
> +Reviewed-by: Damien Neil 
> +Reviewed-by: Dmitri Shuralyov 
> +Reviewed-on: 
> https://team-review.git.corp.google.com/c/golang/go-private/+/2014620
> +Reviewed-on: https://go-review.googlesource.com/c/go/+/526098
> +Run-TryBot: Cherry Mui 
> +TryBot-Result: Gopher Robot 
> +
> +Upstream-Status: Backport from 
> [https://github.com/golang/go/commit/023b542edf38e2a1f87fcefb9f75ff2f99401b4c]
> +CVE: CVE-2023-39318
> +Signed-off-by: Siddharth Doshi 
> +---
> + src/html/template/context.go  |  6 ++-
> + src/html/template/escape.go   |  5 +-
> + src/html/template/escape_test.go  | 10 
> + src/html/template/state_string.go |  4 +-
> + src/html/template/transition.go   | 80 ---
> + 5 files changed, 72 insertions(+), 33 deletions(-)
> +
> +diff --git a/src/html/template/context.go b/src/html/template/context.go
> +index 0b65313..4eb7891 100644
> +--- a/src/html/template/context.go
>  b/src/html/template/context.go
> +@@ -124,6 +124,10 @@ const (
> +   stateJSBlockCmt
> +   // stateJSLineCmt occurs inside a JavaScript // line comment.
> +   stateJSLineCmt
> ++  // stateJSHTMLOpenCmt occurs inside a JavaScript  HTML-like 
> comment.
> ++  stateJSHTMLCloseCmt
> +   // stateCSS occurs inside a 

Re: [OE-core] [mickledore][PATCH] glibc: fix CVE-2023-4527

2023-09-22 Thread Steve Sakoman
On Fri, Sep 22, 2023 at 3:10 AM Shinde, Yash via
lists.openembedded.org
 wrote:
>
> From: Yash Shinde 
>
> Upstream-Status: 
> Backport[https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4ea972b7edd7e36610e8cde18bf7a8149d7bac4f]
>
> Signed-off-by: Yash Shinde 
> ---
>  .../glibc/glibc/0023-CVE-2023-4527.patch  | 217 ++
>  meta/recipes-core/glibc/glibc_2.37.bb |   1 +
>  2 files changed, 218 insertions(+)
>  create mode 100644 meta/recipes-core/glibc/glibc/0023-CVE-2023-4527.patch
>
> diff --git a/meta/recipes-core/glibc/glibc/0023-CVE-2023-4527.patch 
> b/meta/recipes-core/glibc/glibc/0023-CVE-2023-4527.patch
> new file mode 100644
> index 00..3f549c9542
> --- /dev/null
> +++ b/meta/recipes-core/glibc/glibc/0023-CVE-2023-4527.patch
> @@ -0,0 +1,217 @@
> +From 4ea972b7edd7e36610e8cde18bf7a8149d7bac4f Mon Sep 17 00:00:00 2001
> +From: Florian Weimer 
> +Date: Wed, 13 Sep 2023 14:10:56 +0200
> +Subject: [PATCH] CVE-2023-4527: Stack read overflow with large TCP responses
> + in no- mode
> +
> +Without passing alt_dns_packet_buffer, __res_context_search can only
> +store 2048 bytes (what fits into dns_packet_buffer).  However,
> +the function returns the total packet size, and the subsequent
> +DNS parsing code in _nss_dns_gethostbyname4_r reads beyond the end
> +of the stack-allocated buffer.
> +
> +Fixes commit f282cdbe7f436c75864e5640a4 ("resolv: Implement no-
> +stub resolver option") and bug 30842.
> +
> +(cherry picked from commit bd77dd7e73e3530203be1c52c8a29d08270cb25d)
> +
> +Upstream-Status: Backport 
> [https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4ea972b7edd7e36610e8cde18bf7a8149d7bac4f]
> +CVE: CVE-2023-4527

Missing Signed-off-by, please submit a v2

Steve

> +
> +---
> + NEWS  |   7 ++
> + resolv/Makefile   |   2 +
> + resolv/nss_dns/dns-host.c |   2 +-
> + resolv/tst-resolv-no-vc.c | 129 ++
> + 4 files changed, 139 insertions(+), 1 deletion(-)
> + create mode 100644 resolv/tst-resolv-no-vc.c
> +
> +diff --git a/NEWS b/NEWS
> +--- a/NEWS
>  b/NEWS
> +@@ -25,6 +25,7 @@
> +   [30101] gmon: fix memory corruption issues
> +   [30125] dynamic-link: [regression, bisected] glibc-2.37 creates new
> + symlink for libraries without soname
> ++  [30842] Stack read overflow in getaddrinfo in no- mode (CVE-2023-4527)
> +   [30151] gshadow: Matching sgetsgent, sgetsgent_r ERANGE handling
> +   [30163] posix: Fix system blocks SIGCHLD erroneously
> +   [30305] x86_64: Fix asm constraints in feraiseexcept
> +@@ -54,6 +55,12 @@
> +   heap and prints it to the target log file, potentially revealing a
> +   portion of the contents of the heap.
> +
> ++  CVE-2023-4527: If the system is configured in no- mode via
> ++  /etc/resolv.conf, getaddrinfo is called for the AF_UNSPEC address
> ++  family, and a DNS response is received over TCP that is larger than
> ++  2048 bytes, getaddrinfo may potentially disclose stack contents via
> ++  the returned address data, or crash.
> ++
> + The following bugs are resolved with this release:
> +
> +   [12154] network: Cannot resolve hosts which have wildcard aliases
> +diff --git a/resolv/Makefile b/resolv/Makefile
> +--- a/resolv/Makefile
>  b/resolv/Makefile
> +@@ -101,6 +101,7 @@
> +   tst-resolv-invalid-cname \
> +   tst-resolv-network \
> +   tst-resolv-no \
> ++  tst-resolv-no-vc \
> +   tst-resolv-nondecimal \
> +   tst-resolv-res_init-multi \
> +   tst-resolv-search \
> +@@ -292,6 +293,7 @@
> + $(objpfx)tst-resolv-invalid-cname: $(objpfx)libresolv.so \
> +   $(shared-thread-library)
> + $(objpfx)tst-resolv-no: $(objpfx)libresolv.so $(shared-thread-library)
> ++$(objpfx)tst-resolv-no-vc: $(objpfx)libresolv.so 
> $(shared-thread-library)
> + $(objpfx)tst-resolv-nondecimal: $(objpfx)libresolv.so 
> $(shared-thread-library)
> + $(objpfx)tst-resolv-qtypes: $(objpfx)libresolv.so $(shared-thread-library)
> + $(objpfx)tst-resolv-rotate: $(objpfx)libresolv.so $(shared-thread-library)
> +diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
> +--- a/resolv/nss_dns/dns-host.c
>  b/resolv/nss_dns/dns-host.c
> +@@ -427,7 +427,7 @@
> + {
> +   n = __res_context_search (ctx, name, C_IN, T_A,
> +   dns_packet_buffer, sizeof (dns_packet_buffer),
> +-  NULL, NULL, NULL, NULL, NULL);
> ++  _dns_packet_buffer, NULL, NULL, NULL, 
> NULL);
> +   if (n >= 0)
> +   status = gaih_getanswer_no (alt_dns_packet_buffer, n,
> +   , pat, errnop, herrnop, ttlp);
> +diff --git a/resolv/tst-resolv-no-vc.c b/resolv/tst-resolv-no-vc.c
> +new file mode 100644
> +--- /dev/null
>  b/resolv/tst-resolv-no-vc.c
> +@@ -0,0 +1,129 @@
> ++/* Test the RES_NO resolver option with a large response.
> ++   Copyright (C) 2022-2023 Free Software Foundation, Inc.
> ++   This 

Re: [OE-core] [PATCH] musl: Drop MIRRORS

2023-09-22 Thread Alexandre Belloni via lists.openembedded.org
https://autobuilder.yoctoproject.org/typhoon/#/builders/15/builds/8149/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/7837/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/7859/steps/11/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/97/builds/7193/steps/13/logs/stdio

On 21/09/2023 18:15:20-0700, Khem Raj wrote:
> When using mirrors fetcher gets into a weird state when shallow clones
> are enables.
> 
> ERROR: Bitbake Fetcher Error: UnpackError('No up to date source found: clone 
> directory not available or not up to date: 
> /mnt/b/yoe/master/downloads/git2/git.musl-libc.org.git.musl.git; shallow 
> clone not available: 
> /mnt/b/yoe/master/downloads/gitshallow_git.musl-libc.org.git.musl.git_79bdacf-1_master.tar.gz',
>  'git://git.musl-libc.org/git/musl.git;branch=master;protocol=https')
> 
> Anyway the mirrors were added as backup when we had issues with musl git
> in past.
> 
> Signed-off-by: Khem Raj 
> ---
>  meta/recipes-core/musl/musl_git.bb | 6 +-
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/meta/recipes-core/musl/musl_git.bb 
> b/meta/recipes-core/musl/musl_git.bb
> index dbc31e1d83b..72253636dc8 100644
> --- a/meta/recipes-core/musl/musl_git.bb
> +++ b/meta/recipes-core/musl/musl_git.bb
> @@ -10,15 +10,11 @@ BASEVER = "1.2.4"
>  
>  PV = "${BASEVER}+git"
>  
> -# mirror is at git://github.com/kraj/musl.git
> -
> -SRC_URI = "git://git.musl-libc.org/git/musl.git;branch=master;protocol=https 
> \
> +SRC_URI = "git://git.musl-libc.org/git/musl;branch=master;protocol=https \
> file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \
> 
> file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \
>"
>  
> -MIRRORS += "git://git.musl-libc.org/git/musl.git 
> git://github.com/kraj/musl.git"
> -
>  S = "${WORKDIR}/git"
>  
>  PROVIDES += "virtual/libc virtual/libiconv virtual/libintl virtual/crypt"
> -- 
> 2.42.0
> 

> 
> 
> 


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188126): 
https://lists.openembedded.org/g/openembedded-core/message/188126
Mute This Topic: https://lists.openembedded.org/mt/101513420/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] [dunfell][PATCH] flac: fix CVE-2020-22219

2023-09-22 Thread Steve Sakoman
On Fri, Sep 22, 2023 at 12:25 AM Michael Opdenacker via
lists.openembedded.org
 wrote:
>
> From: Michael Opdenacker 
>
> Buffer Overflow vulnerability in function bitwriter_grow_ in flac before
> 1.4.0 allows remote attackers to run arbitrary code via crafted input to
> the encoder.
>
> Signed-off-by: Meenali Gupta 
> Signed-off-by: Michael Opdenacker 
> Tested-by: Michael Opdenacker 
>
> ---
>  meta/recipes-multimedia/flac/flac_1.3.3.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-multimedia/flac/flac_1.3.3.bb 
> b/meta/recipes-multimedia/flac/flac_1.3.3.bb
> index cb6692aedf..ca04f36d1a 100644
> --- a/meta/recipes-multimedia/flac/flac_1.3.3.bb
> +++ b/meta/recipes-multimedia/flac/flac_1.3.3.bb
> @@ -15,6 +15,7 @@ LIC_FILES_CHKSUM = 
> "file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \
>  DEPENDS = "libogg"
>
>  SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz \
> +   file://CVE-2020-22219.patch \

You'll need to add the patch file to the commit too :-)

Steve
>  "
>
>  SRC_URI[md5sum] = "26703ed2858c1fc9ffc05136d13daa69"
> --
> 2.34.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188125): 
https://lists.openembedded.org/g/openembedded-core/message/188125
Mute This Topic: https://lists.openembedded.org/mt/101518444/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] musl: Drop MIRRORS

2023-09-22 Thread Khem Raj

On 9/22/23 8:16 AM, Richard Purdie wrote:

On Fri, 2023-09-22 at 08:10 -0700, Khem Raj wrote:

On Fri, Sep 22, 2023 at 3:11 AM Richard Purdie
 wrote:


On Thu, 2023-09-21 at 18:15 -0700, Khem Raj wrote:

When using mirrors fetcher gets into a weird state when shallow clones
are enables.

ERROR: Bitbake Fetcher Error: UnpackError('No up to date source
found: clone directory not available or not up to date:
/mnt/b/yoe/master/downloads/git2/git.musl-libc.org.git.musl.git;
shallow clone not available:
/mnt/b/yoe/master/downloads/gitshallow_git.musl-
libc.org.git.musl.git_79bdacf-1_master.tar.gz', 'git://git.musl-
libc.org/git/musl.git;branch=master;protocol=https')


That sounds like something we should look into and fix?

I don't think it makes sense as a justification in a commit message.


I tried to do it in several ways and somehow fetch is failing. Only
way I see it work once was when removing the mirrors and rebuilding
after -ccleanall
see - https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/7836

if I git fetch these repos from any of mirrors or upstream clones work
totally fine but git fetcher always complains. No idea whats going on



Please tell me you're not running -c cleanall on the autobuilder
infrastructure?


ofcourse not.



Cheers,

Richard


OpenPGP_0xBB053355919D3314.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188124): 
https://lists.openembedded.org/g/openembedded-core/message/188124
Mute This Topic: https://lists.openembedded.org/mt/101513420/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 06/17] python3-click: Copy recipe from meta-python

2023-09-22 Thread Khem Raj

On 9/22/23 7:46 AM, Samantha Jalabert wrote:

From: Samantha Jalabert 

commit: 1a14a28f132a10e9db7b3e5bb2b5361c4679946e

Signed-off-by: Marta Rybczynska 


Please send a removal patch for meta-python as well. So we can keep 
passing the yp compat checks for meta-openembedded on AB and coordinate 
the change between meta-python and oe-core



---
  .../python/python3-click/run-ptest|  3 ++
  .../python/python3-click_8.1.7.bb | 39 +++
  2 files changed, 42 insertions(+)
  create mode 100644 meta/recipes-devtools/python/python3-click/run-ptest
  create mode 100644 meta/recipes-devtools/python/python3-click_8.1.7.bb

diff --git a/meta/recipes-devtools/python/python3-click/run-ptest 
b/meta/recipes-devtools/python/python3-click/run-ptest
new file mode 100644
index 00..b63c4de0d9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-click/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || 
$NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || 
$NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-click_8.1.7.bb 
b/meta/recipes-devtools/python/python3-click_8.1.7.bb
new file mode 100644
index 00..a4ec6cd1ef
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-click_8.1.7.bb
@@ -0,0 +1,39 @@
+SUMMARY = "A simple wrapper around optparse for powerful command line 
utilities."
+DESCRIPTION = "\
+Click is a Python package for creating beautiful command line interfaces \
+in a composable way with as little code as necessary. It's the "Command \
+Line Interface Creation Kit". It's highly configurable but comes with \
+sensible defaults out of the box."
+HOMEPAGE = "http://click.pocoo.org/;
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8"
+
+SRC_URI[sha256sum] = 
"ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += "file://run-ptest"
+
+RDEPENDS:${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+   ${PYTHON_PN}-terminal \
+   ${PYTHON_PN}-unixadmin \
+"
+
+do_install_ptest() {
+install -d ${D}${PTEST_PATH}/tests
+cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
+cp -rf ${S}/docs ${D}${PTEST_PATH}/
+}
+
+UPSTREAM_CHECK_REGEX = "click/(?P\d+(\.\d+)+)/"
+
+CLEANBROKEN = "1"
+
+RDEPENDS:${PN} += "\
+${PYTHON_PN}-io \
+${PYTHON_PN}-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"







OpenPGP_0xBB053355919D3314.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188123): 
https://lists.openembedded.org/g/openembedded-core/message/188123
Mute This Topic: https://lists.openembedded.org/mt/101522496/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] musl: Drop MIRRORS

2023-09-22 Thread Richard Purdie
On Fri, 2023-09-22 at 08:10 -0700, Khem Raj wrote:
> On Fri, Sep 22, 2023 at 3:11 AM Richard Purdie
>  wrote:
> > 
> > On Thu, 2023-09-21 at 18:15 -0700, Khem Raj wrote:
> > > When using mirrors fetcher gets into a weird state when shallow clones
> > > are enables.
> > > 
> > > ERROR: Bitbake Fetcher Error: UnpackError('No up to date source
> > > found: clone directory not available or not up to date:
> > > /mnt/b/yoe/master/downloads/git2/git.musl-libc.org.git.musl.git;
> > > shallow clone not available:
> > > /mnt/b/yoe/master/downloads/gitshallow_git.musl-
> > > libc.org.git.musl.git_79bdacf-1_master.tar.gz', 'git://git.musl-
> > > libc.org/git/musl.git;branch=master;protocol=https')
> > 
> > That sounds like something we should look into and fix?
> > 
> > I don't think it makes sense as a justification in a commit message.
> 
> I tried to do it in several ways and somehow fetch is failing. Only
> way I see it work once was when removing the mirrors and rebuilding
> after -ccleanall
> see - https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/7836
> 
> if I git fetch these repos from any of mirrors or upstream clones work
> totally fine but git fetcher always complains. No idea whats going on
> 

Please tell me you're not running -c cleanall on the autobuilder
infrastructure?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188122): 
https://lists.openembedded.org/g/openembedded-core/message/188122
Mute This Topic: https://lists.openembedded.org/mt/101513420/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] musl: Drop MIRRORS

2023-09-22 Thread Khem Raj
On Fri, Sep 22, 2023 at 3:11 AM Richard Purdie
 wrote:
>
> On Thu, 2023-09-21 at 18:15 -0700, Khem Raj wrote:
> > When using mirrors fetcher gets into a weird state when shallow clones
> > are enables.
> >
> > ERROR: Bitbake Fetcher Error: UnpackError('No up to date source
> > found: clone directory not available or not up to date:
> > /mnt/b/yoe/master/downloads/git2/git.musl-libc.org.git.musl.git;
> > shallow clone not available:
> > /mnt/b/yoe/master/downloads/gitshallow_git.musl-
> > libc.org.git.musl.git_79bdacf-1_master.tar.gz', 'git://git.musl-
> > libc.org/git/musl.git;branch=master;protocol=https')
>
> That sounds like something we should look into and fix?
>
> I don't think it makes sense as a justification in a commit message.

I tried to do it in several ways and somehow fetch is failing. Only
way I see it work once was when removing the mirrors and rebuilding
after -ccleanall
see - https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/7836

if I git fetch these repos from any of mirrors or upstream clones work
totally fine but git fetcher always complains. No idea whats going on
>
> Cheers,
>
> Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188121): 
https://lists.openembedded.org/g/openembedded-core/message/188121
Mute This Topic: https://lists.openembedded.org/mt/101513420/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/17] python3-spdx-tools: add recipe

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

python3-spdx-tools provides tools for SPDX validation and conversion.

Signed-off-by: Marta Rybczynska 
Signed-off-by: Samantha Jalabert 
---
 .../python/python3-spdx-tools_0.8.1.bb| 28 +++
 1 file changed, 28 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-spdx-tools_0.8.1.bb

diff --git a/meta/recipes-devtools/python/python3-spdx-tools_0.8.1.bb 
b/meta/recipes-devtools/python/python3-spdx-tools_0.8.1.bb
new file mode 100644
index 00..f58a138430
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-spdx-tools_0.8.1.bb
@@ -0,0 +1,28 @@
+SUMMARY = "Python tool to parse, validate and convert spdx files"
+HOMEPAGE = "https://github.com/spdx/tools-python;
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=dc7f21ccff0f672f2a7cd6f412ae627d"
+
+SRC_URI[sha256sum] = 
"c83652cd65b5726058dcbdaab85839dbe484c43ea6f61046137516aa1b8428ae"
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit setuptools3 pypi
+
+# Dependency required for pyspdxtools : python3-click
+# Dependencies required for conversion to spdx3 : python3-semantic-version, 
python3-ply
+RDEPENDS:${PN} += "\
+  python3-core \
+  python3-beartype \
+  python3-click \
+  python3-datetime \
+  python3-json \
+  python3-license-expression \
+  python3-ply \
+  python3-pyyaml \
+  python3-rdflib \
+  python3-semantic-version \
+  python3-uritools \
+  python3-xmltodict \
+  "
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188118): 
https://lists.openembedded.org/g/openembedded-core/message/188118
Mute This Topic: https://lists.openembedded.org/mt/101522505/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/17] maintainers.inc: add python3-spdx-tools and dependencies

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

Add maintainers for new packages and also some copied from meta-python:
python3-beartype, python3-booleanpy, python3-click, python3-isodate,
python3-license-expression, python3-rdflib, python3-spdx-tools,
python3-uritools, python3-xmltodict

Signed-off-by: Marta Rybczynska 
Signed-off-by: Samantha Jalabert 
---
 meta/conf/distro/include/maintainers.inc | 9 +
 1 file changed, 9 insertions(+)

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 3619588ae6..7a94fd5020 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -604,11 +604,14 @@ RECIPE_MAINTAINER:pn-python3-atomicwrites = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-iniparse = "Trevor Gamblin 
"
 RECIPE_MAINTAINER:pn-python3-iso8601 = "Tim Orling "
+RECIPE_MAINTAINER:pn-python3-isodate = "Leon Anavi "
 RECIPE_MAINTAINER:pn-python3-installer = "Ross Burton "
 RECIPE_MAINTAINER:pn-python3-jinja2 = "Richard Purdie 
"
 RECIPE_MAINTAINER:pn-python3-jsonpointer = "Bruce Ashfield 
"
 RECIPE_MAINTAINER:pn-python3-jsonschema = "Bruce Ashfield 
"
+RECIPE_MAINTAINER:pn-python3-license-expression = "Wang Mingyu 
"
 RECIPE_MAINTAINER:pn-python3-libarchive-c = "Joshua Watt 
"
 RECIPE_MAINTAINER:pn-python3-lxml = "Khem Raj "
 RECIPE_MAINTAINER:pn-python3-magic = "Joshua Watt "
@@ -675,6 +680,7 @@ RECIPE_MAINTAINER:pn-python3-pytest-runner = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-snowballstemmer = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-sortedcontainers = "Tim Orling 
"
+RECIPE_MAINTAINER:pn-python3-spdx-tools = "Marta Rybczynska 
"
 RECIPE_MAINTAINER:pn-python3-sphinx = "Tim Orling "
 RECIPE_MAINTAINER:pn-python3-sphinxcontrib-qthelp = "Tim Orling 
"
 RECIPE_MAINTAINER:pn-python3-sphinxcontrib-devhelp = "Tim Orling 
"
@@ -706,11 +713,13 @@ RECIPE_MAINTAINER:pn-python3-trove-classifiers = "Trevor 
Gamblin 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188120): 
https://lists.openembedded.org/g/openembedded-core/message/188120
Mute This Topic: https://lists.openembedded.org/mt/101522508/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/17] qa: Add selftest for python3-spdx-tools

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

Signed-off-by: Marta Rybczynska 
Signed-off-by: Samantha Jalabert 
---
 meta/lib/oeqa/selftest/cases/spdx.py | 54 
 1 file changed, 54 insertions(+)
 create mode 100644 meta/lib/oeqa/selftest/cases/spdx.py

diff --git a/meta/lib/oeqa/selftest/cases/spdx.py 
b/meta/lib/oeqa/selftest/cases/spdx.py
new file mode 100644
index 00..05fc4e390b
--- /dev/null
+++ b/meta/lib/oeqa/selftest/cases/spdx.py
@@ -0,0 +1,54 @@
+#
+# Copyright OpenEmbedded Contributors
+#
+# SPDX-License-Identifier: MIT
+#
+
+import json
+import os
+from oeqa.selftest.case import OESelftestTestCase
+from oeqa.utils.commands import bitbake, get_bb_var, runCmd
+
+class SPDXCheck(OESelftestTestCase):
+
+@classmethod
+def setUpClass(cls):
+super(SPDXCheck, cls).setUpClass()
+bitbake("python3-spdx-tools-native")
+bitbake("-c addto_recipe_sysroot python3-spdx-tools-native")
+
+def check_recipe_spdx(self, high_level_dir, spdx_file, target_name):
+config = """
+INHERIT += "create-spdx"
+"""
+self.write_config(config)
+
+deploy_dir = get_bb_var("DEPLOY_DIR")
+machine_var = get_bb_var("MACHINE")
+# qemux86-64 creates the directory qemux86_64
+machine_dir = machine_var.replace("-", "_")
+
+full_file_path = os.path.join(deploy_dir, "spdx", machine_dir, 
high_level_dir, spdx_file)
+
+try:
+os.remove(full_file_path)
+except FileNotFoundError:
+pass
+
+bitbake("%s -c create_spdx" % target_name)
+
+def check_spdx_json(filename):
+with open(filename) as f:
+report = json.load(f)
+self.assertNotEqual(report, None)
+self.assertNotEqual(report["SPDXID"], None)
+
+python = os.path.join(get_bb_var('STAGING_BINDIR', 
'python3-spdx-tools-native'), 'nativepython3')
+validator = os.path.join(get_bb_var('STAGING_BINDIR', 
'python3-spdx-tools-native'), 'pyspdxtools')
+result = runCmd("{} {} -i {}".format(python, validator, filename))
+
+self.assertExists(full_file_path)
+result = check_spdx_json(full_file_path)
+
+def test_spdx_base_files(self):
+self.check_recipe_spdx("packages", "base-files.spdx.json", 
"base-files")
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188119): 
https://lists.openembedded.org/g/openembedded-core/message/188119
Mute This Topic: https://lists.openembedded.org/mt/101522507/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/17] ptest-packagelists.inc: add python test xmltodict

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

Adding test to slow, as it comes as dependency of SDK packages.

Signed-off-by: Marta Rybczynska 
---
 meta/conf/distro/include/ptest-packagelists.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index 35efdc319d..23fc4f14c7 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -109,6 +109,7 @@ PTESTS_SLOW = "\
 python3-cryptography \
 python3 \
 python3-click \
+python3-xmltodict \
 strace \
 tcl \
 util-linux \
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188117): 
https://lists.openembedded.org/g/openembedded-core/message/188117
Mute This Topic: https://lists.openembedded.org/mt/101522504/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/17] python3-xmltodict: Copy recipe from meta-python

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

commit: 61d14138c22a70188d585d85e35fdf86bc65e66f

Signed-off-by: Marta Rybczynska 
---
 .../python/python3-xmltodict/run-ptest|  3 ++
 .../python/python3-xmltodict_0.13.0.bb| 31 +++
 2 files changed, 34 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-xmltodict/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb

diff --git a/meta/recipes-devtools/python/python3-xmltodict/run-ptest 
b/meta/recipes-devtools/python/python3-xmltodict/run-ptest
new file mode 100644
index 00..3385d68939
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-xmltodict/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 
's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if 
($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || 
$NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" 
|| $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print 
$0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb 
b/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb
new file mode 100644
index 00..132aae8929
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb
@@ -0,0 +1,31 @@
+SUMMARY = "Makes working with XML feel like you are working with JSON"
+HOMEPAGE = "https://github.com/martinblech/xmltodict;
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=01441d50dc74476db58a41ac10cb9fa2"
+
+SRC_URI[sha256sum] = 
"341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56"
+
+PYPI_PACKAGE = "xmltodict"
+
+BBCLASSEXTEND = "native nativesdk"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS:${PN} += " \
+   ${PYTHON_PN}-core \
+   ${PYTHON_PN}-xml \
+   ${PYTHON_PN}-io \
+"
+
+RDEPENDS:${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188116): 
https://lists.openembedded.org/g/openembedded-core/message/188116
Mute This Topic: https://lists.openembedded.org/mt/101522503/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/17] python3-uritools: add recipe

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

Signed-off-by: Marta Rybczynska 
Signed-off-by: Samantha Jalabert 
---
 .../recipes-devtools/python/python3-uritools_4.0.2.bb | 11 +++
 1 file changed, 11 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-uritools_4.0.2.bb

diff --git a/meta/recipes-devtools/python/python3-uritools_4.0.2.bb 
b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
new file mode 100644
index 00..5ffedccb85
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-uritools_4.0.2.bb
@@ -0,0 +1,11 @@
+SUMMARY = "URI parsing, classification and composition"
+HOMEPAGE = "https://github.com/tkem/uritools/;
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1ec55353c80c662e4255f8889a0ca558"
+
+SRC_URI[sha256sum] = 
"04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573"
+
+inherit setuptools3 pypi
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188115): 
https://lists.openembedded.org/g/openembedded-core/message/188115
Mute This Topic: https://lists.openembedded.org/mt/101522502/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/17] python3-rdflib: add homepage

2023-09-22 Thread Samantha Jalabert
From: Marta Rybczynska 

Signed-off-by: Marta Rybczynska 
---
 meta/recipes-devtools/python/python3-rdflib_7.0.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb 
b/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb
index 952c210116..09515337c5 100644
--- a/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb
+++ b/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb
@@ -1,4 +1,6 @@
 SUMMARY = "RDFLib is a pure Python package for working with RDF"
+HOMEPAGE = "https://github.com/RDFLib/rdflib;
+SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=37d489c0cefe52a17e1d5007e196464a"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188114): 
https://lists.openembedded.org/g/openembedded-core/message/188114
Mute This Topic: https://lists.openembedded.org/mt/101522501/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/17] python3-rdflib: Copy recipe from meta-python

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

commit: 7e565b5c0c09a9cd7c27eb24f8fb45a746469279

Signed-off-by: Marta Rybczynska 
---
 .../python/python3-rdflib_7.0.0.bb| 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-rdflib_7.0.0.bb

diff --git a/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb 
b/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb
new file mode 100644
index 00..952c210116
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-rdflib_7.0.0.bb
@@ -0,0 +1,19 @@
+SUMMARY = "RDFLib is a pure Python package for working with RDF"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=37d489c0cefe52a17e1d5007e196464a"
+
+SRC_URI[sha256sum] = 
"9995eb8569428059b8c1affd26b25eac510d64f5043d9ce8c84e0d0036e995ae"
+
+inherit pypi python_poetry_core
+
+RDEPENDS:${PN} += " \
+${PYTHON_PN}-isodate \
+${PYTHON_PN}-pyparsing \
+${PYTHON_PN}-logging \
+${PYTHON_PN}-numbers \
+${PYTHON_PN}-xml \
+${PYTHON_PN}-compression \
+${PYTHON_PN}-core \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188113): 
https://lists.openembedded.org/g/openembedded-core/message/188113
Mute This Topic: https://lists.openembedded.org/mt/101522500/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/17] python3-license-expression: Copy recipe from meta-python

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

commit: cabfde8c84e100968bc9ab8407ede616100fddbb

Signed-off-by: Marta Rybczynska 
---
 .../python3-license-expression/run-ptest  |  3 ++
 .../python3-license-expression_30.1.1.bb  | 36 +++
 2 files changed, 39 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-license-expression/run-ptest
 create mode 100644 
meta/recipes-devtools/python/python3-license-expression_30.1.1.bb

diff --git a/meta/recipes-devtools/python/python3-license-expression/run-ptest 
b/meta/recipes-devtools/python/python3-license-expression/run-ptest
new file mode 100644
index 00..5cec711696
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-license-expression/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest
diff --git a/meta/recipes-devtools/python/python3-license-expression_30.1.1.bb 
b/meta/recipes-devtools/python/python3-license-expression_30.1.1.bb
new file mode 100644
index 00..31fb88d6e5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-license-expression_30.1.1.bb
@@ -0,0 +1,36 @@
+SUMMARY = "Utility library to parse, compare, simplify and normalize license 
expressions"
+HOMEPAGE = "https://github.com/nexB/license-expression;
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = 
"file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+SRC_URI[sha256sum] = 
"42375df653ad85e6f5b4b0385138b2dbea1f5d66360783d8625c3e4f97f11f0c"
+
+inherit pypi ptest python_setuptools_build_meta
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+
+RDEPENDS:${PN} += "\
+${PYTHON_PN}-booleanpy \
+${PYTHON_PN}-core \
+${PYTHON_PN}-json \
+${PYTHON_PN}-stringold \
+${PYTHON_PN}-logging \
+"
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+install -d ${D}${PTEST_PATH}/tests
+install -d ${D}${PTEST_PATH}/src
+cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/
+}
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188111): 
https://lists.openembedded.org/g/openembedded-core/message/188111
Mute This Topic: https://lists.openembedded.org/mt/101522498/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/17] ptest-packagelists.inc: add python test license-expression

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

Adding test to the list of tests with problems. It comes as a
copy from meta-python to satisfy dependencies of python3-spdx-tools
and throws and exception on execution.

Signed-off-by: Marta Rybczynska 
---
 meta/conf/distro/include/ptest-packagelists.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index 394f442e4a..35efdc319d 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -141,5 +141,6 @@ PTESTS_PROBLEMS = "\
 libpam \
 libseccomp \
 numactl \
+python3-license-expression \
 python3-numpy \
 "
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188112): 
https://lists.openembedded.org/g/openembedded-core/message/188112
Mute This Topic: https://lists.openembedded.org/mt/101522499/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/17] ptest-packagelists.inc: add python test click

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

Adding test to slow, as it comes as dependency of SDK packages.

Signed-off-by: Marta Rybczynska 
---
 meta/conf/distro/include/ptest-packagelists.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index 9160103cb0..394f442e4a 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -108,6 +108,7 @@ PTESTS_SLOW = "\
 perl \
 python3-cryptography \
 python3 \
+python3-click \
 strace \
 tcl \
 util-linux \
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188110): 
https://lists.openembedded.org/g/openembedded-core/message/188110
Mute This Topic: https://lists.openembedded.org/mt/101522497/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/17] python3-click: Copy recipe from meta-python

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

commit: 1a14a28f132a10e9db7b3e5bb2b5361c4679946e

Signed-off-by: Marta Rybczynska 
---
 .../python/python3-click/run-ptest|  3 ++
 .../python/python3-click_8.1.7.bb | 39 +++
 2 files changed, 42 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-click/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-click_8.1.7.bb

diff --git a/meta/recipes-devtools/python/python3-click/run-ptest 
b/meta/recipes-devtools/python/python3-click/run-ptest
new file mode 100644
index 00..b63c4de0d9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-click/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 
's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if 
($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || 
$NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" 
|| $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print 
$0}else{print}}'
diff --git a/meta/recipes-devtools/python/python3-click_8.1.7.bb 
b/meta/recipes-devtools/python/python3-click_8.1.7.bb
new file mode 100644
index 00..a4ec6cd1ef
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-click_8.1.7.bb
@@ -0,0 +1,39 @@
+SUMMARY = "A simple wrapper around optparse for powerful command line 
utilities."
+DESCRIPTION = "\
+Click is a Python package for creating beautiful command line interfaces \
+in a composable way with as little code as necessary. It's the "Command \
+Line Interface Creation Kit". It's highly configurable but comes with \
+sensible defaults out of the box."
+HOMEPAGE = "http://click.pocoo.org/;
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=1fa98232fd645608937a0fdc82e999b8"
+
+SRC_URI[sha256sum] = 
"ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"
+
+inherit pypi setuptools3 ptest
+
+SRC_URI += "file://run-ptest"
+
+RDEPENDS:${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+   ${PYTHON_PN}-terminal \
+   ${PYTHON_PN}-unixadmin \
+"
+
+do_install_ptest() {
+install -d ${D}${PTEST_PATH}/tests
+cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
+cp -rf ${S}/docs ${D}${PTEST_PATH}/
+}
+
+UPSTREAM_CHECK_REGEX = "click/(?P\d+(\.\d+)+)/"
+
+CLEANBROKEN = "1"
+
+RDEPENDS:${PN} += "\
+${PYTHON_PN}-io \
+${PYTHON_PN}-threading \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188109): 
https://lists.openembedded.org/g/openembedded-core/message/188109
Mute This Topic: https://lists.openembedded.org/mt/101522496/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/17] python3-booleanpy: Copy recipe from meta-python

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

commit: 47b8c97b76b3eb323a97c9079fb49c0348a2376c

Signed-off-by: Marta Rybczynska 
---
 .../python/python3-booleanpy_4.0.bb | 13 +
 1 file changed, 13 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-booleanpy_4.0.bb

diff --git a/meta/recipes-devtools/python/python3-booleanpy_4.0.bb 
b/meta/recipes-devtools/python/python3-booleanpy_4.0.bb
new file mode 100644
index 00..41fd3d960a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-booleanpy_4.0.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Define boolean algebras, create and parse boolean expressions and 
create custom boolean DSL"
+HOMEPAGE = "https://github.com/bastikr/boolean.py;
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d118b5feceee598ebeca76e13395c2bd"
+
+SRC_URI[sha256sum] = 
"17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4"
+
+PYPI_PACKAGE = "boolean.py"
+
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188108): 
https://lists.openembedded.org/g/openembedded-core/message/188108
Mute This Topic: https://lists.openembedded.org/mt/101522495/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/17] python3-beartype: add recipe

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

Signed-off-by: Marta Rybczynska 
Signed-off-by: Samantha Jalabert 
---
 .../python/python3-beartype_0.15.0.bb | 11 +++
 1 file changed, 11 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-beartype_0.15.0.bb

diff --git a/meta/recipes-devtools/python/python3-beartype_0.15.0.bb 
b/meta/recipes-devtools/python/python3-beartype_0.15.0.bb
new file mode 100644
index 00..14eda1dd7d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-beartype_0.15.0.bb
@@ -0,0 +1,11 @@
+SUMMARY = "Unbearably fast runtime type checking in pure Python."
+HOMEPAGE = "https://beartype.readthedocs.io;
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e40b52d8eb5553aa8f705cdd3f979d69"
+
+SRC_URI[sha256sum] = 
"2af6a8d8a7267ccf7d271e1a3bd908afbc025d2a09aa51123567d7d7b37438df"
+
+inherit setuptools3 pypi
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188107): 
https://lists.openembedded.org/g/openembedded-core/message/188107
Mute This Topic: https://lists.openembedded.org/mt/101522494/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/17] python3-isodate: add homepage

2023-09-22 Thread Samantha Jalabert
From: Marta Rybczynska 

Signed-off-by: Marta Rybczynska 
---
 meta/recipes-devtools/python/python3-isodate_0.6.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python3-isodate_0.6.1.bb 
b/meta/recipes-devtools/python/python3-isodate_0.6.1.bb
index c65083b777..293fb08277 100644
--- a/meta/recipes-devtools/python/python3-isodate_0.6.1.bb
+++ b/meta/recipes-devtools/python/python3-isodate_0.6.1.bb
@@ -1,4 +1,6 @@
 SUMMARY = "ISO 8601 date/time parser"
+HOMEPAGE = "https://github.com/gweis/isodate/;
+SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188106): 
https://lists.openembedded.org/g/openembedded-core/message/188106
Mute This Topic: https://lists.openembedded.org/mt/101522493/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/17] python3-isodate: Copy recipe from meta-python

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

commit: 33b910b51cea2eee57f197a2e9697dd81a9dd67b

Signed-off-by: Marta Rybczynska 
---
 .../python/python3-isodate_0.6.1.bb| 14 ++
 1 file changed, 14 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-isodate_0.6.1.bb

diff --git a/meta/recipes-devtools/python/python3-isodate_0.6.1.bb 
b/meta/recipes-devtools/python/python3-isodate_0.6.1.bb
new file mode 100644
index 00..c65083b777
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-isodate_0.6.1.bb
@@ -0,0 +1,14 @@
+SUMMARY = "ISO 8601 date/time parser"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
+
+SRC_URI[sha256sum] = 
"48c5881de7e8b0a0d648cb024c8062dc84e7b840ed81e864c7614fd3c127bde9"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+python3-numbers \
+python3-six \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188105): 
https://lists.openembedded.org/g/openembedded-core/message/188105
Mute This Topic: https://lists.openembedded.org/mt/101522492/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/17] python3-ply: add to nativesdk

2023-09-22 Thread Samantha Jalabert
From: Marta Rybczynska 

Signed-off-by: Marta Rybczynska 
---
 meta/recipes-devtools/python/python3-ply_3.11.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-ply_3.11.bb 
b/meta/recipes-devtools/python/python3-ply_3.11.bb
index 99c037bb73..4a559e44f8 100644
--- a/meta/recipes-devtools/python/python3-ply_3.11.bb
+++ b/meta/recipes-devtools/python/python3-ply_3.11.bb
@@ -15,4 +15,4 @@ RDEPENDS:${PN}:class-target += "\
 ${PYTHON_PN}-shell \
 "
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188104): 
https://lists.openembedded.org/g/openembedded-core/message/188104
Mute This Topic: https://lists.openembedded.org/mt/101522491/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 00/17] python3-spdx-tools implementation

2023-09-22 Thread Samantha Jalabert
From: Samantha Jalabert 

This patchset is to implement spdx-tools, a tool for validating 2.2 spdx files 
and later spdx 3.0.

Marta Rybczynska (3):
  python3-ply: add to nativesdk
  python3-isodate: add homepage
  python3-rdflib: add homepage

Samantha Jalabert (14):
  python3-isodate: Copy recipe from meta-python
  python3-booleanpy: Copy recipe from meta-python
  python3-beartype: add recipe
  python3-click: Copy recipe from meta-python
  ptest-packagelists.inc: add python test click
  python3-license-expression: Copy recipe from meta-python
  ptest-packagelists.inc: add python test license-expression
  python3-rdflib: Copy recipe from meta-python
  python3-uritools: add recipe
  python3-xmltodict: Copy recipe from meta-python
  ptest-packagelists.inc: add python test xmltodict
  python3-spdx-tools: add recipe
  qa: Add selftest for python3-spdx-tools
  maintainers.inc: add python3-spdx-tools and dependencies

 meta/conf/distro/include/maintainers.inc  |  9 
 .../distro/include/ptest-packagelists.inc |  3 ++
 meta/lib/oeqa/selftest/cases/spdx.py  | 54 +++
 .../python/python3-beartype_0.15.0.bb | 11 
 .../python/python3-booleanpy_4.0.bb   | 13 +
 .../python/python3-click/run-ptest|  3 ++
 .../python/python3-click_8.1.7.bb | 39 ++
 .../python/python3-isodate_0.6.1.bb   | 16 ++
 .../python3-license-expression/run-ptest  |  3 ++
 .../python3-license-expression_30.1.1.bb  | 36 +
 .../python/python3-ply_3.11.bb|  2 +-
 .../python/python3-rdflib_7.0.0.bb| 21 
 .../python/python3-spdx-tools_0.8.1.bb| 28 ++
 .../python/python3-uritools_4.0.2.bb  | 11 
 .../python/python3-xmltodict/run-ptest|  3 ++
 .../python/python3-xmltodict_0.13.0.bb| 31 +++
 16 files changed, 282 insertions(+), 1 deletion(-)
 create mode 100644 meta/lib/oeqa/selftest/cases/spdx.py
 create mode 100644 meta/recipes-devtools/python/python3-beartype_0.15.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-booleanpy_4.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-click/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-click_8.1.7.bb
 create mode 100644 meta/recipes-devtools/python/python3-isodate_0.6.1.bb
 create mode 100644 
meta/recipes-devtools/python/python3-license-expression/run-ptest
 create mode 100644 
meta/recipes-devtools/python/python3-license-expression_30.1.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-rdflib_7.0.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-spdx-tools_0.8.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-uritools_4.0.2.bb
 create mode 100644 meta/recipes-devtools/python/python3-xmltodict/run-ptest
 create mode 100644 meta/recipes-devtools/python/python3-xmltodict_0.13.0.bb

-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188103): 
https://lists.openembedded.org/g/openembedded-core/message/188103
Mute This Topic: https://lists.openembedded.org/mt/101522490/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] oeqa/runner: Ensure class setup errors are shown to bitbake logging

2023-09-22 Thread Richard Purdie
This took a bit of digging but failure messages from testimage are shown to 
bitbake's
logging through stopTest. In the case of a setUpClass failure stopTest is never
called and the bitbake logging never sees the error. It would still be in the 
task
logfile. Add some code+comment to ensure logs not shown to the user mid stream 
are shown
at the end.

Signed-off-by: Richard Purdie 
---
 meta/lib/oeqa/core/runner.py | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/core/runner.py b/meta/lib/oeqa/core/runner.py
index 5077eb8e3e3..a86a706bd96 100644
--- a/meta/lib/oeqa/core/runner.py
+++ b/meta/lib/oeqa/core/runner.py
@@ -44,6 +44,7 @@ class OETestResult(_TestResult):
 self.endtime = {}
 self.progressinfo = {}
 self.extraresults = {}
+self.shownmsg = []
 
 # Inject into tc so that TestDepends decorator can see results
 tc.results = self
@@ -74,6 +75,7 @@ class OETestResult(_TestResult):
 for (scase, msg) in getattr(self, t):
 if test.id() == scase.id():
 self.tc.logger.info(str(msg))
+self.shownmsg.append(test.id())
 break
 
 def logSummary(self, component, context_msg=''):
@@ -169,7 +171,6 @@ class OETestResult(_TestResult):
 
 def logDetails(self, json_file_dir=None, configuration=None, 
result_id=None,
 dump_streams=False):
-self.tc.logger.info("RESULTS:")
 
 result = self.extraresults
 logs = {}
@@ -193,6 +194,10 @@ class OETestResult(_TestResult):
 report = {'status': status}
 if log:
 report['log'] = log
+# Class setup failures wouldn't enter stopTest so would never 
display
+if case.id() not in self.shownmsg:
+self.tc.logger.info("Failure (%s) for %s:\n" % (status, 
case.id()) + log)
+
 if duration:
 report['duration'] = duration
 
@@ -215,6 +220,7 @@ class OETestResult(_TestResult):
 report['stderr'] = stderr
 result[case.id()] = report
 
+self.tc.logger.info("RESULTS:")
 for i in ['PASSED', 'SKIPPED', 'EXPECTEDFAIL', 'ERROR', 'FAILED', 
'UNKNOWN']:
 if i not in logs:
 continue
-- 
2.39.2


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



[OE-core] [mickledore][PATCH] glibc: fix CVE-2023-4527

2023-09-22 Thread Shinde, Yash via lists.openembedded.org
From: Yash Shinde 

Upstream-Status: 
Backport[https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4ea972b7edd7e36610e8cde18bf7a8149d7bac4f]

Signed-off-by: Yash Shinde 
---
 .../glibc/glibc/0023-CVE-2023-4527.patch  | 217 ++
 meta/recipes-core/glibc/glibc_2.37.bb |   1 +
 2 files changed, 218 insertions(+)
 create mode 100644 meta/recipes-core/glibc/glibc/0023-CVE-2023-4527.patch

diff --git a/meta/recipes-core/glibc/glibc/0023-CVE-2023-4527.patch 
b/meta/recipes-core/glibc/glibc/0023-CVE-2023-4527.patch
new file mode 100644
index 00..3f549c9542
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0023-CVE-2023-4527.patch
@@ -0,0 +1,217 @@
+From 4ea972b7edd7e36610e8cde18bf7a8149d7bac4f Mon Sep 17 00:00:00 2001
+From: Florian Weimer 
+Date: Wed, 13 Sep 2023 14:10:56 +0200
+Subject: [PATCH] CVE-2023-4527: Stack read overflow with large TCP responses
+ in no- mode
+
+Without passing alt_dns_packet_buffer, __res_context_search can only
+store 2048 bytes (what fits into dns_packet_buffer).  However,
+the function returns the total packet size, and the subsequent
+DNS parsing code in _nss_dns_gethostbyname4_r reads beyond the end
+of the stack-allocated buffer.
+
+Fixes commit f282cdbe7f436c75864e5640a4 ("resolv: Implement no-
+stub resolver option") and bug 30842.
+
+(cherry picked from commit bd77dd7e73e3530203be1c52c8a29d08270cb25d)
+
+Upstream-Status: Backport 
[https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4ea972b7edd7e36610e8cde18bf7a8149d7bac4f]
+CVE: CVE-2023-4527
+
+---
+ NEWS  |   7 ++
+ resolv/Makefile   |   2 +
+ resolv/nss_dns/dns-host.c |   2 +-
+ resolv/tst-resolv-no-vc.c | 129 ++
+ 4 files changed, 139 insertions(+), 1 deletion(-)
+ create mode 100644 resolv/tst-resolv-no-vc.c
+
+diff --git a/NEWS b/NEWS
+--- a/NEWS
 b/NEWS
+@@ -25,6 +25,7 @@
+   [30101] gmon: fix memory corruption issues
+   [30125] dynamic-link: [regression, bisected] glibc-2.37 creates new
+ symlink for libraries without soname
++  [30842] Stack read overflow in getaddrinfo in no- mode (CVE-2023-4527)
+   [30151] gshadow: Matching sgetsgent, sgetsgent_r ERANGE handling
+   [30163] posix: Fix system blocks SIGCHLD erroneously
+   [30305] x86_64: Fix asm constraints in feraiseexcept
+@@ -54,6 +55,12 @@
+   heap and prints it to the target log file, potentially revealing a
+   portion of the contents of the heap.
+
++  CVE-2023-4527: If the system is configured in no- mode via
++  /etc/resolv.conf, getaddrinfo is called for the AF_UNSPEC address
++  family, and a DNS response is received over TCP that is larger than
++  2048 bytes, getaddrinfo may potentially disclose stack contents via
++  the returned address data, or crash.
++
+ The following bugs are resolved with this release:
+
+   [12154] network: Cannot resolve hosts which have wildcard aliases
+diff --git a/resolv/Makefile b/resolv/Makefile
+--- a/resolv/Makefile
 b/resolv/Makefile
+@@ -101,6 +101,7 @@
+   tst-resolv-invalid-cname \
+   tst-resolv-network \
+   tst-resolv-no \
++  tst-resolv-no-vc \
+   tst-resolv-nondecimal \
+   tst-resolv-res_init-multi \
+   tst-resolv-search \
+@@ -292,6 +293,7 @@
+ $(objpfx)tst-resolv-invalid-cname: $(objpfx)libresolv.so \
+   $(shared-thread-library)
+ $(objpfx)tst-resolv-no: $(objpfx)libresolv.so $(shared-thread-library)
++$(objpfx)tst-resolv-no-vc: $(objpfx)libresolv.so $(shared-thread-library)
+ $(objpfx)tst-resolv-nondecimal: $(objpfx)libresolv.so $(shared-thread-library)
+ $(objpfx)tst-resolv-qtypes: $(objpfx)libresolv.so $(shared-thread-library)
+ $(objpfx)tst-resolv-rotate: $(objpfx)libresolv.so $(shared-thread-library)
+diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
+--- a/resolv/nss_dns/dns-host.c
 b/resolv/nss_dns/dns-host.c
+@@ -427,7 +427,7 @@
+ {
+   n = __res_context_search (ctx, name, C_IN, T_A,
+   dns_packet_buffer, sizeof (dns_packet_buffer),
+-  NULL, NULL, NULL, NULL, NULL);
++  _dns_packet_buffer, NULL, NULL, NULL, NULL);
+   if (n >= 0)
+   status = gaih_getanswer_no (alt_dns_packet_buffer, n,
+   , pat, errnop, herrnop, ttlp);
+diff --git a/resolv/tst-resolv-no-vc.c b/resolv/tst-resolv-no-vc.c
+new file mode 100644
+--- /dev/null
 b/resolv/tst-resolv-no-vc.c
+@@ -0,0 +1,129 @@
++/* Test the RES_NO resolver option with a large response.
++   Copyright (C) 2022-2023 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the 

[OE-core] [PATCH] glibc: fix CVE-2023-4527

2023-09-22 Thread Shinde, Yash via lists.openembedded.org
From: Yash Shinde 

Upstream-Status: 
Backport[https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4ea972b7edd7e36610e8cde18bf7a8149d7bac4f]

Signed-off-by: Yash Shinde 
---
 .../glibc/glibc/0024-CVE-2023-4527.patch  | 217 ++
 meta/recipes-core/glibc/glibc_2.38.bb |   1 +
 2 files changed, 218 insertions(+)
 create mode 100644 meta/recipes-core/glibc/glibc/0024-CVE-2023-4527.patch

diff --git a/meta/recipes-core/glibc/glibc/0024-CVE-2023-4527.patch 
b/meta/recipes-core/glibc/glibc/0024-CVE-2023-4527.patch
new file mode 100644
index 00..70d5c8afef
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0024-CVE-2023-4527.patch
@@ -0,0 +1,217 @@
+From 4ea972b7edd7e36610e8cde18bf7a8149d7bac4f Mon Sep 17 00:00:00 2001
+From: Florian Weimer 
+Date: Wed, 13 Sep 2023 14:10:56 +0200
+Subject: [PATCH] CVE-2023-4527: Stack read overflow with large TCP responses
+ in no- mode
+
+Without passing alt_dns_packet_buffer, __res_context_search can only
+store 2048 bytes (what fits into dns_packet_buffer).  However,
+the function returns the total packet size, and the subsequent
+DNS parsing code in _nss_dns_gethostbyname4_r reads beyond the end
+of the stack-allocated buffer.
+
+Fixes commit f282cdbe7f436c75864e5640a4 ("resolv: Implement no-
+stub resolver option") and bug 30842.
+
+(cherry picked from commit bd77dd7e73e3530203be1c52c8a29d08270cb25d)
+
+Upstream-Status: Backport 
[https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4ea972b7edd7e36610e8cde18bf7a8149d7bac4f]
+CVE: CVE-2023-4527
+
+---
+ NEWS  |   7 ++
+ resolv/Makefile   |   2 +
+ resolv/nss_dns/dns-host.c |   2 +-
+ resolv/tst-resolv-no-vc.c | 129 ++
+ 4 files changed, 139 insertions(+), 1 deletion(-)
+ create mode 100644 resolv/tst-resolv-no-vc.c
+
+diff --git a/NEWS b/NEWS
+--- a/NEWS
 b/NEWS
+@@ -126,6 +126,7 @@
+   [30477] libc: [RISCV]: time64 does not work on riscv32
+   [30515] dynamic-link: _dl_find_object incorrectly returns 1 during
+ early startup
++  [30842] Stack read overflow in getaddrinfo in no- mode (CVE-2023-4527)
+   [30527] network: resolv_conf lock not unlocked on allocation failure
+   [30550] math: powerpc64le: GCC-specific code for isinf() is being used
+ on clang
+@@ -157,6 +158,12 @@
+   heap and prints it to the target log file, potentially revealing a
+   portion of the contents of the heap.
+
++  CVE-2023-4527: If the system is configured in no- mode via
++  /etc/resolv.conf, getaddrinfo is called for the AF_UNSPEC address
++  family, and a DNS response is received over TCP that is larger than
++  2048 bytes, getaddrinfo may potentially disclose stack contents via
++  the returned address data, or crash.
++
+ The following bugs are resolved with this release:
+
+   [12154] network: Cannot resolve hosts which have wildcard aliases
+diff --git a/resolv/Makefile b/resolv/Makefile
+--- a/resolv/Makefile
 b/resolv/Makefile
+@@ -102,6 +102,7 @@
+   tst-resolv-invalid-cname \
+   tst-resolv-network \
+   tst-resolv-no \
++  tst-resolv-no-vc \
+   tst-resolv-nondecimal \
+   tst-resolv-res_init-multi \
+   tst-resolv-search \
+@@ -293,6 +294,7 @@
+ $(objpfx)tst-resolv-invalid-cname: $(objpfx)libresolv.so \
+   $(shared-thread-library)
+ $(objpfx)tst-resolv-no: $(objpfx)libresolv.so $(shared-thread-library)
++$(objpfx)tst-resolv-no-vc: $(objpfx)libresolv.so $(shared-thread-library)
+ $(objpfx)tst-resolv-nondecimal: $(objpfx)libresolv.so $(shared-thread-library)
+ $(objpfx)tst-resolv-qtypes: $(objpfx)libresolv.so $(shared-thread-library)
+ $(objpfx)tst-resolv-rotate: $(objpfx)libresolv.so $(shared-thread-library)
+diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
+--- a/resolv/nss_dns/dns-host.c
 b/resolv/nss_dns/dns-host.c
+@@ -427,7 +427,7 @@ _nss_dns_gethostbyname4_r (const char *name, struct 
gaih_addrtuple **pat,
+ {
+   n = __res_context_search (ctx, name, C_IN, T_A,
+   dns_packet_buffer, sizeof (dns_packet_buffer),
+-  NULL, NULL, NULL, NULL, NULL);
++  _dns_packet_buffer, NULL, NULL, NULL, NULL);
+   if (n >= 0)
+   status = gaih_getanswer_no (alt_dns_packet_buffer, n,
+   , pat, errnop, herrnop, ttlp);
+diff --git a/resolv/tst-resolv-no-vc.c b/resolv/tst-resolv-no-vc.c
+new file mode 100644
+--- /dev/null
 b/resolv/tst-resolv-no-vc.c
+@@ -0,0 +1,129 @@
++/* Test the RES_NO resolver option with a large response.
++   Copyright (C) 2022-2023 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++

[oe-core][kirkstone][PATCH 3/3] gstreamer1.0-plugins-bad: fix CVE-2023-40476

2023-09-22 Thread Polampalli, Archana via lists.openembedded.org
gst-plugins-bad: h265parser: Fix possible overflow using max_sub_layers_minus1

Signed-off-by: Archana Polampalli 
---
 .../CVE-2023-40476.patch  | 44 +++
 .../gstreamer1.0-plugins-bad_1.20.7.bb|  1 +
 2 files changed, 45 insertions(+)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40476.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40476.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40476.patch
new file mode 100644
index 00..7810e98024
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40476.patch
@@ -0,0 +1,44 @@
+From 1b51467ea640bcc73c97f3186350d72cbfba5cb4 Mon Sep 17 00:00:00 2001
+From: Nicolas Dufresne 
+Date: Wed, 9 Aug 2023 12:49:19 -0400
+Subject: [PATCH] h265parser: Fix possible overflow using max_sub_layers_minus1
+
+This fixes a possible overflow that can be triggered by an invalid value of
+max_sub_layers_minus1 being set in the bitstream. The bitstream uses 3 bits,
+but the allowed range is 0 to 6 only.
+
+Fixes ZDI-CAN-21768, CVE-2023-40476
+
+Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2895
+
+Part-of: 

+
+Upstream-Status: Backport 
[https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/ff91a3d8d6f7e2412c44663bf30fad5c7fdbc9d9]
+CVE: CVE-2023-40476
+
+Signed-off-by: Archana Polampalli 
+
+---
+ gst-libs/gst/codecparsers/gsth265parser.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/gst-libs/gst/codecparsers/gsth265parser.c 
b/gst-libs/gst/codecparsers/gsth265parser.c
+index a4e7549..3db1c38 100644
+--- a/gst-libs/gst/codecparsers/gsth265parser.c
 b/gst-libs/gst/codecparsers/gsth265parser.c
+@@ -1670,6 +1670,7 @@ gst_h265_parse_vps (GstH265NalUnit * nalu, GstH265VPS * 
vps)
+
+   READ_UINT8 (, vps->max_layers_minus1, 6);
+   READ_UINT8 (, vps->max_sub_layers_minus1, 3);
++  CHECK_ALLOWED (vps->max_sub_layers_minus1, 0, 6);
+   READ_UINT8 (, vps->temporal_id_nesting_flag, 1);
+
+   /* skip reserved_0x_16bits */
+@@ -1849,6 +1850,7 @@ gst_h265_parse_sps (GstH265Parser * parser, 
GstH265NalUnit * nalu,
+   sps->vps = vps;
+
+   READ_UINT8 (, sps->max_sub_layers_minus1, 3);
++  CHECK_ALLOWED (sps->max_sub_layers_minus1, 0, 6);
+   READ_UINT8 (, sps->temporal_id_nesting_flag, 1);
+
+   if (!gst_h265_parse_profile_tier_level (>profile_tier_level, ,
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.7.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.7.bb
index d5f1e794cd..fbaabda3f9 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.7.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.7.bb
@@ -12,6 +12,7 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad

file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \
file://CVE-2023-40474.patch \
file://CVE-2023-40475.patch \
+   file://CVE-2023-40476.patch \
"
 SRC_URI[sha256sum] = 
"87251beebfd1325e5118cc67774061f6e8971761ca65a9e5957919610080d195"
 
-- 
2.35.5


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188099): 
https://lists.openembedded.org/g/openembedded-core/message/188099
Mute This Topic: https://lists.openembedded.org/mt/101519780/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][PATCH 1/3] gstreamer1.0-plugins-bad: fix CVE-2023-40474

2023-09-22 Thread Polampalli, Archana via lists.openembedded.org
gst-plugins-bad: Heap-based buffer overflow in the MXF file demuxer when 
handling
malformed files with uncompressed video in GStreamer versions before 1.22.6

Signed-off-by: Archana Polampalli 
---
 .../CVE-2023-40474.patch  | 118 ++
 .../gstreamer1.0-plugins-bad_1.20.7.bb|   1 +
 2 files changed, 119 insertions(+)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40474.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40474.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40474.patch
new file mode 100644
index 00..dd5886863d
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40474.patch
@@ -0,0 +1,118 @@
+From ce17e968e4cf900d28ca5b46f6e095febc42b4f0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 
+Date: Thu, 10 Aug 2023 15:45:01 +0300
+Subject: [PATCH] mxfdemux: Fix integer overflow causing out of bounds writes
+ when handling invalid uncompressed video
+
+Check ahead of time when parsing the track information whether
+width, height and bpp are valid and usable without overflows.
+
+Fixes ZDI-CAN-21660, CVE-2023-40474
+
+Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2896
+
+Part-of: 

+
+Upstream-Status: Backport 
[https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/ce17e968e4cf900d28ca5b46f6e095febc42b4f0]
+CVE: CVE-2023-40474
+
+Signed-off-by: Archana Polampalli 
+---
+ gst/mxf/mxfup.c | 51 +
+ 1 file changed, 43 insertions(+), 8 deletions(-)
+
+diff --git a/gst/mxf/mxfup.c b/gst/mxf/mxfup.c
+index d72ed22cb7..0c0178c1c9 100644
+--- a/gst/mxf/mxfup.c
 b/gst/mxf/mxfup.c
+@@ -118,6 +118,8 @@ mxf_up_handle_essence_element (const MXFUL * key, 
GstBuffer * buffer,
+ gpointer mapping_data, GstBuffer ** outbuf)
+ {
+   MXFUPMappingData *data = mapping_data;
++  gsize expected_in_stride = 0, out_stride = 0;
++  gsize expected_in_size = 0, out_size = 0;
+
+   /* SMPTE 384M 7.1 */
+   if (key->u[12] != 0x15 || (key->u[14] != 0x01 && key->u[14] != 0x02
+@@ -146,22 +148,25 @@ mxf_up_handle_essence_element (const MXFUL * key, 
GstBuffer * buffer,
+ }
+   }
+
+-  if (gst_buffer_get_size (buffer) != data->bpp * data->width * data->height) 
{
++  // Checked for overflows when parsing the descriptor
++  expected_in_stride = data->bpp * data->width;
++  out_stride = GST_ROUND_UP_4 (expected_in_stride);
++  expected_in_size = expected_in_stride * data->height;
++  out_size = out_stride * data->height;
++
++  if (gst_buffer_get_size (buffer) != expected_in_size) {
+ GST_ERROR ("Invalid buffer size");
+ gst_buffer_unref (buffer);
+ return GST_FLOW_ERROR;
+   }
+
+-  if (data->bpp != 4
+-  || GST_ROUND_UP_4 (data->width * data->bpp) != data->width * data->bpp) 
{
++  if (data->bpp != 4 || out_stride != expected_in_stride) {
+ guint y;
+ GstBuffer *ret;
+ GstMapInfo inmap, outmap;
+ guint8 *indata, *outdata;
+
+-ret =
+-gst_buffer_new_and_alloc (GST_ROUND_UP_4 (data->width * data->bpp) *
+-data->height);
++ret = gst_buffer_new_and_alloc (out_size);
+ gst_buffer_map (buffer, , GST_MAP_READ);
+ gst_buffer_map (ret, , GST_MAP_WRITE);
+ indata = inmap.data;
+@@ -169,8 +174,8 @@ mxf_up_handle_essence_element (const MXFUL * key, 
GstBuffer * buffer,
+
+ for (y = 0; y < data->height; y++) {
+   memcpy (outdata, indata, data->width * data->bpp);
+-  outdata += GST_ROUND_UP_4 (data->width * data->bpp);
+-  indata += data->width * data->bpp;
++  outdata += out_stride;
++  indata += expected_in_stride;
+ }
+
+ gst_buffer_unmap (buffer, );
+@@ -378,6 +383,36 @@ mxf_up_create_caps (MXFMetadataTimelineTrack * track, 
GstTagList ** tags,
+ return NULL;
+   }
+
++  if (caps) {
++MXFUPMappingData *data = *mapping_data;
++gsize expected_in_stride = 0, out_stride = 0;
++gsize expected_in_size = 0, out_size = 0;
++
++// Do some checking of the parameters to see if they're valid and
++// we can actually work with them.
++if (data->image_start_offset > data->image_end_offset) {
++  GST_WARNING ("Invalid image start/end offset");
++  g_free (data);
++  *mapping_data = NULL;
++  gst_clear_caps ();
++
++  return NULL;
++}
++
++if (!g_size_checked_mul (_in_stride, data->bpp, data->width) ||
++(out_stride = GST_ROUND_UP_4 (expected_in_stride)) < 
expected_in_stride
++|| !g_size_checked_mul (_in_size, expected_in_stride,
++data->height)
++|| !g_size_checked_mul (_size, out_stride, data->height)) {
++  GST_ERROR ("Invalid resolution or bit depth");
++  g_free (data);
++  *mapping_data = NULL;
++  gst_clear_caps ();
++
++  return NULL;
++}
++  }
++
+   return caps;
+ }
+
+--
+2.40.0
diff --git 

[oe-core][kirkstone][PATCH 2/3] gstreamer1.0-plugins-bad: fix CVE-2023-40475

2023-09-22 Thread Polampalli, Archana via lists.openembedded.org
gst-plugins-bad: Integer overflow leading to heap overwrite in MXF file 
handling with AES3 audio

Signed-off-by: Archana Polampalli 
---
 .../CVE-2023-40475.patch  | 49 +++
 .../gstreamer1.0-plugins-bad_1.20.7.bb|  1 +
 2 files changed, 50 insertions(+)
 create mode 100644 
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40475.patch

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40475.patch
 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40475.patch
new file mode 100644
index 00..ab9ac7afaa
--- /dev/null
+++ 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/CVE-2023-40475.patch
@@ -0,0 +1,49 @@
+From 72742dee30cce7bf909639f82de119871566ce39 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= 
+Date: Thu, 10 Aug 2023 15:47:03 +0300
+Subject: [PATCH] mxfdemux: Check number of channels for AES3 audio
+
+Only up to 8 channels are allowed and using a higher number would cause
+integer overflows when copying the data, and lead to out of bound
+writes.
+
+Also check that each buffer is at least 4 bytes long to avoid another
+overflow.
+
+Fixes ZDI-CAN-21661, CVE-2023-40475
+
+Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2897
+
+Part-of: 

+
+Upstream-Status: Backport 
[https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/72742dee30cce7bf909639f82de119871566ce39]
+CVE: CVE-2023-40475
+
+Signed-off-by: Archana Polampalli 
+---
+ gst/mxf/mxfd10.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/gst/mxf/mxfd10.c b/gst/mxf/mxfd10.c
+index 03854d9303..0ad0d2d283 100644
+--- a/gst/mxf/mxfd10.c
 b/gst/mxf/mxfd10.c
+@@ -101,7 +101,7 @@ mxf_d10_sound_handle_essence_element (const MXFUL * key, 
GstBuffer * buffer,
+   gst_buffer_map (buffer, , GST_MAP_READ);
+
+   /* Now transform raw AES3 into raw audio, see SMPTE 331M */
+-  if ((map.size - 4) % 32 != 0) {
++  if (map.size < 4 || (map.size - 4) % 32 != 0) {
+ gst_buffer_unmap (buffer, );
+ GST_ERROR ("Invalid D10 sound essence buffer size");
+ return GST_FLOW_ERROR;
+@@ -201,6 +201,7 @@ mxf_d10_create_caps (MXFMetadataTimelineTrack * track, 
GstTagList ** tags,
+ GstAudioFormat audio_format;
+
+ if (s->channel_count == 0 ||
++s->channel_count > 8 ||
+ s->quantization_bits == 0 ||
+ s->audio_sampling_rate.n == 0 || s->audio_sampling_rate.d == 0) {
+   GST_ERROR ("Invalid descriptor");
+--
+2.40.0
diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.7.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.7.bb
index 52acb30d74..d5f1e794cd 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.7.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20.7.bb
@@ -11,6 +11,7 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad
file://0003-ensure-valid-sentinals-for-gst_structure_get-etc.patch \

file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \
file://CVE-2023-40474.patch \
+   file://CVE-2023-40475.patch \
"
 SRC_URI[sha256sum] = 
"87251beebfd1325e5118cc67774061f6e8971761ca65a9e5957919610080d195"
 
-- 
2.35.5


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188098): 
https://lists.openembedded.org/g/openembedded-core/message/188098
Mute This Topic: https://lists.openembedded.org/mt/101519779/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] [Openembedded-architecture] Core workflow: sstate for all, bblock/bbunlock, tools for why is sstate not being reused?

2023-09-22 Thread Richard Purdie
On Fri, 2023-09-22 at 11:17 +0200, Alexander Kanavin wrote:
> On Thu, 21 Sept 2023 at 16:39, chris.lapla...@agilent.com
>  wrote:
> 
> > That is very impressive and I'd also love to hear about what heuristics it 
> > uses.
> 
> It's actually rather simple. It uses glob.glob on stamps in tmp/, then
> on local sstate to find possible matches, then sorts them by mtime and
> takes the most recent. It's what would work most of the time, but we
> could add printdiff-all (print difference with all sstate matches) or
> printdiff-N (N most recent). It also could abstain from dumping
> locked-sigs.inc into cwd with both -S none and -S printdiff, unless
> explicitly asked
> 
> I just discovered there's also scripts/bitbake-whatchanged (that
> hasn't seen activity in years and is neither documented nor tested).
> Unsurprisingly then, it doesn't work in the same scenario:
> 
> 
> alex@Zen2:/srv/storage/alex/yocto/build-sstate$ bitbake-whatchanged
> libsolv-native
> Figuring out the STAMPS_DIR ...
> Generating the new stamps ... (need several minutes)
> 
> === Summary: (0 changed, 0 unchanged)
> Newly added: 0
> PV changed: 0
> PR changed: 0
> Dependencies changed: 0
> 
> Removing the newly generated stamps dir ...
> 
> 
> Maybe this is what RP was referring to when he said the tools don't
> work properly?

No, I've believed that should probably be removed. I think there was a
recent change to it.

I think we had a major step change in this functionality working when
this was fixed:

https://git.yoctoproject.org/poky/commit/?id=84a7485025dd4473403b8da36a0c979a3afd5e93

and this test case was added:

https://git.yoctoproject.org/poky/commit/?id=1bdcd76d2968c3cc6ec2815afceba1cf98efd6d5

Things which used to be problematic:

a) changes involving changes to gcc-source since it uses a shared
sources stamps which confused the tools (at least used to). That may
have been before gcc-source became a recipe?
b) changes to a very common component (e.g. autoconf-native's
do_configure) which make it hard to understand where the root cause of
the changes came from
c) changes which affect many recipes at once, e.g. the do_configure
function in base.bbclass

It might be helpful to write test cases for the scenario you showed as
working above and some of the ones I mention above, then we can
document they work and have an easier way to add tests for issues
if/as/when we identify the problematic scenarios in future.

As you mention, it also uses mtime so perhaps issues happen if you run
a different build, then try and go back to the other config? I suspect
once you understand the algorithm the code uses, you can pick holes in
it.

Cheers,

Richard




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



[oe-core][PATCHv7] vte: upgrade 2.72.2 -> 2.74.0

2023-09-22 Thread Markus Volk
Rework recipe

- remove legacy of the autotools buildsystem
- remove BBCLASSEXTEND
- build vapi dependent on gi-data
- docs require gir, add a EXTRA_OEMESON:append to avoid fail in
  a combination where docs=true and gir=false
- gtk+3 and gtk4 are requested by default-> add gtk4 depending
  on DISTRO_FEATURE
- install systemd support files depending on DISTRO_FEATURE
- update 0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch

Signed-off-by: Markus Volk 
---
 ...EXITCODE-macro-for-non-glibc-systems.patch | 35 ---
 .../vte/{vte_0.72.2.bb => vte_0.74.0.bb}  | 29 ++-
 2 files changed, 25 insertions(+), 39 deletions(-)
 rename meta/recipes-support/vte/{vte_0.72.2.bb => vte_0.74.0.bb} (67%)

diff --git 
a/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
 
b/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
index b4100fc381..8934d5f80a 100644
--- 
a/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
+++ 
b/meta/recipes-support/vte/vte/0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch
@@ -11,32 +11,25 @@ Upstream-Status: Submitted [1]
 Signed-off-by: Andreas Müller 
 
 [1] https://gitlab.gnome.org/GNOME/vte/issues/72
-
 ---
- src/missing.hh | 4 
- src/widget.cc  | 1 +
- 2 files changed, 5 insertions(+)
+ src/widget.cc  | 4 +++
+ 1 files changed, 4 insertions(+)
 
 a/src/missing.hh
-+++ b/src/missing.hh
-@@ -24,6 +24,10 @@
- #define NSIG (8 * sizeof(sigset_t))
- #endif
+diff --git a/src/widget.cc b/src/widget.cc
+index 07f7cabf..31a77f68 100644
+--- a/src/widget.cc
 b/src/widget.cc
+@@ -16,6 +16,10 @@
+  * along with this library.  If not, see .
+  */
  
 +#ifndef W_EXITCODE
 +#define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
 +#endif
 +
- #ifndef HAVE_FDWALK
- int fdwalk(int (*cb)(void* data, int fd),
-void* data);
 a/src/widget.cc
-+++ b/src/widget.cc
-@@ -21,6 +21,7 @@
- #include "widget.hh"
- 
- #include  // for W_EXITCODE
-+#include "missing.hh" // for W_EXITCODE on non-glibc systems
+ #include "config.h"
  
- #include 
- #include 
+ #include "widget.hh"
+-- 
+2.42.0
+
diff --git a/meta/recipes-support/vte/vte_0.72.2.bb 
b/meta/recipes-support/vte/vte_0.74.0.bb
similarity index 67%
rename from meta/recipes-support/vte/vte_0.72.2.bb
rename to meta/recipes-support/vte/vte_0.74.0.bb
index 4249b75ac0..aeaf088598 100644
--- a/meta/recipes-support/vte/vte_0.72.2.bb
+++ b/meta/recipes-support/vte/vte_0.74.0.bb
@@ -17,32 +17,27 @@ GNOMEBASEBUILDCLASS = "meson"
 GIR_MESON_OPTION = 'gir'
 GIDOCGEN_MESON_OPTION = "docs"
 
-inherit gnomebase gi-docgen features_check upstream-version-is-even 
gobject-introspection
+inherit gnomebase gi-docgen features_check upstream-version-is-even 
gobject-introspection vala
 
-# vapigen.m4 is required when vala is not present (but the one from vala 
should be used normally)
 SRC_URI += "file://0001-Add-W_EXITCODE-macro-for-non-glibc-systems.patch"
-SRC_URI[archive.sha256sum] = 
"f7966fd185a6981f53964162b71cfef7e606495155d6f5827b72aa0dd6741c9e"
+SRC_URI[archive.sha256sum] = 
"9ae08f777952ba793221152d360550451580f42d3b570e3341ebb6841984c76b"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
-# Help g-ir-scanner find the .so for linking
-do_compile:prepend() {
-export GIR_EXTRA_LIBS_PATH="${B}/src/.libs"
-}
+EXTRA_OEMESON += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 
'-Dvapi=true', '-Dvapi=false', d)}"
+EXTRA_OEMESON:append = " ${@bb.utils.contains('GI_DATA_ENABLED', 'False', 
'-Ddocs=false', '', d)}"
 
-# Package additional files
-FILES:${PN}-dev += "${datadir}/vala/vapi/*"
-
-PACKAGECONFIG ??= "gnutls"
-PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false,vala-native vala"
+PACKAGECONFIG ??= " \
+   gnutls \
+   ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
+   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gtk4', '', d)} \
+"
+PACKAGECONFIG[gtk4] = "-Dgtk4=true,-Dgtk4=false,gtk4"
 PACKAGECONFIG[gnutls] = "-Dgnutls=true,-Dgnutls=false,gnutls"
 PACKAGECONFIG[systemd] = "-D_systemd=true,-D_systemd=false,systemd"
-# vala requires gir
-PACKAGECONFIG:remove:class-native = "vala"
-
-CFLAGS += "-D_GNU_SOURCE"
 
 PACKAGES =+ "libvte ${PN}-prompt"
+FILES:${PN} +="${systemd_user_unitdir}"
 FILES:libvte = "${libdir}/*.so.* ${libdir}/girepository-1.0/*"
 FILES:${PN}-prompt = " \
 ${sysconfdir}/profile.d \
@@ -50,5 +45,3 @@ FILES:${PN}-prompt = " \
 "
 
 FILES:${PN}-dev += "${datadir}/glade/"
-
-BBCLASSEXTEND = "native nativesdk"
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188095): 
https://lists.openembedded.org/g/openembedded-core/message/188095
Mute This Topic: https://lists.openembedded.org/mt/101518552/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] maintainers.inc: add self for flac recipe

2023-09-22 Thread Michael Opdenacker via lists.openembedded.org
From: Michael Opdenacker 

Signed-off-by: Michael Opdenacker 
---
 meta/conf/distro/include/maintainers.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index e977c84fc8..7697324335 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -173,7 +173,7 @@ RECIPE_MAINTAINER:pn-expect = "Alexander Kanavin 
"
 RECIPE_MAINTAINER:pn-ffmpeg = "Alexander Kanavin "
 RECIPE_MAINTAINER:pn-file = "Yi Zhao "
 RECIPE_MAINTAINER:pn-findutils = "Chen Qi "
-RECIPE_MAINTAINER:pn-flac = "Unassigned "
+RECIPE_MAINTAINER:pn-flac = "Michael Opdenacker 
"
 RECIPE_MAINTAINER:pn-flex = "Chen Qi "
 RECIPE_MAINTAINER:pn-font-alias = "Unassigned "
 RECIPE_MAINTAINER:pn-font-util = "Unassigned "
-- 
2.34.1


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



[OE-core] [dunfell][PATCH] flac: fix CVE-2020-22219

2023-09-22 Thread Michael Opdenacker via lists.openembedded.org
From: Michael Opdenacker 

Buffer Overflow vulnerability in function bitwriter_grow_ in flac before
1.4.0 allows remote attackers to run arbitrary code via crafted input to
the encoder.

Signed-off-by: Meenali Gupta 
Signed-off-by: Michael Opdenacker 
Tested-by: Michael Opdenacker 

---
 meta/recipes-multimedia/flac/flac_1.3.3.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-multimedia/flac/flac_1.3.3.bb 
b/meta/recipes-multimedia/flac/flac_1.3.3.bb
index cb6692aedf..ca04f36d1a 100644
--- a/meta/recipes-multimedia/flac/flac_1.3.3.bb
+++ b/meta/recipes-multimedia/flac/flac_1.3.3.bb
@@ -15,6 +15,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING.FDL;md5=ad1419ecc56e060eccf8184a87c4285f \
 DEPENDS = "libogg"
 
 SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz \
+   file://CVE-2020-22219.patch \
 "
 
 SRC_URI[md5sum] = "26703ed2858c1fc9ffc05136d13daa69"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188093): 
https://lists.openembedded.org/g/openembedded-core/message/188093
Mute This Topic: https://lists.openembedded.org/mt/101518444/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] musl: Drop MIRRORS

2023-09-22 Thread Richard Purdie
On Thu, 2023-09-21 at 18:15 -0700, Khem Raj wrote:
> When using mirrors fetcher gets into a weird state when shallow clones
> are enables.
> 
> ERROR: Bitbake Fetcher Error: UnpackError('No up to date source
> found: clone directory not available or not up to date:
> /mnt/b/yoe/master/downloads/git2/git.musl-libc.org.git.musl.git;
> shallow clone not available:
> /mnt/b/yoe/master/downloads/gitshallow_git.musl-
> libc.org.git.musl.git_79bdacf-1_master.tar.gz', 'git://git.musl-
> libc.org/git/musl.git;branch=master;protocol=https')

That sounds like something we should look into and fix?

I don't think it makes sense as a justification in a commit message.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188092): 
https://lists.openembedded.org/g/openembedded-core/message/188092
Mute This Topic: https://lists.openembedded.org/mt/101513420/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 v4 0/5] Add bblock helper scripts

2023-09-22 Thread Alexandre Belloni via lists.openembedded.org
This is started:

https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/5792

On 22/09/2023 10:54:56+0200, Julien Stephan wrote:
> > >
> > > So I can see two possible reasons for that:
> > > * MACHINE=qemuarm block quilt -t compile  is not using the machine I
> > > give on the command line, but why??
> >
> > As I said in the call, look at this log from the build:
> >
> > https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/5785/steps/13/logs/stdio
> >
> > It tells you that MACHINE = "qemux86-64" ends up in auto.conf which is
> > then used by the build so overriding it from the command line doesn't
> > work.
> >
> 
> Hi Alexandre,
> 
> Thank you, I managed to reproduce it locally and fixed it properly. I
> just force pushed my poky-contrib branch
> (https://git.yoctoproject.org/poky-contrib/log/?h=jstephan/bblock) can
> you start a build? If successful, I'll send the v5 today.
> 
> Cheers
> Julien

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188091): 
https://lists.openembedded.org/g/openembedded-core/message/188091
Mute This Topic: https://lists.openembedded.org/mt/100506390/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][PATCHv6] vte: upgrade 2.72.2 -> 2.74.0

2023-09-22 Thread Markus Volk
On Thu, Sep 21 2023 at 10:59:44 PM +02:00:00, Alexandre Belloni 
 wrote:

BTW, I'd like you to test patches before sending because you claimed
this was tested with oe-core but this was definitively not. The fact
that we are at v6 and this still breaks builds so early is very
annoying.


Believe me, this is a bit annoying for me now too. I did some testing 
on that patch and also tried to solve the configuration problem in v1 
by setting gtk4=false. So in a way, we are also at v6 because changes 
were requested, which in turn bring changes and also raise the question 
of a fundamental decision. And yes, that was a misunderstanding. By 
oe-core I meant that I tested with 'oe-core only' layers and the 
default local.conf (with DISTRO=poky). I hope that I am not being 
accused of something else here.



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188090): 
https://lists.openembedded.org/g/openembedded-core/message/188090
Mute This Topic: https://lists.openembedded.org/mt/101484377/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] [Openembedded-architecture] Core workflow: sstate for all, bblock/bbunlock, tools for why is sstate not being reused?

2023-09-22 Thread Alexander Kanavin
On Thu, 21 Sept 2023 at 16:39, chris.lapla...@agilent.com
 wrote:

> That is very impressive and I'd also love to hear about what heuristics it 
> uses.

It's actually rather simple. It uses glob.glob on stamps in tmp/, then
on local sstate to find possible matches, then sorts them by mtime and
takes the most recent. It's what would work most of the time, but we
could add printdiff-all (print difference with all sstate matches) or
printdiff-N (N most recent). It also could abstain from dumping
locked-sigs.inc into cwd with both -S none and -S printdiff, unless
explicitly asked

I just discovered there's also scripts/bitbake-whatchanged (that
hasn't seen activity in years and is neither documented nor tested).
Unsurprisingly then, it doesn't work in the same scenario:


alex@Zen2:/srv/storage/alex/yocto/build-sstate$ bitbake-whatchanged
libsolv-native
Figuring out the STAMPS_DIR ...
Generating the new stamps ... (need several minutes)

=== Summary: (0 changed, 0 unchanged)
Newly added: 0
PV changed: 0
PR changed: 0
Dependencies changed: 0

Removing the newly generated stamps dir ...


Maybe this is what RP was referring to when he said the tools don't
work properly?


Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188089): 
https://lists.openembedded.org/g/openembedded-core/message/188089
Mute This Topic: https://lists.openembedded.org/mt/101501384/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 v4 0/5] Add bblock helper scripts

2023-09-22 Thread Julien Stephan
> >
> > So I can see two possible reasons for that:
> > * MACHINE=qemuarm block quilt -t compile  is not using the machine I
> > give on the command line, but why??
>
> As I said in the call, look at this log from the build:
>
> https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/5785/steps/13/logs/stdio
>
> It tells you that MACHINE = "qemux86-64" ends up in auto.conf which is
> then used by the build so overriding it from the command line doesn't
> work.
>

Hi Alexandre,

Thank you, I managed to reproduce it locally and fixed it properly. I
just force pushed my poky-contrib branch
(https://git.yoctoproject.org/poky-contrib/log/?h=jstephan/bblock) can
you start a build? If successful, I'll send the v5 today.

Cheers
Julien

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



[OE-core][mickledore][PATCH] curl: Add CVE-2023-28320 follow-up fix

2023-09-22 Thread SANJAYKUMAR CHITRODA via lists.openembedded.org
From: Sanjay Chitroda 

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-28320
https://security-tracker.debian.org/tracker/CVE-2023-28320

Upstream Patch:
Introduced by: https://github.com/curl/curl/commit/3c49b405de4f (curl-7_9_8)
Fixed by: https://github.com/curl/curl/commit/13718030ad4b (curl-8_1_0)
Follow-up: https://github.com/curl/curl/commit/f446258f0269 (curl-8_1_0)

Signed-off-by: Sanjay Chitroda 
---
 .../curl/curl/CVE-2023-28320-fol1.patch   | 80 +++
 meta/recipes-support/curl/curl_8.0.1.bb   |  1 +
 2 files changed, 81 insertions(+)
 create mode 100644 meta/recipes-support/curl/curl/CVE-2023-28320-fol1.patch

diff --git a/meta/recipes-support/curl/curl/CVE-2023-28320-fol1.patch 
b/meta/recipes-support/curl/curl/CVE-2023-28320-fol1.patch
new file mode 100644
index 00..3c06d8c518
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2023-28320-fol1.patch
@@ -0,0 +1,80 @@
+From e442feb37ba25c80b8480b908d1c570fd9f41c5e Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg 
+Date: Tue, 16 May 2023 23:40:42 +0200
+Subject: [PATCH] hostip: include easy_lock.h before using
+ GLOBAL_INIT_IS_THREADSAFE
+
+Since that header file is the only place that define can be defined.
+
+Reported-by: Marc Deslauriers
+
+Follow-up to 13718030ad4b3209
+
+Closes #11121
+
+CVE: CVE-2023-28320
+Upstream-Status: Backport [https://github.com/curl/curl/commit/f446258f0269]
+
+(cherry picked from commit f446258f0269a62289cca0210157cb8558d0edc3)
+Signed-off-by: Sanjay Chitroda 
+
+---
+ lib/hostip.c | 10 --
+ lib/hostip.h |  9 -
+ 2 files changed, 4 insertions(+), 15 deletions(-)
+
+diff --git a/lib/hostip.c b/lib/hostip.c
+index d6906a2e8..2d26b5628 100644
+--- a/lib/hostip.c
 b/lib/hostip.c
+@@ -70,6 +70,8 @@
+ #include 
+ #endif
+ 
++#include "easy_lock.h"
++
+ #if defined(CURLRES_SYNCH) &&   \
+   defined(HAVE_ALARM) &&\
+   defined(SIGALRM) &&   \
+@@ -79,10 +81,6 @@
+ #define USE_ALARM_TIMEOUT
+ #endif
+ 
+-#ifdef USE_ALARM_TIMEOUT
+-#include "easy_lock.h"
+-#endif
+-
+ #define MAX_HOSTCACHE_LEN (255 + 7) /* max FQDN + colon + port number + zero 
*/
+ 
+ /*
+@@ -265,8 +263,8 @@ void Curl_hostcache_prune(struct Curl_easy *data)
+ /* Beware this is a global and unique instance. This is used to store the
+return address that we can jump back to from inside a signal handler. This
+is not thread-safe stuff. */
+-sigjmp_buf curl_jmpenv;
+-curl_simple_lock curl_jmpenv_lock;
++static sigjmp_buf curl_jmpenv;
++static curl_simple_lock curl_jmpenv_lock;
+ #endif
+ 
+ /* lookup address, returns entry if found and not stale */
+diff --git a/lib/hostip.h b/lib/hostip.h
+index 4b5481f65..0dd19e87c 100644
+--- a/lib/hostip.h
 b/lib/hostip.h
+@@ -186,15 +186,6 @@ Curl_cache_addr(struct Curl_easy *data, struct 
Curl_addrinfo *addr,
+ #define CURL_INADDR_NONE INADDR_NONE
+ #endif
+ 
+-#ifdef HAVE_SIGSETJMP
+-/* Forward-declaration of variable defined in hostip.c. Beware this
+- * is a global and unique instance. This is used to store the return
+- * address that we can jump back to from inside a signal handler.
+- * This is not thread-safe stuff.
+- */
+-extern sigjmp_buf curl_jmpenv;
+-#endif
+-
+ /*
+  * Function provided by the resolver backend to set DNS servers to use.
+  */
diff --git a/meta/recipes-support/curl/curl_8.0.1.bb 
b/meta/recipes-support/curl/curl_8.0.1.bb
index bcfe4a6088..708f622fe1 100644
--- a/meta/recipes-support/curl/curl_8.0.1.bb
+++ b/meta/recipes-support/curl/curl_8.0.1.bb
@@ -18,6 +18,7 @@ SRC_URI = " \
 file://CVE-2023-28320.patch \
 file://CVE-2023-28321.patch \
 file://CVE-2023-32001.patch \
+file://CVE-2023-28320-fol1.patch \
 "
 SRC_URI[sha256sum] = 
"0a381cd82f4d00a9a334438b8ca239afea5bfefcfa9a1025f2bf118e79e0b5f0"
 
-- 
2.35.6


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188087): 
https://lists.openembedded.org/g/openembedded-core/message/188087
Mute This Topic: https://lists.openembedded.org/mt/101517407/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][PATCH 1/1] ghostscript: fix CVE-2023-43115

2023-09-22 Thread Polampalli, Archana via lists.openembedded.org
In Artifex Ghostscript through 10.01.2, gdevijs.c in GhostPDL can lead to remote
code execution via crafted PostScript documents because they can switch to the
IJS device, or change the IjsServer parameter, after SAFER has been activated.
NOTE: it is a documented risk that the IJS server can be specified on a gs
command line (the IJS device inherently must execute a command to start the IJS 
server).

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-43115

Upstream patches:
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=8b0f20002536867bd73ff4552408a72597190cbe

Signed-off-by: Archana Polampalli 
---
 .../ghostscript/CVE-2023-43115.patch  | 62 +++
 .../ghostscript/ghostscript_9.55.0.bb |  1 +
 2 files changed, 63 insertions(+)
 create mode 100644 
meta/recipes-extended/ghostscript/ghostscript/CVE-2023-43115.patch

diff --git a/meta/recipes-extended/ghostscript/ghostscript/CVE-2023-43115.patch 
b/meta/recipes-extended/ghostscript/ghostscript/CVE-2023-43115.patch
new file mode 100644
index 00..979f354ed5
--- /dev/null
+++ b/meta/recipes-extended/ghostscript/ghostscript/CVE-2023-43115.patch
@@ -0,0 +1,62 @@
+From 8b0f20002536867bd73ff4552408a72597190cbe Mon Sep 17 00:00:00 2001
+From: Ken Sharp 
+Date: Thu, 24 Aug 2023 15:24:35 +0100
+Subject: [PATCH] IJS device - try and secure the IJS server startup
+
+Bug #707051 ""ijs" device can execute arbitrary commands"
+
+The problem is that the 'IJS' device needs to start the IJS server, and
+that is indeed an arbitrary command line. There is (apparently) no way
+to validate it. Indeed, this is covered quite clearly in the comments
+at the start of the source:
+
+ * WARNING: The ijs server can be selected on the gs command line
+ * which is a security risk, since any program can be run.
+
+Previously this used the awful LockSafetyParams hackery, which we
+abandoned some time ago because it simply couldn't be made secure (it
+was implemented in PostScript and was therefore vulnerable to PostScript
+programs).
+
+This commit prevents PostScript programs switching to the IJS device
+after SAFER has been activated, and prevents changes to the IjsServer
+parameter after SAFER has been activated.
+
+SAFER is activated, unless explicitly disabled, before any user
+PostScript is executed which means that the device and the server
+invocation can only be configured on the command line. This does at
+least provide minimal security against malicious PostScript programs.
+
+Upstream-Status: Backport 
[https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=8b0f20002536867bd73ff4552408a72597190cbe]
+
+CVE: CVE-2023-43115
+
+Signed-off-by: Archana Polampalli 
+---
+ devices/gdevijs.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/devices/gdevijs.c b/devices/gdevijs.c
+index 8cbd84b97..16f5a1752 100644
+--- a/devices/gdevijs.c
 b/devices/gdevijs.c
+@@ -888,6 +888,8 @@ gsijs_initialize_device(gx_device *dev)
+ static const char rgb[] = "DeviceRGB";
+ gx_device_ijs *ijsdev = (gx_device_ijs *)dev;
+
++if (ijsdev->memory->gs_lib_ctx->core->path_control_active)
++return_error(gs_error_invalidaccess);
+ if (!ijsdev->ColorSpace) {
+ ijsdev->ColorSpace = gs_malloc(ijsdev->memory, sizeof(rgb), 1,
+"gsijs_initialize");
+@@ -1326,7 +1328,7 @@ gsijs_put_params(gx_device *dev, gs_param_list *plist)
+ if (code >= 0)
+ code = gsijs_read_string(plist, "IjsServer",
+ ijsdev->IjsServer, sizeof(ijsdev->IjsServer),
+-dev->LockSafetyParams, is_open);
++ijsdev->memory->gs_lib_ctx->core->path_control_active, is_open);
+
+ if (code >= 0)
+ code = gsijs_read_string_malloc(plist, "DeviceManufacturer",
+--
+2.40.0
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb 
b/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb
index ad0b008cab..4c4c22cf39 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb
@@ -38,6 +38,7 @@ SRC_URI_BASE = 
"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/d
 file://CVE-2023-36664-0001.patch \
 file://CVE-2023-36664-0002.patch \
 file://CVE-2023-38559.patch \
+file://CVE-2023-43115.patch \
 "
 
 SRC_URI = "${SRC_URI_BASE} \
-- 
2.40.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188086): 
https://lists.openembedded.org/g/openembedded-core/message/188086
Mute This Topic: https://lists.openembedded.org/mt/101517377/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 v3] adwaita-icon-theme: 43 -> 45.0

2023-09-22 Thread Kai Kang
From: Kai Kang 

Update adwaita-icon-theme from 43 to 45.0.

* meson is used to replace autotools, then the patch is redundant
* not overwrite PACKAGES, and remove sub-packages ${PN}-hires and
  ${PN}-symbolic-hires which are created to handle big icon files which
  do not exist in adwaita-icon-theme 45.0
* update FILES of ${PN}-symbolic and split license files to ${PN}-doc

Signed-off-by: Kai Kang 
---
v3:
* fix oe-selftest error
* update FILES
* boot core-image-sato and the icons look fine

 .../0001-Don-t-use-AC_CANONICAL_HOST.patch| 27 ---
 ...theme_43.bb => adwaita-icon-theme_45.0.bb} | 24 +
 2 files changed, 7 insertions(+), 44 deletions(-)
 delete mode 100644 
meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch
 rename meta/recipes-gnome/gnome/{adwaita-icon-theme_43.bb => 
adwaita-icon-theme_45.0.bb} (40%)

diff --git 
a/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch
 
b/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch
deleted file mode 100644
index 0a1487f8e3..00
--- 
a/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From e1a12b73c25d1ad0f267b22ac5d799bc1fbd0fa4 Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen 
-Date: Tue, 30 May 2017 14:55:49 +0300
-Subject: [PATCH] Don't use AC_CANONICAL_HOST
-
-This won't work when building allarch (and is only used to find out if
-target is windows).
-
-Upstream-Status: Inappropriate [embedded specific]
-Signed-off-by: Jussi Kukkonen 
-

- configure.ac | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 6ddc49b..39752bb 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -3,7 +3,6 @@ AC_PREREQ(2.53)
- 
- AC_INIT([adwaita-icon-theme], [43],
- [http://bugzilla.gnome.org/enter_bug.cgi?product=adwaita-icon-theme])
--AC_CANONICAL_HOST
- AC_CONFIG_MACRO_DIR([m4])
- AC_CONFIG_SRCDIR([index.theme.in])
- 
diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme_43.bb 
b/meta/recipes-gnome/gnome/adwaita-icon-theme_45.0.bb
similarity index 40%
rename from meta/recipes-gnome/gnome/adwaita-icon-theme_43.bb
rename to meta/recipes-gnome/gnome/adwaita-icon-theme_45.0.bb
index 8cb4d147f1..4dbcced5c3 100644
--- a/meta/recipes-gnome/gnome/adwaita-icon-theme_43.bb
+++ b/meta/recipes-gnome/gnome/adwaita-icon-theme_45.0.bb
@@ -10,31 +10,21 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c \
 
file://COPYING_CCBYSA3;md5=96143d33de3a79321b1006c4e8ed07e7 \
 file://COPYING_LGPL;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
-inherit allarch autotools pkgconfig gettext gtk-icon-cache gnomebase
+GNOMEBASEBUILDCLASS = "meson"
+inherit gnomebase allarch gtk-icon-cache
 
-SRC_URI += " file://0001-Don-t-use-AC_CANONICAL_HOST.patch"
-
-SRC_URI[archive.sha256sum] = 
"2e3ac77d32a6aa5554155df37e8f0a0dd54fc5a65fd721e88d505f970da32ec6"
+SRC_URI[archive.sha256sum] = 
"2442bfb06f4e6cc95bf6e2682fdff98fa5eddc688751b9d6215c623cb4e42ff1"
 
 DEPENDS += "librsvg-native"
 
-PACKAGES = "${PN}-cursors ${PN}-symbolic-hires ${PN}-symbolic ${PN}-hires 
${PN}"
+PACKAGES =+ "${PN}-cursors ${PN}-symbolic"
 
 RREPLACES:${PN} = "gnome-icon-theme"
 RCONFLICTS:${PN} = "gnome-icon-theme"
 RPROVIDES:${PN} = "gnome-icon-theme"
 
-FILES:${PN}-cursors = "${prefix}/share/icons/Adwaita/cursors/"
-FILES:${PN}-symbolic-hires = 
"${prefix}/share/icons/Adwaita/96x96/*/*.symbolic.png \
-  
${prefix}/share/icons/Adwaita/64x64/*/*.symbolic.png \
-  
${prefix}/share/icons/Adwaita/48x48/*/*.symbolic.png \
-  
${prefix}/share/icons/Adwaita/32x32/*/*.symbolic.png"
-FILES:${PN}-symbolic = "${prefix}/share/icons/Adwaita/16x16/*/*.symbolic.png \
-${prefix}/share/icons/Adwaita/24x24/*/*.symbolic.png \
-
${prefix}/share/icons/Adwaita/scalable/*/*-symbolic*.svg"
-FILES:${PN}-hires = "${prefix}/share/icons/Adwaita/256x256/ \
- ${prefix}/share/icons/Adwaita/512x512/"
-FILES:${PN} = "${prefix}/share/icons/Adwaita/ \
-   ${prefix}/share/pkgconfig/adwaita-icon-theme.pc"
+FILES:${PN}-cursors = "${datadir}/icons/Adwaita/cursors/"
+FILES:${PN}-symbolic = "${datadir}/icons/Adwaita/symbolic*/"
+FILES:${PN}-doc += "${datadir}/licenses/adwaita-icon-theme"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188085): 
https://lists.openembedded.org/g/openembedded-core/message/188085
Mute This Topic: https://lists.openembedded.org/mt/101517192/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/40] python3-dtschema: upgrade 2023.6.1 -> 2023.7

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...{python3-dtschema_2023.6.1.bb => python3-dtschema_2023.7.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-dtschema_2023.6.1.bb => 
python3-dtschema_2023.7.bb} (85%)

diff --git a/meta/recipes-devtools/python/python3-dtschema_2023.6.1.bb 
b/meta/recipes-devtools/python/python3-dtschema_2023.7.bb
similarity index 85%
rename from meta/recipes-devtools/python/python3-dtschema_2023.6.1.bb
rename to meta/recipes-devtools/python/python3-dtschema_2023.7.bb
index 0c2c156ec43..c1dc3e019aa 100644
--- a/meta/recipes-devtools/python/python3-dtschema_2023.6.1.bb
+++ b/meta/recipes-devtools/python/python3-dtschema_2023.7.bb
@@ -7,7 +7,7 @@ inherit pypi setuptools3
 
 PYPI_PACKAGE = "dtschema"
 
-SRC_URI[sha256sum] = 
"d9dc11cea6a46ae2ee5ac4a5a1c7da7cb3704417cb390881820460f7c61eb784"
+SRC_URI[sha256sum] = 
"de7cd73a35244cf76a8cdd9919bbeb31f362aa5744f3c76c80e0e612489dd0c0"
 
 DEPENDS += "python3-setuptools-scm-native"
 RDEPENDS:${PN} += "\
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188084): 
https://lists.openembedded.org/g/openembedded-core/message/188084
Mute This Topic: https://lists.openembedded.org/mt/101516888/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/40] createrepo-c: upgrade 0.21.1 -> 1.0.0

2023-09-22 Thread Alexander Kanavin
Enable zstd in libsolv, as new createrepo_c is using that instead of
zlib for repo metadata compression.

Signed-off-by: Alexander Kanavin 
---
 ...arser.c-add-a-missing-parameter-name.patch | 39 ---
 ...repo-c_0.21.1.bb => createrepo-c_1.0.0.bb} |  3 +-
 .../libsolv/libsolv_0.7.24.bb |  4 +-
 3 files changed, 3 insertions(+), 43 deletions(-)
 delete mode 100644 
meta/recipes-devtools/createrepo-c/createrepo-c/0001-src-cmd_parser.c-add-a-missing-parameter-name.patch
 rename meta/recipes-devtools/createrepo-c/{createrepo-c_0.21.1.bb => 
createrepo-c_1.0.0.bb} (92%)

diff --git 
a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-src-cmd_parser.c-add-a-missing-parameter-name.patch
 
b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-src-cmd_parser.c-add-a-missing-parameter-name.patch
deleted file mode 100644
index 0d1c6b08fbc..000
--- 
a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-src-cmd_parser.c-add-a-missing-parameter-name.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 970b901e1999f415da8bac205f526c808ddad0ba Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Mon, 8 May 2023 10:40:43 +0200
-Subject: [PATCH] src/cmd_parser.c: add a missing parameter name
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This resolves the following error with older versions of gcc:
-| 
/srv/storage/alex/yocto/build-32/tmp/work/x86_64-linux/createrepo-c-native/0.21.1-r0/git/src/cmd_parser.c:
 In function ‘duplicated_nevra_option_parser’:
-| 
/srv/storage/alex/yocto/build-32/tmp/work/x86_64-linux/createrepo-c-native/0.21.1-r0/git/src/cmd_parser.c:76:32:
 error: parameter name omitted
-|76 | duplicated_nevra_option_parser(const gchar *,
-|   |^
-| 
/srv/storage/alex/yocto/build-32/tmp/work/x86_64-linux/createrepo-c-native/0.21.1-r0/git/src/cmd_parser.c:78:32:
 error: parameter name omitted
-|78 |gpointer,
-|   |^~~~
-
-Upstream-Status: Submitted 
[https://github.com/rpm-software-management/createrepo_c/pull/366]
-Signed-off-by: Alexander Kanavin 

- src/cmd_parser.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/cmd_parser.c b/src/cmd_parser.c
-index 97c9ea7..63af7ea 100644
 a/src/cmd_parser.c
-+++ b/src/cmd_parser.c
-@@ -73,9 +73,9 @@ struct CmdOptions _cmd_options = {
- 
- 
- gboolean
--duplicated_nevra_option_parser(const gchar *,
-+duplicated_nevra_option_parser(const gchar *option_name,
-const gchar *value,
--   gpointer,
-+   gpointer data,
-GError **error)
- {
- if (!g_strcmp0(value, "keep"))
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_0.21.1.bb 
b/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.0.bb
similarity index 92%
rename from meta/recipes-devtools/createrepo-c/createrepo-c_0.21.1.bb
rename to meta/recipes-devtools/createrepo-c/createrepo-c_1.0.0.bb
index 57f23b8dfdb..9b109327c8f 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_0.21.1.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_1.0.0.bb
@@ -7,11 +7,10 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 SRC_URI = 
"git://github.com/rpm-software-management/createrepo_c;branch=master;protocol=https
 \
file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \
file://0001-include-rpm-rpmstring.h.patch \
-   file://0001-src-cmd_parser.c-add-a-missing-parameter-name.patch \
file://time64fix.patch \
"
 
-SRCREV = "0652d7303ce236e596c83c29ccc9bee7868fce6e"
+SRCREV = "0cc13920991b2fb8f87fb9d352bd3394c2983289"
 
 S = "${WORKDIR}/git"
 
diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.24.bb 
b/meta/recipes-extended/libsolv/libsolv_0.7.24.bb
index 7c8f1fd372d..11825270147 100644
--- a/meta/recipes-extended/libsolv/libsolv_0.7.24.bb
+++ b/meta/recipes-extended/libsolv/libsolv_0.7.24.bb
@@ -6,7 +6,7 @@ SECTION = "devel"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
 
-DEPENDS = "expat zlib"
+DEPENDS = "expat zlib zstd"
 
 SRC_URI = "git://github.com/openSUSE/libsolv.git;branch=master;protocol=https \
file://0001-utils-Conside-musl-when-wrapping-qsort_r.patch \
@@ -23,7 +23,7 @@ inherit cmake
 PACKAGECONFIG ??= 
"${@bb.utils.contains('PACKAGE_CLASSES','package_rpm','rpm','',d)}"
 PACKAGECONFIG[rpm] = "-DENABLE_RPMMD=ON -DENABLE_RPMDB=ON,,rpm"
 
-EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON"
+EXTRA_OECMAKE = "-DMULTI_SEMANTICS=ON -DENABLE_COMPLEX_DEPS=ON 
-DENABLE_ZSTD_COMPRESSION=ON"
 
 PACKAGES =+ "${PN}-tools ${PN}ext"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188083): 

[OE-core] [PATCH 39/40] xwayland: upgrade 23.1.2 -> 23.2.1

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../xwayland/{xwayland_23.1.2.bb => xwayland_23.2.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xwayland/{xwayland_23.1.2.bb => 
xwayland_23.2.1.bb} (95%)

diff --git a/meta/recipes-graphics/xwayland/xwayland_23.1.2.bb 
b/meta/recipes-graphics/xwayland/xwayland_23.2.1.bb
similarity index 95%
rename from meta/recipes-graphics/xwayland/xwayland_23.1.2.bb
rename to meta/recipes-graphics/xwayland/xwayland_23.2.1.bb
index de516536d1d..e97a921a961 100644
--- a/meta/recipes-graphics/xwayland/xwayland_23.1.2.bb
+++ b/meta/recipes-graphics/xwayland/xwayland_23.2.1.bb
@@ -10,7 +10,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880"
 
 SRC_URI = "https://www.x.org/archive/individual/xserver/xwayland-${PV}.tar.xz;
-SRC_URI[sha256sum] = 
"bd25d8498ee4d77874fda125127e2db37fc332531febc966231ea06fae8cf77f"
+SRC_URI[sha256sum] = 
"eebc2692c3aa80617d78428bc6ec7b91b254a98214d2a70e997098503cd6ef90"
 
 UPSTREAM_CHECK_REGEX = "xwayland-(?P\d+(\.(?!90\d)\d+)+)\.tar"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188081): 
https://lists.openembedded.org/g/openembedded-core/message/188081
Mute This Topic: https://lists.openembedded.org/mt/101516885/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/40] python3-setuptools-scm: fix upstream version check

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/python/python3-setuptools-scm_7.1.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_7.1.0.bb 
b/meta/recipes-devtools/python/python3-setuptools-scm_7.1.0.bb
index 7961ff71989..bb13c654606 100644
--- a/meta/recipes-devtools/python/python3-setuptools-scm_7.1.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-scm_7.1.0.bb
@@ -9,7 +9,7 @@ SRC_URI[sha256sum] = 
"6c508345a771aad7d56ebff0e70628bf2b0ec7573762be9960214730de
 PYPI_PACKAGE = "setuptools_scm"
 inherit pypi python_setuptools_build_meta
 
-UPSTREAM_CHECK_REGEX = "setuptools_scm-(?P.*)\.tar"
+UPSTREAM_CHECK_REGEX = "scm-(?P.*)\.tar"
 
 DEPENDS += "python3-tomli-native python3-packaging-native 
python3-typing-extensions-native"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188082): 
https://lists.openembedded.org/g/openembedded-core/message/188082
Mute This Topic: https://lists.openembedded.org/mt/101516886/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/40] xf86-input-libinput: upgrade 1.3.0 -> 1.4.0

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...f86-input-libinput_1.3.0.bb => xf86-input-libinput_1.4.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-driver/{xf86-input-libinput_1.3.0.bb => 
xf86-input-libinput_1.4.0.bb} (77%)

diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.3.0.bb 
b/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.4.0.bb
similarity index 77%
rename from meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.3.0.bb
rename to meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.4.0.bb
index 892046e959c..92272c3f2a7 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.3.0.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-libinput_1.4.0.bb
@@ -7,6 +7,6 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=a22925127bd3c827c384cedd23ed2309"
 DEPENDS += "libinput"
 
 XORG_DRIVER_COMPRESSOR = ".tar.xz"
-SRC_URI[sha256sum] = 
"1446ba20a22bc968b5a4a0b4dbc3b8e037c50d9c59ac75fa3f7fc506c58c1abb"
+SRC_URI[sha256sum] = 
"3a3d14cd895dc75b59ae2783b888031956a0bac7a1eff16d240dbb9d5df3e398"
 
 FILES:${PN} += "${datadir}/X11/xorg.conf.d"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188080): 
https://lists.openembedded.org/g/openembedded-core/message/188080
Mute This Topic: https://lists.openembedded.org/mt/101516884/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/40] vala: upgrade 0.56.8 -> 0.56.13

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/vala/vala_0.56.13.bb | 3 +++
 meta/recipes-devtools/vala/vala_0.56.8.bb  | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-devtools/vala/vala_0.56.13.bb
 delete mode 100644 meta/recipes-devtools/vala/vala_0.56.8.bb

diff --git a/meta/recipes-devtools/vala/vala_0.56.13.bb 
b/meta/recipes-devtools/vala/vala_0.56.13.bb
new file mode 100644
index 000..0d43ac59a0c
--- /dev/null
+++ b/meta/recipes-devtools/vala/vala_0.56.13.bb
@@ -0,0 +1,3 @@
+require ${BPN}.inc
+
+SRC_URI[sha256sum] = 
"4988223036c7e1e4874c476d0de8bd9cbe500ee25ef19a76e560dc0b6d56ae07"
diff --git a/meta/recipes-devtools/vala/vala_0.56.8.bb 
b/meta/recipes-devtools/vala/vala_0.56.8.bb
deleted file mode 100644
index f55fb41ad39..000
--- a/meta/recipes-devtools/vala/vala_0.56.8.bb
+++ /dev/null
@@ -1,3 +0,0 @@
-require ${BPN}.inc
-
-SRC_URI[sha256sum] = 
"93f81dcfc6a93b77baa271d65e6be981ee3238ad451ef380af118e295d904bde"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188079): 
https://lists.openembedded.org/g/openembedded-core/message/188079
Mute This Topic: https://lists.openembedded.org/mt/101516883/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/40] tiff: upgrade 4.5.1 -> 4.6.0

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libtiff/files/CVE-2023-40745.patch| 35 ---
 .../libtiff/files/CVE-2023-41175.patch| 63 ---
 .../libtiff/{tiff_4.5.1.bb => tiff_4.6.0.bb}  |  4 +-
 3 files changed, 1 insertion(+), 101 deletions(-)
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2023-40745.patch
 delete mode 100644 meta/recipes-multimedia/libtiff/files/CVE-2023-41175.patch
 rename meta/recipes-multimedia/libtiff/{tiff_4.5.1.bb => tiff_4.6.0.bb} (93%)

diff --git a/meta/recipes-multimedia/libtiff/files/CVE-2023-40745.patch 
b/meta/recipes-multimedia/libtiff/files/CVE-2023-40745.patch
deleted file mode 100644
index 73f1f37bab0..000
--- a/meta/recipes-multimedia/libtiff/files/CVE-2023-40745.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 4fc16f649fa2875d5c388cf2edc295510a247ee5 Mon Sep 17 00:00:00 2001
-From: Arie Haenel 
-Date: Thu, 14 Sep 2023 04:31:35 +
-Subject: [PATCH] tiffcp: fix memory corruption (overflow) on hostile images
- (fixes #591)
-
-CVE: CVE-2023-40745
-
-Upstream-Status: Backport 
[https://gitlab.com/libtiff/libtiff/-/commit/4fc16f649fa2875d5c388cf2edc295510a247ee5]
-
-Signed-off-by: Yogita Urade 

- tools/tiffcp.c | 7 +++
- 1 file changed, 7 insertions(+)
-
-diff --git a/tools/tiffcp.c b/tools/tiffcp.c
-index 3b2d1dd..57fa6e8 100644
 a/tools/tiffcp.c
-+++ b/tools/tiffcp.c
-@@ -1754,6 +1754,13 @@ DECLAREreadFunc(readSeparateTilesIntoBuffer)
-   "Width * Samples/Pixel)");
- return 0;
- }
-+
-+if ( (imagew - tilew * spp) > INT_MAX ){
-+TIFFError(TIFFFileName(in),
-+  "Error, image raster scan line size is too large");
-+return 0;
-+}
-+
- iskew = imagew - tilew * spp;
- tilebuf = limitMalloc(tilesize);
- if (tilebuf == 0)
---
-2.35.5
diff --git a/meta/recipes-multimedia/libtiff/files/CVE-2023-41175.patch 
b/meta/recipes-multimedia/libtiff/files/CVE-2023-41175.patch
deleted file mode 100644
index cca30b21968..000
--- a/meta/recipes-multimedia/libtiff/files/CVE-2023-41175.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From 6e2dac5f904496d127c92ddc4e56eccfca25c2ee Mon Sep 17 00:00:00 2001
-From: Arie Haenel 
-Date: Thu, 14 Sep 2023 04:36:58 +
-Subject: [PATCH] raw2tiff: fix integer overflow and bypass of the check (fixes
-   #592)
-
-CVE: CVE-2023-41175
-
-Upstream-Status: Backport 
[https://gitlab.com/libtiff/libtiff/-/commit/6e2dac5f904496d127c92ddc4e56eccfca25c2ee]
-
-Signed-off-by: Yogita Urade 

- tools/raw2tiff.c | 28 
- 1 file changed, 28 insertions(+)
-
-diff --git a/tools/raw2tiff.c b/tools/raw2tiff.c
-index 4ee59e5..a811077 100644
 a/tools/raw2tiff.c
-+++ b/tools/raw2tiff.c
-@@ -101,6 +101,7 @@ int main(int argc, char *argv[])
- int fd;
- char *outfilename = NULL;
- TIFF *out;
-+uint32_t temp_limit_check = 0; /* temp for integer overflow checking*/
-
- uint32_t row, col, band;
- int c;
-@@ -221,6 +222,33 @@ int main(int argc, char *argv[])
- if (guessSize(fd, dtype, hdr_size, nbands, swab, , ) < 0)
- return EXIT_FAILURE;
-
-+/* check for integer overflow in */
-+/* hdr_size + (*width) * (*length) * nbands * depth */
-+
-+if ((width == 0) || (length == 0) ){
-+fprintf(stderr, "Too large nbands value specified.\n");
-+return (EXIT_FAILURE);
-+}
-+
-+temp_limit_check = nbands * depth;
-+
-+if ( !temp_limit_check || length > ( UINT_MAX / temp_limit_check ) )  {
-+fprintf(stderr, "Too large length size specified.\n");
-+return (EXIT_FAILURE);
-+}
-+temp_limit_check = temp_limit_check * length;
-+
-+if ( !temp_limit_check || width > ( UINT_MAX / temp_limit_check ) )  {
-+fprintf(stderr, "Too large width size specified.\n");
-+return (EXIT_FAILURE);
-+}
-+temp_limit_check = temp_limit_check * width;
-+
-+if ( !temp_limit_check || hdr_size > ( UINT_MAX - temp_limit_check ) )  {
-+fprintf(stderr, "Too large header size specified.\n");
-+return (EXIT_FAILURE);
-+}
-+
- if (outfilename == NULL)
- outfilename = argv[optind + 1];
- out = TIFFOpen(outfilename, "w");
---
-2.35.5
diff --git a/meta/recipes-multimedia/libtiff/tiff_4.5.1.bb 
b/meta/recipes-multimedia/libtiff/tiff_4.6.0.bb
similarity index 93%
rename from meta/recipes-multimedia/libtiff/tiff_4.5.1.bb
rename to meta/recipes-multimedia/libtiff/tiff_4.6.0.bb
index 2b5e66b8f35..49984f1125e 100644
--- a/meta/recipes-multimedia/libtiff/tiff_4.5.1.bb
+++ b/meta/recipes-multimedia/libtiff/tiff_4.6.0.bb
@@ -9,11 +9,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.md;md5=a3e32d664d6db1386b4689c8121531c3"
 CVE_PRODUCT = "libtiff"
 
 SRC_URI = "http://download.osgeo.org/libtiff/tiff-${PV}.tar.gz \
-   file://CVE-2023-40745.patch \
-   file://CVE-2023-41175.patch \
"
 
-SRC_URI[sha256sum] = 
"d7f38b6788e4a8f5da7940c5ac9424f494d8a79eba53d555f4a507167dca5e2b"

[OE-core] [PATCH 35/40] sqlite3: upgrade 3.43.0 -> 3.43.1

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../sqlite/{sqlite3_3.43.0.bb => sqlite3_3.43.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/sqlite/{sqlite3_3.43.0.bb => sqlite3_3.43.1.bb} 
(78%)

diff --git a/meta/recipes-support/sqlite/sqlite3_3.43.0.bb 
b/meta/recipes-support/sqlite/sqlite3_3.43.1.bb
similarity index 78%
rename from meta/recipes-support/sqlite/sqlite3_3.43.0.bb
rename to meta/recipes-support/sqlite/sqlite3_3.43.1.bb
index 84644a09e67..93146358c70 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.43.0.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.43.1.bb
@@ -4,7 +4,7 @@ LICENSE = "PD"
 LIC_FILES_CHKSUM = 
"file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed00c66"
 
 SRC_URI = "http://www.sqlite.org/2023/sqlite-autoconf-${SQLITE_PV}.tar.gz;
-SRC_URI[sha256sum] = 
"49008dbf3afc04d4edc8ecfc34e4ead196973034293c997adad2f63f01762ae1"
+SRC_URI[sha256sum] = 
"39116c94e76630f22d54cd82c3cea308565f1715f716d1b2527f1c9c969ba4d9"
 
 CVE_STATUS[CVE-2023-36191] = "disputed: The error is a bug. It has been fixed 
upstream. But it is not a vulnerability"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188077): 
https://lists.openembedded.org/g/openembedded-core/message/188077
Mute This Topic: https://lists.openembedded.org/mt/101516881/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/40] python3-sphinx: upgrade 7.2.5 -> 7.2.6

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../python/{python3-sphinx_7.2.5.bb => python3-sphinx_7.2.6.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-sphinx_7.2.5.bb => 
python3-sphinx_7.2.6.bb} (91%)

diff --git a/meta/recipes-devtools/python/python3-sphinx_7.2.5.bb 
b/meta/recipes-devtools/python/python3-sphinx_7.2.6.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-sphinx_7.2.5.bb
rename to meta/recipes-devtools/python/python3-sphinx_7.2.6.bb
index f55cc5a3ec7..f4ed0720ff6 100644
--- a/meta/recipes-devtools/python/python3-sphinx_7.2.5.bb
+++ b/meta/recipes-devtools/python/python3-sphinx_7.2.6.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "BSD-2-Clause & MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5eb6ac1b115a1ed24a12d9f15b633993"
 
-SRC_URI[sha256sum] = 
"1a9290001b75c497fd087e92b0334f1bbfa1a1ae7fddc084990c4b7bd1130b88"
+SRC_URI[sha256sum] = 
"9a5160e1ea90688d5963ba09a2dcd8bdd526620edbb65c328728f1b2228d5ab5"
 
 inherit python_flit_core pypi
 UPSTREAM_CHECK_REGEX = "/Sphinx/(?P(\d+[\.\-_]*)+)/"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188075): 
https://lists.openembedded.org/g/openembedded-core/message/188075
Mute This Topic: https://lists.openembedded.org/mt/101516879/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/40] seatd: upgrade 0.7.0 -> 0.8.0

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-core/seatd/{seatd_0.7.0.bb => seatd_0.8.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/seatd/{seatd_0.7.0.bb => seatd_0.8.0.bb} (96%)

diff --git a/meta/recipes-core/seatd/seatd_0.7.0.bb 
b/meta/recipes-core/seatd/seatd_0.8.0.bb
similarity index 96%
rename from meta/recipes-core/seatd/seatd_0.7.0.bb
rename to meta/recipes-core/seatd/seatd_0.8.0.bb
index 59ef6ad9c15..14c5b1b7ae4 100644
--- a/meta/recipes-core/seatd/seatd_0.7.0.bb
+++ b/meta/recipes-core/seatd/seatd_0.8.0.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=715a99d2dd552e6188e74d4ed2914d5a"
 
 SRC_URI = "git://git.sr.ht/~kennylevinsen/seatd;protocol=https;branch=master \
file://init"
-SRCREV = "a803ba0502cccf147eec7fbcacd11c5b8643c0e0"
+SRCREV = "3e9ef69f14f630a719dd464f3c90a7932f1c8296"
 S = "${WORKDIR}/git"
 
 inherit meson pkgconfig update-rc.d
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188076): 
https://lists.openembedded.org/g/openembedded-core/message/188076
Mute This Topic: https://lists.openembedded.org/mt/101516880/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/40] python3-setuptools: upgrade 68.2.1 -> 68.2.2

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../0001-conditionally-do-not-fetch-code-by-easy_install.patch  | 2 +-
 ...ython3-setuptools_68.2.1.bb => python3-setuptools_68.2.2.bb} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools_68.2.1.bb => 
python3-setuptools_68.2.2.bb} (95%)

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 6b467184d77..9b17dba178e 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 c4a48e6a75a5865a7c8d61a0f060aca9ba92477b Mon Sep 17 00:00:00 2001
+From 519e2845014f04b4c23b5cf8f92fc4e5dcf40f20 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
diff --git a/meta/recipes-devtools/python/python3-setuptools_68.2.1.bb 
b/meta/recipes-devtools/python/python3-setuptools_68.2.2.bb
similarity index 95%
rename from meta/recipes-devtools/python/python3-setuptools_68.2.1.bb
rename to meta/recipes-devtools/python/python3-setuptools_68.2.2.bb
index e4aaa914a3c..06957d7000c 100644
--- a/meta/recipes-devtools/python/python3-setuptools_68.2.1.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_68.2.2.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] = 
"56ee14884fd8d0cd015411f4a13f40b4356775a0aefd9ebc1d3bfb9a1acb32f1"
+SRC_URI[sha256sum] = 
"4ac1475276d2f1c48684874089fefcd83bd7162ddaafb81fac866ba0db282a87"
 
 DEPENDS += "${PYTHON_PN}"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188074): 
https://lists.openembedded.org/g/openembedded-core/message/188074
Mute This Topic: https://lists.openembedded.org/mt/101516878/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/40] libarchive: upgrade 3.7.1 -> 3.7.2

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libarchive/{libarchive_3.7.1.bb => libarchive_3.7.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/libarchive/{libarchive_3.7.1.bb => 
libarchive_3.7.2.bb} (96%)

diff --git a/meta/recipes-extended/libarchive/libarchive_3.7.1.bb 
b/meta/recipes-extended/libarchive/libarchive_3.7.2.bb
similarity index 96%
rename from meta/recipes-extended/libarchive/libarchive_3.7.1.bb
rename to meta/recipes-extended/libarchive/libarchive_3.7.2.bb
index e40c3e7ed0b..a09f607fcf8 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.7.1.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.7.2.bb
@@ -32,7 +32,7 @@ SRC_URI = 
"http://libarchive.org/downloads/libarchive-${PV}.tar.gz;
 SRC_URI += "file://configurehack.patch"
 UPSTREAM_CHECK_URI = "http://libarchive.org/;
 
-SRC_URI[sha256sum] = 
"5d24e40819768f74daf846b99837fc53a3a9dcdf3ce1c2003fe0596db850f0f0"
+SRC_URI[sha256sum] = 
"df404eb7222cf30b4f8f93828677890a2986b66ff8bf39dac32a804e96ddf104"
 
 CVE_STATUS[CVE-2023-30571] = "upstream-wontfix: upstream has documented that 
reported function is not thread-safe"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188064): 
https://lists.openembedded.org/g/openembedded-core/message/188064
Mute This Topic: https://lists.openembedded.org/mt/101516867/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/40] python3-git: upgrade 3.1.35 -> 3.1.36

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../python/{python3-git_3.1.35.bb => python3-git_3.1.36.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-git_3.1.35.bb => 
python3-git_3.1.36.bb} (92%)

diff --git a/meta/recipes-devtools/python/python3-git_3.1.35.bb 
b/meta/recipes-devtools/python/python3-git_3.1.36.bb
similarity index 92%
rename from meta/recipes-devtools/python/python3-git_3.1.35.bb
rename to meta/recipes-devtools/python/python3-git_3.1.36.bb
index 9b2e36d5afc..ab1b0f23532 100644
--- a/meta/recipes-devtools/python/python3-git_3.1.35.bb
+++ b/meta/recipes-devtools/python/python3-git_3.1.36.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "GitPython"
 
 inherit pypi python_setuptools_build_meta
 
-SRC_URI[sha256sum] = 
"9cbefbd1789a5fe9bcf621bb34d3f441f3a90c8461d377f84eda73e721d9b06b"
+SRC_URI[sha256sum] = 
"4bb0c2a6995e85064140d31a33289aa5dce80133a23d36fcd372d716c54d3ebf"
 
 DEPENDS += " ${PYTHON_PN}-gitdb"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188072): 
https://lists.openembedded.org/g/openembedded-core/message/188072
Mute This Topic: https://lists.openembedded.org/mt/101516876/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/40] libsdl2: upgrade 2.28.0 -> 2.28.3

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libsdl2/{libsdl2_2.28.0.bb => libsdl2_2.28.3.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/libsdl2/{libsdl2_2.28.0.bb => libsdl2_2.28.3.bb} 
(97%)

diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.28.0.bb 
b/meta/recipes-graphics/libsdl2/libsdl2_2.28.3.bb
similarity index 97%
rename from meta/recipes-graphics/libsdl2/libsdl2_2.28.0.bb
rename to meta/recipes-graphics/libsdl2/libsdl2_2.28.3.bb
index 1228217e8c1..f866a3618f7 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.28.0.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.28.3.bb
@@ -25,7 +25,7 @@ SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz;
 
 S = "${WORKDIR}/SDL2-${PV}"
 
-SRC_URI[sha256sum] = 
"d215ae4541e69d628953711496cd7b0e8b8d5c8d811d5b0f98fdc7fd1422998a"
+SRC_URI[sha256sum] = 
"7acb8679652701a2504d734e2ba7543ec1a83e310498ddd22fd44bf965eb5518"
 
 inherit cmake lib_package binconfig-disabled pkgconfig upstream-version-is-even
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188065): 
https://lists.openembedded.org/g/openembedded-core/message/188065
Mute This Topic: https://lists.openembedded.org/mt/101516869/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/40] python3-libarchive-c: upgrade 4.0 -> 5.0

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...{python3-libarchive-c_4.0.bb => python3-libarchive-c_5.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-libarchive-c_4.0.bb => 
python3-libarchive-c_5.0.bb} (85%)

diff --git a/meta/recipes-devtools/python/python3-libarchive-c_4.0.bb 
b/meta/recipes-devtools/python/python3-libarchive-c_5.0.bb
similarity index 85%
rename from meta/recipes-devtools/python/python3-libarchive-c_4.0.bb
rename to meta/recipes-devtools/python/python3-libarchive-c_5.0.bb
index 3c6bc1e1cab..5ada76fbf4c 100644
--- a/meta/recipes-devtools/python/python3-libarchive-c_4.0.bb
+++ b/meta/recipes-devtools/python/python3-libarchive-c_5.0.bb
@@ -9,7 +9,7 @@ PYPI_PACKAGE = "libarchive-c"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"a5b41ade94ba58b198d778e68000f6b7de41da768de7140c984f71d7fa8416e5"
+SRC_URI[sha256sum] = 
"d673f56673d87ec740d1a328fa205cafad1d60f5daca4685594deb039d32b159"
 
 RDEPENDS:${PN} += "\
   libarchive \
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188073): 
https://lists.openembedded.org/g/openembedded-core/message/188073
Mute This Topic: https://lists.openembedded.org/mt/101516877/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/40] puzzles: upgrade to latest revision

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-sato/puzzles/puzzles_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb 
b/meta/recipes-sato/puzzles/puzzles_git.bb
index 04338a603b5..d7089ef95db 100644
--- a/meta/recipes-sato/puzzles/puzzles_git.bb
+++ b/meta/recipes-sato/puzzles/puzzles_git.bb
@@ -10,7 +10,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
 SRC_URI = "git://git.tartarus.org/simon/puzzles.git;branch=main;protocol=https"
 
 UPSTREAM_CHECK_COMMITS = "1"
-SRCREV = "b6c842a28cf6597df063fcff35079c3e3982381e"
+SRCREV = "2d9e414ee316b37143954150016e8f4f18358497"
 PE = "2"
 PV = "0.0+git"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188071): 
https://lists.openembedded.org/g/openembedded-core/message/188071
Mute This Topic: https://lists.openembedded.org/mt/101516875/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/40] mmc-utils: upgrade to latest revision

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/mmc/mmc-utils_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb 
b/meta/recipes-devtools/mmc/mmc-utils_git.bb
index 879c179dd73..2d02927af7b 100644
--- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = 
"file://mmc.c;beginline=1;endline=20;md5=fae32792e20f4d27ade1c5a762d16b7d"
 
 SRCBRANCH ?= "master"
-SRCREV = "958227890690290ee766aaad1b92f3413f67048c"
+SRCREV = "613495ecaca97a19fa7f8f3ea23306472b36453c"
 
 PV = "0.1+git"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188069): 
https://lists.openembedded.org/g/openembedded-core/message/188069
Mute This Topic: https://lists.openembedded.org/mt/101516873/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/40] mtd-utils: upgrade 2.1.5 -> 2.1.6

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/mtd/mtd-utils_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb 
b/meta/recipes-devtools/mtd/mtd-utils_git.bb
index cdcc7667482..4b27528f646 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_git.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb
@@ -11,9 +11,9 @@ inherit autotools pkgconfig update-alternatives
 DEPENDS = "zlib e2fsprogs util-linux"
 RDEPENDS:mtd-utils-tests += "bash"
 
-PV = "2.1.5"
+PV = "2.1.6"
 
-SRCREV = "3f3b4cc6c3120107e7aaa21c6415772a255ac49c"
+SRCREV = "219e741f40f4801bae263e0b581b64888d887b4a"
 SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master"
 
 S = "${WORKDIR}/git"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188070): 
https://lists.openembedded.org/g/openembedded-core/message/188070
Mute This Topic: https://lists.openembedded.org/mt/101516874/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/40] meson: upgrade 1.1.1 -> 1.2.1

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../0001-Make-CPU-family-warnings-fatal.patch | 32 +--
 .../meson/{meson_1.1.1.bb => meson_1.2.1.bb}  |  2 +-
 2 files changed, 17 insertions(+), 17 deletions(-)
 rename meta/recipes-devtools/meson/{meson_1.1.1.bb => meson_1.2.1.bb} (98%)

diff --git 
a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch 
b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
index 848dccfbe72..8fbcb5a0a23 100644
--- 
a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
+++ 
b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch
@@ -1,4 +1,4 @@
-From 6c4eef1d92e9e42fdbc888365cab3c95fb33c605 Mon Sep 17 00:00:00 2001
+From fcd3260c03f313676720e6219c5953d412fb0a2c Mon Sep 17 00:00:00 2001
 From: Ross Burton 
 Date: Tue, 3 Jul 2018 13:59:09 +0100
 Subject: [PATCH] Make CPU family warnings fatal
@@ -7,15 +7,15 @@ Upstream-Status: Inappropriate [OE specific]
 Signed-off-by: Ross Burton 
 
 ---
- mesonbuild/envconfig.py   | 2 +-
- mesonbuild/environment.py | 4 +---
- 2 files changed, 2 insertions(+), 4 deletions(-)
+ mesonbuild/envconfig.py   | 4 ++--
+ mesonbuild/environment.py | 6 ++
+ 2 files changed, 4 insertions(+), 6 deletions(-)
 
-Index: meson-0.60.2/mesonbuild/envconfig.py
-===
 meson-0.60.2.orig/mesonbuild/envconfig.py
-+++ meson-0.60.2/mesonbuild/envconfig.py
-@@ -266,8 +266,8 @@ class MachineInfo(HoldableObject):
+diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py
+index 7e0c567..a180065 100644
+--- a/mesonbuild/envconfig.py
 b/mesonbuild/envconfig.py
+@@ -284,8 +284,8 @@ class MachineInfo(HoldableObject):
  'but is missing {}.'.format(minimum_literal - set(literal)))
  
  cpu_family = literal['cpu_family']
@@ -26,13 +26,13 @@ Index: meson-0.60.2/mesonbuild/envconfig.py
  
  endian = literal['endian']
  if endian not in ('little', 'big'):
-Index: meson-0.60.2/mesonbuild/environment.py
-===
 meson-0.60.2.orig/mesonbuild/environment.py
-+++ meson-0.60.2/mesonbuild/environment.py
-@@ -354,10 +354,8 @@ def detect_cpu_family(compilers: Compile
- if any_compiler_has_define(compilers, '__64BIT__'):
- trial = 'ppc64'
+diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
+index e212c7a..9d2bff3 100644
+--- a/mesonbuild/environment.py
 b/mesonbuild/environment.py
+@@ -345,10 +345,8 @@ def detect_cpu_family(compilers: CompilersDict) -> str:
+ if compilers and not any_compiler_has_define(compilers, '__mips64'):
+ trial = 'mips'
  
 -if trial not in known_cpu_families:
 -mlog.warning(f'Unknown CPU family {trial!r}, please report this at '
diff --git a/meta/recipes-devtools/meson/meson_1.1.1.bb 
b/meta/recipes-devtools/meson/meson_1.2.1.bb
similarity index 98%
rename from meta/recipes-devtools/meson/meson_1.1.1.bb
rename to meta/recipes-devtools/meson/meson_1.2.1.bb
index dd97f93aef6..fe452662029 100644
--- a/meta/recipes-devtools/meson/meson_1.1.1.bb
+++ b/meta/recipes-devtools/meson/meson_1.2.1.bb
@@ -15,7 +15,7 @@ SRC_URI = 
"${GITHUB_BASE_URI}/download/${PV}/meson-${PV}.tar.gz \
file://0001-Make-CPU-family-warnings-fatal.patch \
file://0002-Support-building-allarch-recipes-again.patch \
"
-SRC_URI[sha256sum] = 
"d04b541f97ca439fb82fab7d0d480988be4bd4e62563a5ca35fadb5400727b1c"
+SRC_URI[sha256sum] = 
"b1db3a153087549497ee52b1c938d2134e0338214fe14f7efd16fecd57b639f5"
 
 inherit python_setuptools_build_meta github-releases
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188068): 
https://lists.openembedded.org/g/openembedded-core/message/188068
Mute This Topic: https://lists.openembedded.org/mt/101516872/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/40] man-pages: upgrade 6.04 -> 6.05.01

2023-09-22 Thread Alexander Kanavin
License-update: formatting

Signed-off-by: Alexander Kanavin 
---
 .../man-pages/{man-pages_6.04.bb => man-pages_6.05.01.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/man-pages/{man-pages_6.04.bb => 
man-pages_6.05.01.bb} (92%)

diff --git a/meta/recipes-extended/man-pages/man-pages_6.04.bb 
b/meta/recipes-extended/man-pages/man-pages_6.05.01.bb
similarity index 92%
rename from meta/recipes-extended/man-pages/man-pages_6.04.bb
rename to meta/recipes-extended/man-pages/man-pages_6.05.01.bb
index fee57e3fbda..2726eded8ba 100644
--- a/meta/recipes-extended/man-pages/man-pages_6.04.bb
+++ b/meta/recipes-extended/man-pages/man-pages_6.05.01.bb
@@ -4,7 +4,7 @@ SECTION = "console/utils"
 HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages;
 LICENSE = "GPL-2.0-or-later & GPL-2.0-only & GPL-1.0-or-later & BSD-2-Clause & 
BSD-3-Clause & BSD-4-Clause & MIT"
 
-LIC_FILES_CHKSUM = "file://README;md5=5b7d7488344f5af8841dc13aaec49cdf \
+LIC_FILES_CHKSUM = "file://README;md5=cbd51cd3dd298230df8ddd4637e65c37 \
 
file://LICENSES/BSD-2-Clause.txt;md5=d0f280d1058e77e66264a9b9e10e6c89 \
 
file://LICENSES/BSD-3-Clause.txt;md5=71f739ef75581cae312e8c711bcdab16 \
 
file://LICENSES/BSD-4-Clause-UC.txt;md5=1da3cf8ad50cd8d5d1de3cfc53196d01 \
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = 
"file://README;md5=5b7d7488344f5af8841dc13aaec49cdf \
 "
 SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/${BP}.tar.gz"
 
-SRC_URI[sha256sum] = 
"590623b99bf1f8ee958483c35cc0aaef2363e42998c4d927d1f705890d15d51e"
+SRC_URI[sha256sum] = 
"b2dd44ca0342b50923291f06bdba38c42438e10c04843ce1f731cf3f50631e0a"
 
 inherit manpages
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188067): 
https://lists.openembedded.org/g/openembedded-core/message/188067
Mute This Topic: https://lists.openembedded.org/mt/101516871/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 23/40] libsolv: upgrade 0.7.24 -> 0.7.25

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libsolv/{libsolv_0.7.24.bb => libsolv_0.7.25.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/libsolv/{libsolv_0.7.24.bb => libsolv_0.7.25.bb} 
(95%)

diff --git a/meta/recipes-extended/libsolv/libsolv_0.7.24.bb 
b/meta/recipes-extended/libsolv/libsolv_0.7.25.bb
similarity index 95%
rename from meta/recipes-extended/libsolv/libsolv_0.7.24.bb
rename to meta/recipes-extended/libsolv/libsolv_0.7.25.bb
index 11825270147..69cb3f79967 100644
--- a/meta/recipes-extended/libsolv/libsolv_0.7.24.bb
+++ b/meta/recipes-extended/libsolv/libsolv_0.7.25.bb
@@ -12,7 +12,7 @@ SRC_URI = 
"git://github.com/openSUSE/libsolv.git;branch=master;protocol=https \
file://0001-utils-Conside-musl-when-wrapping-qsort_r.patch \
 "
 
-SRCREV = "4d05dca3974156faf2f025ca4a82b68904848307"
+SRCREV = "f1be8bf3dcc7dc14d331adbc97f337fa08e641c9"
 
 UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188066): 
https://lists.openembedded.org/g/openembedded-core/message/188066
Mute This Topic: https://lists.openembedded.org/mt/101516870/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/40] json-c: upgrade 0.16 -> 0.17

2023-09-22 Thread Alexander Kanavin
Fix run-ptest to append to log instead of overwriting it with every test 
invocation.

Signed-off-by: Alexander Kanavin 
---
 .../json-c/0001-Fix-build-with-clang-15.patch | 34 ---
 meta/recipes-devtools/json-c/json-c/run-ptest |  2 +-
 .../json-c/{json-c_0.16.bb => json-c_0.17.bb} | 12 +++
 3 files changed, 6 insertions(+), 42 deletions(-)
 delete mode 100644 
meta/recipes-devtools/json-c/json-c/0001-Fix-build-with-clang-15.patch
 rename meta/recipes-devtools/json-c/{json-c_0.16.bb => json-c_0.17.bb} (73%)

diff --git 
a/meta/recipes-devtools/json-c/json-c/0001-Fix-build-with-clang-15.patch 
b/meta/recipes-devtools/json-c/json-c/0001-Fix-build-with-clang-15.patch
deleted file mode 100644
index 215f4d829a2..000
--- a/meta/recipes-devtools/json-c/json-c/0001-Fix-build-with-clang-15.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 0145b575ac1fe6a77e00d639864f26fc91ceb12f Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Sat, 13 Aug 2022 20:37:03 -0700
-Subject: [PATCH] Fix build with clang-15+
-
-Fixes
-json_util.c:63:35: error: a function declaration without a prototype is 
deprecated in all versions of C [-We
-rror,-Wstrict-prototypes]
-const char *json_util_get_last_err()
-  ^
-   void
-
-Upstream-Status: Backport [https://github.com/json-c/json-c/pull/783]
-Signed-off-by: Khem Raj 

- json_util.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/json_util.c b/json_util.c
-index 952770a..83d9c68 100644
 a/json_util.c
-+++ b/json_util.c
-@@ -60,7 +60,7 @@ static int _json_object_to_fd(int fd, struct json_object 
*obj, int flags, const
- 
- static char _last_err[256] = "";
- 
--const char *json_util_get_last_err()
-+const char *json_util_get_last_err(void)
- {
-   if (_last_err[0] == '\0')
-   return NULL;
--- 
-2.37.2
-
diff --git a/meta/recipes-devtools/json-c/json-c/run-ptest 
b/meta/recipes-devtools/json-c/json-c/run-ptest
index 9ee6095ea22..2d0e94cd3ac 100644
--- a/meta/recipes-devtools/json-c/json-c/run-ptest
+++ b/meta/recipes-devtools/json-c/json-c/run-ptest
@@ -8,7 +8,7 @@ for i in test*.test; do
 # test_basic is not an own testcase, just
 # contains common code of other tests
 if [ "$i" != "test_basic.test" ]; then
-if ./$i > json-c_test.log 2>&1 ; then
+if ./$i >> json-c_test.log 2>&1 ; then
 echo PASS: $i
 else
 ret_val=1
diff --git a/meta/recipes-devtools/json-c/json-c_0.16.bb 
b/meta/recipes-devtools/json-c/json-c_0.17.bb
similarity index 73%
rename from meta/recipes-devtools/json-c/json-c_0.16.bb
rename to meta/recipes-devtools/json-c/json-c_0.17.bb
index 3aba41dfcf6..b7b596212f8 100644
--- a/meta/recipes-devtools/json-c/json-c_0.16.bb
+++ b/meta/recipes-devtools/json-c/json-c_0.17.bb
@@ -4,12 +4,10 @@ HOMEPAGE = "https://github.com/json-c/json-c/wiki;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
 
-SRC_URI = " \
-https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
-file://0001-Fix-build-with-clang-15.patch \
-file://run-ptest \
-"
-SRC_URI[sha256sum] = 
"8e45ac8f96ec7791eaf3bb7ee50e9c2100bbbc87b8d0f1d030c5ba8a0288d96b"
+SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
+   file://run-ptest \
+   "
+SRC_URI[sha256sum] = 
"7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6"
 
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags;
 UPSTREAM_CHECK_REGEX = "json-c-(?P\d+(\.\d+)+)-\d+"
@@ -24,7 +22,7 @@ do_install_ptest() {
 install ${S}/tests/*.test ${D}/${PTEST_PATH}/tests
 install ${S}/tests/*.expected ${D}/${PTEST_PATH}/tests
 install ${S}/tests/test-defs.sh ${D}/${PTEST_PATH}/tests
-install ${S}/tests/valid*json ${D}/${PTEST_PATH}/tests
+install ${S}/tests/*json ${D}/${PTEST_PATH}/tests
 }
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188062): 
https://lists.openembedded.org/g/openembedded-core/message/188062
Mute This Topic: https://lists.openembedded.org/mt/101516865/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/40] kmscube: upgrade to latest revision

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-graphics/kmscube/kmscube_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/kmscube/kmscube_git.bb 
b/meta/recipes-graphics/kmscube/kmscube_git.bb
index b385ff7452d..4cdc0f06bb8 100644
--- a/meta/recipes-graphics/kmscube/kmscube_git.bb
+++ b/meta/recipes-graphics/kmscube/kmscube_git.bb
@@ -10,7 +10,7 @@ DEPENDS = "virtual/libgles3 virtual/libgles2 virtual/egl 
libdrm virtual/libgbm"
 
 LIC_FILES_CHKSUM = 
"file://kmscube.c;beginline=1;endline=23;md5=8b309d4ee67b7315ff7381270dd631fb"
 
-SRCREV = "53ea71efe63470cf698726d983e9da5748a754a1"
+SRCREV = "ea6c5d1eeefbfb0a1c27ab74a6e4621f1d9adf4c"
 SRC_URI = 
"git://gitlab.freedesktop.org/mesa/kmscube;branch=master;protocol=https"
 
 UPSTREAM_CHECK_COMMITS = "1"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188063): 
https://lists.openembedded.org/g/openembedded-core/message/188063
Mute This Topic: https://lists.openembedded.org/mt/101516866/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/40] freetype: upgrade 2.13.1 -> 2.13.2

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../freetype/{freetype_2.13.1.bb => freetype_2.13.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/freetype/{freetype_2.13.1.bb => 
freetype_2.13.2.bb} (95%)

diff --git a/meta/recipes-graphics/freetype/freetype_2.13.1.bb 
b/meta/recipes-graphics/freetype/freetype_2.13.2.bb
similarity index 95%
rename from meta/recipes-graphics/freetype/freetype_2.13.1.bb
rename to meta/recipes-graphics/freetype/freetype_2.13.2.bb
index 5b1c520944f..4e7a0ad160b 100644
--- a/meta/recipes-graphics/freetype/freetype_2.13.1.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.13.2.bb
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE.TXT;md5=843b6efc16f6b1652ec97f89d5a516c0 \
 "
 
 SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/${BPN}/${BP}.tar.xz"
-SRC_URI[sha256sum] = 
"ea67e3b019b1104d1667aa274f5dc307d8cbd606b399bc32df308a77f1a564bf"
+SRC_URI[sha256sum] = 
"12991c4e55c506dd7f9b765933e62fd2be2e06d421505d7950a132e4f1bb484d"
 
 UPSTREAM_CHECK_REGEX = "freetype-(?P\d+(\.\d+)+)"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188059): 
https://lists.openembedded.org/g/openembedded-core/message/188059
Mute This Topic: https://lists.openembedded.org/mt/101516862/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/40] ghostscript: upgrade 10.01.2 -> 10.02.0

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...pcx-buffer-overrun-fix-from-devices-.patch | 31 ---
 ...ript_10.01.2.bb => ghostscript_10.02.0.bb} |  5 ++-
 2 files changed, 2 insertions(+), 34 deletions(-)
 delete mode 100644 
meta/recipes-extended/ghostscript/ghostscript/0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch
 rename meta/recipes-extended/ghostscript/{ghostscript_10.01.2.bb => 
ghostscript_10.02.0.bb} (94%)

diff --git 
a/meta/recipes-extended/ghostscript/ghostscript/0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch
 
b/meta/recipes-extended/ghostscript/ghostscript/0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch
deleted file mode 100644
index b29212fbc6c..000
--- 
a/meta/recipes-extended/ghostscript/ghostscript/0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From d81b82c70bc1fb9991bb95f1201abb5dea55f57f Mon Sep 17 00:00:00 2001
-From: Chris Liddell 
-Date: Mon, 17 Jul 2023 14:06:37 +0100
-Subject: [PATCH] Bug 706897: Copy pcx buffer overrun fix from
- devices/gdevpcx.c
-
-Bounds check the buffer, before dereferencing the pointer.
-
-CVE: CVE-2023-38559
-Upstream-Status: Backport
-Signed-off-by: Ross Burton 

- base/gdevdevn.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/base/gdevdevn.c b/base/gdevdevn.c
-index 7b14d9c71..6351fb77a 100644
 a/base/gdevdevn.c
-+++ b/base/gdevdevn.c
-@@ -1983,7 +1983,7 @@ devn_pcx_write_rle(const byte * from, const byte * end, 
int step, gp_file * file
- byte data = *from;
- 
- from += step;
--if (data != *from || from == end) {
-+if (from >= end || data != *from) {
- if (data >= 0xc0)
- gp_fputc(0xc1, file);
- } else {
--- 
-2.34.1
-
diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.01.2.bb 
b/meta/recipes-extended/ghostscript/ghostscript_10.02.0.bb
similarity index 94%
rename from meta/recipes-extended/ghostscript/ghostscript_10.01.2.bb
rename to meta/recipes-extended/ghostscript/ghostscript_10.02.0.bb
index 434170e34d1..4bad0f86e14 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_10.01.2.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_10.02.0.bb
@@ -25,11 +25,10 @@ def gs_verdir(v):
 SRC_URI = 
"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${@gs_verdir("${PV}")}/${BPN}-${PV}.tar.gz
 \
file://ghostscript-9.16-Werror-return-type.patch \
file://avoid-host-contamination.patch \
-   
file://0001-Bug-706897-Copy-pcx-buffer-overrun-fix-from-devices-.patch \
file://configure.ac-add-option-to-explicitly-disable-neon.patch \
-"
+   "
 
-SRC_URI[sha256sum] = 
"a4cd61a07fec161bee35da0211a5e5cde8ff8a0aaf942fc0176715e499d21661"
+SRC_URI[sha256sum] = 
"e54062f166708d84ca82de9f8304a04344466080f936118b88082bd55ed6dc97"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188060): 
https://lists.openembedded.org/g/openembedded-core/message/188060
Mute This Topic: https://lists.openembedded.org/mt/101516863/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/40] iproute2: upgrade 6.4.0 -> 6.5.0

2023-09-22 Thread Alexander Kanavin
Set CONF_USR_DIR explicitly as upstream hardcodes 'lib' in it.

Fix up iproute2-ip packaging to reflect that, and fix multilib error
where the executable would end up in the main package.

Signed-off-by: Alexander Kanavin 
---
 .../0001-bridge-mdb.c-include-limits.h.patch  | 41 ---
 .../{iproute2_6.4.0.bb => iproute2_6.5.0.bb}  |  6 +--
 2 files changed, 3 insertions(+), 44 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/iproute2/iproute2/0001-bridge-mdb.c-include-limits.h.patch
 rename meta/recipes-connectivity/iproute2/{iproute2_6.4.0.bb => 
iproute2_6.5.0.bb} (93%)

diff --git 
a/meta/recipes-connectivity/iproute2/iproute2/0001-bridge-mdb.c-include-limits.h.patch
 
b/meta/recipes-connectivity/iproute2/iproute2/0001-bridge-mdb.c-include-limits.h.patch
deleted file mode 100644
index f9a0e35d83a..000
--- 
a/meta/recipes-connectivity/iproute2/iproute2/0001-bridge-mdb.c-include-limits.h.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From b13f04c0c685b6d2474aa7d97e191531f327bc45 Mon Sep 17 00:00:00 2001
-From: Trevor Gamblin 
-Date: Thu, 20 Jul 2023 14:32:23 -0400
-Subject: [PATCH] bridge/mdb.c: include limits.h
-
-Upstream-Status: Submitted
-(https://lore.kernel.org/netdev/20230720203726.2316251-1-tgamb...@baylibre.com/)
-
-While building iproute2 6.4.0 with musl using Yocto Project, errors such
-as the following were encountered:
-
-| mdb.c: In function 'mdb_parse_vni':
-| mdb.c:666:47: error: 'ULONG_MAX' undeclared (first use in this function)
-|   666 | if ((endptr && *endptr) || vni_num == ULONG_MAX)
-|   |   ^
-| mdb.c:666:47: note: 'ULONG_MAX' is defined in header ''; did you 
forget to '#include '?
-
-Include limits.h in bridge/mdb.c to fix this issue. This change is based
-on one in Alpine Linux, but the author there had no plans to submit:
-https://git.alpinelinux.org/aports/commit/main/iproute2/include.patch?id=bd46efb8a8da54948639cebcfa5b37bd608f1069
-
-Signed-off-by: Trevor Gamblin 

- bridge/mdb.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/bridge/mdb.c b/bridge/mdb.c
-index fbb4f704..18793458 100644
 a/bridge/mdb.c
-+++ b/bridge/mdb.c
-@@ -15,6 +15,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- #include "libnetlink.h"
- #include "utils.h"
--- 
-2.41.0
-
diff --git a/meta/recipes-connectivity/iproute2/iproute2_6.4.0.bb 
b/meta/recipes-connectivity/iproute2/iproute2_6.5.0.bb
similarity index 93%
rename from meta/recipes-connectivity/iproute2/iproute2_6.4.0.bb
rename to meta/recipes-connectivity/iproute2/iproute2_6.5.0.bb
index 32e2f8176bf..2b28b10c20e 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_6.4.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_6.5.0.bb
@@ -13,10 +13,9 @@ DEPENDS = "flex-native bison-native iptables libcap"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
file://0001-libc-compat.h-add-musl-workaround.patch \
-   file://0001-bridge-mdb.c-include-limits.h.patch \
"
 
-SRC_URI[sha256sum] = 
"4c51b8decbc7e4da159ffb066f590cfb93dbf9af7ff86b1647ce42b7c179a272"
+SRC_URI[sha256sum] = 
"a70179085fa1b96d3c33b040c809b75e2b57563adc505a4ad05e2609df373463"
 
 inherit update-alternatives bash-completion pkgconfig
 
@@ -37,6 +36,7 @@ EXTRA_OEMAKE = "\
 DOCDIR=${docdir}/iproute2 \
 SUBDIRS='${IPROUTE2_MAKE_SUBDIRS}' \
 SBINDIR='${base_sbindir}' \
+CONF_USR_DIR='${libdir}/iproute2' \
 LIBDIR='${libdir}' \
 CCOPTS='${CFLAGS}' \
 "
@@ -82,7 +82,7 @@ FILES:${PN}-lnstat = "${base_sbindir}/lnstat \
   ${base_sbindir}/ctstat \
   ${base_sbindir}/rtstat"
 FILES:${PN}-ifstat = "${base_sbindir}/ifstat"
-FILES:${PN}-ip = "${base_sbindir}/ip.${PN} ${sysconfdir}/iproute2"
+FILES:${PN}-ip = "${base_sbindir}/ip.* ${libdir}/iproute2"
 FILES:${PN}-genl = "${base_sbindir}/genl"
 FILES:${PN}-rtacct = "${base_sbindir}/rtacct"
 FILES:${PN}-nstat = "${base_sbindir}/nstat"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188061): 
https://lists.openembedded.org/g/openembedded-core/message/188061
Mute This Topic: https://lists.openembedded.org/mt/101516864/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/40] ethtool: upgrade 6.3 -> 6.5

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../ethtool/ethtool/avoid_parallel_tests.patch| 8 
 .../ethtool/{ethtool_6.3.bb => ethtool_6.5.bb}| 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-extended/ethtool/{ethtool_6.3.bb => ethtool_6.5.bb} (93%)

diff --git a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch 
b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
index 5e9024834cf..409c8de6858 100644
--- a/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
+++ b/meta/recipes-extended/ethtool/ethtool/avoid_parallel_tests.patch
@@ -1,4 +1,4 @@
-From 08f887f4bc65684397bf8ec30cc61d91d894deac Mon Sep 17 00:00:00 2001
+From 0c77437267601d40d7ce9efd87eb4b82a5675d2f Mon Sep 17 00:00:00 2001
 From: Tudor Florea 
 Date: Wed, 28 May 2014 18:59:54 +0200
 Subject: [PATCH] ethtool: use serial-tests config needed by ptest.
@@ -15,12 +15,12 @@ Upstream-Status: Inappropriate
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index c1e0012..c460398 100644
+index 11efb99..b5ce018 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure 
script.
- AC_INIT(ethtool, 6.3, net...@vger.kernel.org)
+@@ -3,7 +3,7 @@ AC_INIT(ethtool, 6.5, net...@vger.kernel.org)
  AC_PREREQ(2.52)
+ AC_CONFIG_MACRO_DIR([m4])
  AC_CONFIG_SRCDIR([ethtool.c])
 -AM_INIT_AUTOMAKE([gnu subdir-objects])
 +AM_INIT_AUTOMAKE([gnu subdir-objects serial-tests])
diff --git a/meta/recipes-extended/ethtool/ethtool_6.3.bb 
b/meta/recipes-extended/ethtool/ethtool_6.5.bb
similarity index 93%
rename from meta/recipes-extended/ethtool/ethtool_6.3.bb
rename to meta/recipes-extended/ethtool/ethtool_6.5.bb
index 504e6459664..ef925e16b9c 100644
--- a/meta/recipes-extended/ethtool/ethtool_6.3.bb
+++ b/meta/recipes-extended/ethtool/ethtool_6.5.bb
@@ -11,7 +11,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \
file://avoid_parallel_tests.patch \
"
 
-SRC_URI[sha256sum] = 
"342d37d3fe19da79d0276c4c69c34c61f1ad8f87b06514d664bf1eeb29bfd525"
+SRC_URI[sha256sum] = 
"aed41ca58b3129126f18429172064d214191d7e7ef52c6e3f6b2ff7503706c03"
 
 UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/software/network/ethtool/;
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188057): 
https://lists.openembedded.org/g/openembedded-core/message/188057
Mute This Topic: https://lists.openembedded.org/mt/101516860/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/40] font-util: upgrade 1.4.0 -> 1.4.1

2023-09-22 Thread Alexander Kanavin
License-update: clarify license for unicode items:
https://gitlab.freedesktop.org/xorg/font/util/-/merge_requests/7

Signed-off-by: Alexander Kanavin 
---
 .../{font-util_1.4.0.bb => font-util_1.4.1.bb} | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-graphics/xorg-font/{font-util_1.4.0.bb => 
font-util_1.4.1.bb} (60%)

diff --git a/meta/recipes-graphics/xorg-font/font-util_1.4.0.bb 
b/meta/recipes-graphics/xorg-font/font-util_1.4.1.bb
similarity index 60%
rename from meta/recipes-graphics/xorg-font/font-util_1.4.0.bb
rename to meta/recipes-graphics/xorg-font/font-util_1.4.1.bb
index db82104afe9..0c65927fb4e 100644
--- a/meta/recipes-graphics/xorg-font/font-util_1.4.0.bb
+++ b/meta/recipes-graphics/xorg-font/font-util_1.4.1.bb
@@ -2,12 +2,12 @@ SUMMARY = "X.Org font package creation/installation utilities"
 
 require xorg-font-common.inc
 
-#Unicode is MIT
-LICENSE = "MIT & MIT & BSD-4-Clause & BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=5df208ec65eb84ce5bb8d82d8f3b9675 \
+LICENSE = "Unicode-TOU & BSD-4-Clause & BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=2a9e705c00e463c8d294f90486852e06 \
 
file://ucs2any.c;endline=28;md5=8357dc567fc628bd12696f15b2a33bcb \
 
file://bdftruncate.c;endline=26;md5=4f82ffc101a1b165eae9c6998abff937 \
-
file://map-ISO8859-1;beginline=9;endline=23;md5=1cecb984063248f29ffe5c46f5c04f34"
+
file://map-ISO8859-1;beginline=1;endline=4;md5=9c9c1d525d29c0e82b5c99edbb8e71c1 
\
+"
 
 DEPENDS = "encodings util-macros"
 DEPENDS:class-native = "util-macros-native"
@@ -16,7 +16,7 @@ RDEPENDS:${PN}:class-native = ""
 
 BBCLASSEXTEND = "native"
 
-SRC_URI[sha256sum] = 
"9f724bf940128c7e39f7252bd961cd38cfac2359de2100a8bed696bf40d40f7d"
+SRC_URI[sha256sum] = 
"5c9f64123c194b150fee89049991687386e6ff36ef2af7b80ba53efaf368cc95"
 
 SYSROOT_DIRS_IGNORE:remove = "${datadir}/fonts"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188058): 
https://lists.openembedded.org/g/openembedded-core/message/188058
Mute This Topic: https://lists.openembedded.org/mt/101516861/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/40] diffoscope: upgrade 244 -> 249

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../diffoscope/{diffoscope_244.bb => diffoscope_249.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/diffoscope/{diffoscope_244.bb => 
diffoscope_249.bb} (93%)

diff --git a/meta/recipes-support/diffoscope/diffoscope_244.bb 
b/meta/recipes-support/diffoscope/diffoscope_249.bb
similarity index 93%
rename from meta/recipes-support/diffoscope/diffoscope_244.bb
rename to meta/recipes-support/diffoscope/diffoscope_249.bb
index c17bd81f5b1..b6791036942 100644
--- a/meta/recipes-support/diffoscope/diffoscope_244.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_249.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "diffoscope"
 
 inherit pypi setuptools3
 
-SRC_URI[sha256sum] = 
"8bee8bbb144cdb7ddfa21886d5ce180139241c9a53def09b4adc3340db93"
+SRC_URI[sha256sum] = 
"bc4d8cb3198025013784ef7e3fa61b7a642de39e5b790c45d7c29d153306fbdd"
 
 RDEPENDS:${PN} += "\
 binutils \
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188056): 
https://lists.openembedded.org/g/openembedded-core/message/188056
Mute This Topic: https://lists.openembedded.org/mt/101516859/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/40] debianutils: upgrade 5.12 -> 5.13

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../debianutils/{debianutils_5.12.bb => debianutils_5.13.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/debianutils/{debianutils_5.12.bb => 
debianutils_5.13.bb} (97%)

diff --git a/meta/recipes-support/debianutils/debianutils_5.12.bb 
b/meta/recipes-support/debianutils/debianutils_5.13.bb
similarity index 97%
rename from meta/recipes-support/debianutils/debianutils_5.12.bb
rename to meta/recipes-support/debianutils/debianutils_5.13.bb
index 4002a44cdb3..915277b42cf 100644
--- a/meta/recipes-support/debianutils/debianutils_5.12.bb
+++ b/meta/recipes-support/debianutils/debianutils_5.13.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
"file://debian/copyright;md5=74765f57ae5dd2b10ffbc39528d98753
 SRC_URI = 
"git://salsa.debian.org/debian/debianutils.git;protocol=https;branch=master \
"
 
-SRCREV = "78bdc9165504b61ff4ea25a95d9865c45bfe7520"
+SRCREV = "d49a78eb264c1b2ad3d0d6de8e1fb776bda9c943"
 
 inherit autotools update-alternatives
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188055): 
https://lists.openembedded.org/g/openembedded-core/message/188055
Mute This Topic: https://lists.openembedded.org/mt/101516858/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/40] btrfs-tools: upgrade 6.3.3 -> 6.5.1

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../btrfs-tools/{btrfs-tools_6.3.3.bb => btrfs-tools_6.5.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_6.3.3.bb => 
btrfs-tools_6.5.1.bb} (98%)

diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.3.3.bb 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.5.1.bb
similarity index 98%
rename from meta/recipes-devtools/btrfs-tools/btrfs-tools_6.3.3.bb
rename to meta/recipes-devtools/btrfs-tools/btrfs-tools_6.5.1.bb
index e7a64e83635..527e13d08e2 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.3.3.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.5.1.bb
@@ -18,7 +18,7 @@ DEPENDS = "util-linux zlib"
 SRC_URI = 
"git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git;branch=master;protocol=https
 \

file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \
"
-SRCREV = "bb0ca35245858f17a6ced97aade1dd8d70f9c9d7"
+SRCREV = "92d04d4780886a9850716e5529f1dace97779931"
 S = "${WORKDIR}/git"
 
 PACKAGECONFIG ??= " \
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188054): 
https://lists.openembedded.org/g/openembedded-core/message/188054
Mute This Topic: https://lists.openembedded.org/mt/101516857/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/40] boost: upgrade 1.82.0 -> 1.83.0

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../boost/{boost-1.82.0.inc => boost-1.83.0.inc}| 2 +-
 ...oost-build-native_1.82.0.bb => boost-build-native_1.83.0.bb} | 2 +-
 meta/recipes-support/boost/{boost_1.82.0.bb => boost_1.83.0.bb} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/boost/{boost-1.82.0.inc => boost-1.83.0.inc} (90%)
 rename meta/recipes-support/boost/{boost-build-native_1.82.0.bb => 
boost-build-native_1.83.0.bb} (92%)
 rename meta/recipes-support/boost/{boost_1.82.0.bb => boost_1.83.0.bb} (100%)

diff --git a/meta/recipes-support/boost/boost-1.82.0.inc 
b/meta/recipes-support/boost/boost-1.83.0.inc
similarity index 90%
rename from meta/recipes-support/boost/boost-1.82.0.inc
rename to meta/recipes-support/boost/boost-1.83.0.inc
index 39d3c9ce5da..da275f18c1f 100644
--- a/meta/recipes-support/boost/boost-1.82.0.inc
+++ b/meta/recipes-support/boost/boost-1.83.0.inc
@@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
 BOOST_P = "boost_${BOOST_VER}"
 
 SRC_URI = 
"https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2;
-SRC_URI[sha256sum] = 
"a6e1ab9b0860e6a2881dd7b21fe9f737a095e5f33a3a874afc6a345228597ee6"
+SRC_URI[sha256sum] = 
"6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e"
 
 UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/;
 UPSTREAM_CHECK_REGEX = "release/(?P.*)/source/"
diff --git a/meta/recipes-support/boost/boost-build-native_1.82.0.bb 
b/meta/recipes-support/boost/boost-build-native_1.83.0.bb
similarity index 92%
rename from meta/recipes-support/boost/boost-build-native_1.82.0.bb
rename to meta/recipes-support/boost/boost-build-native_1.83.0.bb
index dcfb65e3d6e..a345bac4999 100644
--- a/meta/recipes-support/boost/boost-build-native_1.82.0.bb
+++ b/meta/recipes-support/boost/boost-build-native_1.83.0.bb
@@ -7,7 +7,7 @@ LICENSE = "BSL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 
 SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master"
-SRCREV = "9f488e003a568dffe0caed05d86ed6f1a8f8c7f3"
+SRCREV = "8d86b9a85407d73d6e8c631771f18c2a237d2d71"
 PE = "1"
 
 UPSTREAM_CHECK_GITTAGREGEX = "boost-(?P(\d+(\.\d+)+))"
diff --git a/meta/recipes-support/boost/boost_1.82.0.bb 
b/meta/recipes-support/boost/boost_1.83.0.bb
similarity index 100%
rename from meta/recipes-support/boost/boost_1.82.0.bb
rename to meta/recipes-support/boost/boost_1.83.0.bb
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188053): 
https://lists.openembedded.org/g/openembedded-core/message/188053
Mute This Topic: https://lists.openembedded.org/mt/101516856/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/40] libxcb: upgrade 1.15 -> 1.16

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../xorg-lib/{libxcb_1.15.bb => libxcb_1.16.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-lib/{libxcb_1.15.bb => libxcb_1.16.bb} (93%)

diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb 
b/meta/recipes-graphics/xorg-lib/libxcb_1.16.bb
similarity index 93%
rename from meta/recipes-graphics/xorg-lib/libxcb_1.15.bb
rename to meta/recipes-graphics/xorg-lib/libxcb_1.16.bb
index 411f51ac394..04b1eaa910e 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb_1.15.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcb_1.16.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7"
 SRC_URI = "http://xcb.freedesktop.org/dist/libxcb-${PV}.tar.xz \
file://0001-use-_Alignof-to-avoid-UB-in-ALIGNOF.patch"
 
-SRC_URI[sha256sum] = 
"cc38744f817cf6814c847e2df37fcb8997357d72fa4bcbc228ae0fe47219a059"
+SRC_URI[sha256sum] = 
"4348566aa0fbf196db5e0a576321c65966189210cb51328ea2bb2be39c711d71"
 
 BBCLASSEXTEND = "native nativesdk"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188051): 
https://lists.openembedded.org/g/openembedded-core/message/188051
Mute This Topic: https://lists.openembedded.org/mt/101516854/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/40] xcb-proto: upgrade 1.15.2 -> 1.16.0

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../xorg-proto/{xcb-proto_1.15.2.bb => xcb-proto_1.16.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-proto/{xcb-proto_1.15.2.bb => 
xcb-proto_1.16.0.bb} (92%)

diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb 
b/meta/recipes-graphics/xorg-proto/xcb-proto_1.16.0.bb
similarity index 92%
rename from meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb
rename to meta/recipes-graphics/xorg-proto/xcb-proto_1.16.0.bb
index e60e7958a76..67c1e8d97df 100644
--- a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.2.bb
+++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.16.0.bb
@@ -15,7 +15,7 @@ SRC_URI = 
"https://xorg.freedesktop.org/archive/individual/proto/${BP}.tar.xz \
file://0001-xcb-proto.pc.in-reinstate-libdir.patch \
file://0001-Fix-install-conflict-when-enable-multilib.patch \
"
-SRC_URI[sha256sum] = 
"7072beb1f680a2fe3f9e535b797c146d22528990c72f63ddb49d2f350a3653ed"
+SRC_URI[sha256sum] = 
"a75a1848ad2a89a82d841a51be56ce988ff3c63a8d6bf4383ae3219d8d915119"
 
 inherit autotools pkgconfig python3native
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188052): 
https://lists.openembedded.org/g/openembedded-core/message/188052
Mute This Topic: https://lists.openembedded.org/mt/101516855/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/40] python3-setuptools-rust: upgrade 1.6.0 -> 1.7.0

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...ptools-rust_1.6.0.bb => python3-setuptools-rust_1.7.0.bb} | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-setuptools-rust_1.6.0.bb => 
python3-setuptools-rust_1.7.0.bb} (80%)

diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.6.0.bb 
b/meta/recipes-devtools/python/python3-setuptools-rust_1.7.0.bb
similarity index 80%
rename from meta/recipes-devtools/python/python3-setuptools-rust_1.6.0.bb
rename to meta/recipes-devtools/python/python3-setuptools-rust_1.7.0.bb
index f1da4b50e7d..6392a4deadd 100644
--- a/meta/recipes-devtools/python/python3-setuptools-rust_1.6.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.7.0.bb
@@ -12,11 +12,14 @@ 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] = 
"c86e734deac330597998bfbc08da45187e6b27837e23bd91eadb320732392262"
+SRC_URI[sha256sum] = 
"c710048235a38ae7e555fe199aa66c253dc384b125f5d85473bf81eae3a3"
 
 inherit cargo pypi python_setuptools_build_meta
 
 DEPENDS += "python3-setuptools-scm-native python3-wheel-native"
+# remove when 
https://github.com/PyO3/setuptools-rust/commit/7ced8d2a8f36e1b4fc41b5544636defb7bd44bdf
+# is included
+DEPENDS += "python3-semantic-version-native"
 
 RDEPENDS:${PN} += " \
 python3-distutils \
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188049): 
https://lists.openembedded.org/g/openembedded-core/message/188049
Mute This Topic: https://lists.openembedded.org/mt/101516852/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/40] vulkan: upgrade 1.3.250.0 -> 1.3.261.1

2023-09-22 Thread Alexander Kanavin
License-update: clarifiction that licenses are apache and mit.

Signed-off-by: Alexander Kanavin 
---
 ...lang_1.3.250.0.bb => glslang_1.3.261.1.bb} |  2 +-
 3.250.0.bb => spirv-headers_1.3.261.1.bb} |  2 +-
 ..._1.3.250.0.bb => spirv-tools_1.3.261.1.bb} |  2 +-
 ...3.250.0.bb => vulkan-headers_1.3.261.1.bb} |  6 ++--
 3.250.0.bb => vulkan-loader_1.3.261.1.bb} |  4 +--
 ...ts.txt-do-not-make-special-arrangeme.patch | 29 ---
 ...1.3.250.0.bb => vulkan-tools_1.3.261.1.bb} |  6 ++--
 ...ts.txt-append-to-CMAKE_FIND_ROOT_PAT.patch | 28 --
 ... => vulkan-validation-layers_1.3.261.1.bb} | 10 +++
 9 files changed, 14 insertions(+), 75 deletions(-)
 rename meta/recipes-graphics/glslang/{glslang_1.3.250.0.bb => 
glslang_1.3.261.1.bb} (96%)
 rename meta/recipes-graphics/spir/{spirv-headers_1.3.250.0.bb => 
spirv-headers_1.3.261.1.bb} (92%)
 rename meta/recipes-graphics/spir/{spirv-tools_1.3.250.0.bb => 
spirv-tools_1.3.261.1.bb} (96%)
 rename meta/recipes-graphics/vulkan/{vulkan-headers_1.3.250.0.bb => 
vulkan-headers_1.3.261.1.bb} (86%)
 rename meta/recipes-graphics/vulkan/{vulkan-loader_1.3.250.0.bb => 
vulkan-loader_1.3.261.1.bb} (95%)
 delete mode 100644 
meta/recipes-graphics/vulkan/vulkan-tools/0001-scripts-CMakeLists.txt-do-not-make-special-arrangeme.patch
 rename meta/recipes-graphics/vulkan/{vulkan-tools_1.3.250.0.bb => 
vulkan-tools_1.3.261.1.bb} (89%)
 delete mode 100644 
meta/recipes-graphics/vulkan/vulkan-validation-layers/0001-scripts-CMakeLists.txt-append-to-CMAKE_FIND_ROOT_PAT.patch
 rename meta/recipes-graphics/vulkan/{vulkan-validation-layers_1.3.250.0.bb => 
vulkan-validation-layers_1.3.261.1.bb} (85%)

diff --git a/meta/recipes-graphics/glslang/glslang_1.3.250.0.bb 
b/meta/recipes-graphics/glslang/glslang_1.3.261.1.bb
similarity index 96%
rename from meta/recipes-graphics/glslang/glslang_1.3.250.0.bb
rename to meta/recipes-graphics/glslang/glslang_1.3.261.1.bb
index 6e9c666d46d..e607045148c 100644
--- a/meta/recipes-graphics/glslang/glslang_1.3.250.0.bb
+++ b/meta/recipes-graphics/glslang/glslang_1.3.261.1.bb
@@ -8,7 +8,7 @@ HOMEPAGE = 
"https://www.khronos.org/opengles/sdk/tools/Reference-Compiler;
 LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & 
GPL-3-with-bison-exception"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2a2b5acd7bc4844964cfda45fe807dc3"
 
-SRCREV = "d1517d64cfca91f573af1bf7341dc3a5113349c0"
+SRCREV = "76b52ebf77833908dc4c0dd6c70a9c357ac720bd"
 SRC_URI = 
"git://github.com/KhronosGroup/glslang.git;protocol=https;branch=main \
file://0001-generate-glslang-pkg-config.patch \
"
diff --git a/meta/recipes-graphics/spir/spirv-headers_1.3.250.0.bb 
b/meta/recipes-graphics/spir/spirv-headers_1.3.261.1.bb
similarity index 92%
rename from meta/recipes-graphics/spir/spirv-headers_1.3.250.0.bb
rename to meta/recipes-graphics/spir/spirv-headers_1.3.261.1.bb
index d0a2e2e9916..945f0879f52 100644
--- a/meta/recipes-graphics/spir/spirv-headers_1.3.250.0.bb
+++ b/meta/recipes-graphics/spir/spirv-headers_1.3.261.1.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d"
 
-SRCREV = "268a061764ee69f09a477a695bf6a11ffe311b8d"
+SRCREV = "124a9665e464ef98b8b718d572d5f329311061eb"
 SRC_URI = 
"git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=main"
 PE = "1"
 # These recipes need to be updated in lockstep with each other:
diff --git a/meta/recipes-graphics/spir/spirv-tools_1.3.250.0.bb 
b/meta/recipes-graphics/spir/spirv-tools_1.3.261.1.bb
similarity index 96%
rename from meta/recipes-graphics/spir/spirv-tools_1.3.250.0.bb
rename to meta/recipes-graphics/spir/spirv-tools_1.3.261.1.bb
index bde6ddd04b8..6904288299c 100644
--- a/meta/recipes-graphics/spir/spirv-tools_1.3.250.0.bb
+++ b/meta/recipes-graphics/spir/spirv-tools_1.3.261.1.bb
@@ -7,7 +7,7 @@ SECTION = "graphics"
 LICENSE  = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRCREV = "e7c6084fd1d6d6f5ac393e842728d8be309688ca"
+SRCREV = "e553b884c7c9febaa4e52334f683641fb5f196a0"
 SRC_URI = 
"git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https"
 PE = "1"
 # These recipes need to be updated in lockstep with each other:
diff --git a/meta/recipes-graphics/vulkan/vulkan-headers_1.3.250.0.bb 
b/meta/recipes-graphics/vulkan/vulkan-headers_1.3.261.1.bb
similarity index 86%
rename from meta/recipes-graphics/vulkan/vulkan-headers_1.3.250.0.bb
rename to meta/recipes-graphics/vulkan/vulkan-headers_1.3.261.1.bb
index 2970767ff32..01eb14b9fb0 100644
--- a/meta/recipes-graphics/vulkan/vulkan-headers_1.3.250.0.bb
+++ b/meta/recipes-graphics/vulkan/vulkan-headers_1.3.261.1.bb
@@ -7,11 +7,11 @@ HOMEPAGE = "https://www.khronos.org/vulkan/;
 BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Headers;
 SECTION = "libs"
 
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = 

[OE-core] [PATCH 04/40] jquery: upgrade 3.7.0 -> 3.7.1

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../jquery/{jquery_3.7.0.bb => jquery_3.7.1.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/jquery/{jquery_3.7.0.bb => jquery_3.7.1.bb} (81%)

diff --git a/meta/recipes-devtools/jquery/jquery_3.7.0.bb 
b/meta/recipes-devtools/jquery/jquery_3.7.1.bb
similarity index 81%
rename from meta/recipes-devtools/jquery/jquery_3.7.0.bb
rename to meta/recipes-devtools/jquery/jquery_3.7.1.bb
index eceed9c9dd4..33147b493c5 100644
--- a/meta/recipes-devtools/jquery/jquery_3.7.0.bb
+++ b/meta/recipes-devtools/jquery/jquery_3.7.1.bb
@@ -13,9 +13,9 @@ SRC_URI = "\
 https://code.jquery.com/${BP}.min.map;name=map;subdir=${BP} \
 "
 
-SRC_URI[js.sha256sum] = 
"265a924c42de4784cba8fd0e1bd77133bc833ea5f5a31fc77e08922c18fcfa43"
-SRC_URI[min.sha256sum] = 
"d8f9afbf492e4c139e9d2bcb9ba6ef7c14921eb509fb703bc7a3f911b774eff8"
-SRC_URI[map.sha256sum] = 
"cae47e834ee977975a48c851b165cc52ea916cc968ba7d280b1293f573cd1a48"
+SRC_URI[js.sha256sum] = 
"78a85aca2f0b110c29e0d2b137e09f0a1fb7a8e554b499f740d6744dc8962cfe"
+SRC_URI[min.sha256sum] = 
"fc9a93dd241f6b045cbff0481cf4e1901becd0e12fb45166a8f17f95823f0b1a"
+SRC_URI[map.sha256sum] = 
"5e7d6d9c28b7f21006535e8875eb47e9667852a14c4624eed301c6cea19ae62b"
 
 UPSTREAM_CHECK_REGEX = "jquery-(?P\d+(\.\d+)+)\.js"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188048): 
https://lists.openembedded.org/g/openembedded-core/message/188048
Mute This Topic: https://lists.openembedded.org/mt/101516851/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/40] systemd: upgrade 254 -> 254.4

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...temd-boot_254.bb => systemd-boot_254.4.bb} |  0
 meta/recipes-core/systemd/systemd.inc |  6 +-
 ...-elf2efi-Fix-header-size-calculation.patch | 70 ---
 .../{systemd_254.bb => systemd_254.4.bb}  |  0
 4 files changed, 2 insertions(+), 74 deletions(-)
 rename meta/recipes-core/systemd/{systemd-boot_254.bb => 
systemd-boot_254.4.bb} (100%)
 delete mode 100644 
meta/recipes-core/systemd/systemd/0001-elf2efi-Fix-header-size-calculation.patch
 rename meta/recipes-core/systemd/{systemd_254.bb => systemd_254.4.bb} (100%)

diff --git a/meta/recipes-core/systemd/systemd-boot_254.bb 
b/meta/recipes-core/systemd/systemd-boot_254.4.bb
similarity index 100%
rename from meta/recipes-core/systemd/systemd-boot_254.bb
rename to meta/recipes-core/systemd/systemd-boot_254.4.bb
diff --git a/meta/recipes-core/systemd/systemd.inc 
b/meta/recipes-core/systemd/systemd.inc
index e5686fbe445..3ba0b5ffc58 100644
--- a/meta/recipes-core/systemd/systemd.inc
+++ b/meta/recipes-core/systemd/systemd.inc
@@ -14,10 +14,8 @@ LICENSE = "GPL-2.0-only & LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
 
file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
 
-SRCREV = "994c7978608a0bd9b317f4f74ff266dd50a3e74e"
+SRCREV = "2e7504449a51fb38db9cd2da391c6434f82def51"
 SRCBRANCH = "v254-stable"
-SRC_URI = 
"git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} 
\
-   file://0001-elf2efi-Fix-header-size-calculation.patch \
-   "
+SRC_URI = 
"git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH}"
 
 S = "${WORKDIR}/git"
diff --git 
a/meta/recipes-core/systemd/systemd/0001-elf2efi-Fix-header-size-calculation.patch
 
b/meta/recipes-core/systemd/systemd/0001-elf2efi-Fix-header-size-calculation.patch
deleted file mode 100644
index 0e8924d27d4..000
--- 
a/meta/recipes-core/systemd/systemd/0001-elf2efi-Fix-header-size-calculation.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From d082d6502fa86e08dda858933838dde0406b824f Mon Sep 17 00:00:00 2001
-From: Jan Janssen 
-Date: Sun, 30 Jul 2023 20:59:04 +0200
-Subject: [PATCH] elf2efi: Fix header size calculation
-
-The PE header size calculation failed to take the PE magic and coff
-header size into account, which will lead to header truncation if we are
-writing only 5 sections.
-
-Upstream-Status: Backport 
[https://github.com/systemd/systemd/commit/ee91e06a5841c30bc7306260528ef407e0ebbab3]
-
-Signed-off-by: Jose Quaresma 

- tools/elf2efi.py | 12 ++--
- 1 file changed, 10 insertions(+), 2 deletions(-)
-
-diff --git a/tools/elf2efi.py b/tools/elf2efi.py
-index e233c8e3ab..2e478940f5 100755
 a/tools/elf2efi.py
-+++ b/tools/elf2efi.py
-@@ -210,6 +210,7 @@ FILE_ALIGNMENT = 512
- 
- # Nobody cares about DOS headers, so put the PE header right after.
- PE_OFFSET = 64
-+PE_MAGIC = b"PE\0\0"
- 
- 
- def align_to(x: int, align: int) -> int:
-@@ -304,7 +305,10 @@ def copy_sections(elf: ELFFile, opt: PeOptionalHeader) -> 
typing.List[PeSection]
- 
- 
- def apply_elf_relative_relocation(
--reloc: ElfRelocation, image_base: int, sections: typing.List[PeSection], 
addend_size: int
-+reloc: ElfRelocation,
-+image_base: int,
-+sections: typing.List[PeSection],
-+addend_size: int,
- ):
- # fmt: off
- [target] = [
-@@ -439,7 +443,7 @@ def write_pe(
- file.seek(0x3C, io.SEEK_SET)
- file.write(PE_OFFSET.to_bytes(2, byteorder="little"))
- file.seek(PE_OFFSET, io.SEEK_SET)
--file.write(b"PE\0\0")
-+file.write(PE_MAGIC)
- file.write(coff)
- file.write(opt)
- 
-@@ -453,6 +457,8 @@ def write_pe(
- file.write(pe_s)
- offset = align_to(offset + len(pe_s.data), FILE_ALIGNMENT)
- 
-+assert file.tell() <= opt.SizeOfHeaders
-+
- for pe_s in sections:
- file.seek(pe_s.PointerToRawData, io.SEEK_SET)
- file.write(pe_s.data)
-@@ -515,6 +521,8 @@ def elf2efi(args: argparse.Namespace):
- 
- opt.SizeOfHeaders = align_to(
- PE_OFFSET
-++ len(PE_MAGIC)
-++ sizeof(PeCoffHeader)
- + coff.SizeOfOptionalHeader
- + sizeof(PeSection) * max(coff.NumberOfSections, 
args.minimum_sections),
- FILE_ALIGNMENT,
--- 
-2.34.1
-
diff --git a/meta/recipes-core/systemd/systemd_254.bb 
b/meta/recipes-core/systemd/systemd_254.4.bb
similarity index 100%
rename from meta/recipes-core/systemd/systemd_254.bb
rename to meta/recipes-core/systemd/systemd_254.4.bb
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188045): 
https://lists.openembedded.org/g/openembedded-core/message/188045
Mute This Topic: https://lists.openembedded.org/mt/101516848/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/40] util-linux: upgrade 2.39.1 -> 2.39.2

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...til-linux-libuuid_2.39.1.bb => util-linux-libuuid_2.39.2.bb} | 0
 meta/recipes-core/util-linux/util-linux.inc | 2 +-
 .../util-linux/{util-linux_2.39.1.bb => util-linux_2.39.2.bb}   | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/util-linux/{util-linux-libuuid_2.39.1.bb => 
util-linux-libuuid_2.39.2.bb} (100%)
 rename meta/recipes-core/util-linux/{util-linux_2.39.1.bb => 
util-linux_2.39.2.bb} (100%)

diff --git a/meta/recipes-core/util-linux/util-linux-libuuid_2.39.1.bb 
b/meta/recipes-core/util-linux/util-linux-libuuid_2.39.2.bb
similarity index 100%
rename from meta/recipes-core/util-linux/util-linux-libuuid_2.39.1.bb
rename to meta/recipes-core/util-linux/util-linux-libuuid_2.39.2.bb
diff --git a/meta/recipes-core/util-linux/util-linux.inc 
b/meta/recipes-core/util-linux/util-linux.inc
index 57f366f6c08..952a680a849 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -38,4 +38,4 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
file://0001-lscpu-Use-4K-buffer-size-instead-of-BUFSIZ.patch \
"
 
-SRC_URI[sha256sum] = 
"890ae8ff810247bd19e274df76e8371d202cda01ad277681b0ea88eeaa00286b"
+SRC_URI[sha256sum] = 
"87abdfaa8e490f8be6dde976f7c80b9b5ff9f301e1b67e3899e1f05a59a1531f"
diff --git a/meta/recipes-core/util-linux/util-linux_2.39.1.bb 
b/meta/recipes-core/util-linux/util-linux_2.39.2.bb
similarity index 100%
rename from meta/recipes-core/util-linux/util-linux_2.39.1.bb
rename to meta/recipes-core/util-linux/util-linux_2.39.2.bb
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188046): 
https://lists.openembedded.org/g/openembedded-core/message/188046
Mute This Topic: https://lists.openembedded.org/mt/101516849/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/40] cmake: upgrade 3.27.4 -> 3.27.5

2023-09-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../cmake/{cmake-native_3.27.4.bb => cmake-native_3.27.5.bb}| 0
 meta/recipes-devtools/cmake/cmake.inc   | 2 +-
 .../recipes-devtools/cmake/{cmake_3.27.4.bb => cmake_3.27.5.bb} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/cmake/{cmake-native_3.27.4.bb => 
cmake-native_3.27.5.bb} (100%)
 rename meta/recipes-devtools/cmake/{cmake_3.27.4.bb => cmake_3.27.5.bb} (100%)

diff --git a/meta/recipes-devtools/cmake/cmake-native_3.27.4.bb 
b/meta/recipes-devtools/cmake/cmake-native_3.27.5.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake-native_3.27.4.bb
rename to meta/recipes-devtools/cmake/cmake-native_3.27.5.bb
diff --git a/meta/recipes-devtools/cmake/cmake.inc 
b/meta/recipes-devtools/cmake/cmake.inc
index 430f13f4e17..ef4eec5ab1b 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -19,7 +19,7 @@ CMAKE_MAJOR_VERSION = 
"${@'.'.join(d.getVar('PV').split('.')[0:2])}"
 SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
 "
 
-SRC_URI[sha256sum] = 
"0a905ca8635ca81aa152e123bdde7e54cbe764fdd9a70d62af44cad8b92967af"
+SRC_URI[sha256sum] = 
"5175e8fe1ca9b1dd09090130db7201968bcce1595971ff9e9998c2f0765004c9"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/cmake/cmake_3.27.4.bb 
b/meta/recipes-devtools/cmake/cmake_3.27.5.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake_3.27.4.bb
rename to meta/recipes-devtools/cmake/cmake_3.27.5.bb
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188047): 
https://lists.openembedded.org/g/openembedded-core/message/188047
Mute This Topic: https://lists.openembedded.org/mt/101516850/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][PATCHv6] vte: upgrade 2.72.2 -> 2.74.0

2023-09-22 Thread Alexander Kanavin
On Fri, 22 Sept 2023 at 08:42, Alexandre Belloni
 wrote:
> IT was on v3. nodistro is not an esoteric configuration. Honestly,
> while poky is great for testing, this is an awful distro for an actual
> product. Way to many features are enabled for most of the embedded
> platforms.

Right. I think there was a misunderstanding there, and what was meant
is 'plain poky'.

> I agree and I don't expect anyone to test mips, ppc, musl or x32 on
> their own but having a patch building fine with nodistro is a basic
> test.
> 32bit is pretty much alive though as we have seen new 32bit SoCs getting
> released this year. There were even ARMv5 SoCs released just last year.

No. Absolutely not. I strongly disagree with this notion of imposing
arbitrary additional configurations that 'must' be tested before
submission, be it nodistro, 32 bit or something else that someone
thinks is important. The only expectation we should have is that the
submissions are tested on poky with its default configuration, which
is qemux86_64. Anything else should be exposed by the AB. Otherwise
the barrier to contributing becomes high enough that contributors will
give up and move to Debian. Or buildroot.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188044): 
https://lists.openembedded.org/g/openembedded-core/message/188044
Mute This Topic: https://lists.openembedded.org/mt/101484377/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] classes/create-spdx-2.2: Add missing import oe.packagedata

2023-09-22 Thread Richard Purdie
On Wed, 2023-09-20 at 10:30 -0500, Ryan Eatmon via
lists.openembedded.org wrote:
> Add missing import statement to fix build failures:
> 
> File: 
> '/scratch/jenkins_builds/arago-master-wip/build/sources/oe-core/meta/classes/create-spdx-2.2.bbclass',
>  lineno: 722, function: collect_package_providers
>  0718:deps.append((d.getVar("PN"), d.getVar("BB_HASHFILENAME")))
>  0719:
>  0720:for dep_pn, dep_hashfn in deps:
>  0721:localdata = d
>  *** 0722:recipe_data = oe.packagedata.read_pkgdata(dep_pn, localdata)
>  0723:if not recipe_data:
>  0724:localdata = bb.data.createCopy(d)
>  0725:localdata.setVar("PKGDATA_DIR", "${PKGDATA_DIR_SDK}")
>  0726:recipe_data = oe.packagedata.read_pkgdata(dep_pn, 
> localdata)
> Exception: AttributeError: module 'oe' has no attribute 'packagedata'
> 
> Signed-off-by: Ryan Eatmon 
> ---
>  meta/classes/create-spdx-2.2.bbclass | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/classes/create-spdx-2.2.bbclass 
> b/meta/classes/create-spdx-2.2.bbclass
> index 9b28d124c7..ff319207f7 100644
> --- a/meta/classes/create-spdx-2.2.bbclass
> +++ b/meta/classes/create-spdx-2.2.bbclass
> @@ -708,6 +708,7 @@ def collect_package_providers(d):
>  from pathlib import Path
>  import oe.sbom
>  import oe.spdx
> +import oe.packagedata
>  import json
>  
>  deploy_dir_spdx = Path(d.getVar("DEPLOY_DIR_SPDX"))

We've realised that packagedata is missing in BBIMPORTS in
meta/lib/oe/__init__.py which should fix this but also add missing
dependency information so I'm likely to go with that change and this
one shouldn't be needed. Let me know if that isn't the case.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188043): 
https://lists.openembedded.org/g/openembedded-core/message/188043
Mute This Topic: https://lists.openembedded.org/mt/101480881/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 V4] tar: add ptest support

2023-09-22 Thread Alexander Kanavin
On Fri, 22 Sept 2023 at 08:41, qi...@fujitsu.com  wrote:
> +tar: add support of --am-fmt
> +
> +Add --am-fmt into testsuites.
> +
> +Upstream-Status: Inappropriate [oe specific]
> +
> +Signed-off-by: Qiu Tingting 
> +
> +diff -rNu a/tests/testsuite b/tests/testsuite
> +--- a/tests/testsuite  2023-09-22 13:42:29.696287678 +0800
>  b/tests/testsuite  2023-09-22 13:54:54.592276865 +0800

This file a generated from a template, and so patching it after the
fact it isn't correct, even if a generated version is included into
the upstream tarball.

You need to find a way to regenerate it from the template in sysroot
that comes from autoconf, and is already correctly patched. This
requires finding out where the generating code is and how to trigger
it.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188042): 
https://lists.openembedded.org/g/openembedded-core/message/188042
Mute This Topic: https://lists.openembedded.org/mt/101516441/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][PATCHv6] vte: upgrade 2.72.2 -> 2.74.0

2023-09-22 Thread Alexandre Belloni via lists.openembedded.org
On 22/09/2023 07:18:07+0200, Alexander Kanavin wrote:
> On Thu, 21 Sept 2023 at 22:59, Alexandre Belloni via
> lists.openembedded.org
>  wrote:
> >
> > BTW, I'd like you to test patches before sending because you claimed
> > this was tested with oe-core but this was definitively not. The fact
> > that we are at v6 and this still breaks builds so early is very
> > annoying.
> 
> Was this claimed somewhere? I am not seeing it. The latest breakage is
> on an esoteric configuration (oecore without poky, which has a
> different set of default distro features), so I do not think it is
> fair to expect submissions would be tested there upfront.
> 

IT was on v3. nodistro is not an esoteric configuration. Honestly,
while poky is great for testing, this is an awful distro for an actual
product. Way to many features are enabled for most of the embedded
platforms.

> Testing on poky for a basic target is expected, and was done, but
> things like 32 bit, musl, retro computing platforms like ppc or mips
> are on the AB to run through. Otherwise submitters will just decide
> it's not worth the trouble to contribute, and we're back to me doing
> the bulk of the updates, which is the outcome I am not going to
> appreciate.

I agree and I don't expect anyone to test mips, ppc, musl or x32 on
their own but having a patch building fine with nodistro is a basic
test.
32bit is pretty much alive though as we have seen new 32bit SoCs getting
released this year. There were even ARMv5 SoCs released just last year.


-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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



  1   2   >