[OE-core] [PATCH] zlib: upgrade 1.2.13 -> 1.3

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:

- Remove K&R function definitions and zlib2ansi
- Fix bug in deflateBound() for level 0 and memLevel 9
- Fix bug when gzungetc() is used immediately after gzopen()
- Fix bug when using gzflush() with a very small buffer
- Fix crash when gzsetparams() attempted for transparent write
- Fix test/example.c to work with FORCE_STORED
- Rewrite of zran in examples (see zran.c version history)
- Fix minizip to allow it to open an empty zip file
- Fix reading disk number start on zip64 files in minizip
- Fix logic error in minizip argument processing
- Add minizip testing to Makefile
- Read multiple bytes instead of byte-by-byte in minizip unzip.c
- Add memory sanitizer to configure (--memory)
- Various portability improvements
- Various documentation improvements
- Various spelling and typo corrections

Signed-off-by: Wang Mingyu 
---
 meta/recipes-core/zlib/{zlib_1.2.13.bb => zlib_1.3.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/zlib/{zlib_1.2.13.bb => zlib_1.3.bb} (93%)

diff --git a/meta/recipes-core/zlib/zlib_1.2.13.bb 
b/meta/recipes-core/zlib/zlib_1.3.bb
similarity index 93%
rename from meta/recipes-core/zlib/zlib_1.2.13.bb
rename to meta/recipes-core/zlib/zlib_1.3.bb
index ec977a3035..c8fd855ee6 100644
--- a/meta/recipes-core/zlib/zlib_1.2.13.bb
+++ b/meta/recipes-core/zlib/zlib_1.3.bb
@@ -13,7 +13,7 @@ SRC_URI = "https://zlib.net/${BP}.tar.gz \
"
 UPSTREAM_CHECK_URI = "http://zlib.net/";
 
-SRC_URI[sha256sum] = 
"b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30"
+SRC_URI[sha256sum] = 
"ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e"
 
 # When a new release is made the previous release is moved to fossils/, so add 
this
 # to PREMIRRORS so it is also searched automatically.
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186960): 
https://lists.openembedded.org/g/openembedded-core/message/186960
Mute This Topic: https://lists.openembedded.org/mt/101067098/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] xz: upgrade 5.4.3 -> 5.4.4

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
* liblzma and xzdec can now build against WASI SDK when threading
  support is disabled. xz and tests don't build yet.

* CMake:

- Fixed a bug preventing other projects from including liblzma
  multiple times using find_package().

- Don't create broken symlinks in Cygwin and MSYS2 unless
  supported by the environment. This prevented building for the
  default MSYS2 environment. The problem was introduced in
  xz 5.4.0.

* Documentation:

- Small improvements to man pages.

- Small improvements and typo fixes for liblzma API
  documentation.

* Tests:

- Added a new section to INSTALL to describe basic test usage
  and address recent questions about building the tests when
  cross compiling.

- Small fixes and improvements to the tests.

* Translations:

- Fixed a mistake that caused one of the error messages to not
  be translated. This only affected versions 5.4.2 and 5.4.3.

- Updated the Chinese (simplified), Croatian, Esperanto, German,
  Korean, Polish, Romanian, Spanish, Swedish, Ukrainian, and
  Vietnamese translations.

- Updated the German, Korean, Romanian, and Ukrainian man page
  translations.

Signed-off-by: Wang Mingyu 
---
 meta/recipes-extended/xz/{xz_5.4.3.bb => xz_5.4.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/xz/{xz_5.4.3.bb => xz_5.4.4.bb} (95%)

diff --git a/meta/recipes-extended/xz/xz_5.4.3.bb 
b/meta/recipes-extended/xz/xz_5.4.4.bb
similarity index 95%
rename from meta/recipes-extended/xz/xz_5.4.3.bb
rename to meta/recipes-extended/xz/xz_5.4.4.bb
index e1cdac3014..90f4c3d82c 100644
--- a/meta/recipes-extended/xz/xz_5.4.3.bb
+++ b/meta/recipes-extended/xz/xz_5.4.4.bb
@@ -25,7 +25,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=c8ea84ebe7b93cce676b54355dc6b2c0 \
 "
 
 SRC_URI = "https://tukaani.org/xz/xz-${PV}.tar.gz";
-SRC_URI[sha256sum] = 
"1c382e0bc2e4e0af58398a903dd62fff7e510171d2de47a1ebe06d1528e9b7e9"
+SRC_URI[sha256sum] = 
"aae39544e254cfd27e942d35a048d592959bd7a79f9a624afb0498bb5613bdf8"
 UPSTREAM_CHECK_REGEX = "xz-(?P\d+(\.\d+)+)\.tar"
 
 CACHED_CONFIGUREVARS += "gl_cv_posix_shell=/bin/sh"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186959): 
https://lists.openembedded.org/g/openembedded-core/message/186959
Mute This Topic: https://lists.openembedded.org/mt/101067095/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] sysklogd: upgrade 2.5.0 -> 2.5.2

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
- Issue #67: restore support for reading kernel logs from '/proc/kmsg',
  regression introduced in v2.4.0, issue #48.
- Issue #37: improved accuracy of the MARK timer, optional, default: 20
  minutes.  Generates log messages to files, which have had no activity
  within the MARK interval.  Was off by up to 'interval / 2' minutes.
  It may now be off by up to '1 / 2' minutes, i.e.g, 30 seconds.
- Issue #64: sub-second faking of kernel timestamps was always zero

Signed-off-by: Wang Mingyu 
---
 .../sysklogd/{sysklogd_2.5.0.bb => sysklogd_2.5.2.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/sysklogd/{sysklogd_2.5.0.bb => sysklogd_2.5.2.bb} 
(97%)

diff --git a/meta/recipes-extended/sysklogd/sysklogd_2.5.0.bb 
b/meta/recipes-extended/sysklogd/sysklogd_2.5.2.bb
similarity index 97%
rename from meta/recipes-extended/sysklogd/sysklogd_2.5.0.bb
rename to meta/recipes-extended/sysklogd/sysklogd_2.5.2.bb
index 096bd376d7..c9c9055142 100644
--- a/meta/recipes-extended/sysklogd/sysklogd_2.5.0.bb
+++ b/meta/recipes-extended/sysklogd/sysklogd_2.5.2.bb
@@ -14,7 +14,7 @@ SRC_URI = 
"git://github.com/troglobit/sysklogd.git;branch=master;protocol=https
file://sysklogd \
"
 
-SRCREV = "b6d1ae26671a85e6087c98ec8b630855fc52886a"
+SRCREV = "3332c550f1a68393daec5d64cd81f3b7674c0af5"
 
 S = "${WORKDIR}/git"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186958): 
https://lists.openembedded.org/g/openembedded-core/message/186958
Mute This Topic: https://lists.openembedded.org/mt/101067090/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] sqlite3: upgrade 3.42.0 -> 3.43.0

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
==
-Add support for Contentless-Delete FTS5 Indexes.
-Enhancements to the date and time functions:
-Added the octet_length(X) SQL function.
-Added the sqlite3_stmt_explain() API.

Signed-off-by: Wang Mingyu 
---
 .../sqlite/{sqlite3_3.42.0.bb => sqlite3_3.43.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/sqlite/{sqlite3_3.42.0.bb => sqlite3_3.43.0.bb} 
(69%)

diff --git a/meta/recipes-support/sqlite/sqlite3_3.42.0.bb 
b/meta/recipes-support/sqlite/sqlite3_3.43.0.bb
similarity index 69%
rename from meta/recipes-support/sqlite/sqlite3_3.42.0.bb
rename to meta/recipes-support/sqlite/sqlite3_3.43.0.bb
index 8783f620f4..e6d7bb9cd5 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.42.0.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.43.0.bb
@@ -4,5 +4,5 @@ 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] = 
"7abcfd161c6e2742ca5c6c0895d1f853c940f203304a0b49da4e1eca5d088ca6"
+SRC_URI[sha256sum] = 
"49008dbf3afc04d4edc8ecfc34e4ead196973034293c997adad2f63f01762ae1"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186957): 
https://lists.openembedded.org/g/openembedded-core/message/186957
Mute This Topic: https://lists.openembedded.org/mt/101067086/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] shaderc: upgrade 2023.5 -> 2023.6

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
- Update dependencies, including SPIRV-Tools v2023.4.rc2

Signed-off-by: Wang Mingyu 
---
 .../shaderc/{shaderc_2023.5.bb => shaderc_2023.6.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/shaderc/{shaderc_2023.5.bb => shaderc_2023.6.bb} 
(95%)

diff --git a/meta/recipes-graphics/shaderc/shaderc_2023.5.bb 
b/meta/recipes-graphics/shaderc/shaderc_2023.6.bb
similarity index 95%
rename from meta/recipes-graphics/shaderc/shaderc_2023.5.bb
rename to meta/recipes-graphics/shaderc/shaderc_2023.6.bb
index 8d2f4551ab..5afdec5ce9 100644
--- a/meta/recipes-graphics/shaderc/shaderc_2023.5.bb
+++ b/meta/recipes-graphics/shaderc/shaderc_2023.6.bb
@@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/google/shaderc";
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
 
-SRCREV = "7428c8d5f6b200910fbd32fa0ca0b0244ace6482"
+SRCREV = "9547789ecfa1be140327057e766ba80666b66e21"
 SRC_URI = "git://github.com/google/shaderc.git;protocol=https;branch=main \
file://0001-cmake-disable-building-external-dependencies.patch \
file://0002-libshaderc_util-fix-glslang-header-file-location.patch \
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186956): 
https://lists.openembedded.org/g/openembedded-core/message/186956
Mute This Topic: https://lists.openembedded.org/mt/101067077/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] repo: upgrade 2.35 -> 2.36.1

2023-08-30 Thread wangmy
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 meta/recipes-devtools/repo/{repo_2.35.bb => repo_2.36.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/repo/{repo_2.35.bb => repo_2.36.1.bb} (95%)

diff --git a/meta/recipes-devtools/repo/repo_2.35.bb 
b/meta/recipes-devtools/repo/repo_2.36.1.bb
similarity index 95%
rename from meta/recipes-devtools/repo/repo_2.35.bb
rename to meta/recipes-devtools/repo/repo_2.36.1.bb
index d34c3db746..a3b43439f2 100644
--- a/meta/recipes-devtools/repo/repo_2.35.bb
+++ b/meta/recipes-devtools/repo/repo_2.36.1.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 SRC_URI = 
"git://gerrit.googlesource.com/git-repo.git;protocol=https;branch=main \
file://0001-python3-shebang.patch \
"
-SRCREV = "c657844efe40b97700c3654989bdbe3a33e409d7"
+SRCREV = "1e9f7b9e9ef473305d10a26a48138bc6ad38ccf6"
 
 MIRRORS += "git://gerrit.googlesource.com/git-repo.git 
git://github.com/GerritCodeReview/git-repo.git"
 
-- 
2.34.1


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



[OE-core] [PATCH] python3-wheel: upgrade 0.41.1 -> 0.41.2

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:

-Fixed platform tag detection for GraalPy and 32-bit python running on an
 aarch64 kernel
-Fixed wheel tags to not list directories in RECORD files
-Fixed ABI tag generation for GraalPy

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

diff --git a/meta/recipes-devtools/python/python3-wheel_0.41.1.bb 
b/meta/recipes-devtools/python/python3-wheel_0.41.2.bb
similarity index 85%
rename from meta/recipes-devtools/python/python3-wheel_0.41.1.bb
rename to meta/recipes-devtools/python/python3-wheel_0.41.2.bb
index 8eb931b5c9..d11c6a857a 100644
--- a/meta/recipes-devtools/python/python3-wheel_0.41.1.bb
+++ b/meta/recipes-devtools/python/python3-wheel_0.41.2.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7ffb0db04527cfe380e4f2726bd05ebf"
 
-SRC_URI[sha256sum] = 
"12b911f083e876e10c595779709f8a88a59f45aacc646492a67fe9ef796c1b47"
+SRC_URI[sha256sum] = 
"0c5ac5ff2afb79ac23ab82bab027a0be7b5dbcf2e54dc50efe4bf507de1f7985"
 
 inherit python_flit_core pypi
 
-- 
2.34.1


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



[OE-core] [PATCH] python3-sphinx-rtd-theme: upgrade 1.2.2 -> 1.3.0

2023-08-30 Thread wangmy
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 ...inx-rtd-theme_1.2.2.bb => python3-sphinx-rtd-theme_1.3.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-sphinx-rtd-theme_1.2.2.bb => 
python3-sphinx-rtd-theme_1.3.0.bb} (88%)

diff --git a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.2.2.bb 
b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.3.0.bb
similarity index 88%
rename from meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.2.2.bb
rename to meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.3.0.bb
index 0fac83a1c9..83bf705766 100644
--- a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.2.2.bb
+++ b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_1.3.0.bb
@@ -13,7 +13,7 @@ RDEPENDS:${PN} += " \
 
 PYPI_PACKAGE = "sphinx_rtd_theme"
 
-SRC_URI[sha256sum] = 
"01c5c5a72e2d025bd23d1f06c59a4831b06e6ce6c01fdd5ebfe9986c0a880fc7"
+SRC_URI[sha256sum] = 
"590b030c7abb9cf038ec053b95e5380b5c70d61591eb0b552063fbe7c41f0931"
 UPSTREAM_CHECK_REGEX ?= "/sphinx-rtd-theme/(?P(\d+[\.\-_]*)+)/"
 
 inherit setuptools3 pypi
-- 
2.34.1


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



[OE-core] [PATCH] python3-setuptools: upgrade 68.1.0 -> 68.1.2

2023-08-30 Thread wangmy
From: Wang Mingyu 

0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for new version.

Changelog:
-Fix editable install finder handling of nested packages, by only handling 1
 level of nesting and relying on importlib.machinery to find the remaining
 modules based on the parent package path. 

Signed-off-by: Wang Mingyu 
---
 ...nditionally-do-not-fetch-code-by-easy_install.patch | 10 --
 ...tuptools_68.1.0.bb => python3-setuptools_68.1.2.bb} |  2 +-
 2 files changed, 5 insertions(+), 7 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools_68.1.0.bb => 
python3-setuptools_68.1.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 1e5ab498a4..84a9492caf 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 5e603da9c01ccb828a03ea3e82d15599971f794f Mon Sep 17 00:00:00 2001
+From c90cc4a07ce6d2b7128e37d811d0c6bbc4b905a6 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia 
 Date: Tue, 17 Jul 2018 10:13:38 +0800
 Subject: [PATCH] conditionally do not fetch code by easy_install
@@ -9,15 +9,16 @@ internet by easy_install.
 Upstream-Status: Inappropriate [oe specific]
 
 Signed-off-by: Hongxu Jia 
+
 ---
  setuptools/command/easy_install.py | 5 +
  1 file changed, 5 insertions(+)
 
 diff --git a/setuptools/command/easy_install.py 
b/setuptools/command/easy_install.py
-index 0b8d1159..93308060 100644
+index 8ba4f09..8ea40c5 100644
 --- a/setuptools/command/easy_install.py
 +++ b/setuptools/command/easy_install.py
-@@ -644,6 +644,11 @@ class easy_install(Command):
+@@ -676,6 +676,11 @@ class easy_install(Command):
  os.path.exists(tmpdir) and _rmtree(tmpdir)
  
  def easy_install(self, spec, deps=False):
@@ -29,6 +30,3 @@ index 0b8d1159..93308060 100644
  with self._tmpdir() as tmpdir:
  if not isinstance(spec, Requirement):
  if URL_SCHEME(spec):
--- 
-2.41.0
-
diff --git a/meta/recipes-devtools/python/python3-setuptools_68.1.0.bb 
b/meta/recipes-devtools/python/python3-setuptools_68.1.2.bb
similarity index 95%
rename from meta/recipes-devtools/python/python3-setuptools_68.1.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_68.1.2.bb
index e04cd1dcd0..a1e84b635c 100644
--- a/meta/recipes-devtools/python/python3-setuptools_68.1.0.bb
+++ b/meta/recipes-devtools/python/python3-setuptools_68.1.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] = 
"d59c97e7b774979a5ccb96388efc9eb65518004537e85d52e81eaee89ab6dd91"
+SRC_URI[sha256sum] = 
"3d4dfa6d95f1b101d695a6160a7626e15583af71a5f52176efa5d39a054d475d"
 
 DEPENDS += "${PYTHON_PN}"
 
-- 
2.34.1


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



[OE-core] [PATCH] python3-pluggy: upgrade 1.2.0 -> 1.3.0

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
#426: Python 3.7 is no longer supported.
#428: Pluggy now exposes its typings to static type checkers.

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

diff --git a/meta/recipes-devtools/python/python3-pluggy_1.2.0.bb 
b/meta/recipes-devtools/python/python3-pluggy_1.3.0.bb
similarity index 88%
rename from meta/recipes-devtools/python/python3-pluggy_1.2.0.bb
rename to meta/recipes-devtools/python/python3-pluggy_1.3.0.bb
index 3322bb523b..c149cbb0e2 100644
--- a/meta/recipes-devtools/python/python3-pluggy_1.2.0.bb
+++ b/meta/recipes-devtools/python/python3-pluggy_1.3.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pytest-dev/pluggy";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
 
-SRC_URI[sha256sum] = 
"d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3"
+SRC_URI[sha256sum] = 
"cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12"
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 RDEPENDS:${PN} += "${PYTHON_PN}-importlib-metadata \
-- 
2.34.1


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



[OE-core] [PATCH] python3-hypothesis: upgrade 6.82.5 -> 6.82.7

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
=
- updates our autoformatting tools, improving our code style without any API 
changes.
- enables and fixes many more of ruff‘s lint rules.

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

diff --git a/meta/recipes-devtools/python/python3-hypothesis_6.82.5.bb 
b/meta/recipes-devtools/python/python3-hypothesis_6.82.7.bb
similarity index 91%
rename from meta/recipes-devtools/python/python3-hypothesis_6.82.5.bb
rename to meta/recipes-devtools/python/python3-hypothesis_6.82.7.bb
index 89efeff633..5df95eb67b 100644
--- a/meta/recipes-devtools/python/python3-hypothesis_6.82.5.bb
+++ b/meta/recipes-devtools/python/python3-hypothesis_6.82.7.bb
@@ -13,7 +13,7 @@ SRC_URI += " \
 file://test_rle.py \
 "
 
-SRC_URI[sha256sum] = 
"41e78b4cbc0a36b38729a761e31b92d81d87a60a297994c03f2ccb2c946f5ebd"
+SRC_URI[sha256sum] = 
"06069ff2f18b530a253c0b853b9fae299369cf8f025b3ad3b86ee7131ecd3207"
 
 RDEPENDS:${PN} += " \
 python3-attrs \
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186950): 
https://lists.openembedded.org/g/openembedded-core/message/186950
Mute This Topic: https://lists.openembedded.org/mt/101067010/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] pkgconf: upgrade 1.9.5 -> 2.0.2

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
* Fix long-standing bug where package identifiers for "uninstalled"
  packages incorrectly included the "-uninstalled" suffix.
* The behavior of --modversion was largely reverted back to the traditional
  pkg-config behavior, but still operates on a solved dependency graph.
* A new flag, --verbose, has been added.
* When flattening the dependency graph, retain the latest seen edges
  rather than the earliest.
* Fix a long-standing bug where the dependency resolution queue was
  evaluated in reverse.  This bug masked the aforementioned dependency
  flattening bug in many cases.
* Fix handling of --with-path, which was appending paths to the search
  list rather than prepending them as intended.
* Error when --modversion is requested with more than one package, as
  the output is ambiguous.

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

diff --git a/meta/recipes-devtools/pkgconf/pkgconf_1.9.5.bb 
b/meta/recipes-devtools/pkgconf/pkgconf_2.0.2.bb
similarity index 96%
rename from meta/recipes-devtools/pkgconf/pkgconf_1.9.5.bb
rename to meta/recipes-devtools/pkgconf/pkgconf_2.0.2.bb
index ab1d1c84e8..c6badb123e 100644
--- a/meta/recipes-devtools/pkgconf/pkgconf_1.9.5.bb
+++ b/meta/recipes-devtools/pkgconf/pkgconf_2.0.2.bb
@@ -20,7 +20,7 @@ SRC_URI = "\
 file://pkg-config-native.in \
 file://pkg-config-esdk.in \
 "
-SRC_URI[sha256sum] = 
"1ac1656debb27497563036f7bffc281490f83f9b8457c0d60bcfb638fb6b6171"
+SRC_URI[sha256sum] = 
"ea5a25ef8f251eb5377ec0e21c75fb61894433cfbdbf0b2559ba33e4c2664401"
 
 inherit autotools
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186949): 
https://lists.openembedded.org/g/openembedded-core/message/186949
Mute This Topic: https://lists.openembedded.org/mt/101066989/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] pigz: upgrade 2.7 -> 2.8

2023-08-30 Thread wangmy
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 meta/recipes-extended/pigz/{pigz_2.7.bb => pigz_2.8.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/pigz/{pigz_2.7.bb => pigz_2.8.bb} (94%)

diff --git a/meta/recipes-extended/pigz/pigz_2.7.bb 
b/meta/recipes-extended/pigz/pigz_2.8.bb
similarity index 94%
rename from meta/recipes-extended/pigz/pigz_2.7.bb
rename to meta/recipes-extended/pigz/pigz_2.8.bb
index 9a1c591b27..fcf0c93e41 100644
--- a/meta/recipes-extended/pigz/pigz_2.7.bb
+++ b/meta/recipes-extended/pigz/pigz_2.8.bb
@@ -9,7 +9,7 @@ LICENSE = "Zlib & Apache-2.0"
 LIC_FILES_CHKSUM = 
"file://pigz.c;md5=9ae6dee8ceba9610596ed0ada493d142;beginline=7;endline=21"
 
 SRC_URI = "http://zlib.net/${BPN}/fossils/${BP}.tar.gz";
-SRC_URI[sha256sum] = 
"b4c9e60344a08d5db37ca7ad00a5b2c76ccb9556354b722d56d55ca7e8b1c707"
+SRC_URI[sha256sum] = 
"eb872b4f0e1f0ebe59c9f7bd8c506c4204893ba6a8492de31df416f0d5170fd0"
 PROVIDES:class-native += "gzip-native"
 
 # Point this at the homepage in case /fossils/ isn't updated
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186948): 
https://lists.openembedded.org/g/openembedded-core/message/186948
Mute This Topic: https://lists.openembedded.org/mt/101066972/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] pango: upgrade 1.50.14 -> 1.51.0

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
- itemize: Improve script itemization
- build: Check for cairo DWrite dependency
- win32: Fix various issues and crashes
- layout: Add a missing switch case

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

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


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



[OE-core] [PATCH] python3: upgrade 3.11.4 -> 3.11.5

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:

-gh-104432: Fix potential unaligned memory access on C APIs involving returned
 sequences of char * pointers within the grp and socket modules. These were
 revealed using a -fsaniziter=alignment build on ARM macOS.
-gh-77377: Ensure that multiprocessing synchronization objects created in a fork
 context are not sent to a different process created in a spawn context.
 This changes a segfault into an actionable RuntimeError in the parent process.
-gh-106092: Fix a segmentation fault caused by a use-after-free bug in 
frame_dealloc when the trashcan delays the deallocation of a PyFrameObject.
-gh-106719: No longer suppress arbitrary errors in the __annotations__ getter 
and setter in the type and module types.
-gh-106723: Propagate frozen_modules to multiprocessing spawned process 
interpreters.
-gh-105979: Fix crash in _imp.get_frozen_object() due to improper exception 
handling.
-gh-105840: Fix possible crashes when specializing function calls with too many 
__defaults__.
-gh-105588: Fix an issue that could result in crashes when compiling malformed 
ast nodes.
-gh-105375: Fix bugs in the builtins module where exceptions could end up being 
overwritten.
-gh-105375: Fix bug in the compiler where an exception could end up being 
overwritten.
-gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() where an 
exception could end up being overwritten.
-gh-105235: Prevent out-of-bounds memory access during mmap.find() calls.
--gh-101006: Improve error handling when read marshal data.

Signed-off-by: Wang Mingyu 
---
 .../python/{python3_3.11.4.bb => python3_3.11.5.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3_3.11.4.bb => python3_3.11.5.bb} 
(99%)

diff --git a/meta/recipes-devtools/python/python3_3.11.4.bb 
b/meta/recipes-devtools/python/python3_3.11.5.bb
similarity index 99%
rename from meta/recipes-devtools/python/python3_3.11.4.bb
rename to meta/recipes-devtools/python/python3_3.11.5.bb
index 8fd1382caa..416b5f174d 100644
--- a/meta/recipes-devtools/python/python3_3.11.4.bb
+++ b/meta/recipes-devtools/python/python3_3.11.5.bb
@@ -39,7 +39,7 @@ SRC_URI:append:class-native = " \
file://12-distutils-prefix-is-inside-staging-area.patch \
file://0001-Don-t-search-system-for-headers-libraries.patch \
"
-SRC_URI[sha256sum] = 
"2f0e409df2ab57aa9fc4cbddfb976af44e4e55bf6f619eee6bc5c2297264a7f6"
+SRC_URI[sha256sum] = 
"85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f"
 
 # exclude pre-releases for both python 2.x and 3.x
 UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P\d+(\.\d+)+).tar"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186946): 
https://lists.openembedded.org/g/openembedded-core/message/186946
Mute This Topic: https://lists.openembedded.org/mt/101066941/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] neard: upgrade 0.18 -> 0.19

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
  Fixed missing DBus org.neard.se.conf.
  Sync Linux kernel UAPI nfc.h header with newer kernel.
  NFC tag: Implement readout of tag UID via DBus interface.

Signed-off-by: Wang Mingyu 
---
 .../recipes-connectivity/neard/{neard_0.18.bb => neard_0.19.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-connectivity/neard/{neard_0.18.bb => neard_0.19.bb} (97%)

diff --git a/meta/recipes-connectivity/neard/neard_0.18.bb 
b/meta/recipes-connectivity/neard/neard_0.19.bb
similarity index 97%
rename from meta/recipes-connectivity/neard/neard_0.18.bb
rename to meta/recipes-connectivity/neard/neard_0.19.bb
index 362a7615b6..a98f436b98 100644
--- a/meta/recipes-connectivity/neard/neard_0.18.bb
+++ b/meta/recipes-connectivity/neard/neard_0.19.bb
@@ -15,7 +15,7 @@ SRC_URI = 
"git://git.kernel.org/pub/scm/network/nfc/neard.git;protocol=https;bra
file://0001-Add-header-dependency-to-nciattach.o.patch \
   "
 
-SRCREV = "c781008d3786e03173f0a0f5dfcc0545c787d7fc"
+SRCREV = "a1dc8a75cba999728e154a0f811ab9dd50c809f7"
 
 S = "${WORKDIR}/git"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186945): 
https://lists.openembedded.org/g/openembedded-core/message/186945
Mute This Topic: https://lists.openembedded.org/mt/101066934/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] mpfr: upgrade 4.2.0 -> 4.2.1

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
- Bug fixes (see  and/or the
  ChangeLog file).
- Improved MPFR manual.
- Configure tests: replaced the test of the link with GMP, in order to
  avoid the use of a function without a prototype (Autoconf issue), as
  this is obsolescent in ISO C. The new test should be more robust.

Signed-off-by: Wang Mingyu 
---
 meta/recipes-support/mpfr/{mpfr_4.2.0.bb => mpfr_4.2.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/mpfr/{mpfr_4.2.0.bb => mpfr_4.2.1.bb} (91%)

diff --git a/meta/recipes-support/mpfr/mpfr_4.2.0.bb 
b/meta/recipes-support/mpfr/mpfr_4.2.1.bb
similarity index 91%
rename from meta/recipes-support/mpfr/mpfr_4.2.0.bb
rename to meta/recipes-support/mpfr/mpfr_4.2.1.bb
index 31804382e0..a2067e1036 100644
--- a/meta/recipes-support/mpfr/mpfr_4.2.0.bb
+++ b/meta/recipes-support/mpfr/mpfr_4.2.1.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \
 DEPENDS = "gmp autoconf-archive-native"
 
 SRC_URI = "https://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.xz";
-SRC_URI[sha256sum] = 
"06a378df13501248c1b2db5aa977a2c8126ae849a9d9b7be2546fb4a9c26d993"
+SRC_URI[sha256sum] = 
"277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2"
 
 UPSTREAM_CHECK_URI = "http://www.mpfr.org/mpfr-current/";
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186944): 
https://lists.openembedded.org/g/openembedded-core/message/186944
Mute This Topic: https://lists.openembedded.org/mt/101066929/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] mc: upgrade 4.8.29 -> 4.8.30

2023-08-30 Thread wangmy
From: Wang Mingyu 

0001-mc-replace-perl-w-with-use-warnings.patch
removed since it's included in 4.8.30

Changelog:
==
- Core

* Support PCRE2 as search engine (via with-search-engine=pcre2) (#4450)
* Implement panelization buffers for both file panels (#4370)

- VFS
---
* tar: support extended headers (including long file names and sparse 
files) (#1952, #2201)
* extfs helpers: replace "perl -w" with "use warnings" 
(MidnightCommander/mc#174)
* extfs/patchfs: be more specific in error message (#4485)

- Editor
-
* Add syntax highlighting:
- Jenkinsfiles (#4469)
- B language (#4470)
* Improve syntax highlighting:
- ECMAScript (MidnightCommander/mc#172)
- ECMAScript in TypeScript (MidnightCommander/mc#172)
- use diff syntax highlighting for git commit messages (COMMIT_EDITMSG) 
(MidnightCommander/mc#85)

- Misc

* Code cleanup (#4426, #4438)
* Filehighlight:
- recognize vsix files as zip files (MidnightCommander/mc#171)
* Skin updates:
- julia256 (#4441, #4445)

- Fixes
--
* Usage of 'sed' in build system/makefiles is not portable (#4459, #4466)
* Unportable '$<' in Makefiles (#4460)
* FTBFS if ncurses used without --with-ncurses-includes= configure 
parameter (#4462)
* Ncurses library is duplicated in MCLIBS (#4463, #4465)
* FTBFS without ext2fs attributes support (#4464)
* Wrong sort order after swapping panels (#4432)
* Incorrect time delimiter in the copy/move progress window (#4437)
* Incorrect redraw of overlapped file panels (#4408)
* Subshell/Command line prompt is empty/missing (#3121)
* Find file: relative ignore directory is applied to the start search 
directory (#4235)
* Diff viewer: options are not applied on second run (#4486)
* mc.ext.ini: 'Edit' command from 'Default' section is ignored (#4434)
* mc.ext.ini: .md files are not recognized as Markdown ones by extension 
(#)
* mcedit: off-by-one error in paragraph formatting (#4446)
* ftp: incomplete file listing: block and character devices, pipes, sockets 
are missed (#4472)
* Various typos in the source code (MidnightCommander/mc#177, 
MidnightCommander/mc#178)

Signed-off-by: Wang Mingyu 
---
 ...-mc-replace-perl-w-with-use-warnings.patch | 127 --
 .../mc/{mc_4.8.29.bb => mc_4.8.30.bb} |   3 +-
 2 files changed, 1 insertion(+), 129 deletions(-)
 delete mode 100644 
meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch
 rename meta/recipes-extended/mc/{mc_4.8.29.bb => mc_4.8.30.bb} (95%)

diff --git 
a/meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch 
b/meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch
deleted file mode 100644
index 5ede82d342..00
--- 
a/meta/recipes-extended/mc/files/0001-mc-replace-perl-w-with-use-warnings.patch
+++ /dev/null
@@ -1,127 +0,0 @@
-From 62c86b69106d0d702167ba1b963ea1c201cce5af Mon Sep 17 00:00:00 2001
-From: Robert Yang 
-Date: Thu, 6 Apr 2017 02:24:28 -0700
-Subject: [PATCH] mc: replace "perl -w" with "use warnings"
-
-The shebang's max length is usually 128 as defined in
-/usr/include/linux/binfmts.h:
-  #define BINPRM_BUF_SIZE 128
-
-There would be errors when @PERL@ is longer than 128, use
-'/usr/bin/env perl' can fix the problem, but '/usr/bin/env perl -w'
-doesn't work:
-
-/usr/bin/env: perl -w: No such file or directory
-
-So replace "perl -w" with "use warnings" to make it work.
-
-The man2hlp.in already has "use warnings;", so just remove '-w' is OK.
-
-Upstream-Status: Submitted [https://github.com/MidnightCommander/mc/pull/174]
-
-Signed-off-by: Robert Yang 
-

- src/man2hlp/man2hlp.in   | 2 +-
- src/vfs/extfs/helpers/a+.in  | 4 +++-
- src/vfs/extfs/helpers/mailfs.in  | 3 ++-
- src/vfs/extfs/helpers/patchfs.in | 3 ++-
- src/vfs/extfs/helpers/ulib.in| 4 +++-
- src/vfs/extfs/helpers/uzip.in| 3 ++-
- 6 files changed, 13 insertions(+), 6 deletions(-)
-
-diff --git a/src/man2hlp/man2hlp.in b/src/man2hlp/man2hlp.in
-index 08765d8..8aa7131 100644
 a/src/man2hlp/man2hlp.in
-+++ b/src/man2hlp/man2hlp.in
-@@ -1,4 +1,4 @@
--#! @PERL_FOR_BUILD@ -w
-+#! @PERL_FOR_BUILD@
- #
- #  Man page to help file converter
- #  Copyright (C) 1994, 1995, 1998, 2000, 2001, 2002, 2003, 2004, 2005,
-diff --git a/src/vfs/extfs/helpers/a+.in b/src/vfs/extfs/helpers/a+.in
-index 579441c..fe446f4 100644
 a/src/vfs/extfs/helpers/a+.in
-+++ b/src/vfs/extfs/helpers/a+.in
-@@ -1,4 +1,4 @@
--#! @PERL@ -w
-+#! @PERL@
- #
- # External filesystem for mc, using mtools
- # Written Ludek Brukner , 1997
-@@ -9,6 +9,8 @@
- 
- # These mtools components must be in PATH for this to work
- 
-+use warnings;
-+
- sub quote {
- $_ = shift(@_);
- s/([^\w\/.+-])/\\$1/g;
-diff --git a/src/vfs/extfs/helpers/mailfs.in b/src/vfs/extfs/helpers/mailfs.in
-index 4bdd68b..5bb373b 100644
 a/src/vfs/e

[OE-core] [PATCH] libxml2: upgrade 2.11.4 -> 2.11.5

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
==
### Regressions
---
- parser: Make xmlSwitchEncoding always skip the BOM
- autotools: Improve iconv check

### Bug fixes
--
- valid: Fix c1->parent pointer in xmlCopyDocElementContent
- encoding: Always call ucnv_convertEx with flush set to false

### Portability
---
- autotools: fix Python module file ext for cygwin/msys2

### Tests
--
- runtest: Fix compilation without LIBXML_HTML_ENABLED

Signed-off-by: Wang Mingyu 
---
 .../libxml/{libxml2_2.11.4.bb => libxml2_2.11.5.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/libxml/{libxml2_2.11.4.bb => libxml2_2.11.5.bb} (97%)

diff --git a/meta/recipes-core/libxml/libxml2_2.11.4.bb 
b/meta/recipes-core/libxml/libxml2_2.11.5.bb
similarity index 97%
rename from meta/recipes-core/libxml/libxml2_2.11.4.bb
rename to meta/recipes-core/libxml/libxml2_2.11.5.bb
index cbf20504f8..4cf6dd09a9 100644
--- a/meta/recipes-core/libxml/libxml2_2.11.4.bb
+++ b/meta/recipes-core/libxml/libxml2_2.11.5.bb
@@ -18,7 +18,7 @@ SRC_URI += 
"http://www.w3.org/XML/Test/xmlts20130923.tar;subdir=${BP};name=testt
file://install-tests.patch \
"
 
-SRC_URI[archive.sha256sum] = 
"737e1d7f8ab3f139729ca13a2494fd17bf30ddb4b7a427cf336252cab57f57f7"
+SRC_URI[archive.sha256sum] = 
"3727b078c360ec69fa869de14bd6f75d7ee8d36987b071e6928d4720a28df3a6"
 SRC_URI[testtar.sha256sum] = 
"c6b2d42ee50b8b236e711a97d68e6c4b5c8d83e69a2be4722379f08702ea7273"
 
 BINCONFIG = "${bindir}/xml2-config"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186942): 
https://lists.openembedded.org/g/openembedded-core/message/186942
Mute This Topic: https://lists.openembedded.org/mt/101066905/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] libsndfile1: upgrade 1.2.0 -> 1.2.2

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
=
* Fixed invalid regex in src/create_symbols_file.py
* Fixed passing null pointer to printf %s in tests

Signed-off-by: Wang Mingyu 
---
 .../libsndfile/{libsndfile1_1.2.0.bb => libsndfile1_1.2.2.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-multimedia/libsndfile/{libsndfile1_1.2.0.bb => 
libsndfile1_1.2.2.bb} (92%)

diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.0.bb 
b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
similarity index 92%
rename from meta/recipes-multimedia/libsndfile/libsndfile1_1.2.0.bb
rename to meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
index 58eea0baf9..9c1f601aab 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.0.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
@@ -12,7 +12,7 @@ SRC_URI = 
"${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
   "
 GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/";
 
-SRC_URI[sha256sum] = 
"0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a"
+SRC_URI[sha256sum] = 
"3799ca9924d3125038880367bf1468e53a1b7e3686a934f098b7e1d286cdb80e"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186941): 
https://lists.openembedded.org/g/openembedded-core/message/186941
Mute This Topic: https://lists.openembedded.org/mt/101066897/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] libsecret: upgrade 0.20.5 -> 0.21.0

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
 * Unlock the keyring before getting secret attributes [!105]
 * file-backend: avoid deadlock when portal op is canceled [!118, !120]
 * Properly chain-up GTasks around GDBusProxy::init_async [!106]
 * Fix nullable in secret_collection_for_alias_* [!110]
 * Fix finish function for searchv [!112]
 * secret-paths: Fix a little memory leak [!109]
 * Stop using GSlice [!116]
 * docs: port to gi-docgen [!101]
 * docs: fix example in usage docs [!117]
 * Several CI fixes [!111, !114]
 * Updated translations

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

diff --git a/meta/recipes-gnome/libsecret/libsecret_0.20.5.bb 
b/meta/recipes-gnome/libsecret/libsecret_0.21.0.bb
similarity index 91%
rename from meta/recipes-gnome/libsecret/libsecret_0.20.5.bb
rename to meta/recipes-gnome/libsecret/libsecret_0.21.0.bb
index 9b09c3bee4..8f560f9f39 100644
--- a/meta/recipes-gnome/libsecret/libsecret_0.20.5.bb
+++ b/meta/recipes-gnome/libsecret/libsecret_0.21.0.bb
@@ -14,7 +14,7 @@ inherit gnomebase gi-docgen vala gobject-introspection 
manpages
 
 DEPENDS += "glib-2.0 libgcrypt gettext-native"
 
-SRC_URI[archive.sha256sum] = 
"3fb3ce340fcd7db54d87c893e69bfc2b1f6e4d4b279065ffe66dac9f0fd12b4d"
+SRC_URI[archive.sha256sum] = 
"2735b29d1cc0e5b12ba90bee88bd21774ac8db4ae1a4b716f46c409c19a14613"
 
 GTKDOC_MESON_OPTION = 'gtk_doc'
 
-- 
2.34.1


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

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
=
Fixes and optimizations in header files
Fix lr_gpg_list_keys function when keys are empty
Update PGP test vectors
Fix CMake warnings
Bump glib version

Signed-off-by: Wang Mingyu 
---
 .../librepo/{librepo_1.15.1.bb => librepo_1.15.2.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/librepo/{librepo_1.15.1.bb => librepo_1.15.2.bb} 
(94%)

diff --git a/meta/recipes-devtools/librepo/librepo_1.15.1.bb 
b/meta/recipes-devtools/librepo/librepo_1.15.2.bb
similarity index 94%
rename from meta/recipes-devtools/librepo/librepo_1.15.1.bb
rename to meta/recipes-devtools/librepo/librepo_1.15.2.bb
index 2c8d6fc719..995301d601 100644
--- a/meta/recipes-devtools/librepo/librepo_1.15.1.bb
+++ b/meta/recipes-devtools/librepo/librepo_1.15.2.bb
@@ -10,7 +10,7 @@ SRC_URI = 
"git://github.com/rpm-software-management/librepo.git;branch=master;pr

file://0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch \
"
 
-SRCREV = "5f4de4a4e85845d4184fbd30c03ff8a8ec7df4af"
+SRCREV = "1a0a5fd2b040d00872118b32d09d1f79730897a2"
 
 S = "${WORKDIR}/git"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186939): 
https://lists.openembedded.org/g/openembedded-core/message/186939
Mute This Topic: https://lists.openembedded.org/mt/101066872/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] libgit2: upgrade 1.7.0 -> 1.7.1

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
Bug fixes
---
proxy: Return an error for invalid proxy URLs instead of crashing.
ssh: fix known_hosts leak in _git_ssh_setup_conn
repository: make cleanup safe for re-use with grafts
fix: Add missing include for oidarray.
Revert "CMake: Search for ssh2 instead of libssh2."

Compatibility improvements
--
stransport: macOS: replace errSSLNetworkTimeout, with hard-coded value

Signed-off-by: Wang Mingyu 
---
 .../libgit2/{libgit2_1.7.0.bb => libgit2_1.7.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libgit2/{libgit2_1.7.0.bb => libgit2_1.7.1.bb} 
(92%)

diff --git a/meta/recipes-support/libgit2/libgit2_1.7.0.bb 
b/meta/recipes-support/libgit2/libgit2_1.7.1.bb
similarity index 92%
rename from meta/recipes-support/libgit2/libgit2_1.7.0.bb
rename to meta/recipes-support/libgit2/libgit2_1.7.1.bb
index 15a91cfb27..92af0b8454 100644
--- a/meta/recipes-support/libgit2/libgit2_1.7.0.bb
+++ b/meta/recipes-support/libgit2/libgit2_1.7.1.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=5bdf47bbc9a39dc6ce076d59e322dc17"
 DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2"
 
 SRC_URI = 
"git://github.com/libgit2/libgit2.git;branch=maint/v1.7;protocol=https"
-SRCREV = "3e2baa6d0bfb42f9016e24cba1733a6ae26a8ae6"
+SRCREV = "a2bde63741977ca0f4ef7db2f609df320be67a08"
 
 S = "${WORKDIR}/git"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186938): 
https://lists.openembedded.org/g/openembedded-core/message/186938
Mute This Topic: https://lists.openembedded.org/mt/101066867/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] libedit: upgrade 20221030-3.1 -> 20230828-3.1

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:

   * src/chartype.c: Add missing stdint.h
   * all: sync with upstream source

Signed-off-by: Wang Mingyu 
---
 .../{libedit_20221030-3.1.bb => libedit_20230828-3.1.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/libedit/{libedit_20221030-3.1.bb => 
libedit_20230828-3.1.bb} (88%)

diff --git a/meta/recipes-devtools/libedit/libedit_20221030-3.1.bb 
b/meta/recipes-devtools/libedit/libedit_20230828-3.1.bb
similarity index 88%
rename from meta/recipes-devtools/libedit/libedit_20221030-3.1.bb
rename to meta/recipes-devtools/libedit/libedit_20230828-3.1.bb
index 9195258c10..1684b57d31 100644
--- a/meta/recipes-devtools/libedit/libedit_20221030-3.1.bb
+++ b/meta/recipes-devtools/libedit/libedit_20230828-3.1.bb
@@ -13,7 +13,7 @@ inherit autotools
 SRC_URI = "http://www.thrysoee.dk/editline/${BP}.tar.gz \
file://stdc-predef.patch \
   "
-SRC_URI[sha256sum] = 
"f0925a5adf4b1bf116ee19766b7daa766917aec198747943b1c4edf67a4be2bb"
+SRC_URI[sha256sum] = 
"4ee8182b6e569290e7d1f44f0f78dac8716b35f656b76528f699c69c98814dad"
 
 BBCLASSEXTEND = "native nativesdk"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186937): 
https://lists.openembedded.org/g/openembedded-core/message/186937
Mute This Topic: https://lists.openembedded.org/mt/101066862/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] libdrm: upgrade 2.4.115 -> 2.4.116

2023-08-30 Thread wangmy
From: Wang Mingyu 

Signed-off-by: Wang Mingyu 
---
 .../drm/{libdrm_2.4.115.bb => libdrm_2.4.116.bb}| 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/drm/{libdrm_2.4.115.bb => libdrm_2.4.116.bb} (97%)

diff --git a/meta/recipes-graphics/drm/libdrm_2.4.115.bb 
b/meta/recipes-graphics/drm/libdrm_2.4.116.bb
similarity index 97%
rename from meta/recipes-graphics/drm/libdrm_2.4.115.bb
rename to meta/recipes-graphics/drm/libdrm_2.4.116.bb
index 50206f2ba8..f0aaf314c6 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.115.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.116.bb
@@ -13,7 +13,7 @@ DEPENDS = "libpthread-stubs"
 SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.xz \
   "
 
-SRC_URI[sha256sum] = 
"554cfbfe0542bddb391b4e3e05bfbbfc3e282b955bd56218d21c0616481f65eb"
+SRC_URI[sha256sum] = 
"46c53f40735ea3d26d614297f155f6131a510624a24274f654f6469ca905339a"
 
 inherit meson pkgconfig manpages
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186936): 
https://lists.openembedded.org/g/openembedded-core/message/186936
Mute This Topic: https://lists.openembedded.org/mt/101066861/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] libconvert-asn1-perl: upgrade 0.33 -> 0.34

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
  * Fixes: #47 2nd - Debug output using print instead of printf
  * Fixes #47 Debug output using print instead of printf
  * ASN1.pod: fix minor typo

Signed-off-by: Wang Mingyu 
---
 ...ibconvert-asn1-perl_0.33.bb => libconvert-asn1-perl_0.34.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/perl/{libconvert-asn1-perl_0.33.bb => 
libconvert-asn1-perl_0.34.bb} (91%)

diff --git a/meta/recipes-extended/perl/libconvert-asn1-perl_0.33.bb 
b/meta/recipes-extended/perl/libconvert-asn1-perl_0.34.bb
similarity index 91%
rename from meta/recipes-extended/perl/libconvert-asn1-perl_0.33.bb
rename to meta/recipes-extended/perl/libconvert-asn1-perl_0.34.bb
index d82692c033..6e9f881773 100644
--- a/meta/recipes-extended/perl/libconvert-asn1-perl_0.33.bb
+++ b/meta/recipes-extended/perl/libconvert-asn1-perl_0.34.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
"file://README.md;beginline=91;endline=97;md5=ceff7fd286eb6d8
 
 SRC_URI = 
"https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/Convert-ASN1-${PV}.tar.gz";
 
-SRC_URI[sha256sum] = 
"1fdf004520c79e3a244cf9688616293516c11793d746c761f367496eb3d06076"
+SRC_URI[sha256sum] = 
"a628d7c9d390568fb76359975fa03f626ce57f10dc17980e8e3587d7713e4ee7"
 
 S = "${WORKDIR}/Convert-ASN1-${PV}"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186935): 
https://lists.openembedded.org/g/openembedded-core/message/186935
Mute This Topic: https://lists.openembedded.org/mt/101066858/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] kbd: upgrade 2.6.1 -> 2.6.2

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
==
loadkeys:
Don't look for keymap in the current directory.

keymaps:
Add colemak mod-dh keymaps.

Signed-off-by: Wang Mingyu 
---
 meta/recipes-core/kbd/{kbd_2.6.1.bb => kbd_2.6.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/kbd/{kbd_2.6.1.bb => kbd_2.6.2.bb} (94%)

diff --git a/meta/recipes-core/kbd/kbd_2.6.1.bb 
b/meta/recipes-core/kbd/kbd_2.6.2.bb
similarity index 94%
rename from meta/recipes-core/kbd/kbd_2.6.1.bb
rename to meta/recipes-core/kbd/kbd_2.6.2.bb
index 112039b919..abd039f7a9 100644
--- a/meta/recipes-core/kbd/kbd_2.6.1.bb
+++ b/meta/recipes-core/kbd/kbd_2.6.2.bb
@@ -16,7 +16,7 @@ RCONFLICTS:${PN} = "console-tools"
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \
"
 
-SRC_URI[sha256sum] = 
"2eb6c6c972be9589bab733275bf020beb5f644d5f9439737920e701af6cf3485"
+SRC_URI[sha256sum] = 
"33e3bb3c3f55933b10f053b14b5f69a2e24c28543e9ec7690246fe47628dd94f"
 
 EXTRA_OECONF = "--disable-tests"
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
-- 
2.34.1


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

2023-08-30 Thread wangmy
From: Wang Mingyu 

0001-Fix-build-with-clang-15.patch
removed since it's included in 0.17.

Changelog:
===
New features

* json_patch: add first implementation only with patch application
* Add --disable-static and --disable-dynamic options to the cmake-configure 
script.
* Add -DBUILD_APPS=NO option to disable app build
* Minimum cmake version is now 3.9

Significant changes and bug fixes
-
* When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and
  closing curly or square braces on same line for empty objects or arrays.
* Disable locale handling when targeting a uClibc system due to problems
  with its duplocale() function.
* When parsing with JSON_TOKENER_STRICT set, integer overflow/underflow
  now result in a json_tokener_error_parse_number.  Without that flag
  values are capped at INT64_MIN/UINT64_MAX.
* Fix memory leak with emtpy strings in json_object_set_string
* json_object_from_fd_ex: fail if file is too large (>=INT_MAX bytes)
* Add back json_number_chars, but only because it's part of the public API.
* Entirely drop mode bits from open(O_RDONLY) to avoid warnings on certain
  platforms.
* Specify dependent libraries, including -lbsd, in a more consistent way so
  linking against a static json-c works better
* Fix a variety of build problems and add & improve tests
* Update RFC reference to https://www.rfc-editor.org/rfc/rfc8259

Signed-off-by: Wang Mingyu 
---
 .../json-c/0001-Fix-build-with-clang-15.patch | 34 ---
 .../json-c/{json-c_0.16.bb => json-c_0.17.bb} | 10 +++---
 2 files changed, 4 insertions(+), 40 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} (78%)

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 215f4d829a..00
--- 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_0.16.bb 
b/meta/recipes-devtools/json-c/json-c_0.17.bb
similarity index 78%
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 3aba41dfcf..aff5ad5076 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+"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186933): 
https://lists.openembedded.org/g/openembedded-core/message/186933
Mute This Topic: https://lists.openembedded.org/mt/101066854/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] gtk4: upgrade 4.12.0 -> 4.12.1

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
===
* GtkGridView:
 - Fix a crash when scrolling

* GtkColumnView:
 - Fix a refcounting issue in the new scroll_to api

* GtkTreeView
 - Fix style classes for sort arrows

* GtkEntry:
 - Improve tracking of user changes (for undo)

* GtkNotebook:
 - Fix a critical when switching pages

* GtkColor/FontDialogButton:
 - Make these widgets activatable

* GtkMenuButton:
 - Fix problems with focus handling
 - Fix problems with DND

* Printing
 - Fix the cpdb backend build

* MacOS:
 - Make file filters work again

* GSK:
 - Fix issues with color matrix nodes

* Wayland:
 - Fix a crash with compositors other than gnome-shell

* Translation updates:
 Polish
 Swedish

Signed-off-by: Wang Mingyu 
---
 meta/recipes-gnome/gtk+/{gtk4_4.12.0.bb => gtk4_4.12.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-gnome/gtk+/{gtk4_4.12.0.bb => gtk4_4.12.1.bb} (98%)

diff --git a/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb 
b/meta/recipes-gnome/gtk+/gtk4_4.12.1.bb
similarity index 98%
rename from meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
rename to meta/recipes-gnome/gtk+/gtk4_4.12.1.bb
index 4f38e0cb2c..aa7115b11e 100644
--- a/meta/recipes-gnome/gtk+/gtk4_4.12.0.bb
+++ b/meta/recipes-gnome/gtk+/gtk4_4.12.1.bb
@@ -37,7 +37,7 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 UPSTREAM_CHECK_REGEX = "gtk-(?P\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz"
 
 SRC_URI = 
"http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz";
-SRC_URI[sha256sum] = 
"a6d10829f405b1afc0b65e2a9642c04126a1d1b638d11c6d97426da4f84f1f6f"
+SRC_URI[sha256sum] = 
"b8b61d6cf94fac64bf3a0bfc7af137c9dd2f8360033fdeb0cfe9612b77a99a72"
 
 S = "${WORKDIR}/gtk-${PV}"
 
-- 
2.34.1


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

2023-08-30 Thread wangmy
From: Wang Mingyu 

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

diff --git a/meta/recipes-devtools/git/git_2.41.0.bb 
b/meta/recipes-devtools/git/git_2.42.0.bb
similarity index 98%
rename from meta/recipes-devtools/git/git_2.41.0.bb
rename to meta/recipes-devtools/git/git_2.42.0.bb
index b84be24b94..c417b11b1e 100644
--- a/meta/recipes-devtools/git/git_2.41.0.bb
+++ b/meta/recipes-devtools/git/git_2.42.0.bb
@@ -160,4 +160,4 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
  "
 EXTRA_OEMAKE += "NO_GETTEXT=1"
 
-SRC_URI[tarball.sha256sum] = 
"c4a6a3dd1827895a80cbd824e14d94811796ae54037549e0da93f7b84cb45b9f"
+SRC_URI[tarball.sha256sum] = 
"34aedd54210d7216a55d642bbb4cfb22695b7610719a106bf0ddef4c82a8beed"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186931): 
https://lists.openembedded.org/g/openembedded-core/message/186931
Mute This Topic: https://lists.openembedded.org/mt/101066843/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] ell: upgrade 0.57 -> 0.58

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:
 Add support for handling sysctl settings.

Signed-off-by: Wang Mingyu 
---
 meta/recipes-core/ell/{ell_0.57.bb => ell_0.58.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/ell/{ell_0.57.bb => ell_0.58.bb} (89%)

diff --git a/meta/recipes-core/ell/ell_0.57.bb 
b/meta/recipes-core/ell/ell_0.58.bb
similarity index 89%
rename from meta/recipes-core/ell/ell_0.57.bb
rename to meta/recipes-core/ell/ell_0.58.bb
index 09a0831fbe..04e8566305 100644
--- a/meta/recipes-core/ell/ell_0.57.bb
+++ b/meta/recipes-core/ell/ell_0.58.bb
@@ -15,7 +15,7 @@ DEPENDS = "dbus"
 inherit autotools pkgconfig
 
 SRC_URI = 
"https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz";
-SRC_URI[sha256sum] = 
"7603928ee584b758ca27c67e4dc513049a09b038d7d28459a9440f8443c91018"
+SRC_URI[sha256sum] = 
"531a980589c8954ff12a3110b4d958fa75a74c88ddcc3e2ace4317e76a7c1e9b"
 
 do_configure:prepend () {
 mkdir -p ${S}/build-aux
-- 
2.34.1


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

2023-08-30 Thread wangmy
From: Wang Mingyu 

0001-src-cmd_parser.c-add-a-missing-parameter-name.patch
removed since it's included in 1.0.0

Signed-off-by: Wang Mingyu 
---
 ...arser.c-add-a-missing-parameter-name.patch | 39 ---
 ...repo-c_0.21.1.bb => createrepo-c_1.0.0.bb} |  3 +-
 2 files changed, 1 insertion(+), 41 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 0d1c6b08fb..00
--- 
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 57f23b8dfd..9b109327c8 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"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186929): 
https://lists.openembedded.org/g/openembedded-core/message/186929
Mute This Topic: https://lists.openembedded.org/mt/101066825/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] bluez5: upgrade 5.68 -> 5.69

2023-08-30 Thread wangmy
From: Wang Mingyu 

fix-check-ell-path.patch
removed since it's included in 5.69

Changelog:
=
 Fix issue with BAP enabling state correctly when resuming.
 Fix issue with detaching source ASEs only after Stop Ready.
 Fix issue with handling VCP audio location and descriptor.
 Fix issue with generating IRK for adapter with privacy enabled.
 Add support for BAP broadcast sink.

Signed-off-by: Wang Mingyu 
---
 meta/recipes-connectivity/bluez5/bluez5.inc   |  1 -
 .../bluez5/bluez5/fix-check-ell-path.patch| 39 ---
 .../bluez5/{bluez5_5.68.bb => bluez5_5.69.bb} |  2 +-
 3 files changed, 1 insertion(+), 41 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch
 rename meta/recipes-connectivity/bluez5/{bluez5_5.68.bb => bluez5_5.69.bb} 
(94%)

diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc 
b/meta/recipes-connectivity/bluez5/bluez5.inc
index d2ee2b4f12..e10158a6e5 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -55,7 +55,6 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \

file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
file://0001-test-gatt-Fix-hung-issue.patch \
file://0004-src-shared-util.c-include-linux-limits.h.patch \
-   file://fix-check-ell-path.patch \
"
 S = "${WORKDIR}/bluez-${PV}"
 
diff --git a/meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch 
b/meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch
deleted file mode 100644
index 7afa63962d..00
--- a/meta/recipes-connectivity/bluez5/bluez5/fix-check-ell-path.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Upstream-Status: Submitted 
[https://marc.info/?l=linux-bluetooth&m=168818474411163&w=2]
-Signed-off-by: Anuj Mittal 
-
-From linux-bluetooth  Sat Jul 01 04:12:52 2023
-From: Rudi Heitbaum 
-Date: Sat, 01 Jul 2023 04:12:52 +
-To: linux-bluetooth
-Subject: [PATCH] configure: Fix check ell path for cross compiling
-Message-Id: <20230701041252.139338-1-rudi () heitbaum ! com>
-X-MARC-Message: https://marc.info/?l=linux-bluetooth&m=168818474411163
-
-Use of AC_CHECK_FILE prevents cross compilation.
-Instead use test to support cross compiling.
-
-Signed-off-by: Rudi Heitbaum 

- configure.ac | 7 ---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index eff297960..bc7edfcd3 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -298,9 +298,10 @@ if (test "${enable_external_ell}" = "yes"); then
-   AC_SUBST(ELL_LIBS)
- fi
- if (test "${enable_external_ell}" != "yes"); then
--  AC_CHECK_FILE(${srcdir}/ell/ell.h, dummy=yes,
--  AC_CHECK_FILE(${srcdir}/../ell/ell/ell.h, dummy=yes,
--  AC_MSG_ERROR(ELL source is required or use 
--enable-external-ell)))
-+  if (test ! -f ${srcdir}/ell/ell.h) &&
-+  (test ! -f ${srcdir}/../ell/ell/ell.h); then
-+  AC_MSG_ERROR(ELL source is required or use 
--enable-external-ell)
-+  fi
- fi
- AM_CONDITIONAL(EXTERNAL_ELL, test "${enable_external_ell}" = "yes" ||
-   (test "${enable_btpclient}" != "yes" &&
--- 
-2.34.1
diff --git a/meta/recipes-connectivity/bluez5/bluez5_5.68.bb 
b/meta/recipes-connectivity/bluez5/bluez5_5.69.bb
similarity index 94%
rename from meta/recipes-connectivity/bluez5/bluez5_5.68.bb
rename to meta/recipes-connectivity/bluez5/bluez5_5.69.bb
index 7c7ad75ed8..4673000f60 100644
--- a/meta/recipes-connectivity/bluez5/bluez5_5.68.bb
+++ b/meta/recipes-connectivity/bluez5/bluez5_5.69.bb
@@ -1,6 +1,6 @@
 require bluez5.inc
 
-SRC_URI[sha256sum] = 
"fc505e6445cb579a55cacee6821fe70d633921522043d322b696de0a175ff933"
+SRC_URI[sha256sum] = 
"bc5a35ddc7c72d0d3999a0d7b2175c8b7d57ab670774f8b5b4900ff38a2627fc"
 
 CVE_STATUS[CVE-2020-24490] = "cpe-incorrect: This issue has kernel fixes 
rather than bluez fixes"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186928): 
https://lists.openembedded.org/g/openembedded-core/message/186928
Mute This Topic: https://lists.openembedded.org/mt/101066810/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] bind: upgrade 9.18.17 -> 9.18.18

2023-08-30 Thread wangmy
From: Wang Mingyu 

Changelog:

 Deprecate the 'dialup' and 'heartbeat-interval' options.
 Ignore 'max-zone-ttl' on 'dnssec-policy insecure'.
 Return REFUSED to GSS-API TKEY requests if GSS-API support is not configured.
 Mark a primary server as temporarily unreachable if the TCP connection attempt 
times out.
 Don't process detach and close netmgr events when the netmgr has been paused.

Signed-off-by: Wang Mingyu 
---
 .../bind/{bind_9.18.17.bb => bind_9.18.18.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-connectivity/bind/{bind_9.18.17.bb => bind_9.18.18.bb} 
(97%)

diff --git a/meta/recipes-connectivity/bind/bind_9.18.17.bb 
b/meta/recipes-connectivity/bind/bind_9.18.18.bb
similarity index 97%
rename from meta/recipes-connectivity/bind/bind_9.18.17.bb
rename to meta/recipes-connectivity/bind/bind_9.18.18.bb
index 9e7973ecbf..e74e685fe8 100644
--- a/meta/recipes-connectivity/bind/bind_9.18.17.bb
+++ b/meta/recipes-connectivity/bind/bind_9.18.18.bb
@@ -20,7 +20,7 @@ SRC_URI = 
"https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
file://0001-avoid-start-failure-with-bind-user.patch \
"
 
-SRC_URI[sha256sum] = 
"bde1c5017b81d1d79c69eb8f537f2e5032fd3623acdd5ee830d4f74bc2483458"
+SRC_URI[sha256sum] = 
"d735cdc127a6c5709bde475b5bf16fa2133f36fdba202f7c3c37d134e5192160"
 
 UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/";
 # follow the ESV versions divisible by 2
-- 
2.34.1


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



Re: [OE-core] [RFC PATCH 4/5] qemu: enable parallel builds when using the jobserver class

2023-08-30 Thread Randy MacLeod via lists.openembedded.org

Thanks for the patch set Martin!

On 2023-08-28 08:48, Martin Hundeb?ll via lists.openembedded.org wrote:

If the jobserver class is enabled, the PARALLEL_MAKE variable is unset in
favor of configuring a shared jobserver in the MAKEFLAGS variable. However,
the qemu makefile translates the missing `-j` argument to `-j1` when
calling into meson / ninja. Avoid this by setting `-j` without a value.
For normal/GNU make, this can result in a fork bomb, but for ninja, it
simply makes it use the jobserver fifa instead.

small typo: s/fifa/fifo/


Signed-off-by: Martin Hundebøll
---
  meta/recipes-devtools/qemu/qemu.inc | 5 +
  1 file changed, 5 insertions(+)

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index ea02bf0c73..7da05fcbf4 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -110,6 +110,11 @@ EXTRA_OECONF = " \
  ${PACKAGECONFIG_CONFARGS} \
  "
  
+# Avoid the qemu makefile treating a missing `-j` argument as `-j1` when

+# calling meson / ninja. This happens when the `jobserver` class is used, since
+# it manages parallelism in the MAKEFLAGS variable instead of PARALLEL_MAKE.
+EXTRA_OEMAKE:append ="${@' -j' if d.getVar('JOBSERVER_FIFO') else ''}"
+


Is there, or should there be, an upstream bug report/PR for this?

To save other from checking, this is from 2020:
qemu.git on master
❯ git blame Makefile | rg j1
09e93326e44 (Paolo Bonzini  2020-08-13 09:28:11 -0400 
145) $(filter-out -j, $(lastword -j1 $(filter -l% -j%, 
$(MAKEFLAGS \


09e93326e4 build: replace ninjatool with ninja
https://gitlab.com/qemu-project/qemu/-/commit/09e93326e4


I've applied the patch set and will do a few builds on a old 24 core 
system and maybe other systems.


Do you have any information on the impact when using the job server?

I suspect that adding openssl to an image might be a good use case since 
it's is a highly parallel build.
Are there other packages that don't depend on openssl that typically run 
at the same time and can use
loads of cores for a long time? If not, I may try out a Nodejs + 
chromium + webkitgtk + ??? build!



../Randy


  B = "${WORKDIR}/build"
  
  #EXTRA_OECONF:append = " --python=${HOSTTOOLS_DIR}/python3"






--
# Randy MacLeod
# Wind River Linux

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186926): 
https://lists.openembedded.org/g/openembedded-core/message/186926
Mute This Topic: https://lists.openembedded.org/mt/101009095/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] update_mandb: Point to correct /etc/passwd with man

2023-08-30 Thread Richard Purdie
On Wed, 2023-08-30 at 21:08 +0100, Richard Purdie via
lists.openembedded.org wrote:
> On Wed, 2023-08-30 at 18:07 +0100, Eilís 'pidge' Ní Fhlannagáin wrote:
> > On 30/08/2023 15:08, Richard Purdie wrote:
> > > On Wed, 2023-08-30 at 15:04 +0100, Eilís 'pidge' Ní Fhlannagáin wrote:
> > > > On 30/08/2023 14:19, Richard Purdie wrote:
> > > > > On Wed, 2023-08-30 at 12:39 +, Eilís 'pidge' Ní Fhlannagáin wrote:
> > > > > > [YOCTO #15023]
> > > > > > 
> > > > > > In this instance (do_populate_sdk with api-documentation turned on),
> > > > > > pseudo is going to end up finding the passwd/groups files in
> > > > > > recipe-sysroot-native which is incorrect and does not have man. The
> > > > > > solution here should be to ensure that pseudo points to the 
> > > > > > passwd/groups
> > > > > > files in recipe-sysroot (which does have man:man).
> > > > > > 
> > > > > > Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
> > > > > > ---
> > > > > >scripts/postinst-intercepts/update_mandb | 2 +-
> > > > > >1 file changed, 1 insertion(+), 1 deletion(-)
> > > > > > 
> > > > > > diff --git a/scripts/postinst-intercepts/update_mandb 
> > > > > > b/scripts/postinst-intercepts/update_mandb
> > > > > > index a061bb426a6..6bc073bfff5 100644
> > > > > > --- a/scripts/postinst-intercepts/update_mandb
> > > > > > +++ b/scripts/postinst-intercepts/update_mandb
> > > > > > @@ -13,4 +13,4 @@ PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D 
> > > > > > $D${bindir}/mandb --config-file $C
> > > > > >
> > > > > >rm -f $CONFIG
> > > > > >
> > > > > > -chown -R man:man $D${localstatedir}/cache/man/
> > > > > > +PSEUDO_PASSWD=$D chown -R man:man $D${localstatedir}/cache/man/
> > > > > 
> > > > > Is there a more general problem here? Wouldn't this issue apply to
> > > > > other postinst scripts too?
> > > > 
> > > > Yes and No. The other postinst scripts if they do attempt to chown, are
> > > > trying to do it for root:root (which recipe-native-sysroot's passwd and
> > > > groups obviously have). We could add this to the others as well, just to
> > > > maintain consistency.
> > > > 
> > > > This is all because in image.bbclass, we're setting PSEUDO_PASSWD to
> > > > STAGING_DIR_NATIVE which I believe normally should be correct, except in
> > > > an instance like this.
> > > 
> > > image.bbclass sets it to:
> > > 
> > > meta/classes-recipe/image.bbclass:PSEUDO_PASSWD = 
> > > "${IMAGE_ROOTFS}:${STAGING_DIR_NATIVE}"
> > > 
> > > so it should look at IMAGE_ROOTFS first, which I think is the same as
> > > $D here?
> > > 
> > > Something isn't quite adding up...
> > 
> > In this case, IMAGE_ROOTFS and D are not the same, either at the start 
> > of do_populate_sdk or when the postinst script runs:
> > 
> > bitbake -e yields:
> > 
> > IMAGE_ROOTFS="/home/pidge/poky/build/tmp/work/qemux86_64-poky-linux/core-image-base/1.0/rootfs"
> > 
> > Passing IMAGE_ROOTFS into the update-mandb postinst scripts yields this:
> > 
> > D="/home/pidge/poky/build/tmp/work/qemux86_64-poky-linux/core-image-base/1.0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/core2-64-poky-linux"
> > IMAGE_ROOTFS="/home/pidge/poky/build/tmp/work/core2-64-poky-linux/eudev/3.2.12/rootfs"
> > 
> > Even if we were relying on an IMAGE_ROOTFS that pointed to what we 
> > expected, it is probably the wrong option here because there is no 
> > assurance it's populated with a passwd file when we run bitbake 
> > core-image-base -f -c do_populate_sdk. I've checked on my setup and have 
> > verified that it doesn't contain anything at that stage.
> > 
> > In my patch $D is actually set to ${SDK_OUTPUT}/${SDKPATHNATIVE} (not 
> > recipe-sysroot, I'll correct this in the log) which incidentally is also 
> > the same place we're running mandb from.
> 
> This might hint at the real issue :)
> 
> If this is during do_populate_sdk, it is worth noting that the SDK
> doesn't have file ownership, either for the nativesdk components or the
> target ones. This therefore shouldn't be running in that context at
> all!

Have a look at 

https://git.yoctoproject.org/poky/tree/scripts/nativesdk-intercept/chown

The real question is why that doesn't change man:man (or whatever) to
root:root...

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186925): 
https://lists.openembedded.org/g/openembedded-core/message/186925
Mute This Topic: https://lists.openembedded.org/mt/101050953/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] update_mandb: Point to correct /etc/passwd with man

2023-08-30 Thread Richard Purdie
On Wed, 2023-08-30 at 18:07 +0100, Eilís 'pidge' Ní Fhlannagáin wrote:
> On 30/08/2023 15:08, Richard Purdie wrote:
> > On Wed, 2023-08-30 at 15:04 +0100, Eilís 'pidge' Ní Fhlannagáin wrote:
> > > On 30/08/2023 14:19, Richard Purdie wrote:
> > > > On Wed, 2023-08-30 at 12:39 +, Eilís 'pidge' Ní Fhlannagáin wrote:
> > > > > [YOCTO #15023]
> > > > > 
> > > > > In this instance (do_populate_sdk with api-documentation turned on),
> > > > > pseudo is going to end up finding the passwd/groups files in
> > > > > recipe-sysroot-native which is incorrect and does not have man. The
> > > > > solution here should be to ensure that pseudo points to the 
> > > > > passwd/groups
> > > > > files in recipe-sysroot (which does have man:man).
> > > > > 
> > > > > Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
> > > > > ---
> > > > >scripts/postinst-intercepts/update_mandb | 2 +-
> > > > >1 file changed, 1 insertion(+), 1 deletion(-)
> > > > > 
> > > > > diff --git a/scripts/postinst-intercepts/update_mandb 
> > > > > b/scripts/postinst-intercepts/update_mandb
> > > > > index a061bb426a6..6bc073bfff5 100644
> > > > > --- a/scripts/postinst-intercepts/update_mandb
> > > > > +++ b/scripts/postinst-intercepts/update_mandb
> > > > > @@ -13,4 +13,4 @@ PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D 
> > > > > $D${bindir}/mandb --config-file $C
> > > > >
> > > > >rm -f $CONFIG
> > > > >
> > > > > -chown -R man:man $D${localstatedir}/cache/man/
> > > > > +PSEUDO_PASSWD=$D chown -R man:man $D${localstatedir}/cache/man/
> > > > 
> > > > Is there a more general problem here? Wouldn't this issue apply to
> > > > other postinst scripts too?
> > > 
> > > Yes and No. The other postinst scripts if they do attempt to chown, are
> > > trying to do it for root:root (which recipe-native-sysroot's passwd and
> > > groups obviously have). We could add this to the others as well, just to
> > > maintain consistency.
> > > 
> > > This is all because in image.bbclass, we're setting PSEUDO_PASSWD to
> > > STAGING_DIR_NATIVE which I believe normally should be correct, except in
> > > an instance like this.
> > 
> > image.bbclass sets it to:
> > 
> > meta/classes-recipe/image.bbclass:PSEUDO_PASSWD = 
> > "${IMAGE_ROOTFS}:${STAGING_DIR_NATIVE}"
> > 
> > so it should look at IMAGE_ROOTFS first, which I think is the same as
> > $D here?
> > 
> > Something isn't quite adding up...
> 
> In this case, IMAGE_ROOTFS and D are not the same, either at the start 
> of do_populate_sdk or when the postinst script runs:
> 
> bitbake -e yields:
> 
> IMAGE_ROOTFS="/home/pidge/poky/build/tmp/work/qemux86_64-poky-linux/core-image-base/1.0/rootfs"
> 
> Passing IMAGE_ROOTFS into the update-mandb postinst scripts yields this:
> 
> D="/home/pidge/poky/build/tmp/work/qemux86_64-poky-linux/core-image-base/1.0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/core2-64-poky-linux"
> IMAGE_ROOTFS="/home/pidge/poky/build/tmp/work/core2-64-poky-linux/eudev/3.2.12/rootfs"
> 
> Even if we were relying on an IMAGE_ROOTFS that pointed to what we 
> expected, it is probably the wrong option here because there is no 
> assurance it's populated with a passwd file when we run bitbake 
> core-image-base -f -c do_populate_sdk. I've checked on my setup and have 
> verified that it doesn't contain anything at that stage.
> 
> In my patch $D is actually set to ${SDK_OUTPUT}/${SDKPATHNATIVE} (not 
> recipe-sysroot, I'll correct this in the log) which incidentally is also 
> the same place we're running mandb from.

This might hint at the real issue :)

If this is during do_populate_sdk, it is worth noting that the SDK
doesn't have file ownership, either for the nativesdk components or the
target ones. This therefore shouldn't be running in that context at
all!

Cheers,

Richard


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



Re: [OE-Core][PATCH v2] rust: Upgrade 1.70.0 -> 1.71.0

2023-08-30 Thread Randy MacLeod via lists.openembedded.org

On 2023-08-17 03:46, Alexander Kanavin wrote:

If you already have a patch it's better if you don't wait for new
versions. New version may require significant additional work, and by
then feature freeze is in place, and then we'll end up with no upgrade
at all.

Alex


FYI,

There were some problems with the Rust test suite after the 1.71 update.

The 1.72 upgrade is done, local build/runtime testing of that is in 
progress and Yash is working on the rust test suite using 1.72. He hopes 
to have patches this week which is late for M3 so we'll see if they 
squeeze in or have to wait for 4.4 to open up.


I've pushed Yash's rust update to:

https://git.yoctoproject.org/poky-contrib/log/?h=rmacleod/yash-rust-1.72-wip 



in case anyone wants to help out.

--
# Randy MacLeod
# Wind River Linux

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186923): 
https://lists.openembedded.org/g/openembedded-core/message/186923
Mute This Topic: https://lists.openembedded.org/mt/100230901/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 20/20] vim: update obsolete comment

2023-08-30 Thread Steve Sakoman
From: Etienne Cordonnier 

vim 8.3 has been out for a long time, so this comment is obsolete.
However we still need UPSTREAM_VERSION_UNKNOWN, since we ignore
the last digit of the upstream version number.

Test result:
$ devtool check-upgrade-status vim
  ...
  INFO: vim   9.0.1592UNKNOWN Tom Rini 
 c0370529c027abc5b1698d53fcfb8c02a0c515da

(From OE-Core rev: 65f5de85c3f488136d1ec2b1f7fe8d8426d6c5b3)

Signed-off-by: Etienne Cordonnier 
Signed-off-by: Luca Ceresoli 
Signed-off-by: Richard Purdie 
(cherry picked from commit 868a19357841470eb55fb7f1c4ab1af09dea99ed)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-support/vim/vim.inc | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index 33ae0d8079..83ab9ea5de 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -22,11 +22,10 @@ SRC_URI = 
"git://github.com/vim/vim.git;branch=master;protocol=https \
 PV .= ".1592"
 SRCREV = "29b4c513b11deb37f0e0538df53d195f602fa42c"
 
-# Remove when 8.3 is out
-UPSTREAM_VERSION_UNKNOWN = "1"
-
 # Do not consider .z in x.y.z, as that is updated with every commit
 UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+\.\d+)\.0"
+# Ignore that the upstream version .z in x.y.z is always newer
+UPSTREAM_VERSION_UNKNOWN = "1"
 
 S = "${WORKDIR}/git"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186922): 
https://lists.openembedded.org/g/openembedded-core/message/186922
Mute This Topic: https://lists.openembedded.org/mt/101058090/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 19/20] build-sysroots: Ensure dependency chains are minimal

2023-08-30 Thread Steve Sakoman
From: Richard Purdie 

We need to ensure this recipe doesn't have dependencies on others. The SPDX
classes/tasks introduce dependenies quilt-native and patch-native which can
introduce races on files in the sysroots. Avoid the races by removing the
tasks we don't need.

[YOCTO #15186]

Signed-off-by: Richard Purdie 
(cherry picked from commit a5dc278b077edba8f4099f0f6dfb97e97f680320)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-core/meta/build-sysroots.bb | 4 
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-core/meta/build-sysroots.bb 
b/meta/recipes-core/meta/build-sysroots.bb
index 72da88921a..1a3b692a1b 100644
--- a/meta/recipes-core/meta/build-sysroots.bb
+++ b/meta/recipes-core/meta/build-sysroots.bb
@@ -17,6 +17,10 @@ deltask configure
 deltask compile
 deltask install
 deltask populate_sysroot
+deltask create_spdx
+deltask collect_spdx_deps
+deltask create_runtime_spdx
+deltask recipe_qa
 
 python do_build_native_sysroot () {
 targetsysroot = d.getVar("STANDALONE_SYSROOT")
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186921): 
https://lists.openembedded.org/g/openembedded-core/message/186921
Mute This Topic: https://lists.openembedded.org/mt/101058089/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 18/20] mdadm: skip running 04update-uuid and 07revert-inplace testcases

2023-08-30 Thread Steve Sakoman
From: Ovidiu Panait 

04update-uuid and 07revert-inplace tests are unreliable and fail intermittently
on the autobuilder (BZ#15181 and BZ#15159). Unfortunately, the failures cannot
be reproduced locally and the logs cannot be retrieved from the AB.

Mark the testcases as BROKEN to skip them when running ptest.

Signed-off-by: Ovidiu Panait 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit eb219aff7cfe1cff1da93107ac7b22c678cf)
Signed-off-by: Steve Sakoman 
---
 ...n-files-for-04update-uuid-and-07reve.patch | 39 +++
 meta/recipes-extended/mdadm/mdadm_4.2.bb  |  1 +
 2 files changed, 40 insertions(+)
 create mode 100644 
meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch

diff --git 
a/meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch
 
b/meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch
new file mode 100644
index 00..5a6bf9e4bd
--- /dev/null
+++ 
b/meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch
@@ -0,0 +1,39 @@
+From ee594b1a12833c06102de888248a361bc49cea09 Mon Sep 17 00:00:00 2001
+From: Ovidiu Panait 
+Date: Fri, 18 Aug 2023 12:20:40 +0300
+Subject: [PATCH] tests: add .broken files for 04update-uuid and
+ 07revert-inplace
+
+04update-uuid and 07revert-inplace tests are unreliable and fail intermittently
+on the autobuilder. Unfortunately, the failures cannot be reproduced locally
+and the logs cannot be retrieved from the AB.
+
+Mark the testcases as BROKEN to skip them when running ptest.
+
+Upstream-Status: Inappropriate
+
+Signed-off-by: Ovidiu Panait 
+---
+ tests/04update-uuid.broken| 1 +
+ tests/07revert-inplace.broken | 1 +
+ 2 files changed, 2 insertions(+)
+ create mode 100644 tests/04update-uuid.broken
+ create mode 100644 tests/07revert-inplace.broken
+
+diff --git a/tests/04update-uuid.broken b/tests/04update-uuid.broken
+new file mode 100644
+index 000..197b35b
+--- /dev/null
 b/tests/04update-uuid.broken
+@@ -0,0 +1 @@
++fails infrequently
+diff --git a/tests/07revert-inplace.broken b/tests/07revert-inplace.broken
+new file mode 100644
+index 000..197b35b
+--- /dev/null
 b/tests/07revert-inplace.broken
+@@ -0,0 +1 @@
++fails infrequently
+-- 
+2.39.1
+
diff --git a/meta/recipes-extended/mdadm/mdadm_4.2.bb 
b/meta/recipes-extended/mdadm/mdadm_4.2.bb
index fa50325f1f..c367b633a3 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.2.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.2.bb
@@ -38,6 +38,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \

file://0004-monitor-Avoid-segfault-when-calling-NULL-get_bad_blo.patch \
file://0005-mdadm-test-Mark-and-ignore-broken-test-failures.patch \
file://0006-tests-Add-broken-files-for-all-broken-tests.patch \
+   
file://0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch \
"
 
 SRC_URI[sha256sum] = 
"461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186920): 
https://lists.openembedded.org/g/openembedded-core/message/186920
Mute This Topic: https://lists.openembedded.org/mt/101058088/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 17/20] wic: fix wrong attempt to create file system in upartitioned regions

2023-08-30 Thread Steve Sakoman
From: Markus Niebel 

The kickstart parser defaults fstype to "vfat". This leads to an attempt
to create an empty file system even for regions configured with "--no-table"
if used without fstype when no --sourceparams given.

The fix tests for fstype "none" or no_table in Partition prepare method.
This will omit the file system creation an the potential error for small
region with --no-table option.

Signed-off-by: Markus Niebel 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit db771a4cd36bf291a8b68edfd905e03243f2c8b3)
Signed-off-by: Steve Sakoman 
---
 scripts/lib/wic/partition.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index 382afa44bc..29b9dc4457 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -133,7 +133,7 @@ class Partition():
 self.update_fstab_in_rootfs = True
 
 if not self.source:
-if self.fstype == "none":
+if self.fstype == "none" or self.no_table:
 return
 if not self.size and not self.fixed_size:
 raise WicError("The %s partition has a size of zero. Please "
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186919): 
https://lists.openembedded.org/g/openembedded-core/message/186919
Mute This Topic: https://lists.openembedded.org/mt/101058087/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 16/20] tcl: prevent installing another copy of tzdata

2023-08-30 Thread Steve Sakoman
From: Martin Jansa 

It checks build host filesystem and if it doesn't find UTC or GMT
files it installs another copy of tzdata files in:
/usr/lib/tcl8.6/tzdata

Buildhistory shows the difference:
-PKGSIZE = 2227075
+PKGSIZE = 3433088

See the autodetection in configure.in:
  #
  #   Check whether the timezone data is supplied by the OS or has
  #   to be installed by Tcl. The default is autodetection, but can
  #   be overridden on the configure command line either way.
  #

  AC_MSG_CHECKING([for timezone data])
  AC_ARG_WITH(tzdata,
  AC_HELP_STRING([--with-tzdata],
  [install timezone data (default: autodetect)]),
  [tcl_ok=$withval], [tcl_ok=auto])

  #
  # Any directories that get added here must also be added to the
  # search path in ::tcl::clock::Initialize (library/clock.tcl).
  #
  case $tcl_ok in
  no)
  AC_MSG_RESULT([supplied by OS vendor])
  ;;
  yes)
  # nothing to do here
  ;;
  auto*)
  AC_CACHE_VAL([tcl_cv_dir_zoneinfo], [
  for dir in /usr/share/zoneinfo \
  /usr/share/lib/zoneinfo \
  /usr/lib/zoneinfo
  do
  if test -f $dir/UTC -o -f $dir/GMT
  then
  tcl_cv_dir_zoneinfo="$dir"
  break
  fi
  done])
  if test -n "$tcl_cv_dir_zoneinfo"; then
  tcl_ok=no
  AC_MSG_RESULT([$dir])
  else
  tcl_ok=yes
  fi
  ;;
  *)
  AC_MSG_ERROR([invalid argument: $tcl_ok])
  ;;
  esac
  if test $tcl_ok = yes
  then
  AC_MSG_RESULT([supplied by Tcl])
  INSTALL_TZDATA=install-tzdata
  fi

Signed-off-by: Martin Jansa 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 3ace9fbfeb42ebf920812e3dd6d665b8b20a1ca0)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-devtools/tcltk/tcl_8.6.13.bb | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.13.bb 
b/meta/recipes-devtools/tcltk/tcl_8.6.13.bb
index 982f370edb..921ea7a01d 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.13.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.13.bb
@@ -45,6 +45,12 @@ inherit autotools ptest binconfig
 AUTOTOOLS_SCRIPT_PATH = "${S}/unix"
 EXTRA_OECONF = "--enable-threads --disable-rpath --enable-man-suffix"
 
+# Prevent installing copy of tzdata based on tzdata installation on the build 
host
+# It doesn't install tzdata if one of the following files exist on the host:
+# /usr/share/zoneinfo/UTC /usr/share/zoneinfo/GMT /usr/share/lib/zoneinfo/UTC 
/usr/share/lib/zoneinfo/GMT /usr/lib/zoneinfo/UTC /usr/lib/zoneinfo/GMT
+# otherwise "/usr/lib/tcl8.6/tzdata" is included in tcl package
+EXTRA_OECONF += "--with-tzdata=no"
+
 do_install() {
autotools_do_install
oe_runmake 'DESTDIR=${D}' install-private-headers
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186918): 
https://lists.openembedded.org/g/openembedded-core/message/186918
Mute This Topic: https://lists.openembedded.org/mt/101058085/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 15/20] pixman: Remove duplication of license MIT

2023-08-30 Thread Steve Sakoman
From: Poonam Jadhav 

Remove duplication of license MIT from pixman bbfile.

Signed-off-by: Poonam Jadhav 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit e6c87b267252376ca85b534e3c9ee9b77ff665ca)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb 
b/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
index d26d7f581a..a580d73185 100644
--- a/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.42.2.bb
@@ -17,7 +17,7 @@ UPSTREAM_CHECK_REGEX = 
"pixman-(?P\d+\.(\d*[02468])+(\.\d+)+)"
 
 PE = "1"
 
-LICENSE = "MIT & MIT & PD"
+LICENSE = "MIT & PD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=14096c769ae0cbb5fcb94ec468be11b3 \
 
file://pixman/pixman-matrix.c;endline=21;md5=4a018dff3e4e25302724c88ff95c2456 \
 
file://pixman/pixman-arm-neon-asm.h;endline=24;md5=9a9cc1e51abbf1da58f4d9528ec9d49b
 \
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186917): 
https://lists.openembedded.org/g/openembedded-core/message/186917
Mute This Topic: https://lists.openembedded.org/mt/101058084/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 14/20] build-sysroots: Add SUMMARY field

2023-08-30 Thread Steve Sakoman
From: Khem Raj 

Fixes build QA warning about [missing-metadata]

Signed-off-by: Khem Raj 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 4f4c7130f11c069ab18c374dcbfb1276ef37be60)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-core/meta/build-sysroots.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/meta/build-sysroots.bb 
b/meta/recipes-core/meta/build-sysroots.bb
index ad22a75eb2..72da88921a 100644
--- a/meta/recipes-core/meta/build-sysroots.bb
+++ b/meta/recipes-core/meta/build-sysroots.bb
@@ -1,5 +1,6 @@
-INHIBIT_DEFAULT_DEPS = "1"
 LICENSE = "MIT"
+SUMMARY = "Build old style sysroot based on everything in the components 
directory that matches the current MACHINE"
+INHIBIT_DEFAULT_DEPS = "1"
 
 STANDALONE_SYSROOT = "${STAGING_DIR}/${MACHINE}"
 STANDALONE_SYSROOT_NATIVE = "${STAGING_DIR}/${BUILD_ARCH}"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186916): 
https://lists.openembedded.org/g/openembedded-core/message/186916
Mute This Topic: https://lists.openembedded.org/mt/101058065/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 13/20] graphene: fix runtime detection of IEEE754 behaviour

2023-08-30 Thread Steve Sakoman
From: Ross Burton 

Graphene gates a runtime check on whether it is cross-compiling, when it
should be whether it can run target binaries.

Signed-off-by: Ross Burton 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 61bb4086bea61a0446f469ed3cb0d525860a1a31)
Signed-off-by: Steve Sakoman 
---
 .../graphene/files/float-div.patch| 28 +++
 .../graphene/graphene_1.10.8.bb   |  2 ++
 2 files changed, 30 insertions(+)
 create mode 100644 meta/recipes-graphics/graphene/files/float-div.patch

diff --git a/meta/recipes-graphics/graphene/files/float-div.patch 
b/meta/recipes-graphics/graphene/files/float-div.patch
new file mode 100644
index 00..bf74101b1c
--- /dev/null
+++ b/meta/recipes-graphics/graphene/files/float-div.patch
@@ -0,0 +1,28 @@
+From c19d1f4a7e44e071df3a2612ae2eb20c84e831a6 Mon Sep 17 00:00:00 2001
+From: Emmanuele Bassi 
+Date: Thu, 10 Aug 2023 12:44:49 +0100
+Subject: [PATCH] build: Allow host builds when cross-compiling
+
+Environments that set up execution wrappers when cross-compiling should
+be allowed to run code. We only fall back on external properties if we
+really can't run any native code on the host machine.
+
+Upstream-Status: Backport
+Signed-off-by: Ross Burton 
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 48f22d7..7dcb9e6 100644
+--- a/meson.build
 b/meson.build
+@@ -270,7 +270,7 @@ int main() {
+  return 0;
+ }
+ '''
+-if meson.is_cross_build()
++if not meson.can_run_host_binaries()
+   ieee754_float_div = meson.get_external_property('ieee754_float_div', 
cc.get_id() in ['gcc', 'clang'])
+   message('Cross-building, assuming IEEE 754 division:', ieee754_float_div)
+ else
diff --git a/meta/recipes-graphics/graphene/graphene_1.10.8.bb 
b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
index 9f5b4d0e2d..55d8a2d74e 100644
--- a/meta/recipes-graphics/graphene/graphene_1.10.8.bb
+++ b/meta/recipes-graphics/graphene/graphene_1.10.8.bb
@@ -7,6 +7,8 @@ GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gobject-introspection gtk-doc
 
+SRC_URI += "file://float-div.patch"
+
 SRC_URI[archive.sha256sum] = 
"a37bb0e78a419dcbeaa9c7027bcff52f5ec2367c25ec859da31dfde2928f279a"
 
 # Disable neon support by default on ARM-32 platforms because of the
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186915): 
https://lists.openembedded.org/g/openembedded-core/message/186915
Mute This Topic: https://lists.openembedded.org/mt/101058064/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 12/20] linux-yocto/6.1: fix IRQ-80 warnings

2023-08-30 Thread Steve Sakoman
From: Bruce Ashfield 

Integrating the following commit(s) to linux-yocto/6.1:

44fd0c7a5a79 tick/rcu: fix false positive "softirq work is pending" 
messages on RT

Paul Gortmaker has found and fixed the root cause of why we are
getting "softirq work is pending" messages on boot with -rt ..
although the issue is not rt-specific.

The fix has been submitted to lkml, but we are integrating it
to avoid the delay of -stable picking it up and then linux-yocto
doing the same.

(From OE-Core rev: 69fffaa7ed863f8811254843e169cfbf3a0400b0)

Signed-off-by: Bruce Ashfield 
Signed-off-by: Luca Ceresoli 
Signed-off-by: Richard Purdie 
(cherry picked from commit 2099b728c48d920aa3914f4297563105a672e174)
Signed-off-by: Steve Sakoman 
---
 .../linux/linux-yocto-rt_6.1.bb   |  2 +-
 .../linux/linux-yocto-tiny_6.1.bb |  2 +-
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 22 +--
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
index 0c211dbb72..d13722b32f 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
@@ -14,7 +14,7 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "3d4b5681aeedac4a5129dd50e12afbda86cad699"
+SRCREV_machine ?= "9d355978d3a95f5c190a21d95ebb2a5d0e638537"
 SRCREV_meta ?= "295d37e268bc02070da670e46456227bee38795b"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
index 5b58466774..a77bd9d183 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
@@ -17,7 +17,7 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "c9eb757606ff01586272deee463b8d27fcb3"
+SRCREV_machine ?= "44fd0c7a5a7955282a1ab24bf3dcdee068839ad2"
 SRCREV_meta ?= "295d37e268bc02070da670e46456227bee38795b"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
index 57d4f457b9..df477b7dee 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
@@ -17,17 +17,17 @@ KBRANCH:qemux86-64 ?= "v6.1/standard/base"
 KBRANCH:qemuloongarch64  ?= "v6.1/standard/base"
 KBRANCH:qemumips64 ?= "v6.1/standard/mti-malta64"
 
-SRCREV_machine:qemuarm ?= "bafadaeb59cfe58562e6c6f5b98d9aa2ebb41cae"
-SRCREV_machine:qemuarm64 ?= "c9eb757606ff01586272deee463b8d27fcb3"
-SRCREV_machine:qemuloongarch64 ?= "c9eb757606ff01586272deee463b8d27fcb3"
-SRCREV_machine:qemumips ?= "858e92d1f51930ba57f4cd9013c094da15d4ac65"
-SRCREV_machine:qemuppc ?= "c9eb757606ff01586272deee463b8d27fcb3"
-SRCREV_machine:qemuriscv64 ?= "c9eb757606ff01586272deee463b8d27fcb3"
-SRCREV_machine:qemuriscv32 ?= "c9eb757606ff01586272deee463b8d27fcb3"
-SRCREV_machine:qemux86 ?= "c9eb757606ff01586272deee463b8d27fcb3"
-SRCREV_machine:qemux86-64 ?= "c9eb757606ff01586272deee463b8d27fcb3"
-SRCREV_machine:qemumips64 ?= "41bf8e89bdd29252ee75fe6c8ad0ac65bf2b7bca"
-SRCREV_machine ?= "c9eb757606ff01586272deee463b8d27fcb3"
+SRCREV_machine:qemuarm ?= "4e49d63e747e81aebad5ce6091ba6de09f09d46f"
+SRCREV_machine:qemuarm64 ?= "44fd0c7a5a7955282a1ab24bf3dcdee068839ad2"
+SRCREV_machine:qemuloongarch64 ?= "44fd0c7a5a7955282a1ab24bf3dcdee068839ad2"
+SRCREV_machine:qemumips ?= "e527feb9cd8acbcbcd7115f51cf71166fdbce11a"
+SRCREV_machine:qemuppc ?= "44fd0c7a5a7955282a1ab24bf3dcdee068839ad2"
+SRCREV_machine:qemuriscv64 ?= "44fd0c7a5a7955282a1ab24bf3dcdee068839ad2"
+SRCREV_machine:qemuriscv32 ?= "44fd0c7a5a7955282a1ab24bf3dcdee068839ad2"
+SRCREV_machine:qemux86 ?= "44fd0c7a5a7955282a1ab24bf3dcdee068839ad2"
+SRCREV_machine:qemux86-64 ?= "44fd0c7a5a7955282a1ab24bf3dcdee068839ad2"
+SRCREV_machine:qemumips64 ?= "296b096f4c747e4c4b31b1708fc8a0acb1dac04e"
+SRCREV_machine ?= "44fd0c7a5a7955282a1ab24bf3dcdee068839ad2"
 SRCREV_meta ?= "295d37e268bc02070da670e46456227bee38795b"
 
 # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and 
you'll
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186914): 
https://lists.openembedded.org/g/openembedded-core/message/186914
Mute This Topic: https://lists.openembedded.org/mt/101058063/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 11/20] linux-yocto/6.1: update to v6.1.46

2023-08-30 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

6c44e13dc284 Linux 6.1.46
5525c289dbcf drm/amd/pm/smu7: move variables to where they are used
4346a66ad198 sch_netem: fix issues in netem_change() vs get_dist_table()
3ae919c317dd alpha: remove __init annotation from exported page_is_ram()
cbce265f959f ACPI: scan: Create platform device for CS35L56
afc4ddd9507f platform/x86: serial-multi-instantiate: Auto detect IRQ 
resource for CSC3551
38b0020f68b7 scsi: qedf: Fix firmware halt over suspend and resume
a9518f4a4978 scsi: qedi: Fix firmware halt over suspend and resume
fb004497b3ea scsi: fnic: Replace return codes in fnic_clean_pending_aborts()
b191ff1f075c scsi: core: Fix possible memory leak if device_add() fails
7723a5d5d187 scsi: snic: Fix possible memory leak if device_add() fails
9fdb273ede6f scsi: 53c700: Check that command slot is not NULL
8282d0b35880 scsi: ufs: renesas: Fix private allocation
ed70fa5629a8 scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
0e1605ec5bea scsi: core: Fix legacy /proc parsing buffer overflow
f3f0f95a0233 netfilter: nf_tables: report use refcount overflow
c21fddce7e45 nvme-rdma: fix potential unbalanced freeze & unfreeze
cddbaa8dee7e nvme-tcp: fix potential unbalanced freeze & unfreeze
bf67802453d3 btrfs: set cache_block_group_error if we find an error
3ae93b316ca4 btrfs: reject invalid reloc tree root keys with stack dump
9d04716e3665 btrfs: exit gracefully if reloc roots don't match
7112abc9e8f2 btrfs: properly clear end of the unreserved range in 
cow_file_range
504d81c512f6 btrfs: don't stop integrity writeback too early
4e18c827d61b btrfs: wait for actual caching progress during allocation
b8cd871d0a18 gpio: sim: mark the GPIO chip as a one that can sleep
227bd2c1eab1 gpio: ws16c48: Fix off-by-one error in WS16C48 resource region 
extent
5e17b8ee64c1 ibmvnic: Ensure login failure recovery is safe from other 
resets
206ccf4f0977 ibmvnic: Do partial reset on login failure
31ccd1ba20d8 ibmvnic: Handle DMA unmapping of login buffs in release 
functions
24556c1cc9db ibmvnic: Unmap DMA login rsp buffer on send login fail
2c5dd8805e6c ibmvnic: Enforce stronger sanity checks on login response
ad0f73cbace4 net/mlx5: Reload auxiliary devices in pci error handlers
88ec484ef8e2 net/mlx5: Skip clock update work when device is in error state
4276f3e7ae4a net/mlx5: LAG, Check correct bucket when modifying LAG
a824d012ad8f net/mlx5: Allow 0 for total host VFs
ab06983c5bbd dmaengine: owl-dma: Modify mismatched function name
dff220037148 dmaengine: mcf-edma: Fix a potential un-allocated memory access
c4f7de3e8ce1 net: hns3: fix strscpy causing content truncation issue
87d7e140081f nexthop: Fix infinite nexthop bucket dump when using maximum 
nexthop ID
8d6df2c523e2 nexthop: Make nexthop bucket dump more efficient
0b10d8d1cf85 nexthop: Fix infinite nexthop dump when using maximum nexthop 
ID
743f7c1762e0 net: hns3: fix deadlock issue when externel_lb and reset are 
executed together
59bad9190ac7 net: hns3: add wait until mac link down
667ce6a0ff80 net: hns3: refactor hclge_mac_link_status_wait for interface 
reuse
758dbcfb257e net: dsa: ocelot: call dsa_tag_8021q_unregister() under 
rtnl_lock() on driver remove
001b7d6706e2 net: phy: at803x: remove set/get wol callbacks for AR8032
a3e5f3b7f25d net: marvell: prestera: fix handling IPv4 routes with nhid
059ec8287fd3 net: tls: avoid discarding data on record close
05e6b93da45d RDMA/umem: Set iova in ODP flow
521860ddf314 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
94916b314861 drm/rockchip: Don't spam logs in atomic check
ac6640f4193d IB/hfi1: Fix possible panic during hotplug remove
c2efcaf304fb iavf: fix potential races for FDIR filters
bcbc48b12092 drivers: vxlan: vnifilter: free percpu vni stats on error path
eeb0e4c1dbdf drivers: net: prevent tun_build_skb() to exceed the packet 
size limit
a6ddc1c77487 dccp: fix data-race around dp->dccps_mss_cache
00f033d451c4 bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid 
from slaves
15b453cf7348 xsk: fix refcount underflow in error path
da5f42a6e748 tunnels: fix kasan splat when generating ipv4 pmtu error
f20a941bc2c5 tcp: add missing family to tcp_set_ca_state() tracepoint
ddebdaec1af2 net/smc: Use correct buffer sizes when switching between TCP 
and SMC
584a783270c1 net/packet: annotate data-races around tp->status
b249c510b43e mptcp: fix the incorrect judgment for msk->cb_flags
fc0b41ac1106 macsec: use DEV_STATS_INC()
ebceef298c56 mISDN: Update parameter type of dsp_cmx_send()
6b2824b198a6 bpf, sockmap: Fix bug that strp_done cannot be called
ed90fe7435c5 bpf, sockmap: Fix map type error in sock_map_del_link
20acffcdc2b7 net: core

[OE-core][mickledore 10/20] linux-yocto/6.1: fix uninitialized read in nohz_full/isolcpus setup

2023-08-30 Thread Steve Sakoman
From: Bruce Ashfield 

Integrating the following commit(s) to linux-yocto/6.1:

4675ec8d0b9a kernel/sched: Fix uninitialized read in nohz_full/isolcpus 
setup

The carry forward of commit from the v5.15 linux-yocto kernel:

https://git.yoctoproject.org/linux-yocto/commit/?id=97c96388922

...in which case the sanity checks are properly *after* the allocation
and processing of the bootargs into the cpumask.

However, it seems patch (or wiggle?) apparently decided to put the
sanity checks *before* the population of the cpumask during the
carry-forward and generation of the new v6.1 kernel.  Meaning they are
validating uninitialized memory and hence nohz_full= and isolcpus= are
subject to random failures even for valid input ranges.

(From OE-Core rev: 4b349ee66eab8ebe3150ac4c1b449ea5c264a5be)

Signed-off-by: Adrian Cinal 
Acked-by: Paul Gortmaker 
Signed-off-by: Bruce Ashfield 
Signed-off-by: Luca Ceresoli 
Signed-off-by: Richard Purdie 
(cherry picked from commit 92642acd1166b7990fb520337b78a4d37ce7cbe4)
Signed-off-by: Steve Sakoman 
---
 .../linux/linux-yocto-rt_6.1.bb   |  4 ++--
 .../linux/linux-yocto-tiny_6.1.bb |  4 ++--
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 24 +--
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
index 8e59cf937e..7b410df847 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
@@ -14,8 +14,8 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "0aa0b7396b5cbfccd69d23b07e095e4c4fa20589"
-SRCREV_meta ?= "8da434f09dc2892d8ec26325f0856aabccc17bed"
+SRCREV_machine ?= "57eb889d204238845f238b44db6affe64480b958"
+SRCREV_meta ?= "2e1a81f17434de2a9bd27676efdde7861946582e"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.1;destsuffix=${KMETA};protocol=https"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
index c0c93fd3da..a37da27401 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
@@ -17,8 +17,8 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "fb0e7ef6dd4b51325abcaab53645962994018135"
-SRCREV_meta ?= "8da434f09dc2892d8ec26325f0856aabccc17bed"
+SRCREV_machine ?= "786775632028f7909d9f905c4530d7eaae0b2ab0"
+SRCREV_meta ?= "2e1a81f17434de2a9bd27676efdde7861946582e"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
index bafb8fca7f..4d3fbba9c6 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
@@ -17,18 +17,18 @@ KBRANCH:qemux86-64 ?= "v6.1/standard/base"
 KBRANCH:qemuloongarch64  ?= "v6.1/standard/base"
 KBRANCH:qemumips64 ?= "v6.1/standard/mti-malta64"
 
-SRCREV_machine:qemuarm ?= "f009f4217b1b00e7de4fde7454a86ff5cc83ceef"
-SRCREV_machine:qemuarm64 ?= "fb0e7ef6dd4b51325abcaab53645962994018135"
-SRCREV_machine:qemuloongarch64 ?= "fb0e7ef6dd4b51325abcaab53645962994018135"
-SRCREV_machine:qemumips ?= "3db59f99ef5fddd5dc436d0e58bb9572051e08ed"
-SRCREV_machine:qemuppc ?= "fb0e7ef6dd4b51325abcaab53645962994018135"
-SRCREV_machine:qemuriscv64 ?= "fb0e7ef6dd4b51325abcaab53645962994018135"
-SRCREV_machine:qemuriscv32 ?= "fb0e7ef6dd4b51325abcaab53645962994018135"
-SRCREV_machine:qemux86 ?= "fb0e7ef6dd4b51325abcaab53645962994018135"
-SRCREV_machine:qemux86-64 ?= "fb0e7ef6dd4b51325abcaab53645962994018135"
-SRCREV_machine:qemumips64 ?= "173a48cfd962bf386bc591f1bb654d88d70cde6c"
-SRCREV_machine ?= "fb0e7ef6dd4b51325abcaab53645962994018135"
-SRCREV_meta ?= "8da434f09dc2892d8ec26325f0856aabccc17bed"
+SRCREV_machine:qemuarm ?= "df11584ee46919ffa45c33ba496754db47c59b66"
+SRCREV_machine:qemuarm64 ?= "786775632028f7909d9f905c4530d7eaae0b2ab0"
+SRCREV_machine:qemuloongarch64 ?= "786775632028f7909d9f905c4530d7eaae0b2ab0"
+SRCREV_machine:qemumips ?= "5d4417bb0ff0d6c89e41a694e20135e1dce778f3"
+SRCREV_machine:qemuppc ?= "786775632028f7909d9f905c4530d7eaae0b2ab0"
+SRCREV_machine:qemuriscv64 ?= "786775632028f7909d9f905c4530d7eaae0b2ab0"
+SRCREV_machine:qemuriscv32 ?= "786775632028f7909d9f905c4530d7eaae0b2ab0"
+SRCREV_machine:qemux86 ?= "786775632028f7909d9f905c4530d7eaae0b2ab0"
+SRCREV_machine:qemux86-64 ?= "786775632028f7909d9f905c4530d7eaae0b2ab0"
+SRCREV_machine:qemumips64 ?= "c2a60bb7b1739180481e1d7a7e87bb573aa01ae7"
+SRCREV_machine ?= "786775632028f7909d9f905c4530d7eaae0b2ab0"
+SRCREV_meta ?= "2e1a81f17434de2a9bd27676efdde7861946582e"
 
 # set your preferred provider of linux-yocto to 'linu

[OE-core][mickledore 09/20] linux-yocto/6.1: update to v6.1.45

2023-08-30 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

1321ab403b38 Linux 6.1.45
f2615bb47be4 x86/CPU/AMD: Do not leak quotient data after a division by 0
673cdde74fd1 Revert "drm/i915: Disable DC states for all commits"
af7215182417 drm/amdgpu: Use apt name for FW reserved region
3d0a34c42f0d drm/amdgpu: Remove unnecessary domain argument
526defeec474 drm/amdgpu: add vram reservation based on 
vram_usagebyfirmware_v2_2
99255a2b6849 arm64/ptrace: Don't enable SVE when setting streaming SVE
c2fdf827f8fc exfat: check if filename entries exceeds max filename length
e2fb24ce37ca f2fs: don't reset unchangable mount option in f2fs_remount()
6ba0594a81f9 f2fs: fix to set flush_merge opt and show noflush_merge
e355972affb6 selftests/rseq: Play nice with binaries statically linked 
against glibc 2.35+
56562676102e drm/amd/display: skip CLEAR_PAYLOAD_ID_TABLE if device mst_en 
is 0
63eeb50fa110 drm/amd/display: Ensure that planes are in the same order
740d4cae248a drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning
a492b8281c36 powerpc/mm/altmap: Fix altmap boundary check
f4b700c71802 mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op()
b71c00256da4 mtd: rawnand: rockchip: Align hwecc vs. raw page helper layouts
5a8a35b71bd3 mtd: rawnand: rockchip: fix oobfree offset and description
6c591fce484e mtd: rawnand: omap_elm: Fix incorrect type in assignment
88b1958fb57d io_uring: annotate offset timeout races
a78a8bcdc26d f2fs: fix to do sanity check on direct node in truncate_dnode()
23e72231f828 btrfs: remove BUG_ON()'s in add_new_free_space()
56c0d76a9722 ext2: Drop fragment support
295ef44a2aba fs: Protect reconfiguration of sb read-write from racing writes
1bebbd9b8037 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
203d58930d4a debugobjects: Recheck debug_objects_enabled before reporting
29fac1849933 Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
1416eebaad80 fs/sysv: Null check to prevent null-ptr-deref bug
ccc6de4d4f34 fs/ntfs3: Use __GFP_NOWARN allocation at ntfs_load_attr_list()
33d9490b27e5 mm: kmem: fix a NULL pointer dereference in 
obj_stock_flush_required()
4968484ac8ef file: reinstate f_pos locking optimization for regular files
7a1178a3671b bpf, cpumap: Make sure kthread is running before map update 
returns
8a211e9118d5 clk: imx93: Propagate correct error in imx93_clocks_probe()
37f6073f7db3 drm/i915/gt: Cleanup aux invalidation registers
4db8b39418a6 drm/i915: Fix premature release of request's reusable memory
1fdd16d89c01 drm/ttm: check null pointer before accessing when swapping
4f03b0471ee0 open: make RESOLVE_CACHED correctly test for O_TMPFILE
61f96da37dd4 arm64/fpsimd: Sync FPSIMD state with SVE for SME only systems
654c1dd350c7 arm64/fpsimd: Clear SME state in the target task when setting 
the VL
bae353469a28 arm64/fpsimd: Sync and zero pad FPSIMD state for streaming SVE
b8ea2a46913b powerpc/ftrace: Create a dummy stackframe to fix stack unwind
36dd8ca330b7 bpf: Disable preemption in bpf_event_output
ec062367fa0c rbd: prevent busy loop when requesting exclusive lock
98cccbd0a19a x86/hyperv: Disable IBT when hypercall page lacks ENDBR 
instruction
0526119bf59e wifi: mt76: mt7615: do not advertise 5 GHz on first phy of 
MT7615D (DBDC)
767800fc402d net: tap_open(): set sk_uid from current_fsuid()
b6846d7c408b net: tun_chr_open(): set sk_uid from current_fsuid()
367fdf369dc7 arm64: dts: stratix10: fix incorrect I2C property for SCL 
signal
3654ed5daf49 bpf: Disable preemption in bpf_perf_event_output
680f4d8aec1b mtd: rawnand: meson: fix OOB available bytes for ECC
67327cadba59 mtd: spinand: toshiba: Fix ecc_get_status
724ce05212d0 exfat: release s_lock before calling dir_emit()
1427a7e96fb9 exfat: use kvmalloc_array/kvfree instead of kmalloc_array/kfree
bc41119995e4 firmware: arm_scmi: Drop OF node reference in the transport 
channel setup
a062da58ed97 ceph: defer stopping mdsc delayed_work
ad82aac732c2 USB: zaurus: Add ID for A-300/B-500/C-700
be52667ba243 libceph: fix potential hang in ceph_osdc_notify()
f62faadc791e scsi: storvsc: Limit max_sectors for virtual Fibre Channel 
devices
645603ab5fa8 scsi: zfcp: Defer fc_rport blocking until after ADISC response
f0618c305b41 rust: allocator: Prevent mis-aligned allocation
cd4bdf8f98ef tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
e53917e7efea tcp_metrics: annotate data-races around tm->tcpm_net
6dea95d8caff tcp_metrics: annotate data-races around tm->tcpm_vals[]
fee608e80271 tcp_metrics: annotate data-races around tm->tcpm_lock
4a77a0f7526c tcp_metrics: annotate data-races around tm->tcpm_stamp
71f891a25405 tcp_metrics: fix addr_same() helper
afac854f8221 prestera: fix fallback t

[OE-core][mickledore 08/20] linux-yocto/6.1: update to v6.1.44

2023-08-30 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

0a4a7855302d Linux 6.1.44
dd5f2ef16e3c x86: fix backwards merge of GDS/SRSO bit
fa5b932b77c8 xen/netback: Fix buffer overrun triggered by unusual packet
4f25355540ad x86/srso: Tie SBPB bit setting to microcode patch detection
77cf32d0dbfb x86/srso: Add a forgotten NOENDBR annotation
c7f2cd045542 x86/srso: Fix return thunks in generated code
c9ae63d773ca x86/srso: Add IBPB on VMEXIT
79c8091888ef x86/srso: Add IBPB
98f62883e751 x86/srso: Add SRSO_NO support
9139f4b6dd4f x86/srso: Add IBPB_BRTYPE support
ac41e90d8daa x86/srso: Add a Speculative RAS Overflow mitigation
dec3b91f2c4b x86/cpu, kvm: Add support for CPUID_8021_EAX
dfede4cb8ef7 x86/bugs: Increase the x86 bugs vector size to two u32s
dacb0bac2edb Documentation/x86: Fix backwards on/off logic about YMM support
051f5dcf144a x86/mm: Initialize text poking earlier
e0fd83a193c5 mm: Move mm_cachep initialization to mm_init()
9ae15aaff39c x86/mm: Use mm_alloc() in poking_init()
d972c8c08f96 x86/mm: fix poking_init() for Xen PV guests
7f3982de36c6 x86/xen: Fix secondary processors' FPU initialization
baa7b7501e41 x86/mem_encrypt: Unbreak the AMD_MEM_ENCRYPT=n build
b6fd07c41b4c KVM: Add GDS_NO support to KVM
c04579e95492 x86/speculation: Add Kconfig option for GDS
92fc27c79bc7 x86/speculation: Add force option to GDS mitigation
c66ebe070d96 x86/speculation: Add Gather Data Sampling mitigation
f25ad76d9217 x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
e26932942b2c x86/fpu: Mark init functions __init
9e8d9d399094 x86/fpu: Remove cpuinfo argument from init functions
c956807d8462 x86/init: Initialize signal frame size late
b0837880fa65 init, x86: Move mem_encrypt_init() into 
arch_cpu_finalize_init()
8183a89caf67 init: Invoke arch_cpu_finalize_init() earlier
a3342c60dcc5 init: Remove check_bugs() leftovers
8beabde0ed8d um/cpu: Switch to arch_cpu_finalize_init()
ce97072e10cc sparc/cpu: Switch to arch_cpu_finalize_init()
84f585542ec6 sh/cpu: Switch to arch_cpu_finalize_init()
6a90583dbd9b mips/cpu: Switch to arch_cpu_finalize_init()
489ae02c8993 m68k/cpu: Switch to arch_cpu_finalize_init()
08e86d42e2c9 loongarch/cpu: Switch to arch_cpu_finalize_init()
403e4cc67e4c ia64/cpu: Switch to arch_cpu_finalize_init()
e2e06240ae47 ARM: cpu: Switch to arch_cpu_finalize_init()
7918a3555a25 x86/cpu: Switch to arch_cpu_finalize_init()
d5501f2ff80d init: Provide arch_cpu_finalize_init()

(From OE-Core rev: c8b669d53b3444191c83f171768b03f96913f4eb)

Signed-off-by: Bruce Ashfield 
Signed-off-by: Luca Ceresoli 
Signed-off-by: Richard Purdie 
(cherry picked from commit ee0f9bb134ed2167bd014aaa0fafa551215a6f28)
Signed-off-by: Steve Sakoman 
---
 .../linux/linux-yocto-rt_6.1.bb   |  6 ++--
 .../linux/linux-yocto-tiny_6.1.bb |  6 ++--
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 28 +--
 3 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
index 0645458d11..5323ae02ca 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
@@ -14,13 +14,13 @@ python () {
 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to 
linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "ca3ebd29a77417d2c6cabc451496f2283d69e46d"
-SRCREV_meta ?= "9f8ee63473567964331b9465fa1aba301a9a725b"
+SRCREV_machine ?= "cd11a96d480a4748f96cb93d323c3eb8bbd8935d"
+SRCREV_meta ?= "fd76f76e2b84ddc47ade29ca3118ff14c2b9b67e"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.1;destsuffix=${KMETA};protocol=https"
 
-LINUX_VERSION ?= "6.1.43"
+LINUX_VERSION ?= "6.1.44"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
index dfc1e5e5d6..3d392cb9cf 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
@@ -8,7 +8,7 @@ require recipes-kernel/linux/linux-yocto.inc
 # CVE exclusions
 include recipes-kernel/linux/cve-exclusion_6.1.inc
 
-LINUX_VERSION ?= "6.1.43"
+LINUX_VERSION ?= "6.1.44"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -17,8 +17,8 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "19cd9d8c4bafb673a03b2d7c22407d7c8d192a96"
-SRCREV_meta ?= "9f8ee63473567964331b9465fa1aba301a9a

[OE-core][mickledore 07/20] linux-yocto/6.1: update to v6.1.43

2023-08-30 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

52a953d0934b Linux 6.1.43
c3d576baa6c8 dma-buf: fix an error pointer vs NULL bug
23acc2b850ba dma-buf: keep the signaling time of merged fences v3
665e6fd71468 test_firmware: return ENOMEM instead of ENOSPC on failed 
memory allocation
0ab95d5ce8be selftests: mptcp: sockopt: use 'iptables-legacy' if available
bd2decac7345 mptcp: ensure subflow is unhashed before cleaning the backlog
ab79c7541d84 cpufreq: intel_pstate: Drop ACPI _PSS states table patching
602a1cbc24a2 ACPI: processor: perflib: Avoid updating frequency QoS 
unnecessarily
f7fcc0f1b26b ACPI: processor: perflib: Use the "no limit" frequency QoS
d701687c898e drm/amd/display: Write to correct dirty_rect
d58fb94f24f8 drm/amd/display: perform a bounds check before filling dirty 
rectangles
0441c4415442 tracing: Fix trace_event_raw_event_synth() if else statement
f5e8f7a02c15 drm/amd/display: set per pipe dppclk to 0 when dpp is off
73679f8c455e rbd: retrieve and check lock owner twice before blocklisting
0c0b6412c966 rbd: harden get_lock_owner_info() a bit
c0d067c79b23 rbd: make get_lock_owner_info() return a single locker or NULL
3d215ad49c6a dm cache policy smq: ensure IO doesn't prevent cleaner policy 
progress
507f70c06aa9 drm/i915/dpt: Use shmem for dpt objects
e046aecb73e0 ceph: never send metrics if disable_send_metrics is set
8ab9ad163804 PM: sleep: wakeirq: fix wake irq arming
356e711640ae arm64/sme: Set new vector length before reallocating
ff54cb993b31 ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
6deb8727f2a5 s390/dasd: print copy pair message only for the correct error
c4ae208cc335 s390/dasd: fix hanging device after quiesce/resume
2b58bd384730 LoongArch: BPF: Enable bpf_probe_read{, str}() on LoongArch
8a5e0c1f71dc LoongArch: BPF: Fix check condition to call lu32id in 
move_imm()
024ed3b9b8e3 Revert "um: Use swap() to make code cleaner"
e1d54962a63b soundwire: fix enumeration completion
dda7cfcaa46b selftests: mptcp: join: only check for ip6tables if needed
aedec6019d7c net: dsa: qca8k: fix mdb add/del case with 0 VID
828f9526f061 net: dsa: qca8k: fix broken search_and_del
d42c326288ac net: dsa: qca8k: fix search_and_insert wrong handling of new 
rule
e1fda7c1250f virtio-net: fix race between set queues and probe
cd1a8952ff52 xen: speed up grant-table reclaim
af7aa4fe94b3 proc/vmcore: fix signedness bug in read_from_oldmem()
7f1715d827dc locking/rtmutex: Fix task->pi_waiters integrity
d392d2d72af3 irqchip/gic-v4.1: Properly lock VPEs when doing a directLPI 
invalidation
a80d2cb27d39 irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
2edb87931afd tpm_tis: Explicitly check for error code
c9af433b1138 ACPI/IORT: Remove erroneous id_count check in 
iort_node_get_rmr_info()
d79f730bb807 nfsd: Remove incorrect check in nfsd4_validate_stateid
e5a87723e8c7 file: always lock position for FMODE_ATOMIC_POS
2663e2cb91a7 x86/MCE/AMD: Decrement threshold_bank refcount when removing 
threshold blocks
360c98f5830d btrfs: check for commit error at 
btrfs_attach_transaction_barrier()
a7b85dc31644 btrfs: check if the transaction was aborted at 
btrfs_wait_for_commit()
cbec34d3021d btrfs: account block group tree when calculating global 
reserve size
5fec6f7903f9 hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 
disabled
85f8077893ec hwmon: (k10temp) Enable AMD3255 Proc to show negative 
temperature
bf7b30dc16da ALSA: hda/relatek: Enable Mute LED on HP 250 G8
db3c5ca31400 ALSA: hda/realtek: Support ASUS G713PV laptop
96a0b80eb1b0 Revert "xhci: add quirk for host controllers that don't update 
endpoint DCS"
9615ca54bc13 tty: n_gsm: fix UAF in gsm_cleanup_mux
7ae9f55a4950 staging: ks7010: potential buffer overflow in 
ks_wlan_set_encode_ext()
41e05572e871 staging: r8712: Fix memory leak in _r8712_init_xmit_priv()
ef301c41a10e Documentation: security-bugs.rst: clarify CVE handling
ddb9503d1c2e Documentation: security-bugs.rst: update preferences when 
dealing with the linux-distros group
9ae3d7941f8d Revert "usb: xhci: tegra: Fix error check"
cf8203ea19ef usb: xhci-mtk: set the dma max_seg_size
c0ebcc7e7fb1 usb: cdns3: fix incorrect calculation of ep_buf_size when more 
than one config
9590eeef4d65 USB: quirks: add quirk for Focusrite Scarlett
98a6054d51cc usb: ohci-at91: Fix the unhandle interrupt when resume
a28062554190 usb: misc: ehset: fix wrong if condition
c1fad1695bef usb: dwc3: don't reset device side if dwc3 was configured as 
host-only
84ff2e988b0b usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
bf4986fbeb21 Revert "usb: dwc3: core: Enable AutoRetry feature in the 
controller"
60816ac26f2f usb: typec: Use sysfs_emit_at when concatenat

[OE-core][mickledore 06/20] linux-yocto/6.1: update to v6.1.41

2023-08-30 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

5302e81aa209 Linux 6.1.41
ed9b87010aa8 x86/cpu/amd: Add a Zenbleed fix
5fc203d8d3ed x86/cpu/amd: Move the errata checking functionality up
75389113731b Linux 6.1.40
9879d6e1ca87 net/ncsi: change from ndo_set_mac_address to 
dev_set_mac_address
e2c3356907a5 net/ncsi: make one oem_gma function for all mfr id
e4a0e09b79bd drm/atomic: Fix potential use-after-free in nonblocking commits
d34a3470ed40 net/sched: sch_qfq: reintroduce lmax bound check for MTU
ff06cd411aa0 swiotlb: mark swiotlb_memblock_alloc() as __init
d64b70df23e8 Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON"
fbfb6b7cb2f7 MIPS: kvm: Fix build error with KVM_MIPS_DEBUG_COP0_COUNTERS 
enabled
fec55ec03545 scsi: qla2xxx: Fix end of loop test
f459d586fdf1 scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
b06d1b525364 scsi: qla2xxx: Pointer may be dereferenced
b88b1241fb1c scsi: qla2xxx: Correct the index of array
e466930717ef scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
ce2cdbe530b0 scsi: qla2xxx: Fix potential NULL pointer dereference
2dddbf8de128 scsi: qla2xxx: Fix buffer overrun
477bc74ad1ad scsi: qla2xxx: Avoid fcport pointer dereference
2b3bdef089b9 scsi: qla2xxx: Array index may go out of bound
d994ac7c7842 scsi: qla2xxx: Fix mem access after free
90770dad1eb3 scsi: qla2xxx: Wait for io return on terminate rport
1802e5d0988a scsi: qla2xxx: Fix hang in task management
35985b0741c1 scsi: qla2xxx: Fix task management cmd fail due to unavailable 
resource
843665c4266d scsi: qla2xxx: Fix task management cmd failure
ff92567d906e scsi: qla2xxx: Multi-que support for TMF
95e34129f37e tracing/user_events: Fix struct arg size match check
a95c1fede27d tracing/probes: Fix to update dynamic data counter if fetcharg 
uses it
837f92d27f55 tracing/probes: Fix not to count error code to total length
2f41d35b58c8 selftests: mptcp: pm_nl_ctl: fix 32-bit support
ee352299a678 selftests: mptcp: depend on SYN_COOKIES
08daab11f344 selftests: mptcp: userspace_pm: report errors with 'remove' 
tests
4098a4318298 selftests: mptcp: userspace_pm: use correct server port
c118baa05fb9 selftests: mptcp: sockopt: return error if wrong mark
671486793f72 selftests: mptcp: connect: fail if nft supposed to work
938d5b7a75e1 tracing: Fix null pointer dereference in tracing_err_log_open()
fbcd0c2b569f fprobe: Ensure running fprobe_exit_handler() finished before 
calling rethook_free()
ce3ec57faff5 fprobe: Release rethook after the ftrace_ops is unregistered
2e9a46e46786 pwm: meson: fix handling of period/duty if greater than 
UINT_MAX
ba1ede19e601 pwm: meson: modify and simplify calculation in 
meson_pwm_get_state
9a2c57fd3284 PM: QoS: Restore support for default value on frequency QoS
15ec83da4311 perf/x86: Fix lockdep warning in for_each_sibling_event() on 
SPR
22fc9fd72307 xtensa: ISS: fix call to split_if_spec
6a05de6da58a cifs: if deferred close is disabled then close files 
immediately
bd8cd38d3ac6 drm/amd/pm: conditionally disable pcie lane/speed switching 
for SMU13
11dc77a645b7 drm/amd/pm: share the code around SMU13 pcie parameters update
99fe81d219df ftrace: Fix possible warning on checking all pages used in 
ftrace_process_locs()
8b0b63fdac6b ring-buffer: Fix deadloop issue on reading trace_pipe
90947ebf8794 net: ena: fix shift-out-of-bounds in exponential backoff
b1a726ad33e5 regmap-irq: Fix out-of-bounds access when allocating config 
buffers
aeb62beaf9cb perf: RISC-V: Remove PERF_HES_STOPPED flag checking in 
riscv_pmu_start()
e2c7a05a48e5 samples: ftrace: Save required argument registers in sample 
trampolines
9d6a260bbfbc nvme: don't reject probe due to duplicate IDs for 
single-ported PCIe devices
be970e22c53d tracing: Fix memory leak of iter->temp when reading trace_pipe
5fd32eb6fa0a tracing/histograms: Add histograms to hist_vars if they have 
referenced variables
0a1dc6377afc dm: verity-loadpin: Add NULL pointer check for 'bdev' parameter
08aaeda414f7 s390/decompressor: fix misaligned symbol build error
2ebf4ddcc657 bus: ixp4xx: fix IXP4XX_EXP_T1_MASK
599c0ebdb5cc Revert "8250: add support for ASIX devices with a FIFO bug"
801daff00780 soundwire: qcom: fix storing port config out-of-bounds
76ab057de777 opp: Fix use-after-free in lazy_opp_tables after probe deferral
be06ffa8f4ac meson saradc: fix clock divider mask length
610ddd79fc6a xhci: Show ZHAOXIN xHCI root hub speed correctly
892ef7593000 xhci: Fix TRB prefetch issue of ZHAOXIN hosts
8e273a2190b5 xhci: Fix resume issue of some ZHAOXIN hosts
829361479860 ceph: don't let check_caps skip sending responses for revoke 
msgs
0471d907d8c1 ceph: fix blindly expanding the readahead windows
d545ff97cf43 ceph: add a d

[OE-core][mickledore 05/20] gstreamer1.0: upgrade 1.22.4 -> 1.22.5

2023-08-30 Thread Steve Sakoman
From: Anuj Mittal 

Signed-off-by: Anuj Mittal 
Signed-off-by: Richard Purdie 
(cherry picked from commit a894c9499863f127380c38f0b17d51b356391821)
Signed-off-by: Steve Sakoman 
---
 .../{gst-devtools_1.22.4.bb => gst-devtools_1.22.5.bb}  | 2 +-
 ...streamer1.0-libav_1.22.4.bb => gstreamer1.0-libav_1.22.5.bb} | 2 +-
 .../{gstreamer1.0-omx_1.22.4.bb => gstreamer1.0-omx_1.22.5.bb}  | 2 +-
 ...plugins-bad_1.22.4.bb => gstreamer1.0-plugins-bad_1.22.5.bb} | 2 +-
 ...ugins-base_1.22.4.bb => gstreamer1.0-plugins-base_1.22.5.bb} | 2 +-
 ...ugins-good_1.22.4.bb => gstreamer1.0-plugins-good_1.22.5.bb} | 2 +-
 ...ugins-ugly_1.22.4.bb => gstreamer1.0-plugins-ugly_1.22.5.bb} | 2 +-
 ...reamer1.0-python_1.22.4.bb => gstreamer1.0-python_1.22.5.bb} | 2 +-
 ...rtsp-server_1.22.4.bb => gstreamer1.0-rtsp-server_1.22.5.bb} | 2 +-
 ...streamer1.0-vaapi_1.22.4.bb => gstreamer1.0-vaapi_1.22.5.bb} | 2 +-
 .../{gstreamer1.0_1.22.4.bb => gstreamer1.0_1.22.5.bb}  | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)
 rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.22.4.bb => 
gst-devtools_1.22.5.bb} (95%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.22.4.bb => 
gstreamer1.0-libav_1.22.5.bb} (91%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.22.4.bb => 
gstreamer1.0-omx_1.22.5.bb} (95%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.22.4.bb 
=> gstreamer1.0-plugins-bad_1.22.5.bb} (98%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.22.4.bb 
=> gstreamer1.0-plugins-base_1.22.5.bb} (97%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.22.4.bb 
=> gstreamer1.0-plugins-good_1.22.5.bb} (97%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.22.4.bb 
=> gstreamer1.0-plugins-ugly_1.22.5.bb} (94%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-python_1.22.4.bb => 
gstreamer1.0-python_1.22.5.bb} (91%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-rtsp-server_1.22.4.bb 
=> gstreamer1.0-rtsp-server_1.22.5.bb} (90%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-vaapi_1.22.4.bb => 
gstreamer1.0-vaapi_1.22.5.bb} (95%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.22.4.bb => 
gstreamer1.0_1.22.5.bb} (97%)

diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.4.bb 
b/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.5.bb
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gst-devtools_1.22.4.bb
rename to meta/recipes-multimedia/gstreamer/gst-devtools_1.22.5.bb
index beaf1a9b91..3e029396a6 100644
--- a/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.5.bb
@@ -12,7 +12,7 @@ SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV}
file://0001-connect-has-a-different-signature-on-musl.patch \
"
 
-SRC_URI[sha256sum] = 
"4c52053ce8c1df72fd81721e9f53de3b146edcf2de28f607be705bce4cf909d1"
+SRC_URI[sha256sum] = 
"2add1519aa6eeb01d544cb94293688ee3bc2079f6bca6075bf5c23d00a0921be"
 
 DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 
gstreamer1.0-plugins-base"
 RRECOMMENDS:${PN} = "git"
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.bb
similarity index 91%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.bb
index 4d59353e08..af9dc5d2d5 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.22.5.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \
 "
 
 SRC_URI = 
"https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz";
-SRC_URI[sha256sum] = 
"9a751bc740de768e791c37a95f0a924c6a41d12fd7f37f54ce6a4e834be122d3"
+SRC_URI[sha256sum] = 
"8583f0c1f4fcb01eed11fa1e3c21126543a8bd739ed4fc1db31f756a5ab01d9a"
 
 S = "${WORKDIR}/gst-libav-${PV}"
 
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.4.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.5.bb
similarity index 95%
rename from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.4.bb
rename to meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.5.bb
index fc70805daf..5d99810cd4 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.5.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c \
 
 SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz";
 
-SRC_URI[sha256sum] = 
"5fcb872d977b035fb75a2d0ea955ba052dc3bdae282f8f60aa9d865808784211"
+SRC_URI[sha256sum] = 
"cf0cb9c4de06c5d62eef77cb31238bbaf257dc88802010072eedd1c168f136a4"
 
 S = "${WORKDIR}/gst-om

[OE-core][mickledore 04/20] tar: upgrade 1.34 -> 1.35

2023-08-30 Thread Steve Sakoman
From: Wang Mingyu 

CVE-2022-48303.patch
removed since it's included in 1.35

License-Update: http changed to https

Changelog:
===
* Fail when building GNU tar, if the platform supports 64-bit time_t
  but the build uses only 32-bit time_t.
* Leave the devmajor and devminor fields empty (rather than zero) for
  non-special files, as this is more compatible with traditional tar.
* Bug fixes
** Fix interaction of --update with --wildcards.
** When extracting archives into an empty directory, do not create
   hard links to files outside that directory.
** Handle partial reads from regular files.
** Warn "file changed as we read it" less often.
** Fix --ignore-failed-read to ignore file-changed read errors
** Fix --remove-files to not remove a file that changed while we read it.
** Fix --atime-preserve=replace to not fail if there was no need to replace,
   either because we did not read the file, or the atime did not change.
** Fix race when creating a parent directory while another process is
   also doing so.
** Fix handling of prefix keywords not followed by "." in pax headers.
** Fix handling of out-of-range sparse entries in pax headers.
** Fix handling of --transform='s/s/@/2'.
** Fix treatment of options ending in / in files-from list.
** Fix crash on 'tar --checkpoint-action exec=\"'.
** Fix low-memory crash when reading incremental dumps.
** Fix --exclude-vcs-ignores memory allocation misuse.

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit c63769de05ce08c0627d302d14316ced31816b4d)
Signed-off-by: Steve Sakoman 
---
 .../tar/tar/CVE-2022-48303.patch  | 43 ---
 .../tar/{tar_1.34.bb => tar_1.35.bb}  |  8 ++--
 2 files changed, 3 insertions(+), 48 deletions(-)
 delete mode 100644 meta/recipes-extended/tar/tar/CVE-2022-48303.patch
 rename meta/recipes-extended/tar/{tar_1.34.bb => tar_1.35.bb} (87%)

diff --git a/meta/recipes-extended/tar/tar/CVE-2022-48303.patch 
b/meta/recipes-extended/tar/tar/CVE-2022-48303.patch
deleted file mode 100644
index b2f40f3e64..00
--- a/meta/recipes-extended/tar/tar/CVE-2022-48303.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 3da78400eafcccb97e2f2fd4b227ea40d794ede8 Mon Sep 17 00:00:00 2001
-From: Sergey Poznyakoff 
-Date: Sat, 11 Feb 2023 11:57:39 +0200
-Subject: Fix boundary checking in base-256 decoder
-
-* src/list.c (from_header): Base-256 encoding is at least 2 bytes
-long.
-
-Upstream-Status: Backport [see reference below]
-CVE: CVE-2022-48303
-
-Reference to upstream patch:
-https://savannah.gnu.org/bugs/?62387
-https://git.savannah.gnu.org/cgit/tar.git/patch/src/list.c?id=3da78400eafcccb97e2f2fd4b227ea40d794ede8
-
-Signed-off-by: Rodolfo Quesada Zumbado 
-Signed-off-by: Joe Slater 

- src/list.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)Signed-off-by: Rodolfo Quesada 
Zumbado 
-
-
-(limited to 'src/list.c')
-
-diff --git a/src/list.c b/src/list.c
-index 9fafc42..86bcfdd 100644
 a/src/list.c
-+++ b/src/list.c
-@@ -881,8 +881,9 @@ from_header (char const *where0, size_t digs, char const 
*type,
- where++;
-   }
- }
--  else if (*where == '\200' /* positive base-256 */
-- || *where == '\377' /* negative base-256 */)
-+  else if (where <= lim - 2
-+ && (*where == '\200' /* positive base-256 */
-+ || *where == '\377' /* negative base-256 */))
- {
-   /* Parse base-256 output.  A nonnegative number N is
-represented as (256**DIGS)/2 + N; a negative number -N is
--- 
-cgit v1.1
-
diff --git a/meta/recipes-extended/tar/tar_1.34.bb 
b/meta/recipes-extended/tar/tar_1.35.bb
similarity index 87%
rename from meta/recipes-extended/tar/tar_1.34.bb
rename to meta/recipes-extended/tar/tar_1.35.bb
index 1ef5fe221e..4dbd418b60 100644
--- a/meta/recipes-extended/tar/tar_1.34.bb
+++ b/meta/recipes-extended/tar/tar_1.35.bb
@@ -4,13 +4,11 @@ or disk archive, and can restore individual files from the 
archive."
 HOMEPAGE = "http://www.gnu.org/software/tar/";
 SECTION = "base"
 LICENSE = "GPL-3.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
 
-SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.bz2 \
-   file://CVE-2022-48303.patch \
-"
+SRC_URI = "${GNU_MIRROR}/tar/tar-${PV}.tar.bz2"
 
-SRC_URI[sha256sum] = 
"b44cc67f8a1f6b0250b7c860e952b37e8ed932a90bd9b1862a511079255646ff"
+SRC_URI[sha256sum] = 
"7edb8886a3dc69420a1446e1e2d061922b642f1cf632d2cd0f9ee7e690775985"
 
 inherit autotools gettext texinfo
 
-- 
2.34.1


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

[OE-core][mickledore 03/20] procps: backport fix for CVE-2023-4016

2023-08-30 Thread Steve Sakoman
From: Ross Burton 

(From OE-Core rev: 255515e1b52fea6d72d37fae61667db08eb5b086)

Signed-off-by: Ross Burton 
Signed-off-by: Luca Ceresoli 
Signed-off-by: Richard Purdie 
(cherry picked from commit eae2a94f5de78b95590ec45e11e930655dbd5caf)
Signed-off-by: Steve Sakoman 
---
 .../procps/procps/CVE-2023-4016.patch | 73 +++
 meta/recipes-extended/procps/procps_4.0.3.bb  |  1 +
 2 files changed, 74 insertions(+)
 create mode 100644 meta/recipes-extended/procps/procps/CVE-2023-4016.patch

diff --git a/meta/recipes-extended/procps/procps/CVE-2023-4016.patch 
b/meta/recipes-extended/procps/procps/CVE-2023-4016.patch
new file mode 100644
index 00..202fea91f1
--- /dev/null
+++ b/meta/recipes-extended/procps/procps/CVE-2023-4016.patch
@@ -0,0 +1,73 @@
+From 2c933ecba3bb1d3041a5a7a53a7b4078a6003413 Mon Sep 17 00:00:00 2001
+From: Craig Small 
+Date: Thu, 10 Aug 2023 21:18:38 +1000
+Subject: [PATCH] ps: Fix possible buffer overflow in -C option
+
+ps allocates memory using malloc(length of arg * len of struct).
+In certain strange circumstances, the arg length could be very large
+and the multiplecation will overflow, allocating a small amount of
+memory.
+
+Subsequent strncpy() will then write into unallocated memory.
+The fix is to use calloc. It's slower but this is a one-time
+allocation. Other malloc(x * y) calls have also been replaced
+by calloc(x, y)
+
+References:
+ https://www.freelists.org/post/procps/ps-buffer-overflow-CVE-20234016
+ https://nvd.nist.gov/vuln/detail/CVE-2023-4016
+ https://gitlab.com/procps-ng/procps/-/issues/297
+ https://bugs.debian.org/1042887
+
+Signed-off-by: Craig Small 
+
+CVE: CVE-2023-4016
+Upstream-Status: Backport 
[https://gitlab.com/procps-ng/procps/-/commit/2c933ecba3bb1d3041a5a7a53a7b4078a6003413]
+Signed-off-by: Ross Burton 
+---
+ NEWS| 1 +
+ src/ps/parser.c | 8 
+ 2 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/src/ps/parser.c b/src/ps/parser.c
+index 248aa741..15873dfa 100644
+--- a/src/ps/parser.c
 b/src/ps/parser.c
+@@ -189,7 +189,6 @@ static const char *parse_list(const char *arg, const char 
*(*parse_fn)(char *, s
+   const char *err;   /* error code that could or did happen */
+   /*** prepare to operate ***/
+   node = xmalloc(sizeof(selection_node));
+-  node->u = xmalloc(strlen(arg)*sizeof(sel_union)); /* waste is insignificant 
*/
+   node->n = 0;
+   buf = strdup(arg);
+   /*** sanity check and count items ***/
+@@ -210,6 +209,7 @@ static const char *parse_list(const char *arg, const char 
*(*parse_fn)(char *, s
+   } while (*++walk);
+   if(need_item) goto parse_error;
+   node->n = items;
++  node->u = xcalloc(items, sizeof(sel_union));
+   /*** actually parse the list ***/
+   walk = buf;
+   while(items--){
+@@ -1050,15 +1050,15 @@ static const char *parse_trailing_pids(void){
+   thisarg = ps_argc - 1;   /* we must be at the end now */
+ 
+   pidnode = xmalloc(sizeof(selection_node));
+-  pidnode->u = xmalloc(i*sizeof(sel_union)); /* waste is insignificant */
++  pidnode->u = xcalloc(i, sizeof(sel_union)); /* waste is insignificant */
+   pidnode->n = 0;
+ 
+   grpnode = xmalloc(sizeof(selection_node));
+-  grpnode->u = xmalloc(i*sizeof(sel_union)); /* waste is insignificant */
++  grpnode->u = xcalloc(i,sizeof(sel_union)); /* waste is insignificant */
+   grpnode->n = 0;
+ 
+   sidnode = xmalloc(sizeof(selection_node));
+-  sidnode->u = xmalloc(i*sizeof(sel_union)); /* waste is insignificant */
++  sidnode->u = xcalloc(i, sizeof(sel_union)); /* waste is insignificant */
+   sidnode->n = 0;
+ 
+   while(i--){
+-- 
+GitLab
+
diff --git a/meta/recipes-extended/procps/procps_4.0.3.bb 
b/meta/recipes-extended/procps/procps_4.0.3.bb
index cc3420df4e..140e7bfd22 100644
--- a/meta/recipes-extended/procps/procps_4.0.3.bb
+++ b/meta/recipes-extended/procps/procps_4.0.3.bb
@@ -15,6 +15,7 @@ inherit autotools gettext pkgconfig update-alternatives
 SRC_URI = "git://gitlab.com/procps-ng/procps.git;protocol=https;branch=master \
file://sysctl.conf \
file://0001-src-w.c-use-utmp.h-only.patch \
+   file://CVE-2023-4016.patch \
"
 SRCREV = "806eb270f217ff7e1e745c7bda2b002b5be74be4"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186905): 
https://lists.openembedded.org/g/openembedded-core/message/186905
Mute This Topic: https://lists.openembedded.org/mt/101058048/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 02/20] python3-pygments: fix for CVE-2022-40896

2023-08-30 Thread Steve Sakoman
From: Narpat Mali 

A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments
through 2.15.0 via SmithyLexer.

The CVE issue is fixed by these 3 different commits in different version:
1. Improve the Smithy metadata matcher (These changes are already available as 
part
   of current python3-pygments_2.14.0 version):
https://github.com/pygments/pygments/commit/dd52102c38ebe78cd57748e09f38929fd283ad04
 (2.14.0)
2. SQL+Jinja: use a simpler regex in analyse_text:
https://github.com/pygments/pygments/commit/97eb3d5ec7c1b3ea4fcf9dee30a2309cf92bd194
 (2.15.0)
3. Improve Java properties lexer (#2404):
https://github.com/pygments/pygments/commit/fdf182a7af85b1deeeb637ca970d31935e7c9d52
 (2.15.1)

References:
https://nvd.nist.gov/vuln/detail/CVE-2022-40896
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/

Signed-off-by: Narpat Mali 
Signed-off-by: Steve Sakoman 
---
 .../CVE-2022-40896-0001.patch |  49 +++
 .../CVE-2022-40896-0002.patch | 301 ++
 .../python/python3-pygments_2.14.0.bb |   4 +
 3 files changed, 354 insertions(+)
 create mode 100644 
meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0001.patch
 create mode 100644 
meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0002.patch

diff --git 
a/meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0001.patch 
b/meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0001.patch
new file mode 100644
index 00..d7fc87fec8
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0001.patch
@@ -0,0 +1,49 @@
+From 9a73f2a80e5cf869d473ddcbfceaab229fb99b5e Mon Sep 17 00:00:00 2001
+From: Narpat Mali 
+Date: Mon, 28 Aug 2023 15:04:14 +
+Subject: [PATCH] SQL+Jinja: use a simpler regex in analyse_text
+
+Fixes catastrophic backtracking
+
+Fixes #2355
+
+CVE: CVE-2022-40896
+
+Upstream-Status: Backport 
[https://github.com/pygments/pygments/commit/97eb3d5ec7c1b3ea4fcf9dee30a2309cf92bd194]
+
+Signed-off-by: Narpat Mali 
+---
+ CHANGES  | 1 +
+ pygments/lexers/templates.py | 6 +-
+ 2 files changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/CHANGES b/CHANGES
+index 2aa54fa..4c84fa6 100644
+--- a/CHANGES
 b/CHANGES
+@@ -61,6 +61,7 @@ Version 2.14.0
+   * Spice: Add ``enum`` keyword and fix a bug regarding binary,
+ hexadecimal and octal number tokens (#2227)
+   * YAML: Accept colons in key names (#2277)
++  * SQL+Jinja (``analyse_text`` method): fix catastrophic backtracking 
[Backported]
+
+ - Fix `make mapfiles` when Pygments is not installed in editable mode
+   (#2223)
+diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py
+index 1fcf708..1066294 100644
+--- a/pygments/lexers/templates.py
 b/pygments/lexers/templates.py
+@@ -2291,10 +2291,6 @@ class SqlJinjaLexer(DelegatingLexer):
+ if re.search(r'\{\{\s*source\(.*\)\s*\}\}', text):
+ rv += 0.25
+ # Jinja macro
+-if re.search(
+-r'\{%-?\s*macro 
\w+\(.*\)\s*-?%\}\s+.*\s+\{%-?\s*endmacro\s*-?%\}',
+-text,
+-re.S,
+-):
++if re.search(r'\{%-?\s*macro \w+\(.*\)\s*-?%\}', text):
+ rv += 0.15
+ return rv
+--
+2.40.0
diff --git 
a/meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0002.patch 
b/meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0002.patch
new file mode 100644
index 00..61ebe5dad5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0002.patch
@@ -0,0 +1,301 @@
+From 45ff8eabe0363f829c397372aefc3b23aeb135b3 Mon Sep 17 00:00:00 2001
+From: Narpat Mali 
+Date: Tue, 29 Aug 2023 10:45:34 +
+Subject: [PATCH] Improve Java properties lexer (#2404)
+
+Use special lexer rules for escapes; fixes catastrophic backtracking,
+and highlights them too.
+
+Fixes #2356
+
+CVE: CVE-2022-40896
+
+Upstream-Status: Backport 
[https://github.com/pygments/pygments/commit/fdf182a7af85b1deeeb637ca970d31935e7c9d52]
+
+Signed-off-by: Narpat Mali 
+---
+ pygments/lexers/configs.py|  50 +---
+ tests/examplefiles/properties/java.properties |  11 ++
+ .../properties/java.properties.output | 110 +++---
+ .../test_escaped_space_in_value.txt   |   4 +-
+ .../properties/test_just_key_with_space.txt   |   4 +-
+ 5 files changed, 143 insertions(+), 36 deletions(-)
+
+diff --git a/pygments/lexers/configs.py b/pygments/lexers/configs.py
+index e04c722..b28b56a 100644
+--- a/pygments/lexers/configs.py
 b/pygments/lexers/configs.py
+@@ -129,26 +129,42 @@ class PropertiesLexer(RegexLexer):
+
+ tokens = {
+ 'root': [
+-(r'\s+', Whitespace),
++# comments
+ (r'[!#].*|/{2}.*', Comment.Single),
+-# search for first separator
+-(r'([^\\\n]|\\.)*?(?=[ \f\t=:])', Name.Attribute, "separator"),
+-# empty key
+-(r

[OE-core][mickledore 01/20] inetutils: fix CVE-2023-40303

2023-08-30 Thread Steve Sakoman
From: Yogita Urade 

GNU inetutils through 2.4 may allow privilege escalation because
of unchecked return values of set*id() family functions in ftpd,
rcp, rlogin, rsh, rshd, and uucpd. This is, for example, relevant
if the setuid system call fails when a process is trying to drop
privileges before letting an ordinary user control the activities
of the process.

Refernces:
https://nvd.nist.gov/vuln/detail/CVE-2023-40303

Signed-off-by: Yogita Urade 
Signed-off-by: Steve Sakoman 
---
 ...tpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch | 284 ++
 ...03-Indent-changes-in-previous-commit.patch | 258 
 .../inetutils/inetutils_2.4.bb|   2 +
 3 files changed, 544 insertions(+)
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/0001-CVE-2023-40303-ftpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/0002-CVE-2023-40303-Indent-changes-in-previous-commit.patch

diff --git 
a/meta/recipes-connectivity/inetutils/inetutils/0001-CVE-2023-40303-ftpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch
 
b/meta/recipes-connectivity/inetutils/inetutils/0001-CVE-2023-40303-ftpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch
new file mode 100644
index 00..04fd9b1f85
--- /dev/null
+++ 
b/meta/recipes-connectivity/inetutils/inetutils/0001-CVE-2023-40303-ftpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch
@@ -0,0 +1,284 @@
+From e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6 Mon Sep 17 00:00:00 2001
+From: Jeffrey Bencteux 
+Date: Mon, 28 Aug 2023 15:35:19 +
+Subject: [PATCH] CVE-2023-40303: ftpd,rcp,rlogin,rsh,rshd,uucpd: fix: check
+set*id() return values
+
+Several setuid(), setgid(), seteuid() and setguid() return values
+were not checked in ftpd/rcp/rlogin/rsh/rshd/uucpd code potentially
+leading to potential security issues.
+
+Signed-off-by: Jeffrey Bencteux 
+Signed-off-by: Simon Josefsson 
+
+CVE: CVE-2023-40303
+
+Upstream-Status: Backport 
[https://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=e4e65c03f4c11292a3e40ef72ca3f194c8bffdd6]
+
+Signed-off-by: Yogita Urade 
+---
+ ftpd/ftpd.c  | 10 +++---
+ src/rcp.c| 39 +--
+ src/rlogin.c | 11 +--
+ src/rsh.c| 25 +
+ src/rshd.c   | 20 +---
+ src/uucpd.c  | 15 +--
+ 6 files changed, 100 insertions(+), 20 deletions(-)
+
+diff --git a/ftpd/ftpd.c b/ftpd/ftpd.c
+index 92b2cca..009f3f1 100644
+--- a/ftpd/ftpd.c
 b/ftpd/ftpd.c
+@@ -862,7 +862,9 @@ end_login (struct credentials *pcred)
+   char *remotehost = pcred->remotehost;
+   int atype = pcred->auth_type;
+
+-  seteuid ((uid_t) 0);
++  if (seteuid ((uid_t) 0) == -1)
++_exit (EXIT_FAILURE);
++
+   if (pcred->logged_in)
+ {
+   logwtmp_keep_open (ttyline, "", "");
+@@ -1151,7 +1153,8 @@ getdatasock (const char *mode)
+
+   if (data >= 0)
+ return fdopen (data, mode);
+-  seteuid ((uid_t) 0);
++  if (seteuid ((uid_t) 0) == -1)
++_exit (EXIT_FAILURE);
+   s = socket (ctrl_addr.ss_family, SOCK_STREAM, 0);
+   if (s < 0)
+ goto bad;
+@@ -1978,7 +1981,8 @@ passive (int epsv, int af)
+   else/* !AF_INET6 */
+ ((struct sockaddr_in *) &pasv_addr)->sin_port = 0;
+
+-  seteuid ((uid_t) 0);
++  if (seteuid ((uid_t) 0) == -1)
++_exit (EXIT_FAILURE);
+   if (bind (pdata, (struct sockaddr *) &pasv_addr, pasv_addrlen) < 0)
+ {
+   if (seteuid ((uid_t) cred.uid))
+diff --git a/src/rcp.c b/src/rcp.c
+index 75adb25..f913256 100644
+--- a/src/rcp.c
 b/src/rcp.c
+@@ -345,14 +345,23 @@ main (int argc, char *argv[])
+   if (from_option)
+ { /* Follow "protocol", send data. */
+   response ();
+-  setuid (userid);
++
++  if (setuid (userid) == -1)
++  {
++  error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
++  }
++
+   source (argc, argv);
+   exit (errs);
+ }
+
+   if (to_option)
+ { /* Receive data. */
+-  setuid (userid);
++  if (setuid (userid) == -1)
++  {
++  error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() failed)");
++  }
++
+   sink (argc, argv);
+   exit (errs);
+ }
+@@ -537,7 +546,11 @@ toremote (char *targ, int argc, char *argv[])
+ if (response () < 0)
+   exit (EXIT_FAILURE);
+ free (bp);
+-setuid (userid);
++
++if (setuid (userid) == -1)
++{
++  error (EXIT_FAILURE, 0, "Could not drop privileges (setuid() 
failed)");
++}
+   }
+ source (1, argv + i);
+ close (rem);
+@@ -630,7 +643,12 @@ tolocal (int argc, char *argv[])
+ ++errs;
+ continue;
+   }
+-  seteuid (userid);
++
++  if (seteuid (userid) == -1)
++  {
++  error (EXIT_FAILURE, 0, "Could not drop privileges (seteuid() failed)");
++  }
++
+ #if defined IP_TOS && defined IPPROTO_IP && defined IPTOS_THROUGHPUT
+

[OE-core][mickledore 00/20] Patch review

2023-08-30 Thread Steve Sakoman
Please review this set of patches for mickledore and have comments back by
end of day Friday, September 1.

Passed a-full on autobuilder:

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

The following changes since commit a46782c9f54bcb0389ea1016e37b6939aae79bfb:

  resulttool/report: Avoid divide by zero (2023-08-25 12:24:11 -1000)

are available in the Git repository at:

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

Anuj Mittal (1):
  gstreamer1.0: upgrade 1.22.4 -> 1.22.5

Bruce Ashfield (7):
  linux-yocto/6.1: update to v6.1.41
  linux-yocto/6.1: update to v6.1.43
  linux-yocto/6.1: update to v6.1.44
  linux-yocto/6.1: update to v6.1.45
  linux-yocto/6.1: fix uninitialized read in nohz_full/isolcpus setup
  linux-yocto/6.1: update to v6.1.46
  linux-yocto/6.1: fix IRQ-80 warnings

Etienne Cordonnier (1):
  vim: update obsolete comment

Khem Raj (1):
  build-sysroots: Add SUMMARY field

Markus Niebel (1):
  wic: fix wrong attempt to create file system in upartitioned regions

Martin Jansa (1):
  tcl: prevent installing another copy of tzdata

Narpat Mali (1):
  python3-pygments: fix for CVE-2022-40896

Ovidiu Panait (1):
  mdadm: skip running 04update-uuid and 07revert-inplace testcases

Poonam Jadhav (1):
  pixman: Remove duplication of license MIT

Richard Purdie (1):
  build-sysroots: Ensure dependency chains are minimal

Ross Burton (2):
  procps: backport fix for CVE-2023-4016
  graphene: fix runtime detection of IEEE754 behaviour

Wang Mingyu (1):
  tar: upgrade 1.34 -> 1.35

Yogita Urade (1):
  inetutils: fix CVE-2023-40303

 ...tpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch | 284 +
 ...03-Indent-changes-in-previous-commit.patch | 258 +++
 .../inetutils/inetutils_2.4.bb|   2 +
 meta/recipes-core/meta/build-sysroots.bb  |   7 +-
 .../CVE-2022-40896-0001.patch |  49 +++
 .../CVE-2022-40896-0002.patch | 301 ++
 .../python/python3-pygments_2.14.0.bb |   4 +
 meta/recipes-devtools/tcltk/tcl_8.6.13.bb |   6 +
 ...n-files-for-04update-uuid-and-07reve.patch |  39 +++
 meta/recipes-extended/mdadm/mdadm_4.2.bb  |   1 +
 .../procps/procps/CVE-2023-4016.patch |  73 +
 meta/recipes-extended/procps/procps_4.0.3.bb  |   1 +
 .../tar/tar/CVE-2022-48303.patch  |  43 ---
 .../tar/{tar_1.34.bb => tar_1.35.bb}  |   8 +-
 .../graphene/files/float-div.patch|  28 ++
 .../graphene/graphene_1.10.8.bb   |   2 +
 .../xorg-lib/pixman_0.42.2.bb |   2 +-
 .../linux/linux-yocto-rt_6.1.bb   |   6 +-
 .../linux/linux-yocto-tiny_6.1.bb |   6 +-
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  |  28 +-
 ...tools_1.22.4.bb => gst-devtools_1.22.5.bb} |   2 +-
 ...1.22.4.bb => gstreamer1.0-libav_1.22.5.bb} |   2 +-
 ...x_1.22.4.bb => gstreamer1.0-omx_1.22.5.bb} |   2 +-
 bb => gstreamer1.0-plugins-bad_1.22.5.bb} |   2 +-
 ...bb => gstreamer1.0-plugins-base_1.22.5.bb} |   2 +-
 ...bb => gstreamer1.0-plugins-good_1.22.5.bb} |   2 +-
 ...bb => gstreamer1.0-plugins-ugly_1.22.5.bb} |   2 +-
 22.4.bb => gstreamer1.0-python_1.22.5.bb} |   2 +-
 bb => gstreamer1.0-rtsp-server_1.22.5.bb} |   2 +-
 ...1.22.4.bb => gstreamer1.0-vaapi_1.22.5.bb} |   2 +-
 ...er1.0_1.22.4.bb => gstreamer1.0_1.22.5.bb} |   2 +-
 meta/recipes-support/vim/vim.inc  |   5 +-
 scripts/lib/wic/partition.py  |   2 +-
 33 files changed, 1092 insertions(+), 85 deletions(-)
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/0001-CVE-2023-40303-ftpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch
 create mode 100644 
meta/recipes-connectivity/inetutils/inetutils/0002-CVE-2023-40303-Indent-changes-in-previous-commit.patch
 create mode 100644 
meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0001.patch
 create mode 100644 
meta/recipes-devtools/python/python3-pygments/CVE-2022-40896-0002.patch
 create mode 100644 
meta/recipes-extended/mdadm/files/0001-tests-add-.broken-files-for-04update-uuid-and-07reve.patch
 create mode 100644 meta/recipes-extended/procps/procps/CVE-2023-4016.patch
 delete mode 100644 meta/recipes-extended/tar/tar/CVE-2022-48303.patch
 rename meta/recipes-extended/tar/{tar_1.34.bb => tar_1.35.bb} (87%)
 create mode 100644 meta/recipes-graphics/graphene/files/float-div.patch
 rename meta/recipes-multimedia/gstreamer/{gst-devtools_1.22.4.bb => 
gst-devtools_1.22.5.bb} (95%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.22.4.bb => 
gstreamer1.0-libav_1.22.5.bb} (91%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.22.4.bb => 
gstreamer1.0-omx_1.22.5.bb} (95%)
 rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.22.4.bb 
=> gstreamer1.0-plugins-bad_1.22.5.bb} (98%)
 rename meta/recipes-multimedia/gstreamer/{gstrea

Re: [OE-core] [kirkstone][PATCH] libdnf: backport a fix to build with gcc-13

2023-08-30 Thread Martin Jansa
On Wed, Aug 30, 2023 at 5:59 PM Steve Sakoman  wrote:

> I took a patch submitted yesterday for this same issue:
>
> https://lists.openembedded.org/g/openembedded-core/message/186814
>
> It contains three patches from upstream, rather than the two in your
> submission.
>
> Could you please take a look and see if there is an issue with keeping
> yesterday's submission?
>

Yes, this version is fine as well. I just didn't notice it existed before
creating my own.

That's what I get for allowing wife to take me with her to week log
vacation to place where it's even warmer than here so I wasn't watching MLs
for couple days :).

Cheers,

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186901): 
https://lists.openembedded.org/g/openembedded-core/message/186901
Mute This Topic: https://lists.openembedded.org/mt/101048453/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] update_mandb: Point to correct /etc/passwd with man

2023-08-30 Thread Eilís 'pidge' Ní Fhlannagáin

On 30/08/2023 15:08, Richard Purdie wrote:

On Wed, 2023-08-30 at 15:04 +0100, Eilís 'pidge' Ní Fhlannagáin wrote:

On 30/08/2023 14:19, Richard Purdie wrote:

On Wed, 2023-08-30 at 12:39 +, Eilís 'pidge' Ní Fhlannagáin wrote:

[YOCTO #15023]

In this instance (do_populate_sdk with api-documentation turned on),
pseudo is going to end up finding the passwd/groups files in
recipe-sysroot-native which is incorrect and does not have man. The
solution here should be to ensure that pseudo points to the passwd/groups
files in recipe-sysroot (which does have man:man).

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
---
   scripts/postinst-intercepts/update_mandb | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/postinst-intercepts/update_mandb 
b/scripts/postinst-intercepts/update_mandb
index a061bb426a6..6bc073bfff5 100644
--- a/scripts/postinst-intercepts/update_mandb
+++ b/scripts/postinst-intercepts/update_mandb
@@ -13,4 +13,4 @@ PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D 
$D${bindir}/mandb --config-file $C
   
   rm -f $CONFIG
   
-chown -R man:man $D${localstatedir}/cache/man/

+PSEUDO_PASSWD=$D chown -R man:man $D${localstatedir}/cache/man/


Is there a more general problem here? Wouldn't this issue apply to
other postinst scripts too?


Yes and No. The other postinst scripts if they do attempt to chown, are
trying to do it for root:root (which recipe-native-sysroot's passwd and
groups obviously have). We could add this to the others as well, just to
maintain consistency.

This is all because in image.bbclass, we're setting PSEUDO_PASSWD to
STAGING_DIR_NATIVE which I believe normally should be correct, except in
an instance like this.


image.bbclass sets it to:

meta/classes-recipe/image.bbclass:PSEUDO_PASSWD = 
"${IMAGE_ROOTFS}:${STAGING_DIR_NATIVE}"

so it should look at IMAGE_ROOTFS first, which I think is the same as
$D here?

Something isn't quite adding up...


In this case, IMAGE_ROOTFS and D are not the same, either at the start 
of do_populate_sdk or when the postinst script runs:


bitbake -e yields:

IMAGE_ROOTFS="/home/pidge/poky/build/tmp/work/qemux86_64-poky-linux/core-image-base/1.0/rootfs"

Passing IMAGE_ROOTFS into the update-mandb postinst scripts yields this:

D="/home/pidge/poky/build/tmp/work/qemux86_64-poky-linux/core-image-base/1.0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/core2-64-poky-linux"
IMAGE_ROOTFS="/home/pidge/poky/build/tmp/work/core2-64-poky-linux/eudev/3.2.12/rootfs"

Even if we were relying on an IMAGE_ROOTFS that pointed to what we 
expected, it is probably the wrong option here because there is no 
assurance it's populated with a passwd file when we run bitbake 
core-image-base -f -c do_populate_sdk. I've checked on my setup and have 
verified that it doesn't contain anything at that stage.


In my patch $D is actually set to ${SDK_OUTPUT}/${SDKPATHNATIVE} (not 
recipe-sysroot, I'll correct this in the log) which incidentally is also 
the same place we're running mandb from.


Cheers,

-e



Cheers,

Richard


--
Eilís 'pidge' Ní Fhlannagáin
BayLibre - At the Heart of Embedded Linux
www.baylibre.com


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186900): 
https://lists.openembedded.org/g/openembedded-core/message/186900
Mute This Topic: https://lists.openembedded.org/mt/101050953/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 v2] json-c: fix CVE-2021-32292

2023-08-30 Thread Steve Sakoman
On Tue, Aug 29, 2023 at 7:01 AM Adrian Freihofer
 wrote:
>
> This is a read past end of buffer issue in the json_parse test app,
> which can happened with malformed json data. It's not an issue with the
> library itself. For what ever reason this CVE has a base score of 9.8.
>
> Reference:
> https://nvd.nist.gov/vuln/detail/CVE-2021-32292
>
> Upstream issue:
> https://github.com/json-c/json-c/issues/654
>
> The CVE is fixed with version 0.16 (which is already in all active
> branches of poky).
>
> Signed-off-by: Adrian Freihofer 
> ---
>  .../json-c/json-c/CVE-2021-32292.patch| 30 +++
>  meta/recipes-devtools/json-c/json-c_0.15.bb   |  1 +
>  2 files changed, 31 insertions(+)
>  create mode 100644 meta/recipes-devtools/json-c/json-c/CVE-2021-32292.patch
>
> diff --git a/meta/recipes-devtools/json-c/json-c/CVE-2021-32292.patch 
> b/meta/recipes-devtools/json-c/json-c/CVE-2021-32292.patch
> new file mode 100644
> index 00..7ac08c4cb0
> --- /dev/null
> +++ b/meta/recipes-devtools/json-c/json-c/CVE-2021-32292.patch
> @@ -0,0 +1,30 @@
> +From da22ae6541584068f8169315274016920da11d8b Mon Sep 17 00:00:00 2001
> +From: Marc <34656315+marct...@users.noreply.github.com>
> +Date: Fri, 7 Aug 2020 10:49:45 +0100
> +Subject: [PATCH] Fix read past end of buffer
> +
> +Fixes: CVE-2021-32292
> +Issue: https://github.com/json-c/json-c/issues/654
> +
> +Upstream Status: Backport [4e9e44e5258dee7654f74948b0dd5da39c28beec]

Should be Upstream-Status (you missed the dash).  I've fixed it, but
something to keep in mind next time, otherwise an error at build time:

ERROR: json-c-0.15-r0 do_patch: Malformed Upstream-Status in patch
/home/steve/builds/poky-contrib-kirkstone/meta/recipes-devtools/json-c/json-c/CVE-2021-32292.patch
Please correct according to
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status
:
Upstream Status: Backport [4e9e44e5258dee7654f74948b0dd5da39c28beec]

Steve

> +CVE: CVE-2021-32292
> +
> +Signed-off-by: Adrian Freihofer 
> +---
> + apps/json_parse.c | 3 ++-
> + 1 file changed, 2 insertions(+), 1 deletion(-)
> +
> +diff --git a/apps/json_parse.c b/apps/json_parse.c
> +index bba4622..72b31a8 100644
> +--- a/apps/json_parse.c
>  b/apps/json_parse.c
> +@@ -82,7 +82,8 @@ static int parseit(int fd, int (*callback)(struct 
> json_object *))
> +   int parse_end = json_tokener_get_parse_end(tok);
> +   if (obj == NULL && jerr != json_tokener_continue)
> +   {
> +-  char *aterr = &buf[start_pos + parse_end];
> ++  char *aterr = (start_pos + parse_end < 
> sizeof(buf)) ?
> ++  &buf[start_pos + parse_end] : "";
> +   fflush(stdout);
> +   int fail_offset = total_read - ret + 
> start_pos + parse_end;
> +   fprintf(stderr, "Failed at offset %d: %s 
> %c\n", fail_offset,
> diff --git a/meta/recipes-devtools/json-c/json-c_0.15.bb 
> b/meta/recipes-devtools/json-c/json-c_0.15.bb
> index 7cbed55b3b..4da30bc50c 100644
> --- a/meta/recipes-devtools/json-c/json-c_0.15.bb
> +++ b/meta/recipes-devtools/json-c/json-c_0.15.bb
> @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
>  SRC_URI = " \
>  https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
>  file://run-ptest \
> +file://CVE-2021-32292.patch \
>  "
>
>  SRC_URI[sha256sum] = 
> "b8d80a1ddb718b3ba7492916237bbf86609e9709fb007e7f7d4322f02341a4c6"
> --
> 2.41.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186899): 
https://lists.openembedded.org/g/openembedded-core/message/186899
Mute This Topic: https://lists.openembedded.org/mt/101035436/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] libdnf: backport a fix to build with gcc-13

2023-08-30 Thread Steve Sakoman
I took a patch submitted yesterday for this same issue:

https://lists.openembedded.org/g/openembedded-core/message/186814

It contains three patches from upstream, rather than the two in your submission.

Could you please take a look and see if there is an issue with keeping
yesterday's submission?

Thanks!

Steve

On Tue, Aug 29, 2023 at 10:34 PM Martin Jansa  wrote:
>
> * needed to build libdnf-native on hosts with gcc-13
>
> Signed-off-by: Martin Jansa 
> ---
>  ...ite3-Sqlite3.hpp-add-missing-cstdint.patch | 33 +++
>  ...onNumber.hpp-add-missing-cstdint-inc.patch | 30 +
>  meta/recipes-devtools/libdnf/libdnf_0.66.0.bb |  2 ++
>  3 files changed, 65 insertions(+)
>  create mode 100644 
> meta/recipes-devtools/libdnf/libdnf/0001-libdnf-utils-sqlite3-Sqlite3.hpp-add-missing-cstdint.patch
>  create mode 100644 
> meta/recipes-devtools/libdnf/libdnf/0002-libdnf-conf-OptionNumber.hpp-add-missing-cstdint-inc.patch
>
> diff --git 
> a/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-utils-sqlite3-Sqlite3.hpp-add-missing-cstdint.patch
>  
> b/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-utils-sqlite3-Sqlite3.hpp-add-missing-cstdint.patch
> new file mode 100644
> index 00..8bd63ebaae
> --- /dev/null
> +++ 
> b/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-utils-sqlite3-Sqlite3.hpp-add-missing-cstdint.patch
> @@ -0,0 +1,33 @@
> +From 4413d3f62f0abba02ba73de92025da50e37efad0 Mon Sep 17 00:00:00 2001
> +From: Sergei Trofimovich 
> +Date: Fri, 27 May 2022 22:12:07 +0100
> +Subject: [PATCH] libdnf/utils/sqlite3/Sqlite3.hpp: add missing 
> + include
> +
> +Without the change libdnf build fails on this week's gcc-13 snapshot as:
> +
> +In file included from 
> /build/libdnf/libdnf/sack/../transaction/Swdb.hpp:38,
> + from /build/libdnf/libdnf/sack/query.hpp:32,
> + from /build/libdnf/libdnf/dnf-sack-private.hpp:31,
> + from /build/libdnf/libdnf/hy-iutil.cpp:60:
> +
> /build/libdnf/libdnf/sack/../transaction/../utils/sqlite3/Sqlite3.hpp:100:33: 
> error: 'std::int64_t' has not been declared
> +  100 | void bind(int pos, std::int64_t val)
> +  | ^~~
> +
> +Upstream-Status: Backport [v0.68.0 
> https://github.com/rpm-software-management/libdnf/commit/24b5d7f154cac9e322dd3459f6d0a5016a57]
> +---
> + libdnf/utils/sqlite3/Sqlite3.hpp | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/libdnf/utils/sqlite3/Sqlite3.hpp 
> b/libdnf/utils/sqlite3/Sqlite3.hpp
> +index 3a7da23c..0403bb33 100644
> +--- a/libdnf/utils/sqlite3/Sqlite3.hpp
>  b/libdnf/utils/sqlite3/Sqlite3.hpp
> +@@ -27,6 +27,7 @@
> +
> + #include 
> +
> ++#include 
> + #include 
> + #include 
> + #include 
> diff --git 
> a/meta/recipes-devtools/libdnf/libdnf/0002-libdnf-conf-OptionNumber.hpp-add-missing-cstdint-inc.patch
>  
> b/meta/recipes-devtools/libdnf/libdnf/0002-libdnf-conf-OptionNumber.hpp-add-missing-cstdint-inc.patch
> new file mode 100644
> index 00..b2bd6877b5
> --- /dev/null
> +++ 
> b/meta/recipes-devtools/libdnf/libdnf/0002-libdnf-conf-OptionNumber.hpp-add-missing-cstdint-inc.patch
> @@ -0,0 +1,30 @@
> +From 12582624bb5e25b84124dcd3b35b358ad56ba2ec Mon Sep 17 00:00:00 2001
> +From: Sergei Trofimovich 
> +Date: Fri, 27 May 2022 22:13:48 +0100
> +Subject: [PATCH] libdnf/conf/OptionNumber.hpp: add missing  include
> +
> +Without the change libdnf build fails on this week's gcc-13 snapshot as:
> +
> +In file included from /build/libdnf/libdnf/conf/ConfigMain.hpp:29,
> + from /build/libdnf/libdnf/conf/ConfigMain.cpp:21:
> +/build/libdnf/libdnf/conf/OptionNumber.hpp:94:41: error: 'int32_t' is 
> not a member of 'std'; did you mean 'int32_t'?
> +   94 | extern template class OptionNumber;
> +  | ^~~
> +
> +Upstream-Status: Backport [v0.68.0 
> https://github.com/rpm-software-management/libdnf/commit/f8af6399c4f6a65a35d33ecc191bb14094dc9e18]
> +---
> + libdnf/conf/OptionNumber.hpp | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/libdnf/conf/OptionNumber.hpp b/libdnf/conf/OptionNumber.hpp
> +index f7a7b3d6e..a3a4dea67 100644
> +--- a/libdnf/conf/OptionNumber.hpp
>  b/libdnf/conf/OptionNumber.hpp
> +@@ -25,6 +25,7 @@
> +
> + #include "Option.hpp"
> +
> ++#include 
> + #include 
> +
> + namespace libdnf {
> diff --git a/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb 
> b/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb
> index 2558f96851..9154414212 100644
> --- a/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb
> +++ b/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb
> @@ -11,6 +11,8 @@ SRC_URI = 
> "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p
> file://enable_test_data_dir_set.patch \
> file://0001-drop-FindPythonInstDir.cmake.patch \
> 
> file://0001-libdnf-dnf-context.cpp-do-not-try-to-access-BDB-data.patch \
> +   

[OE-core] [PATCH 1/2] meta/lib/bblayers/buildconf.py: add support for configuration descriptions

2023-08-30 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/lib/bblayers/buildconf.py   | 10 --
 meta/lib/oeqa/selftest/cases/bblayers.py |  2 +-
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/meta/lib/bblayers/buildconf.py b/meta/lib/bblayers/buildconf.py
index ccab332adfb..a299b135669 100644
--- a/meta/lib/bblayers/buildconf.py
+++ b/meta/lib/bblayers/buildconf.py
@@ -26,7 +26,10 @@ def plugin_init(plugins):
 return BuildConfPlugin()
 
 class BuildConfPlugin(LayerPlugin):
-notes_fixme = """FIXME: Please place here the description of this build 
configuration.
+notes_fixme = """FIXME: Please place here the detailed instructions for 
using this build configuration.
+They will be shown to the users when they set up their builds via TEMPLATECONF.
+"""
+description_fixme = """FIXME: Please place here the short description of 
what this build configuration is for.
 It will be shown to the users when they set up their builds via TEMPLATECONF.
 """
 
@@ -47,14 +50,17 @@ It will be shown to the users when they set up their builds 
via TEMPLATECONF.
 bblayers_data = bblayers_data.replace(abspath, 
"##OEROOT##/" + relpath)
 dest.write(bblayers_data)
 
+with open(os.path.join(destdir, "conf-description.txt"), 'w') as dest:
+dest.write(self.description_fixme)
 with open(os.path.join(destdir, "conf-notes.txt"), 'w') as dest:
 dest.write(self.notes_fixme)
 
 logger.info("""Configuration template placed into {}
 Please review the files in there, and particularly provide a configuration 
description in {}
+and notes in {}
 You can try out the configuration with
 TEMPLATECONF={} . {}/oe-init-build-env build-try-{}"""
-.format(destdir, os.path.join(destdir, "conf-notes.txt"), destdir, oecorepath, 
templatename))
+.format(destdir, os.path.join(destdir, "conf-description.txt"), 
os.path.join(destdir, "conf-notes.txt"), destdir, oecorepath, templatename))
 
 def do_save_build_conf(self, args):
 """ Save the currently active build configuration (conf/local.conf, 
conf/bblayers.conf) as a template into a layer.\n This template can later be 
used for setting up builds via TEMPLATECONF. """
diff --git a/meta/lib/oeqa/selftest/cases/bblayers.py 
b/meta/lib/oeqa/selftest/cases/bblayers.py
index 8faa0602348..819ddf51bcd 100644
--- a/meta/lib/oeqa/selftest/cases/bblayers.py
+++ b/meta/lib/oeqa/selftest/cases/bblayers.py
@@ -121,7 +121,7 @@ class BitbakeLayers(OESelftestTestCase):
 self.assertEqual(bb_vars['BBFILE_PRIORITY_%s' % layername], 
str(priority), 'BBFILE_PRIORITY_%s != %d' % (layername, priority))
 
 result = runCmd('bitbake-layers save-build-conf {} 
{}'.format(layerpath, "buildconf-1"))
-for f in ('local.conf.sample', 'bblayers.conf.sample', 
'conf-notes.txt'):
+for f in ('local.conf.sample', 'bblayers.conf.sample', 
'conf-description.txt', 'conf-notes.txt'):
 fullpath = os.path.join(layerpath, "conf", "templates", 
"buildconf-1", f)
 self.assertTrue(os.path.exists(fullpath), "Template configuration 
file {} not found".format(fullpath))
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186896): 
https://lists.openembedded.org/g/openembedded-core/message/186896
Mute This Topic: https://lists.openembedded.org/mt/101055192/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] scripts/oe-setup-builddir: add support for configuration descriptions

2023-08-30 Thread Alexander Kanavin
They are handled exactly same as conf-notes.txt.

Signed-off-by: Alexander Kanavin 
---
 scripts/oe-setup-builddir | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 678aeac4be5..1b5dc55743e 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -57,6 +57,7 @@ if [ -n "$TEMPLATECONF" ]; then
 fi
 OECORELAYERCONF="$TEMPLATECONF/bblayers.conf.sample"
 OECORELOCALCONF="$TEMPLATECONF/local.conf.sample"
+OECOREDESCRCONF="$TEMPLATECONF/conf-description.txt"
 OECORENOTESCONF="$TEMPLATECONF/conf-notes.txt"
 fi
 
@@ -98,6 +99,13 @@ EOM
 SHOWYPDOC=yes
 fi
 
+if [ -z "$OECOREDESCRCONF" ]; then
+OECOREDESCRCONF="$OEROOT/meta/conf/templates/default/conf-description.txt"
+fi
+if [ ! -r "$BUILDDIR/conf/conf-description.txt" ]; then
+[ ! -r "$OECOREDESCRCONF" ] || cp "$OECOREDESCRCONF" 
"$BUILDDIR/conf/conf-description.txt"
+fi
+
 if [ -z "$OECORENOTESCONF" ]; then
 OECORENOTESCONF="$OEROOT/meta/conf/templates/default/conf-notes.txt"
 fi
@@ -108,6 +116,7 @@ fi
 # Prevent disturbing a new GIT clone in same console
 unset OECORELOCALCONF
 unset OECORELAYERCONF
+unset OECOREDESCRCONF
 unset OECORENOTESCONF
 
 # Ending the first-time run message. Show the YP Documentation banner.
@@ -124,6 +133,7 @@ EOM
 #unset SHOWYPDOC
 fi
 
+[ ! -r "$BUILDDIR/conf/conf-description.txt" ] || cat 
"$BUILDDIR/conf/conf-description.txt"
 [ ! -r "$BUILDDIR/conf/conf-notes.txt" ] || cat "$BUILDDIR/conf/conf-notes.txt"
 
 if [ ! -f "$BUILDDIR/conf/templateconf.cfg" ]; then
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186897): 
https://lists.openembedded.org/g/openembedded-core/message/186897
Mute This Topic: https://lists.openembedded.org/mt/101055193/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] README: Update to point to new contributor guide

2023-08-30 Thread Richard Purdie
Now we have a contributor guide combining various wiki pages, point at
that.

Signed-off-by: Richard Purdie 
---
 README.OE-Core.md | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/README.OE-Core.md b/README.OE-Core.md
index 2f2127fb03a..31b1bf52b44 100644
--- a/README.OE-Core.md
+++ b/README.OE-Core.md
@@ -16,9 +16,13 @@ which can be found at:
 Contributing
 
 
-Please refer to
-https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded
-for guidelines on how to submit patches.
+Please refer to our contributor guide here: 
https://docs.yoctoproject.org/dev/contributor-guide/
+for full details on how to submit changes.
+
+As a quick guide, patches should be sent to 
openembedded-core@lists.openembedded.org
+The git command to do that would be:
+
+ git send-email -M -1 --to openembedded-co...@lists.openembedded.org
 
 Mailing list:
 
-- 
2.39.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186895): 
https://lists.openembedded.org/g/openembedded-core/message/186895
Mute This Topic: https://lists.openembedded.org/mt/101054876/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][master-next] qemu: fix segfault in MMU emulation

2023-08-30 Thread Ross Burton
From: Ross Burton 

Backport a patch that has been submitted to the qemu list that resolves
a crash in the softmmu code.

Signed-off-by: Ross Burton 
---
 meta/recipes-devtools/qemu/qemu.inc   |   1 +
 meta/recipes-devtools/qemu/qemu/softmmu.patch | 216 ++
 2 files changed, 217 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/softmmu.patch

diff --git a/meta/recipes-devtools/qemu/qemu.inc 
b/meta/recipes-devtools/qemu/qemu.inc
index 131162dd62f..ccde87d1901 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -30,6 +30,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \

file://0010-hw-pvrdma-Protect-against-buggy-or-malicious-guest-d.patch \

file://0002-linux-user-Replace-use-of-lfs64-related-functions-an.patch \
file://fixedmeson.patch \
+   file://softmmu.patch \
file://qemu-guest-agent.init \
file://qemu-guest-agent.udev \
"
diff --git a/meta/recipes-devtools/qemu/qemu/softmmu.patch 
b/meta/recipes-devtools/qemu/qemu/softmmu.patch
new file mode 100644
index 000..bd28335b142
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/softmmu.patch
@@ -0,0 +1,216 @@
+From 1960291925029e92dd340c64186f4bdb709805b8 Mon Sep 17 00:00:00 2001
+From: Richard Henderson 
+Date: Sat, 26 Aug 2023 16:24:13 -0700
+Subject: [PATCH 1/3] softmmu: Assert data in bounds in iotlb_to_section
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Suggested-by: Alex Bennée 
+Signed-off-by: Richard Henderson 
+Acked-by: Alex Bennée 
+
+Upstream-Status: Submitted 
[https://patchew.org/QEMU/20230826232415.80233-1-richard.hender...@linaro.org/]
+Signed-off-by: Ross Burton 
+---
+ softmmu/physmem.c | 10 --
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/softmmu/physmem.c b/softmmu/physmem.c
+index 3df73542e1..7597dc1c39 100644
+--- a/softmmu/physmem.c
 b/softmmu/physmem.c
+@@ -2413,9 +2413,15 @@ MemoryRegionSection *iotlb_to_section(CPUState *cpu,
+ int asidx = cpu_asidx_from_attrs(cpu, attrs);
+ CPUAddressSpace *cpuas = &cpu->cpu_ases[asidx];
+ AddressSpaceDispatch *d = qatomic_rcu_read(&cpuas->memory_dispatch);
+-MemoryRegionSection *sections = d->map.sections;
++int section_index = index & ~TARGET_PAGE_MASK;
++MemoryRegionSection *ret;
++
++assert(section_index < d->map.sections_nb);
++ret = d->map.sections + section_index;
++assert(ret->mr);
++assert(ret->mr->ops);
+ 
+-return §ions[index & ~TARGET_PAGE_MASK];
++return ret;
+ }
+ 
+ static void io_mem_init(void)
+-- 
+2.34.1
+
+
+From 94d2d2c85c04aab738daf56ec73915218fa05d82 Mon Sep 17 00:00:00 2001
+From: Richard Henderson 
+Date: Sat, 26 Aug 2023 16:24:14 -0700
+Subject: [PATCH 2/3] softmmu: Use async_run_on_cpu in tcg_commit
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+After system startup, run the update to memory_dispatch
+and the tlb_flush on the cpu.  This eliminates a race,
+wherein a running cpu sees the memory_dispatch change
+but has not yet seen the tlb_flush.
+
+Since the update now happens on the cpu, we need not use
+qatomic_rcu_read to protect the read of memory_dispatch.
+
+Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1826
+Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1834
+Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1846
+Signed-off-by: Richard Henderson 
+Reviewed-by: Alex Bennée 
+Tested-by: Alex Bennée 
+Tested-by: Jonathan Cameron 
+---
+ softmmu/physmem.c | 40 +---
+ 1 file changed, 29 insertions(+), 11 deletions(-)
+
+diff --git a/softmmu/physmem.c b/softmmu/physmem.c
+index 7597dc1c39..18277ddd67 100644
+--- a/softmmu/physmem.c
 b/softmmu/physmem.c
+@@ -680,8 +680,7 @@ address_space_translate_for_iotlb(CPUState *cpu, int 
asidx, hwaddr orig_addr,
+ IOMMUTLBEntry iotlb;
+ int iommu_idx;
+ hwaddr addr = orig_addr;
+-AddressSpaceDispatch *d =
+-qatomic_rcu_read(&cpu->cpu_ases[asidx].memory_dispatch);
++AddressSpaceDispatch *d = cpu->cpu_ases[asidx].memory_dispatch;
+ 
+ for (;;) {
+ section = address_space_translate_internal(d, addr, &addr, plen, 
false);
+@@ -2412,7 +2411,7 @@ MemoryRegionSection *iotlb_to_section(CPUState *cpu,
+ {
+ int asidx = cpu_asidx_from_attrs(cpu, attrs);
+ CPUAddressSpace *cpuas = &cpu->cpu_ases[asidx];
+-AddressSpaceDispatch *d = qatomic_rcu_read(&cpuas->memory_dispatch);
++AddressSpaceDispatch *d = cpuas->memory_dispatch;
+ int section_index = index & ~TARGET_PAGE_MASK;
+ MemoryRegionSection *ret;
+ 
+@@ -2487,23 +2486,42 @@ static void tcg_log_global_after_sync(MemoryListener 
*listener)
+ }
+ }
+ 
++static void tcg_commit_cpu(CPUState *cpu, run_on_cpu_data data)
++{
++CPUAddressSpace *cpuas = data.host_ptr;
++
++cpuas->memory_dispatch = ad

Re: [OE-core] [PATCH v4 00/13] devtool ide plugin

2023-08-30 Thread Alexandre Belloni via lists.openembedded.org
Hello,


This causes the following failures:

2023-08-30 14:00:30,617 - oe-selftest - INFO - FAIL: 
sstatetests.SStateHashSameSigs4.test_sstate_noop_samesigs 
(subunit.RemotedTestCase)
2023-08-30 14:00:30,617 - oe-selftest - INFO - 
--
2023-08-30 14:00:30,766 - oe-selftest - INFO - 
testtools.testresult.real._StringException: Traceback (most recent call last):
  File 
"/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/sstatetests.py",
 line 649, in test_sstate_noop_samesigs
self.fail("sstate hashes not identical.")
  File "/usr/lib64/python3.9/unittest/case.py", line 676, in fail
raise self.failureException(msg)
AssertionError: sstate hashes not identical.


2023-08-30 14:00:32,413 - oe-selftest - INFO - FAIL: 
devtool.DevtoolIdeTests.test_devtool_ide_recipe_cmake (subunit.RemotedTestCase)
2023-08-30 14:00:32,413 - oe-selftest - INFO - 
--
2023-08-30 14:00:32,413 - oe-selftest - INFO - 
testtools.testresult.real._StringException: Traceback (most recent call last):
  File 
"/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/devtool.py",
 line 2319, in test_devtool_ide_recipe_cmake
self.__devtool_ide_qemu()
  File 
"/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/devtool.py",
 line 2256, in __devtool_ide_qemu
self.assertEqual(status, 0)
  File "/usr/lib64/python3.9/unittest/case.py", line 837, in assertEqual
assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.9/unittest/case.py", line 830, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 127 != 0


2023-08-30 14:00:32,413 - oe-selftest - INFO - FAIL: 
devtool.DevtoolIdeTests.test_devtool_ide_recipe_meson (subunit.RemotedTestCase)
2023-08-30 14:00:32,414 - oe-selftest - INFO - 
--
2023-08-30 14:00:32,419 - oe-selftest - INFO - 
testtools.testresult.real._StringException: Traceback (most recent call last):
  File 
"/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/devtool.py",
 line 2327, in test_devtool_ide_recipe_meson
self.__devtool_ide_qemu()
  File 
"/home/pokybuild/yocto-worker/oe-selftest-centos/build/meta/lib/oeqa/selftest/cases/devtool.py",
 line 2256, in __devtool_ide_qemu
self.assertEqual(status, 0)
  File "/usr/lib64/python3.9/unittest/case.py", line 837, in assertEqual
assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.9/unittest/case.py", line 830, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 127 != 0


https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/5672/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/5693/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/5661/steps/14/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/5618/steps/14/logs/stdio

On 27/08/2023 21:29:42+0200, Adrian Freihofer wrote:
> Changes in comparison to v3:
> - Add workspace/attic fodler to vscode ignore lists.
> 
> Changes in comparison to v2:
> - Fix the oe-selftests to run on a mchine without vscode installed
> 
> 
> According to 
> https://www.yoctoproject.org/community/yocto-project-engineering-request-for-quotation/
> one of the proposed areas for development of the Yocto project is "VSCode IDE 
> Integration - New developer tooling".
> One aspect of this larger topic is helping application developers configure 
> the IDE to work on a recipe's source code using Yocto's eSDK. This patchset 
> provides a new devtool plugin (devtool ide) that does this fully 
> automatically for recipes inheriting the cmake or the meson bbclass. Support 
> for more programming languages and build tools may be added in the future.
> 
> Let's start with a brief introduction of how it looks like from a user's 
> perspective.
> 
> Reference setup
> ---
> 
> $ . oe-init-build-env
> 
> Add the following layers to bblayers.conf file:
> - meta
> - meta-poky
> - meta-yocto-bsp
> - meta-selftest
>   
> Add the following to the local.conf
> 
> IMAGE_CLASSES += "image-combined-dbg"
> IMAGE_GEN_DEBUGFS = "1"
> IMAGE_FEATURES += "ssh-server-dropbear debug-tweaks"
> IMAGE_INSTALL:append = "\
> cmake-example-ptest \
> meson-example-ptest \
> gdbserver \
> "
> 
> Working on a recipe
> ---
> 
> Note for those who "hate cmake with passion": Replace cmake by meson in the 
> following commands.
> 
> 1. Add the recipe which should be modified to the workspace
> 
>$ devtool modify cmake-example
> 
> 2. Build the eSDK. This provides all the host tools as well as an image which 
> can be used on the target device.
>Since everything is built with one bitbake command also all the debug 
> symbols are expected to

[OE-core][PATCH] wic: Add gpt-hybrid partition layout

2023-08-30 Thread Joshua Watt
Add support for formatting a disk with a hybrid MBR & GPT partition
scheme. In this scheme, the primary partitioning method is GPT, but a
valid MBR header is also written than can point to a subset of the GPT
partitions on the disk (any partitions marked with the `--mbr` flag will
be included in this MBR). The primary purpose of this method is to allow
for SoCs that can only find a bootloader in an MBR partition to use GPT
once the bootloader is running. As an example, older versions of the
Raspberry Pi firmware can only parse MBR partitions to find a kernel (or
other bootloader like u-boot), but once those have booted GPT partitions
can be used.

In addition to the partitions annotated with the `--mbr`, a "protective"
GPT partition of type 0xEE is added, as the existence of such a
partition is the indication to tooling that this a hybrid MBR and that
the GPT partition table should be parsed instead.

Signed-off-by: Joshua Watt 
---
 scripts/lib/wic/ksparser.py  |  3 +-
 scripts/lib/wic/partition.py |  1 +
 scripts/lib/wic/plugins/imager/direct.py | 82 +++-
 3 files changed, 69 insertions(+), 17 deletions(-)

diff --git a/scripts/lib/wic/ksparser.py b/scripts/lib/wic/ksparser.py
index 667b2ff9c33..7ef3dc83ddc 100644
--- a/scripts/lib/wic/ksparser.py
+++ b/scripts/lib/wic/ksparser.py
@@ -188,11 +188,12 @@ class KickStart():
 part.add_argument('--uuid')
 part.add_argument('--fsuuid')
 part.add_argument('--no-fstab-update', action='store_true')
+part.add_argument('--mbr', action='store_true')
 
 bootloader = subparsers.add_parser('bootloader')
 bootloader.add_argument('--append')
 bootloader.add_argument('--configfile')
-bootloader.add_argument('--ptable', choices=('msdos', 'gpt'),
+bootloader.add_argument('--ptable', choices=('msdos', 'gpt', 
'gpt-hybrid'),
 default='msdos')
 bootloader.add_argument('--timeout', type=int)
 bootloader.add_argument('--source')
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index f11c393df51..b1a2306dd12 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -60,6 +60,7 @@ class Partition():
 self.has_fstab = False
 self.update_fstab_in_rootfs = False
 self.hidden = args.hidden
+self.mbr = args.mbr
 
 self.lineno = lineno
 self.source_file = ""
diff --git a/scripts/lib/wic/plugins/imager/direct.py 
b/scripts/lib/wic/plugins/imager/direct.py
index 55347f5480a..9b619e41c11 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -342,7 +342,7 @@ class PartitionedImage():
 # generate parition and filesystem UUIDs
 for part in self.partitions:
 if not part.uuid and part.use_uuid:
-if self.ptable_format == 'gpt':
+if self.ptable_format in ('gpt', 'gpt-hybrid'):
 part.uuid = str(uuid.uuid4())
 else: # msdos partition table
 part.uuid = '%08x-%02d' % (self.identifier, part.realnum)
@@ -398,6 +398,10 @@ class PartitionedImage():
 raise WicError("setting custom partition type is not " \
"implemented for msdos partitions")
 
+if part.mbr and self.ptable_format != 'gpt-hybrid':
+raise WicError("Partition may only be included in MBR with " \
+   "a gpt-hybrid partition table")
+
 # Get the disk where the partition is located
 self.numpart += 1
 if not part.no_table:
@@ -406,7 +410,7 @@ class PartitionedImage():
 if self.numpart == 1:
 if self.ptable_format == "msdos":
 overhead = MBR_OVERHEAD
-elif self.ptable_format == "gpt":
+elif self.ptable_format in ("gpt", "gpt-hybrid"):
 overhead = GPT_OVERHEAD
 
 # Skip one sector required for the partitioning scheme overhead
@@ -490,7 +494,7 @@ class PartitionedImage():
 # Once all the partitions have been layed out, we can calculate the
 # minumim disk size
 self.min_size = self.offset
-if self.ptable_format == "gpt":
+if self.ptable_format in ("gpt", "gpt-hybrid"):
 self.min_size += GPT_OVERHEAD
 
 self.min_size *= self.sector_size
@@ -511,22 +515,38 @@ class PartitionedImage():
 
 return exec_native_cmd(cmd, self.native_sysroot)
 
+def _write_identifier(self, device, identifier):
+logger.debug("Set disk identifier %x", identifier)
+with open(device, 'r+b') as img:
+img.seek(0x1B8)
+img.write(identifier.to_bytes(4, 'little'))
+
+def _make_disk(self, device, ptable_format, min_size):
+logger.debug("Creating sparse file %s", device)
+with open(devic

[OE-core] [PATCH] meta/conf/templates/default/conf-description.txt: add a template description

2023-08-30 Thread Alexander Kanavin
There is a need to separate the template notes (which are lengthy
instructions about how to use the template) and template description
(which is a short explanation of what the template is for).

This patch adds such a description for the default oe-core template,
and updates to the tools will follow.

Signed-off-by: Alexander Kanavin 
---
 meta/conf/templates/default/conf-description.txt | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 meta/conf/templates/default/conf-description.txt

diff --git a/meta/conf/templates/default/conf-description.txt 
b/meta/conf/templates/default/conf-description.txt
new file mode 100644
index 000..e49172fa0ce
--- /dev/null
+++ b/meta/conf/templates/default/conf-description.txt
@@ -0,0 +1 @@
+This is the default build configuration for the openembedded-core layer.
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186891): 
https://lists.openembedded.org/g/openembedded-core/message/186891
Mute This Topic: https://lists.openembedded.org/mt/101052923/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] update_mandb: Point to correct /etc/passwd with man

2023-08-30 Thread Richard Purdie
On Wed, 2023-08-30 at 15:04 +0100, Eilís 'pidge' Ní Fhlannagáin wrote:
> On 30/08/2023 14:19, Richard Purdie wrote:
> > On Wed, 2023-08-30 at 12:39 +, Eilís 'pidge' Ní Fhlannagáin wrote:
> > > [YOCTO #15023]
> > > 
> > > In this instance (do_populate_sdk with api-documentation turned on),
> > > pseudo is going to end up finding the passwd/groups files in
> > > recipe-sysroot-native which is incorrect and does not have man. The
> > > solution here should be to ensure that pseudo points to the passwd/groups
> > > files in recipe-sysroot (which does have man:man).
> > > 
> > > Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
> > > ---
> > >   scripts/postinst-intercepts/update_mandb | 2 +-
> > >   1 file changed, 1 insertion(+), 1 deletion(-)
> > > 
> > > diff --git a/scripts/postinst-intercepts/update_mandb 
> > > b/scripts/postinst-intercepts/update_mandb
> > > index a061bb426a6..6bc073bfff5 100644
> > > --- a/scripts/postinst-intercepts/update_mandb
> > > +++ b/scripts/postinst-intercepts/update_mandb
> > > @@ -13,4 +13,4 @@ PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D 
> > > $D${bindir}/mandb --config-file $C
> > >   
> > >   rm -f $CONFIG
> > >   
> > > -chown -R man:man $D${localstatedir}/cache/man/
> > > +PSEUDO_PASSWD=$D chown -R man:man $D${localstatedir}/cache/man/
> > 
> > Is there a more general problem here? Wouldn't this issue apply to
> > other postinst scripts too?
> 
> Yes and No. The other postinst scripts if they do attempt to chown, are 
> trying to do it for root:root (which recipe-native-sysroot's passwd and 
> groups obviously have). We could add this to the others as well, just to 
> maintain consistency.
> 
> This is all because in image.bbclass, we're setting PSEUDO_PASSWD to 
> STAGING_DIR_NATIVE which I believe normally should be correct, except in 
> an instance like this.

image.bbclass sets it to:

meta/classes-recipe/image.bbclass:PSEUDO_PASSWD = 
"${IMAGE_ROOTFS}:${STAGING_DIR_NATIVE}"

so it should look at IMAGE_ROOTFS first, which I think is the same as
$D here?

Something isn't quite adding up...

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186890): 
https://lists.openembedded.org/g/openembedded-core/message/186890
Mute This Topic: https://lists.openembedded.org/mt/101050953/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] update_mandb: Point to correct /etc/passwd with man

2023-08-30 Thread Eilís 'pidge' Ní Fhlannagáin

On 30/08/2023 14:19, Richard Purdie wrote:

On Wed, 2023-08-30 at 12:39 +, Eilís 'pidge' Ní Fhlannagáin wrote:

[YOCTO #15023]

In this instance (do_populate_sdk with api-documentation turned on),
pseudo is going to end up finding the passwd/groups files in
recipe-sysroot-native which is incorrect and does not have man. The
solution here should be to ensure that pseudo points to the passwd/groups
files in recipe-sysroot (which does have man:man).

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
---
  scripts/postinst-intercepts/update_mandb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/postinst-intercepts/update_mandb 
b/scripts/postinst-intercepts/update_mandb
index a061bb426a6..6bc073bfff5 100644
--- a/scripts/postinst-intercepts/update_mandb
+++ b/scripts/postinst-intercepts/update_mandb
@@ -13,4 +13,4 @@ PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D 
$D${bindir}/mandb --config-file $C
  
  rm -f $CONFIG
  
-chown -R man:man $D${localstatedir}/cache/man/

+PSEUDO_PASSWD=$D chown -R man:man $D${localstatedir}/cache/man/


Is there a more general problem here? Wouldn't this issue apply to
other postinst scripts too?


Yes and No. The other postinst scripts if they do attempt to chown, are 
trying to do it for root:root (which recipe-native-sysroot's passwd and 
groups obviously have). We could add this to the others as well, just to 
maintain consistency.


This is all because in image.bbclass, we're setting PSEUDO_PASSWD to 
STAGING_DIR_NATIVE which I believe normally should be correct, except in 
an instance like this.


-e



Cheers,

Richard


--
Eilís 'pidge' Ní Fhlannagáin
BayLibre - At the Heart of Embedded Linux
www.baylibre.com


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186889): 
https://lists.openembedded.org/g/openembedded-core/message/186889
Mute This Topic: https://lists.openembedded.org/mt/101050953/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] update_mandb: Point to correct /etc/passwd with man

2023-08-30 Thread Richard Purdie
On Wed, 2023-08-30 at 12:39 +, Eilís 'pidge' Ní Fhlannagáin wrote:
> [YOCTO #15023]
> 
> In this instance (do_populate_sdk with api-documentation turned on),
> pseudo is going to end up finding the passwd/groups files in
> recipe-sysroot-native which is incorrect and does not have man. The 
> solution here should be to ensure that pseudo points to the passwd/groups 
> files in recipe-sysroot (which does have man:man).
> 
> Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
> ---
>  scripts/postinst-intercepts/update_mandb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/postinst-intercepts/update_mandb 
> b/scripts/postinst-intercepts/update_mandb
> index a061bb426a6..6bc073bfff5 100644
> --- a/scripts/postinst-intercepts/update_mandb
> +++ b/scripts/postinst-intercepts/update_mandb
> @@ -13,4 +13,4 @@ PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D 
> $D${bindir}/mandb --config-file $C
>  
>  rm -f $CONFIG
>  
> -chown -R man:man $D${localstatedir}/cache/man/
> +PSEUDO_PASSWD=$D chown -R man:man $D${localstatedir}/cache/man/

Is there a more general problem here? Wouldn't this issue apply to
other postinst scripts too?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186888): 
https://lists.openembedded.org/g/openembedded-core/message/186888
Mute This Topic: https://lists.openembedded.org/mt/101050953/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] Dilemma on changes - merge or not to merge (e.g. 6.4)

2023-08-30 Thread Richard Purdie
On Wed, 2023-08-30 at 11:43 +0100, Richard Purdie via
lists.openembedded.org wrote:
> On Fri, 2023-08-25 at 07:34 +0100, Richard Purdie via
> lists.openembedded.org wrote:
> > > > 
> > > > qemu 8.1.0 brings with it a new set of problems but I've reproduced the
> > > > hang with 8.1.0 so it does not solve that.
> > > > 
> > > > I'm really struggling to understand which change brought in these
> > > > issues for qemuppc.
> > > 
> > > Are these issues visible on mickledore branch? Maybe mickledore with 
> > > kernel 6.1 stable update or
> > > qemu 7.2 update to 8.y.x could be tested too. At least then kernel or 
> > > qemu could be blamed
> > > for the issues.
> > 
> > Not that I know of.
> > 
> > I have now also reproduced the failure with glibc 2.37 instead of 2.38
> > including the fortify sources change and the 6.1.34 kernel so there is
> > something else causing this.
> > 
> > I've wondered if we need to try going back to qemu 7.2. It may also be
> > worth ruling out binutils.
> > 
> > It shouldn't be systemd as the sysvinit images show the issue too.
> 
> I've ruled out the binutils upgrade, the glibc upgrade, systemd, the
> kernel changes and the tar, libarchive and qemu upgrades.
> 
> I've continued to try and narrow things down and we see the issue from
> this commit onwards:
> 
> https://git.yoctoproject.org/poky/commit/?id=12d9280c3de24c1c2b835e80fa1b8be72e9bc63a
> 
> I did get three clean runs with:
> 
> https://git.yoctoproject.org/poky/commit/?id=fb51e196a978d452e6a14a8343832659da97fdc7
> 
> but that still could be false negatives as it is intermittent.
> 
> I'm trying builds of the commits between those two to see if any
> pattern emerges.
> 
> The qemu 8.1.0 upgrade breaks x86 with qemu kernel hangs seemingly with
> nfs root relatively consistently:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/145/builds/424/steps/13/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/148/builds/430/steps/12/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/145/builds/427/steps/12/logs/stdio
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/148/builds/433/steps/12/logs/stdio

This can be reproduced with a "bitbake core-image-minimal" then:

runqemu nographic 
/XXX/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.tar.bz2  
bootparams=" printk.time=1"

If you add "kvm" to the command, it works.

Interestingly dropping the nographic resulted in a different crash with
rcu stalls and fun timestamps.

> I think this was where I was previously worrying about x86 kernel hangs
> from. Now we know the 8.1.0 upgrade is the cause of this, we can
> hopefully get to the bottom of it more quickly.

Bisection brings us fairly conclusively to:

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

"yocto-uninative: Update to 4.2 for glibc 2.38"

which means somehow qemu for qemuppc is breaking when used with glibc
2.38.

Why? No idea.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186887): 
https://lists.openembedded.org/g/openembedded-core/message/186887
Mute This Topic: https://lists.openembedded.org/mt/100733646/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] update_mandb: Point to correct /etc/passwd with man

2023-08-30 Thread Eilís 'pidge' Ní Fhlannagáin
[YOCTO #15023]

In this instance (do_populate_sdk with api-documentation turned on),
pseudo is going to end up finding the passwd/groups files in
recipe-sysroot-native which is incorrect and does not have man. The 
solution here should be to ensure that pseudo points to the passwd/groups 
files in recipe-sysroot (which does have man:man).

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
---
 scripts/postinst-intercepts/update_mandb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/postinst-intercepts/update_mandb 
b/scripts/postinst-intercepts/update_mandb
index a061bb426a6..6bc073bfff5 100644
--- a/scripts/postinst-intercepts/update_mandb
+++ b/scripts/postinst-intercepts/update_mandb
@@ -13,4 +13,4 @@ PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D 
$D${bindir}/mandb --config-file $C
 
 rm -f $CONFIG
 
-chown -R man:man $D${localstatedir}/cache/man/
+PSEUDO_PASSWD=$D chown -R man:man $D${localstatedir}/cache/man/
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186886): 
https://lists.openembedded.org/g/openembedded-core/message/186886
Mute This Topic: https://lists.openembedded.org/mt/101050953/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] cml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig

2023-08-30 Thread Jaeyoon Jung (LGE)
From: Jaeyoon Jung 

Variable overrides in KCONFIG_CONFIG_COMMAND do not work as expected due
to double quote mismatches. The issue is reproducible in an environment
where gold is the default linker. Below is an example snippet of
run.do_terminal generated by do_menuconfig.

do_terminal() {
exec sh -c "make menuconfig   CC="aarch64-webos-linux-gcc ..."
LD="aarch64-webos-linux-ld.bfd ..."
...
}

Although LD override is set to bfd correctly, it is not passed to make
and make menuconfig ends up with messages like:
| gold linker is not supported as it is not capable of linking the kernel 
proper.
| scripts/Kconfig.include:56: Sorry, this linker is not supported.

Signed-off-by: Jaeyoon Jung 
---
 meta/classes-recipe/cml1.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass
index d83c636e48..c4e3c9ff7a 100644
--- a/meta/classes-recipe/cml1.bbclass
+++ b/meta/classes-recipe/cml1.bbclass
@@ -58,7 +58,7 @@ python do_menuconfig() {
 # ensure that environment variables are overwritten with this tasks 'd' 
values
 d.appendVar("OE_TERMINAL_EXPORTS", " PKG_CONFIG_DIR PKG_CONFIG_PATH 
PKG_CONFIG_LIBDIR PKG_CONFIG_SYSROOT_DIR")
 
-oe_terminal("sh -c \"make %s; if [ \\$? -ne 0 ]; then echo 'Command 
failed.'; printf 'Press any key to continue... '; read r; fi\"" % 
d.getVar('KCONFIG_CONFIG_COMMAND'),
+oe_terminal("sh -c 'make %s; if [ \\$? -ne 0 ]; then echo \"Command 
failed.\"; printf \"Press any key to continue... \"; read r; fi'" % 
d.getVar('KCONFIG_CONFIG_COMMAND'),
 d.getVar('PN') + ' Configuration', d)
 
 # FIXME this check can be removed when the minimum bitbake version has 
been bumped
-- 
2.28.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186885): 
https://lists.openembedded.org/g/openembedded-core/message/186885
Mute This Topic: https://lists.openembedded.org/mt/101050941/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] libtiff: fix CVE-2023-26966 Buffer Overflow

2023-08-30 Thread Hitendra Prajapati via lists.openembedded.org
Upstream-Status: Backport from 
https://gitlab.com/libtiff/libtiff/-/commit/b0e1c25dd1d065200c8d8f59ad0afe014861a1b9

Signed-off-by: Hitendra Prajapati 
---
 .../libtiff/tiff/CVE-2023-26966.patch | 35 +++
 meta/recipes-multimedia/libtiff/tiff_4.3.0.bb |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 meta/recipes-multimedia/libtiff/tiff/CVE-2023-26966.patch

diff --git a/meta/recipes-multimedia/libtiff/tiff/CVE-2023-26966.patch 
b/meta/recipes-multimedia/libtiff/tiff/CVE-2023-26966.patch
new file mode 100644
index 00..85764304f9
--- /dev/null
+++ b/meta/recipes-multimedia/libtiff/tiff/CVE-2023-26966.patch
@@ -0,0 +1,35 @@
+From b0e1c25dd1d065200c8d8f59ad0afe014861a1b9 Mon Sep 17 00:00:00 2001
+From: Su_Laus 
+Date: Thu, 16 Feb 2023 12:03:16 +0100
+Subject: [PATCH] tif_luv: Check and correct for NaN data in uv_encode().
+
+Closes #530
+
+Upstream-Status: Backport 
[https://gitlab.com/libtiff/libtiff/-/commit/b0e1c25dd1d065200c8d8f59ad0afe014861a1b9]
+CVE: CVE-2023-26966
+Signed-off-by: Hitendra Prajapati 
+---
+ libtiff/tif_luv.c | 7 +++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/libtiff/tif_luv.c b/libtiff/tif_luv.c
+index 13765ea..40b2719 100644
+--- a/libtiff/tif_luv.c
 b/libtiff/tif_luv.c
+@@ -908,6 +908,13 @@ uv_encode(double u, double v, int em) /* encode 
(u',v') coordinates */
+ {
+   register intvi, ui;
+ 
++  /* check for NaN */
++  if (u != u || v != v)
++  {
++  u = U_NEU;
++  v = V_NEU;
++}
++
+   if (v < UV_VSTART)
+   return oog_encode(u, v);
+   vi = tiff_itrunc((v - UV_VSTART)*(1./UV_SQSIZ), em);
+-- 
+2.25.1
+
diff --git a/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb 
b/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb
index 8e69621afb..61d8142e41 100644
--- a/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb
+++ b/meta/recipes-multimedia/libtiff/tiff_4.3.0.bb
@@ -42,6 +42,7 @@ SRC_URI = 
"http://download.osgeo.org/libtiff/tiff-${PV}.tar.gz \
file://CVE-2023-3316.patch \
file://CVE-2023-3618-1.patch \
file://CVE-2023-3618-2.patch \
+   file://CVE-2023-26966.patch \
"
 
 SRC_URI[sha256sum] = 
"0e46e5acb087ce7d1ac53cf4f56a09b221537fc86dfc5daaad1c2e89e1b37ac8"
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186884): 
https://lists.openembedded.org/g/openembedded-core/message/186884
Mute This Topic: https://lists.openembedded.org/mt/101050641/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] Dilemma on changes - merge or not to merge (e.g. 6.4)

2023-08-30 Thread Richard Purdie
On Fri, 2023-08-25 at 07:34 +0100, Richard Purdie via
lists.openembedded.org wrote:
> > > 
> > > qemu 8.1.0 brings with it a new set of problems but I've reproduced the
> > > hang with 8.1.0 so it does not solve that.
> > > 
> > > I'm really struggling to understand which change brought in these
> > > issues for qemuppc.
> > 
> > Are these issues visible on mickledore branch? Maybe mickledore with kernel 
> > 6.1 stable update or
> > qemu 7.2 update to 8.y.x could be tested too. At least then kernel or qemu 
> > could be blamed
> > for the issues.
> 
> Not that I know of.
> 
> I have now also reproduced the failure with glibc 2.37 instead of 2.38
> including the fortify sources change and the 6.1.34 kernel so there is
> something else causing this.
> 
> I've wondered if we need to try going back to qemu 7.2. It may also be
> worth ruling out binutils.
> 
> It shouldn't be systemd as the sysvinit images show the issue too.

I've ruled out the binutils upgrade, the glibc upgrade, systemd, the
kernel changes and the tar, libarchive and qemu upgrades.

I've continued to try and narrow things down and we see the issue from
this commit onwards:

https://git.yoctoproject.org/poky/commit/?id=12d9280c3de24c1c2b835e80fa1b8be72e9bc63a

I did get three clean runs with:

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

but that still could be false negatives as it is intermittent.

I'm trying builds of the commits between those two to see if any
pattern emerges.

The qemu 8.1.0 upgrade breaks x86 with qemu kernel hangs seemingly with
nfs root relatively consistently:

https://autobuilder.yoctoproject.org/typhoon/#/builders/145/builds/424/steps/13/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/148/builds/430/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/145/builds/427/steps/12/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/148/builds/433/steps/12/logs/stdio

I think this was where I was previously worrying about x86 kernel hangs
from. Now we know the 8.1.0 upgrade is the cause of this, we can
hopefully get to the bottom of it more quickly.

Cheers,

Richard

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



[OE-core] [PATCH v2 3/3] inetutils: remove obsolete cruft from do_configure

2023-08-30 Thread Ross Burton
From: Ross Burton 

glob/ doesn't exist and the other files are copied by autotools.bbclass

Signed-off-by: Ross Burton 
---
 meta/recipes-connectivity/inetutils/inetutils_2.4.bb | 4 
 1 file changed, 4 deletions(-)

diff --git a/meta/recipes-connectivity/inetutils/inetutils_2.4.bb 
b/meta/recipes-connectivity/inetutils/inetutils_2.4.bb
index 3f6a85363ac..d911a0dbd17 100644
--- a/meta/recipes-connectivity/inetutils/inetutils_2.4.bb
+++ b/meta/recipes-connectivity/inetutils/inetutils_2.4.bb
@@ -62,10 +62,6 @@ ERROR_QA:remove = "unknown-configure-option"
 
 do_configure:prepend () {
 export HELP2MAN='true'
-cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath 
${S}/build-aux/config.rpath
-install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
-install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
-rm -f ${S}/glob/configure*
 }
 
 do_install:append () {
-- 
2.34.1


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



[OE-core] [PATCH v2 1/3] inetutils: don't guess target paths

2023-08-30 Thread Ross Burton
From: Ross Burton 

inetutils guesses a lot of target paths in cross builds, and warns that
some of them are known to be wrong (for example, whether /proc/net/dev
exists is guessed as 'no').

Add a post-configure function to check for these warnings, and pass
--with-path-* as appropriate to set the paths explicitly.

This means we can remove the patch which was setting PATH_PROCNET_DEV,
and the autoconf cache value inetutils_cv_path_login.

The downside is that these --with-path-* options are not real autoconf
options, so the "unknown options" warning is emitted.  Losing those is
an acceptable compromise, so disable it.

Signed-off-by: Ross Burton 
---
 .../inetutils-1.9-PATH_PROCNET_DEV.patch  | 37 ---
 .../inetutils/inetutils_2.4.bb| 19 --
 2 files changed, 16 insertions(+), 40 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch

diff --git 
a/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch
 
b/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch
deleted file mode 100644
index 460ddf98300..000
--- 
a/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 101130f422dd5c01a1459645d7b2a5b8d19720ab Mon Sep 17 00:00:00 2001
-From: Martin Jansa 
-Date: Wed, 6 Mar 2019 09:36:11 -0500
-Subject: [PATCH] inetutils: define PATH_PROCNET_DEV if not already defined
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-this prevents the following compilation error :
-system/linux.c:401:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this 
function)
-
-this patch comes from :
- http://repository.timesys.com/buildsources/i/inetutils/inetutils-1.9/
-
-Upstream-Status: Inappropriate [not author]
-
-Signed-of-by: Eric Bénard 
-

- ifconfig/system/linux.c | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/ifconfig/system/linux.c b/ifconfig/system/linux.c
-index e453b46..4268ca9 100644
 a/ifconfig/system/linux.c
-+++ b/ifconfig/system/linux.c
-@@ -53,6 +53,10 @@
- #include "../ifconfig.h"
- 
- 
-+#ifndef PATH_PROCNET_DEV
-+  #define PATH_PROCNET_DEV "/proc/net/dev"
-+#endif
-+
- /* ARPHRD stuff.  */
- 
- static void
diff --git a/meta/recipes-connectivity/inetutils/inetutils_2.4.bb 
b/meta/recipes-connectivity/inetutils/inetutils_2.4.bb
index 85e9f642b30..fdbcbb53369 100644
--- a/meta/recipes-connectivity/inetutils/inetutils_2.4.bb
+++ b/meta/recipes-connectivity/inetutils/inetutils_2.4.bb
@@ -20,7 +20,6 @@ SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.xz \
file://rsh.xinetd.inetutils \
file://telnet.xinetd.inetutils \
file://tftpd.xinetd.inetutils \
-   file://inetutils-1.9-PATH_PROCNET_DEV.patch \
file://inetutils-only-check-pam_appl.h-when-pam-enabled.patch \

file://0001-CVE-2023-40303-ftpd-rcp-rlogin-rsh-rshd-uucpd-fix-ch.patch \
file://0002-CVE-2023-40303-Indent-changes-in-previous-commit.patch \
@@ -42,15 +41,29 @@ PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6 
gl_cv_socket_ipv6=no,"
 PACKAGECONFIG[ping6] = "--enable-ping6,--disable-ping6,"
 
 EXTRA_OECONF = "--with-ncurses-include-dir=${STAGING_INCDIR} \
-inetutils_cv_path_login=${base_bindir}/login \
 --with-libreadline-prefix=${STAGING_LIBDIR} \
 --enable-rpath=no \
-"
+--with-path-login=${base_bindir}/login \
+--with-path-cp=${base_bindir}/cp \
+--with-path-uucico=${libexecdir}/uuico \
+--with-path-procnet-dev=/proc/net/dev \
+"
 
 # These are horrible for security, disable them
 EXTRA_OECONF:append = " --disable-rsh --disable-rshd --disable-rcp \
 --disable-rlogin --disable-rlogind --disable-rexec --disable-rexecd"
 
+# The configure script guesses many paths in cross builds, check for this 
happening
+do_configure_cross_check() {
+if grep "may be incorrect because of cross-compilation" ${B}/config.log; 
then
+bberror Default path values used, these must be set explicitly
+fi
+}
+do_configure[postfuncs] += "do_configure_cross_check"
+
+# The --with-path options are not actually options, so this check needs to be 
silenced
+ERROR_QA:remove = "unknown-configure-option"
+
 do_configure:prepend () {
 export HELP2MAN='true'
 cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath 
${S}/build-aux/config.rpath
-- 
2.34.1


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



[OE-core] [PATCH v2 2/3] inetutils: remove obsolete patches

2023-08-30 Thread Ross Burton
From: Ross Burton 

fix-disable-ipv6.patch: we don't support uclibc, and most libcs don't
have optional support for IPv6.

inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch and
inetutils-1.8-0003-wchar.patch: these don't appear to be needed anymore.

inetutils-only-check-pam_appl.h-when-pam-enabled.patch: configure.ac
doesn't fail if PAM is disabled anymore.

Signed-off-by: Ross Burton 
---
 .../inetutils/fix-disable-ipv6.patch  | 85 ---
 ...rse-pull-in-features.h-for-__GLIBC__.patch | 27 --
 .../inetutils/inetutils-1.8-0003-wchar.patch  | 25 --
 ...ly-check-pam_appl.h-when-pam-enabled.patch | 49 ---
 .../inetutils/inetutils_2.4.bb|  4 -
 5 files changed, 190 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/inetutils/inetutils/fix-disable-ipv6.patch
 delete mode 100644 
meta/recipes-connectivity/inetutils/inetutils/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
 delete mode 100644 
meta/recipes-connectivity/inetutils/inetutils/inetutils-1.8-0003-wchar.patch
 delete mode 100644 
meta/recipes-connectivity/inetutils/inetutils/inetutils-only-check-pam_appl.h-when-pam-enabled.patch

diff --git 
a/meta/recipes-connectivity/inetutils/inetutils/fix-disable-ipv6.patch 
b/meta/recipes-connectivity/inetutils/inetutils/fix-disable-ipv6.patch
deleted file mode 100644
index 603d2baf9d2..000
--- a/meta/recipes-connectivity/inetutils/inetutils/fix-disable-ipv6.patch
+++ /dev/null
@@ -1,85 +0,0 @@
-From c7c27ba763c613f83c1561e56448b49315c271c5 Mon Sep 17 00:00:00 2001
-From: Jackie Huang 
-Date: Wed, 6 Mar 2019 09:36:11 -0500
-Subject: [PATCH] Upstream:
- http://www.mail-archive.com/bug-inetutils@gnu.org/msg02103.html
-
-Upstream-Status: Pending
-
-Signed-off-by: Jackie Huang 
-

- ping/ping_common.h | 20 
- 1 file changed, 20 insertions(+)
-
-diff --git a/ping/ping_common.h b/ping/ping_common.h
-index 65e3e60..3e84db0 100644
 a/ping/ping_common.h
-+++ b/ping/ping_common.h
-@@ -18,10 +18,14 @@
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see `http://www.gnu.org/licenses/'. */
- 
-+#include 
-+
- #include 
- #include 
- #include 
-+#ifdef HAVE_IPV6
- #include 
-+#endif
- #include 
- #include 
- #include 
-@@ -63,7 +67,12 @@ struct ping_stat
-want to follow the traditional behaviour of ping.  */
- #define DEFAULT_PING_COUNT 0
- 
-+#ifdef HAVE_IPV6
- #define PING_HEADER_LEN (USE_IPV6 ? sizeof (struct icmp6_hdr) : ICMP_MINLEN)
-+#else
-+#define PING_HEADER_LEN (ICMP_MINLEN)
-+#endif
-+
- #define PING_TIMING(s)  ((s) >= sizeof (struct timeval))
- #define PING_DATALEN(64 - PING_HEADER_LEN)  /* default data length */
- 
-@@ -78,13 +87,20 @@ struct ping_stat
- 
- #define PING_MIN_USER_INTERVAL (20/PING_PRECISION)
- 
-+#ifdef HAVE_IPV6
- /* FIXME: Adjust IPv6 case for options and their consumption.  */
- #define _PING_BUFLEN(p, u) ((u)? ((p)->ping_datalen + sizeof (struct 
icmp6_hdr)) : \
-  (MAXIPLEN + (p)->ping_datalen + ICMP_TSLEN))
- 
-+#else
-+#define _PING_BUFLEN(p, u) (MAXIPLEN + (p)->ping_datalen + ICMP_TSLEN)
-+#endif
-+
-+#ifdef HAVE_IPV6
- typedef int (*ping_efp6) (int code, void *closure, struct sockaddr_in6 * dest,
- struct sockaddr_in6 * from, struct icmp6_hdr * icmp,
- int datalen);
-+#endif
- 
- typedef int (*ping_efp) (int code,
-void *closure,
-@@ -93,13 +109,17 @@ typedef int (*ping_efp) (int code,
-struct ip * ip, icmphdr_t * icmp, int datalen);
- 
- union event {
-+#ifdef HAVE_IPV6
-   ping_efp6 handler6;
-+#endif
-   ping_efp handler;
- };
- 
- union ping_address {
-   struct sockaddr_in ping_sockaddr;
-+#ifdef HAVE_IPV6
-   struct sockaddr_in6 ping_sockaddr6;
-+#endif
- };
- 
- typedef struct ping_data PING;
diff --git 
a/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
 
b/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
deleted file mode 100644
index 2974bd4f94d..000
--- 
a/meta/recipes-connectivity/inetutils/inetutils/inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From f7f785c21306010b2367572250b2822df5bc7728 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger 
-Date: Thu, 18 Nov 2010 16:59:14 -0500
-Subject: [PATCH] printf-parse: pull in features.h for __GLIBC__
-
-Upstream-Status: Pending
-
-Signed-off-by: Mike Frysinger 
-

- lib/printf-parse.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/lib/printf-parse.h b/lib/printf-parse.h
-index e7d0f82..d7b4534 100644
 a/lib/printf-parse.h
-+++ b/lib/printf-parse.h
-@@ -28,6 +28,9 @@
- 
- #include "printf-args.h"
- 
-+#ifdef HAVE_FEATURES_H
-+# include /* for __GLIBC__ */
-+#endif
- 
- /* Flags */
-

Re: [OE-core] [PATCH] base.bbclass: Do not fail during parsing if ${SRCREV} does not exist

2023-08-30 Thread Martin Jansa
FWIW: I have seen this in some meta-evil-bsp and the unfortunate part is
that only the first parsing fatal error is shown at time, so to find all
recipes which now need SkipRecipe, because your bsp vendor is evil, takes
possibly many parsing cycles.

But in the end nobody should work with evil vendors, so maybe we should
take the sticks to them not to core.

On Wed, Aug 30, 2023 at 11:04 AM Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> On Fri, 2023-08-25 at 19:16 +0200, Peter Kjellerstedt wrote:
> > After commit a8e7b0f932 (base/package: Move source revision information
> > from PV to PKGV) was integrated, having a recipe with a SRCREV that
> > currently cannot be fetched would lead to an exception during parsing.
> > Catch that exception and instead raise bb.parse.SkipRecipe. That way
> > the parsing continues as it should. Instead you now get a meaningful
> > error if you try build a recipe with a SRCREV that cannot be fetched,
> > e.g.:
> >
> >   ERROR: Nothing PROVIDES 'psplash'
> >   psplash was skipped: Fetcher failure: Unable to resolve 'unknown-ref'
> >   in upstream git repository in git ls-remote output for
> >   git.yoctoproject.org/psplash
>
> Something doesn't sound quite right in this description. You've said "a
> SRCREV that currently cannot be fetched" but "unknown-ref" will never
> be fetchable and is completely invalid as a revision. I'd guess bitbake
> is assuming it is a tag and trying to resolve it.
>
> I really don't like complicating the core code when it doesn't make
> sense to, particularly when it relates to cornercases most people don't
> hit. I think SkipRecipe is also the incorrect thing to do here,
> particularly when no reason is being passed back to bitbake to give
> back to the user.
>
> I suspect if you set the SRCREV to something that looks like a
> revision, like "badbadbadbadbadbadbadbadbadbadbadbadbadb" it will avoid
> the problems. Alternatively, just add the SkipRecipe locally along with
> your unknown-ref.
>
> Cheers,
>
> Richard
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186879): 
https://lists.openembedded.org/g/openembedded-core/message/186879
Mute This Topic: https://lists.openembedded.org/mt/100960059/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 3/3] libx11-compose-data: add CVE_PRODUCT

2023-08-30 Thread Ross Burton

> On 30 Aug 2023, at 10:47, Emil Kronborg Andersen  wrote:
> 
> Alright. I thought libx11​ was a dependency of the packages that include 
> xorg-lib-common.inc​, which is why I asked.

It _mostly_ is, but issues in libx11 will be reported by the libx11 recipe, not 
in packages that depend on libx11.

> So I guess this patch can just be dropped then? Do you need me to do anything 
> further?

Nope, nothing else to do.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186878): 
https://lists.openembedded.org/g/openembedded-core/message/186878
Mute This Topic: https://lists.openembedded.org/mt/100935314/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 3/3] libx11-compose-data: add CVE_PRODUCT

2023-08-30 Thread Emil Kronborg Andersen via lists.openembedded.org
Alright. I thought libx11​ was a dependency of the packages that include 
xorg-lib-common.inc​, which is why I asked.

So I guess this patch can just be dropped then? Do you need me to do anything 
further?

Emil

From: Ross Burton 
Sent: Wednesday, August 30, 2023 11:27
To: Emil Kronborg Andersen 
Cc: openembedded-core@lists.openembedded.org 

Subject: Re: [OE-core] [PATCH 3/3] libx11-compose-data: add CVE_PRODUCT

On 30 Aug 2023, at 07:37, Emil Kronborg Andersen  wrote:
>
> That is why I want to include it in that file. Doesn't it make sense to 
> capture CVEs for x.org:libx11​ if you use any of the libraries?

No, x.org :libx11 refers to libx11, not eg libxvmc.

Ross


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186877): 
https://lists.openembedded.org/g/openembedded-core/message/186877
Mute This Topic: https://lists.openembedded.org/mt/100935314/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] site: remove at-spi2-core values

2023-08-30 Thread Ross Burton
From: Ross Burton 

at-spi2-core is built with Meson now, so these values are not needed.

Signed-off-by: Ross Burton 
---
 meta/site/arm-32 | 10 --
 meta/site/arm-64 |  9 -
 meta/site/ix86-common| 10 --
 meta/site/mips-common| 10 --
 meta/site/powerpc-common |  9 -
 meta/site/x86_64-linux   | 10 --
 6 files changed, 58 deletions(-)
 delete mode 100644 meta/site/powerpc-common

diff --git a/meta/site/arm-32 b/meta/site/arm-32
index c6af852354e..be741617b67 100644
--- a/meta/site/arm-32
+++ b/meta/site/arm-32
@@ -6,13 +6,3 @@ ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4}
 
 # jikes
 ac_cv_sizeof_wchar_t=4
-
-# at-spi2-core
-ac_cv_alignof_char=1
-ac_cv_alignof_dbind_pointer=4
-ac_cv_alignof_dbind_struct=1
-ac_cv_alignof_dbus_bool_t=4
-ac_cv_alignof_dbus_int16_t=2
-ac_cv_alignof_dbus_int32_t=4
-ac_cv_alignof_dbus_int64_t=8
-ac_cv_alignof_double=8
diff --git a/meta/site/arm-64 b/meta/site/arm-64
index 79c10dab0e8..f4eae88471e 100644
--- a/meta/site/arm-64
+++ b/meta/site/arm-64
@@ -6,12 +6,3 @@ ac_cv_sizeof_size_t=8
 ac_cv_sizeof_ssize_t=8
 ac_cv_alignof_char=1
 ac_cv_alignof_double=8
-
-# at-spi2-core
-ac_cv_alignof_dbind_pointer=8
-ac_cv_alignof_dbind_struct=1
-ac_cv_alignof_dbus_bool_t=4
-ac_cv_alignof_dbus_int16_t=2
-ac_cv_alignof_dbus_int32_t=4
-ac_cv_alignof_dbus_int64_t=8
-
diff --git a/meta/site/ix86-common b/meta/site/ix86-common
index b97b2e3f60c..eae5670d937 100644
--- a/meta/site/ix86-common
+++ b/meta/site/ix86-common
@@ -170,13 +170,3 @@ ac_cv_lib_c_signalfd=${ac_cv_lib_c_signalfd=yes}
 nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0}
 nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
 nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes}
-
-# at-spi2-core
-ac_cv_alignof_char=1
-ac_cv_alignof_dbind_pointer=4
-ac_cv_alignof_dbind_struct=1
-ac_cv_alignof_dbus_bool_t=4
-ac_cv_alignof_dbus_int16_t=2
-ac_cv_alignof_dbus_int32_t=4
-ac_cv_alignof_dbus_int64_t=4
-ac_cv_alignof_double=4
diff --git a/meta/site/mips-common b/meta/site/mips-common
index ff1b7f4e5e0..55dc50beb18 100644
--- a/meta/site/mips-common
+++ b/meta/site/mips-common
@@ -20,13 +20,3 @@ ac_cv_sizeof_ssize_t=${ac_cv_sizeof_ssize_t=4}
 
 # slrn
 slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}
-
-# at-spi2-core
-ac_cv_alignof_char=1
-ac_cv_alignof_dbind_pointer=4
-ac_cv_alignof_dbind_struct=1
-ac_cv_alignof_dbus_bool_t=4
-ac_cv_alignof_dbus_int16_t=2
-ac_cv_alignof_dbus_int32_t=4
-ac_cv_alignof_dbus_int64_t=8
-ac_cv_alignof_double=8
diff --git a/meta/site/powerpc-common b/meta/site/powerpc-common
deleted file mode 100644
index 02217c70f94..000
--- a/meta/site/powerpc-common
+++ /dev/null
@@ -1,9 +0,0 @@
-# at-spi2-core
-ac_cv_alignof_char=1
-ac_cv_alignof_dbind_pointer=4
-ac_cv_alignof_dbind_struct=1
-ac_cv_alignof_dbus_bool_t=4
-ac_cv_alignof_dbus_int16_t=2
-ac_cv_alignof_dbus_int32_t=4
-ac_cv_alignof_dbus_int64_t=8
-ac_cv_alignof_double=8
diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux
index d7b7a530ff5..b9ee141fd5c 100644
--- a/meta/site/x86_64-linux
+++ b/meta/site/x86_64-linux
@@ -83,13 +83,3 @@ ac_cv_func__restgpr_14_x=no
 
 # cvs
 cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
-
-# at-spi2-core
-ac_cv_alignof_char=1
-ac_cv_alignof_dbind_pointer=8
-ac_cv_alignof_dbind_struct=1
-ac_cv_alignof_dbus_bool_t=4
-ac_cv_alignof_dbus_int16_t=2
-ac_cv_alignof_dbus_int32_t=4
-ac_cv_alignof_dbus_int64_t=8
-ac_cv_alignof_double=8
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186876): 
https://lists.openembedded.org/g/openembedded-core/message/186876
Mute This Topic: https://lists.openembedded.org/mt/101048874/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 3/3] libx11-compose-data: add CVE_PRODUCT

2023-08-30 Thread Ross Burton
On 30 Aug 2023, at 07:37, Emil Kronborg Andersen  wrote:
> 
> That is why I want to include it in that file. Doesn't it make sense to 
> capture CVEs for x.org:libx11​ if you use any of the libraries?

No, x.org :libx11 refers to libx11, not eg libxvmc.

Ross


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186875): 
https://lists.openembedded.org/g/openembedded-core/message/186875
Mute This Topic: https://lists.openembedded.org/mt/100935314/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] base.bbclass: Do not fail during parsing if ${SRCREV} does not exist

2023-08-30 Thread Richard Purdie
On Fri, 2023-08-25 at 19:16 +0200, Peter Kjellerstedt wrote:
> After commit a8e7b0f932 (base/package: Move source revision information
> from PV to PKGV) was integrated, having a recipe with a SRCREV that
> currently cannot be fetched would lead to an exception during parsing.
> Catch that exception and instead raise bb.parse.SkipRecipe. That way
> the parsing continues as it should. Instead you now get a meaningful
> error if you try build a recipe with a SRCREV that cannot be fetched,
> e.g.:
> 
>   ERROR: Nothing PROVIDES 'psplash'
>   psplash was skipped: Fetcher failure: Unable to resolve 'unknown-ref'
>   in upstream git repository in git ls-remote output for
>   git.yoctoproject.org/psplash

Something doesn't sound quite right in this description. You've said "a
SRCREV that currently cannot be fetched" but "unknown-ref" will never
be fetchable and is completely invalid as a revision. I'd guess bitbake
is assuming it is a tag and trying to resolve it.

I really don't like complicating the core code when it doesn't make
sense to, particularly when it relates to cornercases most people don't
hit. I think SkipRecipe is also the incorrect thing to do here,
particularly when no reason is being passed back to bitbake to give
back to the user.

I suspect if you set the SRCREV to something that looks like a
revision, like "badbadbadbadbadbadbadbadbadbadbadbadbadb" it will avoid
the problems. Alternatively, just add the SkipRecipe locally along with
your unknown-ref.

Cheers,

Richard


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186874): 
https://lists.openembedded.org/g/openembedded-core/message/186874
Mute This Topic: https://lists.openembedded.org/mt/100960059/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] libdnf: backport a fix to build with gcc-13

2023-08-30 Thread Martin Jansa
* needed to build libdnf-native on hosts with gcc-13

Signed-off-by: Martin Jansa 
---
 ...ite3-Sqlite3.hpp-add-missing-cstdint.patch | 33 +++
 ...onNumber.hpp-add-missing-cstdint-inc.patch | 30 +
 meta/recipes-devtools/libdnf/libdnf_0.66.0.bb |  2 ++
 3 files changed, 65 insertions(+)
 create mode 100644 
meta/recipes-devtools/libdnf/libdnf/0001-libdnf-utils-sqlite3-Sqlite3.hpp-add-missing-cstdint.patch
 create mode 100644 
meta/recipes-devtools/libdnf/libdnf/0002-libdnf-conf-OptionNumber.hpp-add-missing-cstdint-inc.patch

diff --git 
a/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-utils-sqlite3-Sqlite3.hpp-add-missing-cstdint.patch
 
b/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-utils-sqlite3-Sqlite3.hpp-add-missing-cstdint.patch
new file mode 100644
index 00..8bd63ebaae
--- /dev/null
+++ 
b/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-utils-sqlite3-Sqlite3.hpp-add-missing-cstdint.patch
@@ -0,0 +1,33 @@
+From 4413d3f62f0abba02ba73de92025da50e37efad0 Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich 
+Date: Fri, 27 May 2022 22:12:07 +0100
+Subject: [PATCH] libdnf/utils/sqlite3/Sqlite3.hpp: add missing 
+ include
+
+Without the change libdnf build fails on this week's gcc-13 snapshot as:
+
+In file included from /build/libdnf/libdnf/sack/../transaction/Swdb.hpp:38,
+ from /build/libdnf/libdnf/sack/query.hpp:32,
+ from /build/libdnf/libdnf/dnf-sack-private.hpp:31,
+ from /build/libdnf/libdnf/hy-iutil.cpp:60:
+
/build/libdnf/libdnf/sack/../transaction/../utils/sqlite3/Sqlite3.hpp:100:33: 
error: 'std::int64_t' has not been declared
+  100 | void bind(int pos, std::int64_t val)
+  | ^~~
+
+Upstream-Status: Backport [v0.68.0 
https://github.com/rpm-software-management/libdnf/commit/24b5d7f154cac9e322dd3459f6d0a5016a57]
+---
+ libdnf/utils/sqlite3/Sqlite3.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libdnf/utils/sqlite3/Sqlite3.hpp 
b/libdnf/utils/sqlite3/Sqlite3.hpp
+index 3a7da23c..0403bb33 100644
+--- a/libdnf/utils/sqlite3/Sqlite3.hpp
 b/libdnf/utils/sqlite3/Sqlite3.hpp
+@@ -27,6 +27,7 @@
+ 
+ #include 
+ 
++#include 
+ #include 
+ #include 
+ #include 
diff --git 
a/meta/recipes-devtools/libdnf/libdnf/0002-libdnf-conf-OptionNumber.hpp-add-missing-cstdint-inc.patch
 
b/meta/recipes-devtools/libdnf/libdnf/0002-libdnf-conf-OptionNumber.hpp-add-missing-cstdint-inc.patch
new file mode 100644
index 00..b2bd6877b5
--- /dev/null
+++ 
b/meta/recipes-devtools/libdnf/libdnf/0002-libdnf-conf-OptionNumber.hpp-add-missing-cstdint-inc.patch
@@ -0,0 +1,30 @@
+From 12582624bb5e25b84124dcd3b35b358ad56ba2ec Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich 
+Date: Fri, 27 May 2022 22:13:48 +0100
+Subject: [PATCH] libdnf/conf/OptionNumber.hpp: add missing  include
+
+Without the change libdnf build fails on this week's gcc-13 snapshot as:
+
+In file included from /build/libdnf/libdnf/conf/ConfigMain.hpp:29,
+ from /build/libdnf/libdnf/conf/ConfigMain.cpp:21:
+/build/libdnf/libdnf/conf/OptionNumber.hpp:94:41: error: 'int32_t' is not 
a member of 'std'; did you mean 'int32_t'?
+   94 | extern template class OptionNumber;
+  | ^~~
+
+Upstream-Status: Backport [v0.68.0 
https://github.com/rpm-software-management/libdnf/commit/f8af6399c4f6a65a35d33ecc191bb14094dc9e18]
+---
+ libdnf/conf/OptionNumber.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libdnf/conf/OptionNumber.hpp b/libdnf/conf/OptionNumber.hpp
+index f7a7b3d6e..a3a4dea67 100644
+--- a/libdnf/conf/OptionNumber.hpp
 b/libdnf/conf/OptionNumber.hpp
+@@ -25,6 +25,7 @@
+ 
+ #include "Option.hpp"
+ 
++#include 
+ #include 
+ 
+ namespace libdnf {
diff --git a/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb 
b/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb
index 2558f96851..9154414212 100644
--- a/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb
+++ b/meta/recipes-devtools/libdnf/libdnf_0.66.0.bb
@@ -11,6 +11,8 @@ SRC_URI = 
"git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;p
file://enable_test_data_dir_set.patch \
file://0001-drop-FindPythonInstDir.cmake.patch \

file://0001-libdnf-dnf-context.cpp-do-not-try-to-access-BDB-data.patch \
+   
file://0001-libdnf-utils-sqlite3-Sqlite3.hpp-add-missing-cstdint.patch \
+   
file://0002-libdnf-conf-OptionNumber.hpp-add-missing-cstdint-inc.patch \
"
 
 SRCREV = "add5d5418b140a86d08667dd2b14793093984875"
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186873): 
https://lists.openembedded.org/g/openembedded-core/message/186873
Mute This Topic: https://lists.openembedded.org/mt/101048453/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openemb

[OE-core][PATCH] oe-depends-dot: improve '-w' behavior

2023-08-30 Thread Chen Qi via lists.openembedded.org
From: Chen Qi 

The '-w' option is not giving very helpful information. For example,
if we add 'spice' to IMAGE_INSTALL, bitbake -g core-image-minimal,
and then run `oe-depends-dot -k nspr -w task-depends.dot', the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss
  core-image-minimal -> nss -> nspr

The result is not showing the full dependency chain which brings in nspr.
With this patch, the result is:

  $ oe-depends-dot -k nspr -w task-depends.dot
  Because: core-image-minimal nss libcacard spice
  core-image-minimal -> spice -> libcacard -> nss -> nspr

This patch also fixes a typo in help message: recipe-depends.dot -> 
task-depends.dot.

Signed-off-by: Chen Qi 
---
 scripts/oe-depends-dot | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/scripts/oe-depends-dot b/scripts/oe-depends-dot
index 1c2d51c6ec..d02ee455f6 100755
--- a/scripts/oe-depends-dot
+++ b/scripts/oe-depends-dot
@@ -14,7 +14,7 @@ import re
 class Dot(object):
 def __init__(self):
 parser = argparse.ArgumentParser(
-description="Analyse recipe-depends.dot generated by bitbake -g",
+description="Analyse task-depends.dot generated by bitbake -g",
 formatter_class=argparse.RawDescriptionHelpFormatter)
 parser.add_argument("dotfile",
 help = "Specify the dotfile", nargs = 1, action='store', 
default='')
@@ -159,9 +159,14 @@ Reduce the .dot file packages only, no tasks:
 
 reverse_deps = []
 if self.args.why:
-for k, v in depends.items():
-if self.args.key in v and not k in reverse_deps:
-reverse_deps.append(k)
+key_list = [self.args.key]
+current_key = self.args.key
+while (len(key_list) != 0):
+current_key = key_list.pop()
+for k, v in depends.items():
+if current_key in v and not k in reverse_deps:
+reverse_deps.append(k)
+key_list.append(k)
 print('Because: %s' % ' '.join(reverse_deps))
 Dot.print_dep_chains(self.args.key, reverse_deps, depends)
 
-- 
2.40.0


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

2023-08-30 Thread Richard Purdie
On Fri, 2023-08-18 at 11:30 +0200, Alberto Planas via
lists.openembedded.org wrote:
> From: Alberto Planas 
> 
> rpm2cpio.sh can make calls to bunzip2 to uncompress the RPM payload that
> conform the cpio file.
> 
> bzip2 is already part of HOSTTOOLS, as a link to the system installed
> bzip2.
> 
> This patch add bunzip2 in HOSTOOLS list as a non-optional binary, so is
> available to rpm2cpio.sh when it is required.
> 
> The currect rpm2cpio.sh has other calls to gunzip (present in HOSTOOLS),
> xzcat (missing), unlzma (missing) and unzstd (present in HOSTTOOLS since
> bff58d337890e804d33d7decbaa46065a4d3bba4)
> 
> Adding the missing ones will not add any new host dependency as xz-utils
> is already listed as a requirement.
> 
> Signed-off-by: Alberto Planas 
> ---
>  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 599bbc4ba8..b19f265b3d 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -516,7 +516,7 @@ HOSTTOOLS_DIR = "${TMPDIR}/hosttools"
>  
>  # Tools needed to run builds with OE-Core
>  HOSTTOOLS += " \
> -[ ar as awk basename bash bzip2 cat chgrp chmod chown chrpath cmp comm 
> cp cpio \
> +[ ar as awk basename bash bunzip2 bzip2 cat chgrp chmod chown chrpath 
> cmp comm cp cpio \
>  cpp cut date dd diff diffstat dirname du echo egrep env expand expr 
> false \
>  fgrep file find flock g++ gawk gcc getconf getopt git grep gunzip gzip \
>  head hostname iconv id install ld ldd ln ls lz4c make md5sum mkdir 
> mkfifo mknod \

I ended up thinking we should take this in favour of an easier life. It
resulted in this repoducibility issue:

http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20230829-oldigjb2/packages/diff-html/

sadly I only discovered that after merging the patch :(

Cheers,

Richard

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