Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0
@ 2025-03-18  4:38 Khem Raj
  2025-03-18  4:38 ` [PATCH 02/24] webkitgtk: Add packageconfig for assertions Khem Raj
                   ` (22 more replies)
  0 siblings, 23 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Kai Kang, Khem Raj

From: Kai Kang <kai.kang@windriver.com>

Upgrade webkitgtk from 2.46.6 to 2.48.0:

* remove backported patch bmalloc-fix.patch
* update context of no-musttail-arm.patch
* add PACKAGECONFIG speech

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../webkit/webkitgtk/bmalloc-fix.patch        | 36 -------------------
 .../webkit/webkitgtk/no-musttail-arm.patch    | 14 +++++---
 ...ebkitgtk_2.46.6.bb => webkitgtk_2.48.0.bb} |  4 +--
 3 files changed, 11 insertions(+), 43 deletions(-)
 delete mode 100644 meta/recipes-sato/webkit/webkitgtk/bmalloc-fix.patch
 rename meta/recipes-sato/webkit/{webkitgtk_2.46.6.bb => webkitgtk_2.48.0.bb} (97%)

diff --git a/meta/recipes-sato/webkit/webkitgtk/bmalloc-fix.patch b/meta/recipes-sato/webkit/webkitgtk/bmalloc-fix.patch
deleted file mode 100644
index 37e0fdcbbdc..00000000000
--- a/meta/recipes-sato/webkit/webkitgtk/bmalloc-fix.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 6ab7d3f7d8d0d8e1ab401d0fb13f60bbc64279a2 Mon Sep 17 00:00:00 2001
-From: Thomas Klausner <wiz@gatalith.at>
-Date: Thu, 7 Nov 2024 11:54:30 -0800
-Subject: [PATCH] bmalloc: Build problem in bmalloc when X11/X.h is in the same
- namespace https://bugs.webkit.org/show_bug.cgi?id=282693
-
-This avoids a build problem when the X11/X.h is included,
-which defines Success to '0'.
-
-Reviewed by Fujii Hironori.
-
-* Source/bmalloc/bmalloc/EligibilityResult.h:
-
-Canonical link: https://commits.webkit.org/286295@main
-Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/6ab7d3f7d8d0d8e1ab401d0fb13f60bbc64279a2]
-Signed-off-by: Alexander Kanavin <alex@linutronix.de>
----
- Source/bmalloc/bmalloc/EligibilityResult.h | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/Source/bmalloc/bmalloc/EligibilityResult.h b/Source/bmalloc/bmalloc/EligibilityResult.h
-index ead7dbb52c07a..48f9e5bfe8a80 100644
---- a/Source/bmalloc/bmalloc/EligibilityResult.h
-+++ b/Source/bmalloc/bmalloc/EligibilityResult.h
-@@ -29,6 +29,11 @@
- 
- #if !BUSE(LIBPAS)
- 
-+/* avoid conflict with symbol from X11 headers */
-+#ifdef Success
-+#undef Success
-+#endif
-+
- namespace bmalloc {
- 
- enum class EligibilityKind {
diff --git a/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch b/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch
index c98d8b7727b..367e6b8342a 100644
--- a/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/no-musttail-arm.patch
@@ -11,20 +11,24 @@ this code is new in webkit 2.42[2] thats why we do not see the crash in older we
 
 Upstream-Status: Inappropriate [work around to avoid clang compiler crash]
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Update context for webkitgtk 2.48.0.
+
+Signed-off-by: Kai Kang <kai.kang@windriver.com>
 ---
  Source/WTF/wtf/Compiler.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h
-index c01ed849..b69b1527 100644
+index 16e416d..68dd9a0 100644
 --- a/Source/WTF/wtf/Compiler.h
 +++ b/Source/WTF/wtf/Compiler.h
-@@ -290,7 +290,7 @@
+@@ -293,7 +293,7 @@
  #if COMPILER(CLANG)
  #if __SIZEOF_POINTER__ == 8
  #if !defined(MUST_TAIL_CALL) && defined(__cplusplus) && defined(__has_cpp_attribute)
--#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__)
-+#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__) && !defined(__arm__)
+-#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__) && !defined(_WIN32)
++#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__) && !defined(_WIN32) && !defined(__arm__)
  #define MUST_TAIL_CALL [[clang::musttail]]
- #endif
+ #define HAVE_MUST_TAIL_CALL 1
  #endif
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.46.6.bb b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb
similarity index 97%
rename from meta/recipes-sato/webkit/webkitgtk_2.46.6.bb
rename to meta/recipes-sato/webkit/webkitgtk_2.48.0.bb
index d1f24bbbf70..cb4e09662f7 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.46.6.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb
@@ -15,10 +15,9 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
            file://0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch \
            file://no-musttail-arm.patch \
            file://t6-not-declared.patch \
-           file://bmalloc-fix.patch \
            file://sys_futex.patch \
            "
-SRC_URI[sha256sum] = "f2b31de693220ba9bab76ce6ddfe5b0bfab2515cb2b0a70f3c54d4050766c32b"
+SRC_URI[sha256sum] = "94904a55cf12d44a4e36ceadafff02d46da73d76be9b4769f34cbfdf0eebf88e"
 
 inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen
 
@@ -81,6 +80,7 @@ PACKAGECONFIG[jpegxl] = "-DUSE_JPEGXL=ON,-DUSE_JPEGXL=OFF,libjxl"
 PACKAGECONFIG[backtrace] = "-DUSE_LIBBACKTRACE=ON,-DUSE_LIBBACKTRACE=OFF,libbacktrace"
 PACKAGECONFIG[gamepad] = "-DENABLE_GAMEPAD=ON,-DENABLE_GAMEPAD=OFF,libmanette"
 PACKAGECONFIG[sysprof-capture] = "-DUSE_SYSTEM_SYSPROF_CAPTURE=YES,-DUSE_SYSTEM_SYSPROF_CAPTURE=NO,sysprof"
+PACKAGECONFIG[speech] = "-DENABLE_SPEECH_SYNTHESIS=ON,-DENABLE_SPEECH_SYNTHESIS=OFF,flite"
 
 EXTRA_OECMAKE = " \
                  -DPORT=GTK \


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 02/24] webkitgtk: Add packageconfig for assertions
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 03/24] webkitgtk: Fix build with clang-20 Khem Raj
                   ` (21 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

assertions have new knob in 2.48, add a packageconfig to control it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-sato/webkit/webkitgtk_2.48.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb
index cb4e09662f7..ea16b23994e 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb
@@ -55,6 +55,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11',
                    ${PACKAGECONFIG_SOUP} \
                   "
 
+PACKAGECONFIG[assertions] = "-DUSE_CXX_STDLIB_ASSERTIONS=ON,-DUSE_CXX_STDLIB_ASSERTIONS=OFF,"
 PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND_TARGET=ON,-DENABLE_WAYLAND_TARGET=OFF,wayland libwpe wpebackend-fdo wayland-native"
 PACKAGECONFIG[angle] = "-DUSE_ANGLE_WEBGL=ON,-DUSE_ANGLE_WEBGL=OFF"
 PACKAGECONFIG[x11] = "-DENABLE_X11_TARGET=ON,-DENABLE_X11_TARGET=OFF,virtual/libx11 libxcomposite libxdamage libxrender libxt"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 03/24] webkitgtk: Fix build with clang-20
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
  2025-03-18  4:38 ` [PATCH 02/24] webkitgtk: Add packageconfig for assertions Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 04/24] libpam: add ptest cases back Khem Raj
                   ` (20 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Backport the proposed patch to sync Enum traits header

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...or-no-matching-function-for-call-to-.patch | 77 +++++++++++++++++++
 meta/recipes-sato/webkit/webkitgtk_2.48.0.bb  |  1 +
 2 files changed, 78 insertions(+)
 create mode 100644 meta/recipes-sato/webkit/webkitgtk/0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch

diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch b/meta/recipes-sato/webkit/webkitgtk/0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch
new file mode 100644
index 00000000000..5b83d9e7eb2
--- /dev/null
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch
@@ -0,0 +1,77 @@
+From 7d159a631ae55c10a0b7a92cf031200a11629736 Mon Sep 17 00:00:00 2001
+From: Fujii Hironori <Hironori.Fujii@sony.com>
+Date: Tue, 18 Mar 2025 10:25:47 +0900
+Subject: [PATCH] EnumTraits.h: error: no matching function for call to
+ 'enumName' with Clang 20 https://bugs.webkit.org/show_bug.cgi?id=289669
+
+Reviewed by NOBODY (OOPS!).
+
+Clang 20 couldn't compile EnumTraits.h.
+
+> wtf/EnumTraits.h:212:33: note: candidate template ignored: invalid explicitly-specified argument for template parameter 'V'
+
+An invalid enum value can't be specifed to the template parameter `V`.
+
+> template<auto V> constexpr std::span<const char> enumName()
+
+The upstream Magic Enum C++ has a template variable `is_enum_constexpr_static_cast_valid<E, V>` to check a enum value is valid.
+<https://github.com/Neargye/magic_enum/blob/a413fcc9c46a020a746907136a384c227f3cd095/include/magic_enum/magic_enum.hpp#L624-L634>
+
+Imported the template variable.
+
+* Source/WTF/wtf/EnumTraits.h:
+(WTF::enumName):
+(WTF::makeEnumNames):
+
+Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/42597]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ Source/WTF/wtf/EnumTraits.h | 21 ++++++++++++++++++++-
+ 1 file changed, 20 insertions(+), 1 deletion(-)
+
+diff --git a/Source/WTF/wtf/EnumTraits.h b/Source/WTF/wtf/EnumTraits.h
+index 0d33e39a..95e6318b 100644
+--- a/Source/WTF/wtf/EnumTraits.h
++++ b/Source/WTF/wtf/EnumTraits.h
+@@ -152,6 +152,16 @@ constexpr bool isZeroBasedContiguousEnum()
+ #pragma clang diagnostic ignored "-Wenum-constexpr-conversion"
+ #endif
+ 
++#if COMPILER(CLANG) && __clang_major__ >= 16
++template <typename E, auto V, typename = void>
++inline constexpr bool isEnumConstexprStaticCastValid = false;
++template <typename E, auto V>
++inline constexpr bool isEnumConstexprStaticCastValid<E, V, std::void_t<std::integral_constant<E, static_cast<E>(V)>>> = true;
++#else
++template <typename, auto>
++inline constexpr bool isEnumConstexprStaticCastValid = true;
++#endif
++
+ template<typename E>
+ constexpr std::span<const char> enumTypeNameImpl()
+ {
+@@ -215,6 +225,15 @@ constexpr std::span<const char> enumName()
+     return result;
+ }
+ 
++template<typename E, auto V>
++constexpr std::span<const char> enumName()
++{
++    if constexpr (isEnumConstexprStaticCastValid<E, V>)
++        return enumName<static_cast<E>(V)>();
++    else
++        return { };
++}
++
+ template<typename E>
+ constexpr std::underlying_type_t<E> enumNamesMin()
+ {
+@@ -264,7 +283,7 @@ constexpr auto makeEnumNames(std::index_sequence<Is...>)
+ {
+     constexpr auto min = enumNamesMin<E>();
+     return std::array<std::span<const char>, sizeof...(Is)> {
+-        enumName<static_cast<E>(static_cast<std::underlying_type_t<E>>(Is) + min)>()...
++        enumName<E, static_cast<std::underlying_type_t<E>>(Is) + min>()...
+     };
+ }
+ 
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb
index ea16b23994e..7a1271910ac 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.48.0.bb
@@ -16,6 +16,7 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
            file://no-musttail-arm.patch \
            file://t6-not-declared.patch \
            file://sys_futex.patch \
+           file://0001-EnumTraits.h-error-no-matching-function-for-call-to-.patch \
            "
 SRC_URI[sha256sum] = "94904a55cf12d44a4e36ceadafff02d46da73d76be9b4769f34cbfdf0eebf88e"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 04/24] libpam: add ptest cases back
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
  2025-03-18  4:38 ` [PATCH 02/24] webkitgtk: Add packageconfig for assertions Khem Raj
  2025-03-18  4:38 ` [PATCH 03/24] webkitgtk: Fix build with clang-20 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 05/24] ncurses: Upgrade to v6_5_20250315 Khem Raj
                   ` (19 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Kai Kang, Khem Raj

From: Kai Kang <kai.kang@windriver.com>

It removes the installation of ptest cases when upgrade libpam to 1.7.0.
Add them back to make ptest work. And 2 more cases in libpam 1.7.0.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/pam/libpam_1.7.0.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta/recipes-extended/pam/libpam_1.7.0.bb b/meta/recipes-extended/pam/libpam_1.7.0.bb
index 1be3c9e2bb9..4abc52bd93b 100644
--- a/meta/recipes-extended/pam/libpam_1.7.0.bb
+++ b/meta/recipes-extended/pam/libpam_1.7.0.bb
@@ -142,6 +142,12 @@ do_install:append() {
 	fi
 }
 
+do_install_ptest() {
+    mkdir -p ${D}${PTEST_PATH}/tests
+    find ${B}/tests -maxdepth 1 -type f -exec cp {} ${D}${PTEST_PATH}/tests \;
+    install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests
+}
+
 pkg_postinst:${PN}() {
          if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
                  /etc/init.d/populate-volatile.sh update


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 05/24] ncurses: Upgrade to v6_5_20250315
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (2 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 04/24] libpam: add ptest cases back Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  9:38   ` [OE-core] " Alexander Kanavin
  2025-03-18  4:38 ` [PATCH 06/24] gdbm: Use C11 standard Khem Raj
                   ` (18 subsequent siblings)
  22 siblings, 1 reply; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Brings needed fixes to build with GCC15

License-Update: Copyright Years changed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../ncurses/files/0001-tic-hang.patch           |  4 +---
 .../files/0002-configure-reproducible.patch     |  4 +---
 ...in-Do-not-include-LDFLAGS-in-generated.patch |  4 +---
 .../ncurses/files/exit_prototype.patch          | 17 ++++++++++++-----
 meta/recipes-core/ncurses/ncurses.inc           |  2 +-
 meta/recipes-core/ncurses/ncurses_6.5.bb        |  8 +++++---
 6 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/meta/recipes-core/ncurses/files/0001-tic-hang.patch b/meta/recipes-core/ncurses/files/0001-tic-hang.patch
index 8cb92a39398..d2df9680ffc 100644
--- a/meta/recipes-core/ncurses/files/0001-tic-hang.patch
+++ b/meta/recipes-core/ncurses/files/0001-tic-hang.patch
@@ -16,11 +16,9 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  misc/terminfo.src | 11 +++++------
  1 file changed, 5 insertions(+), 6 deletions(-)
 
-diff --git a/misc/terminfo.src b/misc/terminfo.src
-index 5d575b8e..f9cc6880 100644
 --- a/misc/terminfo.src
 +++ b/misc/terminfo.src
-@@ -6518,12 +6518,11 @@ konsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm,
+@@ -6577,12 +6577,11 @@ konsole-xf3x|KDE console window with key
  # The value for kbs (see konsole-vt100) reflects local customization rather
  # than the settings used for XFree86 xterm.
  konsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm,
diff --git a/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch b/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
index 11ca66c8e8f..1353405ee25 100644
--- a/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
+++ b/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
@@ -17,11 +17,9 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
  configure | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/configure b/configure
-index 488d93fc..005d44e2 100755
 --- a/configure
 +++ b/configure
-@@ -5129,7 +5129,7 @@ else
+@@ -5448,7 +5448,7 @@ else
  		;;
  	(*)
  		cf_cv_ar_flags=unknown
diff --git a/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch b/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
index d89399bbe51..c2e3984db92 100644
--- a/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
+++ b/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
@@ -14,11 +14,9 @@ Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
  misc/gen-pkgconfig.in | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in
-index 89a5cd4a..07d94d17 100644
 --- a/misc/gen-pkgconfig.in
 +++ b/misc/gen-pkgconfig.in
-@@ -83,7 +83,7 @@ if [ "$includedir" != "/usr/include" ]; then
+@@ -83,7 +83,7 @@ if [ "$includedir" != "/usr/include" ];
  fi
  
  lib_flags=
diff --git a/meta/recipes-core/ncurses/files/exit_prototype.patch b/meta/recipes-core/ncurses/files/exit_prototype.patch
index 299852d2c07..09a9d5dce1b 100644
--- a/meta/recipes-core/ncurses/files/exit_prototype.patch
+++ b/meta/recipes-core/ncurses/files/exit_prototype.patch
@@ -9,19 +9,26 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  configure | 2 ++
  1 file changed, 2 insertions(+)
 
-diff --git a/configure b/configure
-index 005d44e2..72fa6c23 100755
 --- a/configure
 +++ b/configure
-@@ -3462,6 +3462,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext"
+@@ -3763,6 +3763,7 @@ rm -f "conftest.$ac_objext" "conftest.$a
    cat >"conftest.$ac_ext" <<_ACEOF
- #line 3463 "configure"
+ #line 3764 "configure"
  #include "confdefs.h"
 +#include <stdlib.h>
  $ac_declaration
  int
  main (void)
-@@ -13533,6 +13534,7 @@ cat >"conftest.$ac_ext" <<_ACEOF
+@@ -3821,7 +3822,7 @@ echo $ECHO_N "checking if $CXX works...
+ 
+ 		save_CPPFLAGS="$CPPFLAGS"
+ 		eval cf_includedir=${includedir}
+-		CPPFLAGS="$CPPFLAGS -I${cf_includedir}"
++		CPPFLAGS="$CPPFLAGS "
+ 
+ cat >"conftest.$ac_ext" <<_ACEOF
+ #line 3827 "configure"
+@@ -13891,6 +13892,7 @@ cat >"conftest.$ac_ext" <<_ACEOF
  #include <stdlib.h>
  #include <stdarg.h>
  #include <stdio.h>
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 3f93550cf99..513cb4c1c9c 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -2,7 +2,7 @@ SUMMARY = "The New Curses library"
 DESCRIPTION = "SVr4 and XSI-Curses compatible curses library and terminfo tools including tic, infocmp, captoinfo. Supports color, multiple highlights, forms-drawing characters, and automatic recognition of keypad and function-key sequences. Extensions include resizable windows and mouse support on both xterm and Linux console using the gpm library."
 HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=6f291ee54551d9d8d992ecd623fe4bc7;endline=27"
+LIC_FILES_CHKSUM = "file://COPYING;md5=c534844fa5a74d14ae8fa3d9b3b42138;endline=27"
 SECTION = "libs"
 DEPENDS = "ncurses-native"
 DEPENDS:class-native = ""
diff --git a/meta/recipes-core/ncurses/ncurses_6.5.bb b/meta/recipes-core/ncurses/ncurses_6.5.bb
index 2e3ee337ea4..980671218ca 100644
--- a/meta/recipes-core/ncurses/ncurses_6.5.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.5.bb
@@ -6,10 +6,12 @@ SRC_URI += "file://0001-tic-hang.patch \
            file://exit_prototype.patch \
            "
 # commit id corresponds to the revision in package version
-SRCREV = "1c55d64d9d3e00399a21f04e9cac1e472ab5f70a"
+# v6_5_20250315
+SRCREV = "5fa5aea6d020750dbe601c1136c7cc35a8a53dd8"
+PV .= "+20250315"
 S = "${WORKDIR}/git"
 EXTRA_OECONF += "--with-abi-version=5"
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+_\d+)$"
 
-# This is needed when using patchlevel versions like 6.1+20181013
-#CVE_VERSION = "${@d.getVar("PV").split('+')[0]}.${@d.getVar("PV").split('+')[1]}"
+# This is needed when using patchlevel versions like 6.5+20250315
+CVE_VERSION = "${@d.getVar("PV").split('+')[0]}.${@d.getVar("PV").split('+')[1]}"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 06/24] gdbm: Use C11 standard
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (3 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 05/24] ncurses: Upgrade to v6_5_20250315 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 07/24] bluez: Fix build with GCC-15 Khem Raj
                   ` (17 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

GCC15 is switching defaults to C23 and gdbm is not yet ready to
compile using C23 std.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/gdbm/gdbm_1.24.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-support/gdbm/gdbm_1.24.bb b/meta/recipes-support/gdbm/gdbm_1.24.bb
index 88f9fa47cf5..8e3cec42957 100644
--- a/meta/recipes-support/gdbm/gdbm_1.24.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.24.bb
@@ -23,6 +23,9 @@ EXTRA_OECONF = "--enable-libgdbm-compat --without-readline"
 # Stop presence of dbm/nbdm on the host contaminating builds
 CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
 
+# Not yet ready for C23
+CFLAGS += "-std=gnu11"
+
 BBCLASSEXTEND = "native nativesdk"
 
 do_install:append () {


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 07/24] bluez: Fix build with GCC-15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (4 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 06/24] gdbm: Use C11 standard Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 08/24] readline: Fixed " Khem Raj
                   ` (16 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

gcc-15 switched to -std=c23 by default:

    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212

As a result `bluez` fails the build as:

    src/shared/ad.c:1090:24: error: incompatible types when returning type '_Bool' but 'const char *' was expected
     1090 |                 return false;
          |                        ^~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-connectivity/bluez5/bluez5.inc   |  3 +
 ...-shared-ad-fix-std-c23-build-failure.patch | 34 +++++++++++
 ...ared-shell-fix-std-c23-build-failure.patch | 34 +++++++++++
 ...tt-helpers-fix-std-c23-build-failure.patch | 58 +++++++++++++++++++
 4 files changed, 129 insertions(+)
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-shared-ad-fix-std-c23-build-failure.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0002-shared-shell-fix-std-c23-build-failure.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0003-shared-gatt-helpers-fix-std-c23-build-failure.patch

diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index d31f4e2295e..d6268721037 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -70,6 +70,9 @@ 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://0001-gdbus-define-MAX_INPUT-for-musl.patch \
+           file://0001-shared-ad-fix-std-c23-build-failure.patch \
+           file://0002-shared-shell-fix-std-c23-build-failure.patch \
+           file://0003-shared-gatt-helpers-fix-std-c23-build-failure.patch \
            "
 S = "${WORKDIR}/bluez-${PV}"
 
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-shared-ad-fix-std-c23-build-failure.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-shared-ad-fix-std-c23-build-failure.patch
new file mode 100644
index 00000000000..82eaed79298
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/0001-shared-ad-fix-std-c23-build-failure.patch
@@ -0,0 +1,34 @@
+From 5c4cbf5cb95e4fc1a53545af52b420a8008b3ffa Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <rudi@heitbaum.com>
+Date: Wed, 20 Nov 2024 13:02:56 +0000
+Subject: [PATCH 1/3] shared/ad: fix -std=c23 build failure
+
+gcc-15 switched to -std=c23 by default:
+
+    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
+
+As a result `bluez` fails the build as:
+
+    src/shared/ad.c:1090:24: error: incompatible types when returning type '_Bool' but 'const char *' was expected
+     1090 |                 return false;
+          |                        ^~~~~
+
+Upstream-Status: Backport [https://web.git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=da5b5b0ecb1ead38676768ef78d46449d404bdc0]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ src/shared/ad.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/shared/ad.c b/src/shared/ad.c
+index d08ce7a..dac381b 100644
+--- a/src/shared/ad.c
++++ b/src/shared/ad.c
+@@ -1087,7 +1087,7 @@ bool bt_ad_add_name(struct bt_ad *ad, const char *name)
+ const char *bt_ad_get_name(struct bt_ad *ad)
+ {
+ 	if (!ad)
+-		return false;
++		return NULL;
+ 
+ 	return ad->name;
+ }
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0002-shared-shell-fix-std-c23-build-failure.patch b/meta/recipes-connectivity/bluez5/bluez5/0002-shared-shell-fix-std-c23-build-failure.patch
new file mode 100644
index 00000000000..9ea622601b1
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/0002-shared-shell-fix-std-c23-build-failure.patch
@@ -0,0 +1,34 @@
+From 408510d751e9482fe965e5dd96fbac7f9ee2ef62 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <rudi@heitbaum.com>
+Date: Wed, 20 Nov 2024 13:03:29 +0000
+Subject: [PATCH 2/3] shared/shell: fix -std=c23 build failure
+
+gcc-15 switched to -std=c23 by default:
+
+    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
+
+As a result `bluez` fails the build as:
+
+    src/shared/shell.c:365:24: error: incompatible types when returning type '_Bool' but 'struct input *' was expected
+      365 |                 return false;
+          |                        ^~~~~
+
+Upstream-Status: Backport [https://web.git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=4d60826865c760cc4e5718b6414746a394768110]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ src/shared/shell.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/shared/shell.c b/src/shared/shell.c
+index a8fa876..aa6c16c 100644
+--- a/src/shared/shell.c
++++ b/src/shared/shell.c
+@@ -362,7 +362,7 @@ static struct input *input_new(int fd)
+ 
+ 	io = io_new(fd);
+ 	if (!io)
+-		return false;
++		return NULL;
+ 
+ 	input = new0(struct input, 1);
+ 	input->io = io;
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0003-shared-gatt-helpers-fix-std-c23-build-failure.patch b/meta/recipes-connectivity/bluez5/bluez5/0003-shared-gatt-helpers-fix-std-c23-build-failure.patch
new file mode 100644
index 00000000000..996bb048acf
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/0003-shared-gatt-helpers-fix-std-c23-build-failure.patch
@@ -0,0 +1,58 @@
+From 7c07bb10f57c80467bc3079d45dac4d3839927d0 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <rudi@heitbaum.com>
+Date: Wed, 20 Nov 2024 13:03:55 +0000
+Subject: [PATCH 3/3] shared/gatt-helpers: fix -std=c23 build failure
+
+gcc-15 switched to -std=c23 by default:
+
+    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
+
+As a result `bluez` fails the build as:
+
+    src/shared/gatt-helpers.c:1136:24: error: incompatible types when returning type '_Bool' but 'struct bt_gatt_request *' was expected
+     1136 |                 return false;
+          |                        ^~~~~
+    src/shared/gatt-helpers.c:1250:24: error: incompatible types when returning type '_Bool' but 'struct bt_gatt_request *' was expected
+     1250 |                 return false;
+          |                        ^~~~~
+    src/shared/gatt-helpers.c:1478:24: error: incompatible types when returning type '_Bool' but 'struct bt_gatt_request *' was expected
+     1478 |                 return false;
+          |                        ^~~~~
+
+Upstream-Status: Backport [https://web.git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=6f3111eb680df9c13502aacd65554846a9e13a3f]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ src/shared/gatt-helpers.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/shared/gatt-helpers.c b/src/shared/gatt-helpers.c
+index 50fcb26..f1fa630 100644
+--- a/src/shared/gatt-helpers.c
++++ b/src/shared/gatt-helpers.c
+@@ -1133,7 +1133,7 @@ struct bt_gatt_request *bt_gatt_discover_included_services(struct bt_att *att,
+ 	uint8_t pdu[6];
+ 
+ 	if (!att)
+-		return false;
++		return NULL;
+ 
+ 	op = new0(struct bt_gatt_request, 1);
+ 	op->att = att;
+@@ -1247,7 +1247,7 @@ struct bt_gatt_request *bt_gatt_discover_characteristics(struct bt_att *att,
+ 	uint8_t pdu[6];
+ 
+ 	if (!att)
+-		return false;
++		return NULL;
+ 
+ 	op = new0(struct bt_gatt_request, 1);
+ 	op->att = att;
+@@ -1475,7 +1475,7 @@ struct bt_gatt_request *bt_gatt_discover_descriptors(struct bt_att *att,
+ 	uint8_t pdu[4];
+ 
+ 	if (!att)
+-		return false;
++		return NULL;
+ 
+ 	op = new0(struct bt_gatt_request, 1);
+ 	op->att = att;


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 08/24] readline: Fixed build with GCC-15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (5 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 07/24] bluez: Fix build with GCC-15 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:56   ` Patchtest results for " patchtest
                     ` (2 more replies)
  2025-03-18  4:38 ` [PATCH 09/24] bash: Stick to C17 std Khem Raj
                   ` (15 subsequent siblings)
  22 siblings, 3 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...ages-that-are-not-compatible-with-C2.patch | 29 +++++++++++++++++++
 meta/recipes-core/readline/readline_8.2.13.bb |  4 ++-
 2 files changed, 32 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-core/readline/readline/0001-Add-fix-for-packages-that-are-not-compatible-with-C2.patch

diff --git a/meta/recipes-core/readline/readline/0001-Add-fix-for-packages-that-are-not-compatible-with-C2.patch b/meta/recipes-core/readline/readline/0001-Add-fix-for-packages-that-are-not-compatible-with-C2.patch
new file mode 100644
index 00000000000..69fea508908
--- /dev/null
+++ b/meta/recipes-core/readline/readline/0001-Add-fix-for-packages-that-are-not-compatible-with-C2.patch
@@ -0,0 +1,29 @@
+From 9459ee899a291c55f08341df63e9a1b9b7af200a Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 16 Mar 2025 12:48:46 -0700
+Subject: [PATCH] Add fix for packages that are not compatible with C23
+
+Fixes builds with GCC-15
+Sourced from Fedora: https://src.fedoraproject.org/rpms/readline/c/c47eb813afb942128253213ad5b8221770557e48?branch=rawhide
+
+Help getting packages like bluez5 building
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ rlstdc.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/rlstdc.h b/rlstdc.h
+index 2aaa30b..a7a0ef3 100644
+--- a/rlstdc.h
++++ b/rlstdc.h
+@@ -44,7 +44,7 @@
+ 
+ /* Moved from config.h.in because readline.h:rl_message depends on these
+    defines. */
+-#if defined (__STDC__) && defined (HAVE_STDARG_H)
++#if defined (__STDC__)
+ #  define PREFER_STDARG
+ #  define USE_VARARGS
+ #else
diff --git a/meta/recipes-core/readline/readline_8.2.13.bb b/meta/recipes-core/readline/readline_8.2.13.bb
index 78b988365a6..19b5cb6f583 100644
--- a/meta/recipes-core/readline/readline_8.2.13.bb
+++ b/meta/recipes-core/readline/readline_8.2.13.bb
@@ -1,5 +1,7 @@
 require readline.inc
 
-SRC_URI += "  file://norpath.patch"
+SRC_URI += "file://norpath.patch \
+            file://0001-Add-fix-for-packages-that-are-not-compatible-with-C2.patch \
+            "
 
 SRC_URI[archive.sha256sum] = "0e5be4d2937e8bd9b7cd60d46721ce79f88a33415dd68c2d738fb5924638f656"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 09/24] bash: Stick to C17 std
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (6 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 08/24] readline: Fixed " Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 10/24] tcp-wrappers: Stick to C17 standard Khem Raj
                   ` (14 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

GCC 15 defaults to C23 and bash is not yet ready for that
so keep using C17 like GCC 14 for now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/bash/bash_5.2.37.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/bash/bash_5.2.37.bb b/meta/recipes-extended/bash/bash_5.2.37.bb
index 20c51ecdbc9..9f02ea17b5b 100644
--- a/meta/recipes-extended/bash/bash_5.2.37.bb
+++ b/meta/recipes-extended/bash/bash_5.2.37.bb
@@ -20,4 +20,6 @@ SRC_URI[tarball.sha256sum] = "9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1
 DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
 DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}"
 
+CFLAGS += "-std=gnu17"
+
 BBCLASSEXTEND = "nativesdk"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 10/24] tcp-wrappers: Stick to C17 standard
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (7 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 09/24] bash: Stick to C17 std Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 11/24] libsndfile1: Include <stdbool.h> instead of redefining bool true and false Khem Raj
                   ` (13 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

GCC 15 has switched to C23 by default and tcp-wrappers is old code
pre-c99 and would need to be fixed all around to get to work in C23

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
index 8cf927153f0..05644b7db95 100644
--- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
+++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
@@ -55,6 +55,8 @@ SRC_URI[sha256sum] = "9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489
 
 S = "${WORKDIR}/tcp_wrappers_${PV}"
 
+CFLAGS += "-std=gnu17"
+
 EXTRA_OEMAKE = "'CC=${CC}' \
                 'AR=${AR}' \
                 'RANLIB=${RANLIB}' \


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 11/24] libsndfile1: Include <stdbool.h> instead of redefining bool true and false
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (8 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 10/24] tcp-wrappers: Stick to C17 standard Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:56   ` Patchtest results for " patchtest
  2025-03-18  4:38 ` [PATCH 12/24] e2fsprogs: Fix build failure with gcc 15 Khem Raj
                   ` (12 subsequent siblings)
  22 siblings, 1 reply; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...h-instead-of-redefining-bool-true-an.patch | 65 +++++++++++++++++++
 .../libsndfile/libsndfile1_1.2.2.bb           |  1 +
 2 files changed, 66 insertions(+)
 create mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/0001-Include-stdbool.h-instead-of-redefining-bool-true-an.patch

diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/0001-Include-stdbool.h-instead-of-redefining-bool-true-an.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/0001-Include-stdbool.h-instead-of-redefining-bool-true-an.patch
new file mode 100644
index 00000000000..542a7838590
--- /dev/null
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1/0001-Include-stdbool.h-instead-of-redefining-bool-true-an.patch
@@ -0,0 +1,65 @@
+From 0ba5ab2fb7f29a01dbe570c324011e8cffc89d82 Mon Sep 17 00:00:00 2001
+From: Fabian Greffrath <fabian@greffrath.com>
+Date: Tue, 17 Dec 2024 10:38:47 +0100
+Subject: [PATCH] Include <stdbool.h> instead of redefining `bool`, `true` and
+ `false` keywords
+
+Fixes #1049
+
+Upstream-Status: Submitted [https://github.com/libsndfile/libsndfile/pull/1055]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ src/ALAC/alac_decoder.c | 6 +-----
+ src/ALAC/alac_encoder.c | 7 +------
+ 2 files changed, 2 insertions(+), 11 deletions(-)
+
+diff --git a/src/ALAC/alac_decoder.c b/src/ALAC/alac_decoder.c
+index 46d3330..1b4a87c 100644
+--- a/src/ALAC/alac_decoder.c
++++ b/src/ALAC/alac_decoder.c
+@@ -26,6 +26,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stddef.h>
++#include <stdbool.h>
+ #include <string.h>
+ 
+ #include "alac_codec.h"
+@@ -38,11 +39,6 @@
+ #include "ALACBitUtilities.h"
+ #include "EndianPortable.h"
+ 
+-typedef enum
+-{	false = 0,
+-	true = 1
+-} bool ;
+-
+ // constants/data
+ const uint32_t kMaxBitDepth = 32 ;			// max allowed bit depth is 32
+ 
+diff --git a/src/ALAC/alac_encoder.c b/src/ALAC/alac_encoder.c
+index 599399a..f303311 100644
+--- a/src/ALAC/alac_encoder.c
++++ b/src/ALAC/alac_encoder.c
+@@ -30,6 +30,7 @@
+ // headers
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdbool.h>
+ #include <string.h>
+ 
+ #include "sfendian.h"
+@@ -44,12 +45,6 @@
+ #include "ALACAudioTypes.h"
+ #include "EndianPortable.h"
+ 
+-typedef enum
+-{
+-	false = 0,
+-	true = 1
+-} bool ;
+-
+ static void	GetConfig (ALAC_ENCODER *p, ALACSpecificConfig * config) ;
+ 
+ static int32_t	EncodeStereo (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
index 2a1b96d5e79..63c1570621b 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.2.2.bb
@@ -11,6 +11,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/libsndfile-${PV}.tar.xz \
            file://noopus.patch \
            file://cve-2022-33065.patch \
            file://CVE-2024-50612.patch \
+           file://0001-Include-stdbool.h-instead-of-redefining-bool-true-an.patch \
           "
 GITHUB_BASE_URI = "https://github.com/libsndfile/libsndfile/releases/"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 12/24] e2fsprogs: Fix build failure with gcc 15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (9 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 11/24] libsndfile1: Include <stdbool.h> instead of redefining bool true and false Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 13/24] man-db: Add missing rdep for col utility Khem Raj
                   ` (11 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Backport a needed fix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...-libext2fs-fix-std-c23-build-failure.patch | 42 +++++++++++++++++++
 .../e2fsprogs/e2fsprogs_1.47.1.bb             |  1 +
 2 files changed, 43 insertions(+)
 create mode 100644 meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch
new file mode 100644
index 00000000000..01ab9d5afb5
--- /dev/null
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch
@@ -0,0 +1,42 @@
+From 72dcef02bee9924c4d5b3dc6e7ef4d07becebcc6 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum <rudi@heitbaum.com>
+Date: Fri, 22 Nov 2024 12:36:32 +0000
+Subject: [PATCH] libext2fs: fix -std=c23 build failure
+
+gcc-15 switched to -std=c23 by default:
+
+    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
+
+As a result `e2fsprogs` fails the build so only typedef int bool
+for __STDC_VERSION__ <= 201710L (C17)
+
+    ../../../lib/ext2fs/tdb.c:113:13: error: two or more data types in declaration specifiers
+    ../../../lib/ext2fs/tdb.c:113:1: warning: useless type name in empty declaration
+      113 | typedef int bool;
+          | ^~~~~~~
+
+https://github.com/tytso/e2fsprogs/issues/202
+
+Upstream-Status: Backport [https://github.com/tytso/e2fsprogs/commit/49fd04d77b3244c6c6990be41142168eef373aef]
+Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
+Link: https://lore.kernel.org/r/Z0B60JhdvT9bpSQ6@6f91903e89da
+Signed-off-by: Theodore Ts'o <tytso@mit.edu>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ lib/ext2fs/tdb.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/lib/ext2fs/tdb.c b/lib/ext2fs/tdb.c
+index b07b2917..98dc95d8 100644
+--- a/lib/ext2fs/tdb.c
++++ b/lib/ext2fs/tdb.c
+@@ -110,7 +110,9 @@ static char *rep_strdup(const char *s)
+ #endif
+ #endif
+ 
++#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L
+ typedef int bool;
++#endif
+ 
+ #include "tdb.h"
+ 
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb
index bd6ac92cb14..022b016f123 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb
@@ -4,6 +4,7 @@ SRC_URI += "file://remove.ldconfig.call.patch \
            file://run-ptest \
            file://ptest.patch \
            file://mkdir_p.patch \
+           file://0001-libext2fs-fix-std-c23-build-failure.patch \
            "
 SRC_URI:append:class-native = " \
            file://e2fsprogs-fix-missing-check-for-permission-denied.patch \


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 13/24] man-db: Add missing rdep for col utility
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (10 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 12/24] e2fsprogs: Fix build failure with gcc 15 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18 15:47   ` [OE-core] " Mathieu Dubois-Briand
  2025-03-18  4:38 ` [PATCH 14/24] dbus-glib: Fix build with GCC 15 Khem Raj
                   ` (10 subsequent siblings)
  22 siblings, 1 reply; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

man utility calls col utility internally when formatting is asked for
therefore it expects col to be in rootfs otherwise silently errors with
retcode 3 meaning 'file not found' in this case its due to col not being
found, other distros eg. gets this via bsdextrautils dependency

libssh2 ptest mansyntax.sh fails due to this error, which now works

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/man-db/man-db_2.13.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/man-db/man-db_2.13.0.bb b/meta/recipes-extended/man-db/man-db_2.13.0.bb
index 2178239bb60..17bb2996531 100644
--- a/meta/recipes-extended/man-db/man-db_2.13.0.bb
+++ b/meta/recipes-extended/man-db/man-db_2.13.0.bb
@@ -14,7 +14,7 @@ SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz \
 SRC_URI[sha256sum] = "82f0739f4f61aab5eb937d234de3b014e777b5538a28cbd31433c45ae09aefb9"
 
 DEPENDS = "libpipeline gdbm groff-native base-passwd"
-RDEPENDS:${PN} += "base-passwd"
+RDEPENDS:${PN} += "base-passwd util-linux-col"
 PACKAGE_WRITE_DEPS += "base-passwd"
 
 # | /usr/src/debug/man-db/2.8.0-r0/man-db-2.8.0/src/whatis.c:939: undefined reference to `_nl_msg_cat_cntr'


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 14/24] dbus-glib: Fix build with GCC 15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (11 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 13/24] man-db: Add missing rdep for col utility Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 15/24] libmatchbox: Fix build with gcc-15 Khem Raj
                   ` (9 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

GCC 15 defaults to C23, it can not handle it
latest release is from 2021, and this seems to be
deprecated upstream and no longer actively
developed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/dbus/dbus-glib_0.112.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/dbus/dbus-glib_0.112.bb b/meta/recipes-core/dbus/dbus-glib_0.112.bb
index 4acf4356942..e892348262a 100644
--- a/meta/recipes-core/dbus/dbus-glib_0.112.bb
+++ b/meta/recipes-core/dbus/dbus-glib_0.112.bb
@@ -26,6 +26,8 @@ PACKAGECONFIG[tests] = "--enable-tests,,,"
 
 EXTRA_OECONF:class-target = "--with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool"
 
+CFLAGS += "-std=gnu17"
+
 PACKAGES += "${PN}-tests"
 
 FILES:${PN} = "${libdir}/lib*${SOLIBS}"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 15/24] libmatchbox: Fix build with gcc-15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (12 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 14/24] dbus-glib: Fix build with GCC 15 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:56   ` Patchtest results for " patchtest
  2025-03-18  4:38 ` [PATCH 16/24] ppp: Fix build when shadow is enabled Khem Raj
                   ` (8 subsequent siblings)
  22 siblings, 1 reply; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb b/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb
index bf3f5c005d9..e99b66855e1 100644
--- a/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb
+++ b/meta/recipes-graphics/libmatchbox/libmatchbox_1.12.bb
@@ -15,10 +15,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \
 
 DEPENDS = "virtual/libx11 libxext"
 
-#SRCREV for 1.12
-SRCREV = "e846ee434f8e23d9db38af13c523f791495e0e87"
+PV .= "+git"
+#SRCREV for 1.12 + 1 patch for gcc15
+SRCREV = "312c04b6ba60dca0d6c4a7d1393f0ec816a265e3"
 SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https"
-
 S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig features_check


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 16/24] ppp: Fix build when shadow is enabled
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (13 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 15/24] libmatchbox: Fix build with gcc-15 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 17/24] unzip: Fix build with GCC-15 Khem Raj
                   ` (7 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

GCC-15 patch is not sufficient when shadow is enabled, therefore fix
the remaining issues.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...d-session-Fixed-building-with-GCC-15.patch | 33 +++++++++++++++++++
 meta/recipes-connectivity/ppp/ppp_2.5.2.bb    |  1 +
 2 files changed, 34 insertions(+)
 create mode 100644 meta/recipes-connectivity/ppp/ppp/0001-pppd-session-Fixed-building-with-GCC-15.patch

diff --git a/meta/recipes-connectivity/ppp/ppp/0001-pppd-session-Fixed-building-with-GCC-15.patch b/meta/recipes-connectivity/ppp/ppp/0001-pppd-session-Fixed-building-with-GCC-15.patch
new file mode 100644
index 00000000000..d95c72e96ba
--- /dev/null
+++ b/meta/recipes-connectivity/ppp/ppp/0001-pppd-session-Fixed-building-with-GCC-15.patch
@@ -0,0 +1,33 @@
+From 5edcb01f1d8d521c819d45df1f1bb87697252130 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 17 Mar 2025 14:38:26 -0700
+Subject: [PATCH] pppd/session: Fixed building with GCC 15
+
+Fixed building with GCC 15 which defaults to C23
+and find conflicting declration of getspnam() here
+with the one provided by shadow.h (extern struct spwd *getspnam (const char *__name);)
+
+Fixes
+../../ppp-2.5.2/pppd/session.c: In function 'session_start':
+../../ppp-2.5.2/pppd/session.c:185:18: error: conflicting types for 'getspnam'; have 'struct spwd *(void)'
+  185 |     struct spwd *getspnam();
+      |                  ^~~~~~~~
+
+Upstream-Status: Submitted [https://github.com/ppp-project/ppp/pull/553]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ pppd/session.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/pppd/session.c b/pppd/session.c
+index f08d8e1..9cc7538 100644
+--- a/pppd/session.c
++++ b/pppd/session.c
+@@ -182,7 +182,6 @@ session_start(const int flags, const char *user, const char *passwd, const char
+     char *cbuf;
+ #ifdef HAVE_SHADOW_H
+     struct spwd *spwd;
+-    struct spwd *getspnam();
+     long now = 0;
+ #endif /* #ifdef HAVE_SHADOW_H */
+ #endif /* #ifdef PPP_WITH_PAM */
diff --git a/meta/recipes-connectivity/ppp/ppp_2.5.2.bb b/meta/recipes-connectivity/ppp/ppp_2.5.2.bb
index 5565ce51cff..602f98991dc 100644
--- a/meta/recipes-connectivity/ppp/ppp_2.5.2.bb
+++ b/meta/recipes-connectivity/ppp/ppp_2.5.2.bb
@@ -24,6 +24,7 @@ SRC_URI = "https://download.samba.org/pub/${BPN}/${BP}.tar.gz \
            file://provider \
            file://ppp@.service \
            file://0001-pppdump-Fixed-building-with-GCC-15-548.patch \
+           file://0001-pppd-session-Fixed-building-with-GCC-15.patch \
            "
 
 SRC_URI[sha256sum] = "47da358de54a10cb10bf6ff2cf9b1c03c0d3555518f6182e8f701b8e55733cb2"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 17/24] unzip: Fix build with GCC-15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (14 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 16/24] ppp: Fix build when shadow is enabled Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:56   ` Patchtest results for " patchtest
  2025-03-18  4:38 ` [PATCH 18/24] makedumpfile: " Khem Raj
                   ` (6 subsequent siblings)
  22 siblings, 1 reply; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Add a patch to remove redundant declarations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/unzip/unzip/gcc15.patch | 17 +++++++++++++++++
 meta/recipes-extended/unzip/unzip_6.0.bb      |  1 +
 2 files changed, 18 insertions(+)
 create mode 100644 meta/recipes-extended/unzip/unzip/gcc15.patch

diff --git a/meta/recipes-extended/unzip/unzip/gcc15.patch b/meta/recipes-extended/unzip/unzip/gcc15.patch
new file mode 100644
index 00000000000..42a2f81681e
--- /dev/null
+++ b/meta/recipes-extended/unzip/unzip/gcc15.patch
@@ -0,0 +1,17 @@
+Do not redefine gmtime(), localtime()
+
+They are already provided by system time.h header
+
+Upstream-Status: Inactive-Upstream [need a new release]
+
+Sign-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/unix/unxcfg.h
++++ b/unix/unxcfg.h
+@@ -117,7 +117,6 @@ typedef struct stat z_stat;
+ #  endif
+ #else
+ #  include <time.h>
+-   struct tm *gmtime(), *localtime();
+ #endif
+ 
+ #if (defined(BSD4_4) || (defined(SYSV) && defined(MODERN)))
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb
index c13e7a008ea..0a88b4c092b 100644
--- a/meta/recipes-extended/unzip/unzip_6.0.bb
+++ b/meta/recipes-extended/unzip/unzip_6.0.bb
@@ -32,6 +32,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/
         file://CVE-2022-0530.patch \
         file://0001-configure-Add-correct-system-headers-and-prototypes-.patch \
         file://0001-unix-configure-fix-detection-for-cross-compilation.patch \
+        file://gcc15.patch \
 "
 UPSTREAM_VERSION_UNKNOWN = "1"
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 18/24] makedumpfile: Fix build with GCC-15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (15 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 17/24] unzip: Fix build with GCC-15 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 19/24] cpio: Pin to use C17 std Khem Raj
                   ` (5 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

fix gcc-15 compiling error: too many arguments to function eppic_init

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...-compiling-error-too-many-arguments-.patch | 43 +++++++++++++++++++
 .../makedumpfile/makedumpfile_1.7.6.bb        |  1 +
 2 files changed, 44 insertions(+)
 create mode 100644 meta/recipes-kernel/makedumpfile/makedumpfile/0001-PATCH-fix-gcc-15-compiling-error-too-many-arguments-.patch

diff --git a/meta/recipes-kernel/makedumpfile/makedumpfile/0001-PATCH-fix-gcc-15-compiling-error-too-many-arguments-.patch b/meta/recipes-kernel/makedumpfile/makedumpfile/0001-PATCH-fix-gcc-15-compiling-error-too-many-arguments-.patch
new file mode 100644
index 00000000000..90f1b4038be
--- /dev/null
+++ b/meta/recipes-kernel/makedumpfile/makedumpfile/0001-PATCH-fix-gcc-15-compiling-error-too-many-arguments-.patch
@@ -0,0 +1,43 @@
+From 73e62a08022bf8e5edad250f8c1452f0be3771a3 Mon Sep 17 00:00:00 2001
+From: Coiby Xu <coxu@redhat.com>
+Date: Thu, 23 Jan 2025 17:47:10 +0800
+Subject: [PATCH] [PATCH] fix gcc-15 compiling error: too many arguments to function eppic_init
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2340813
+
+When building makekdumpfile against gcc-15, the following error is
+shown,
+
+    erase_info.c: In function ‘process_eppic_file’:
+    erase_info.c:2226:13: error: too many arguments to function ‘eppic_init’; expected 0, have 1
+     2226 |         if (eppic_init(&eppic_cb)) {
+          |             ^~~~~~~~~~ ~~~~~~~~~
+    make: *** [Makefile:109: erase_info.o] Error 1
+
+Upstream-Status: Backport [https://github.com/makedumpfile/makedumpfile/commit/73e62a08022bf8e5edad250f8c1452f0be3771a3]
+
+Signed-off-by: Coiby Xu <coxu@redhat.com>
+Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
+---
+ erase_info.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/erase_info.c b/erase_info.c
+index cbe1681..af6bfae 100644
+--- a/erase_info.c
++++ b/erase_info.c
+@@ -2192,7 +2192,7 @@ process_eppic_file(char *name_config)
+ {
+ 	void *handle;
+ 	void (*eppic_load)(char *), (*eppic_unload)(char *);
+-	int (*eppic_init)();
++	int (*eppic_init)(struct call_back *);
+ 
+ 	/*
+ 	 * Dynamically load the eppic_makedumpfile.so library.
+-- 
+2.48.1
+
diff --git a/meta/recipes-kernel/makedumpfile/makedumpfile_1.7.6.bb b/meta/recipes-kernel/makedumpfile/makedumpfile_1.7.6.bb
index 21847ece6b8..46be13e7d0f 100644
--- a/meta/recipes-kernel/makedumpfile/makedumpfile_1.7.6.bb
+++ b/meta/recipes-kernel/makedumpfile/makedumpfile_1.7.6.bb
@@ -26,6 +26,7 @@ FILES:${PN}-tools = "${bindir}/*.pl"
 SRC_URI = "\
     git://github.com/makedumpfile/makedumpfile;branch=${SRCBRANCH};protocol=https \
     file://0001-makedumpfile-replace-hardcode-CFLAGS.patch \
+    file://0001-PATCH-fix-gcc-15-compiling-error-too-many-arguments-.patch \
 "
 
 S = "${WORKDIR}/git"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 19/24] cpio: Pin to use C17 std
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (16 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 18/24] makedumpfile: " Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 20/24] expect: Fix build with GCC 15 Khem Raj
                   ` (4 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Fixes build with GCC-15 which is defaulting to C23

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/cpio/cpio_2.15.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-extended/cpio/cpio_2.15.bb b/meta/recipes-extended/cpio/cpio_2.15.bb
index bfaf5c31c37..b081bd53db5 100644
--- a/meta/recipes-extended/cpio/cpio_2.15.bb
+++ b/meta/recipes-extended/cpio/cpio_2.15.bb
@@ -20,6 +20,8 @@ CVE_STATUS[CVE-2023-7216] = "disputed: intended behaviour, see https://lists.gnu
 
 EXTRA_OECONF += "DEFAULT_RMT_DIR=${sbindir}"
 
+CFLAGS += "-std=gnu17"
+
 do_install () {
     autotools_do_install
     if [ "${base_bindir}" != "${bindir}" ]; then


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 20/24] expect: Fix build with GCC 15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (17 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 19/24] cpio: Pin to use C17 std Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 21/24] cronie: Resolve build failure with GCC15 Khem Raj
                   ` (3 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Stick to C17 standard as GCC 15 switches to C23

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/expect/expect_5.45.4.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb
index 65f717cc5f7..010e18dd24a 100644
--- a/meta/recipes-devtools/expect/expect_5.45.4.bb
+++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
@@ -42,6 +42,8 @@ S = "${WORKDIR}/${BPN}${PV}"
 
 EXTRA_AUTORECONF += "--exclude=aclocal"
 
+CFLAGS += "-std=gnu17"
+
 do_install:append() {
     mv ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/
     install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 21/24] cronie: Resolve build failure with GCC15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (18 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 20/24] expect: Fix build with GCC 15 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:38 ` [PATCH 22/24] time: Fix build with GCC 15 Khem Raj
                   ` (2 subsequent siblings)
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Fix function prototypes for C23 to work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../make_error_func_prototype_complete.patch  | 41 +++++++++++++++++++
 meta/recipes-extended/cronie/cronie_1.7.2.bb  |  1 +
 2 files changed, 42 insertions(+)
 create mode 100644 meta/recipes-extended/cronie/cronie/make_error_func_prototype_complete.patch

diff --git a/meta/recipes-extended/cronie/cronie/make_error_func_prototype_complete.patch b/meta/recipes-extended/cronie/cronie/make_error_func_prototype_complete.patch
new file mode 100644
index 00000000000..71f0153ec6f
--- /dev/null
+++ b/meta/recipes-extended/cronie/cronie/make_error_func_prototype_complete.patch
@@ -0,0 +1,41 @@
+From 09c630c654b2aeff06a90a412cce0a60ab4955a4 Mon Sep 17 00:00:00 2001
+From: Tomas Mraz <tmraz@fedoraproject.org>
+Date: Mon, 18 Nov 2024 21:02:30 +0100
+Subject: [PATCH] load_entry(): Make error_func prototype complete
+
+Fixes #193
+
+Upstream-Status: Backport [https://github.com/cronie-crond/cronie/commit/09c630c654b2aeff06a90a412cce0a60ab4955a4]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ src/entry.c | 2 +-
+ src/funcs.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/entry.c b/src/entry.c
+index 586eb9d..a2077e8 100644
+--- a/src/entry.c
++++ b/src/entry.c
+@@ -90,7 +90,7 @@ void free_entry(entry * e) {
+ /* return NULL if eof or syntax error occurs;
+  * otherwise return a pointer to a new entry.
+  */
+-entry *load_entry(FILE * file, void (*error_func) (), struct passwd *pw,
++entry *load_entry(FILE * file, void (*error_func) (const char *), struct passwd *pw,
+ 	char **envp) {
+ 	/* this function reads one crontab entry -- the next -- from a file.
+ 	 * it skips any leading blank lines, ignores comments, and returns
+diff --git a/src/funcs.h b/src/funcs.h
+index 427e027..f28d634 100644
+--- a/src/funcs.h
++++ b/src/funcs.h
+@@ -89,7 +89,7 @@ char		*env_get(const char *, char **),
+ user		*load_user(int, struct passwd *, const char *, const char *, const char *),
+ 		*find_user(cron_db *, const char *, const char *);
+ 
+-entry		*load_entry(FILE *, void (*)(), struct passwd *, char **);
++entry		*load_entry(FILE *, void (*)(const char *), struct passwd *, char **);
+ 
+ FILE		*cron_popen(char *, const char *, struct passwd *, char **);
+ 
diff --git a/meta/recipes-extended/cronie/cronie_1.7.2.bb b/meta/recipes-extended/cronie/cronie_1.7.2.bb
index 496ca39fd71..b250717ab81 100644
--- a/meta/recipes-extended/cronie/cronie_1.7.2.bb
+++ b/meta/recipes-extended/cronie/cronie_1.7.2.bb
@@ -17,6 +17,7 @@ SECTION = "utils"
 GITHUB_BASE_URI = "https://github.com/cronie-crond/${BPN}/releases/"
 
 SRC_URI = "${GITHUB_BASE_URI}/download/cronie-${PV}/cronie-${PV}.tar.gz \
+           file://make_error_func_prototype_complete.patch \
            file://crond.init \
            file://crontab \
            file://crond.service \


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 22/24] time: Fix build with GCC 15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (19 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 21/24] cronie: Resolve build failure with GCC15 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18 13:12   ` [OE-core] " Mathieu Dubois-Briand
  2025-03-18  4:38 ` [PATCH 23/24] psplash: " Khem Raj
  2025-03-18  4:38 ` [PATCH 24/24] at: Remove mktime signature from posixtm.c Khem Raj
  22 siblings, 1 reply; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Initialize interrupt_signal and quit_signal with correct type

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../time-1.9-Fix-compiling-with-GCC15.patch   | 33 +++++++++++++++++++
 meta/recipes-extended/time/time_1.9.bb        |  1 +
 2 files changed, 34 insertions(+)
 create mode 100644 meta/recipes-extended/time/time/time-1.9-Fix-compiling-with-GCC15.patch

diff --git a/meta/recipes-extended/time/time/time-1.9-Fix-compiling-with-GCC15.patch b/meta/recipes-extended/time/time/time-1.9-Fix-compiling-with-GCC15.patch
new file mode 100644
index 00000000000..76141aec18c
--- /dev/null
+++ b/meta/recipes-extended/time/time/time-1.9-Fix-compiling-with-GCC15.patch
@@ -0,0 +1,33 @@
+From 831194f0be7733c99c7a2c69d9e9695b82e05010 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ond=C5=99ej=20Poho=C5=99elsk=C3=BD?= <opohorel@redhat.com>
+Date: Thu, 30 Jan 2025 08:48:47 +0100
+Subject: [PATCH] time: fix compiling with GCC15
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+GCC15 complains about incompatible pointer type in run_command()
+Initialize interrupt_signal and quit_signal with correct type
+
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-time/2025-01/msg00000.html]
+Signed-off-by: Ondřej Pohořelský <opohorel@redhat.com>
+---
+ src/time.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/time.c b/src/time.c
+index 7b401bc..c8d7ab0 100644
+--- a/src/time.c
++++ b/src/time.c
+@@ -803,7 +803,7 @@ run_command (cmd, resp)
+      RESUSE *resp;
+ {
+   pid_t pid;			/* Pid of child.  */
+-  sighandler interrupt_signal, quit_signal;
++  __sighandler_t interrupt_signal, quit_signal;
+   int saved_errno;
+ 
+   resuse_start (resp);
+-- 
+2.48.1
+
diff --git a/meta/recipes-extended/time/time_1.9.bb b/meta/recipes-extended/time/time_1.9.bb
index 8364210e61c..d9e2d06b32d 100644
--- a/meta/recipes-extended/time/time_1.9.bb
+++ b/meta/recipes-extended/time/time_1.9.bb
@@ -15,6 +15,7 @@ BBCLASSEXTEND = "native nativesdk"
 
 SRC_URI = "${GNU_MIRROR}/time/time-${PV}.tar.gz \
            file://0001-include-string.h-for-memset.patch \
+           file://time-1.9-Fix-compiling-with-GCC15.patch \
            "
 
 SRC_URI[md5sum] = "d2356e0fe1c0b85285d83c6b2ad51b5f"


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 23/24] psplash: Fix build with GCC 15
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (20 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 22/24] time: Fix build with GCC 15 Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  2025-03-18  4:56   ` Patchtest results for " patchtest
  2025-03-18  4:38 ` [PATCH 24/24] at: Remove mktime signature from posixtm.c Khem Raj
  22 siblings, 1 reply; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...ine-bool-if-using-C-standard-older-t.patch | 32 +++++++++++++++++++
 meta/recipes-core/psplash/psplash_git.bb      |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 meta/recipes-core/psplash/files/0001-psplash-Only-define-bool-if-using-C-standard-older-t.patch

diff --git a/meta/recipes-core/psplash/files/0001-psplash-Only-define-bool-if-using-C-standard-older-t.patch b/meta/recipes-core/psplash/files/0001-psplash-Only-define-bool-if-using-C-standard-older-t.patch
new file mode 100644
index 00000000000..cc5f2e02e65
--- /dev/null
+++ b/meta/recipes-core/psplash/files/0001-psplash-Only-define-bool-if-using-C-standard-older-t.patch
@@ -0,0 +1,32 @@
+From eab6948cd8eba493f2af7533a931df5ef1d30715 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 17 Mar 2025 20:31:19 -0700
+Subject: [PATCH] psplash: Only define bool if using C standard older than C23
+
+gcc-15 switched to -std=c23 by default:
+
+https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
+
+only typedef int bool for __STDC_VERSION__ <= 201710L (C17)
+
+Upstream-Status: Submitted [https://lists.yoctoproject.org/g/yocto-patches/message/1213]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ psplash.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/psplash.h b/psplash.h
+index 1c42ec7..138e49d 100644
+--- a/psplash.h
++++ b/psplash.h
+@@ -37,7 +37,10 @@
+ 
+ typedef uint8_t  uint8;
+ typedef uint16_t uint16;
++
++#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L
+ typedef int            bool;
++#endif
+ 
+ #ifndef FALSE
+ #define FALSE 0
diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb
index 233c07a380c..e47c9b408dc 100644
--- a/meta/recipes-core/psplash/psplash_git.bb
+++ b/meta/recipes-core/psplash/psplash_git.bb
@@ -10,6 +10,7 @@ SRCREV = "5a32cf6392c784a7ae1983a354cf07b024625cd2"
 PV = "0.1+git"
 
 SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https \
+           file://0001-psplash-Only-define-bool-if-using-C-standard-older-t.patch \
            file://psplash-init \
            file://psplash-start@.service \
            file://psplash-systemd.service \


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* [PATCH 24/24] at: Remove mktime signature from posixtm.c
  2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
                   ` (21 preceding siblings ...)
  2025-03-18  4:38 ` [PATCH 23/24] psplash: " Khem Raj
@ 2025-03-18  4:38 ` Khem Raj
  22 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18  4:38 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

This is in conflict with signature from system time.h

extern time_t mktime (struct tm *__tp) __THROW;

GCC-15 with C23 on, this is treated at error

 posixtm.c:45:8: error: conflicting types for 'mktime'; have 'time_t(void)' {aka 'long int(void)'}
|    45 | time_t mktime ();
|       |        ^~~~~~
|

config.h is local include file to use quotes to include it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-extended/at/at/posixtm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-extended/at/at/posixtm.c b/meta/recipes-extended/at/at/posixtm.c
index 5514ba4fe26..bba8312d9a8 100644
--- a/meta/recipes-extended/at/at/posixtm.c
+++ b/meta/recipes-extended/at/at/posixtm.c
@@ -20,7 +20,7 @@
 /* Yacc-based version written by Jim Kingdon and David MacKenzie.
    Rewritten by Jim Meyering.  */
 
-#include <config.h>
+#include "config.h"
 
 #include "posixtm.h"
 
@@ -42,8 +42,6 @@
    of `digit' even when the host does not conform to POSIX.  */
 #define ISDIGIT(c) ((unsigned int) (c) - '0' <= 9)
 
-time_t mktime ();
-
 /*
   POSIX requires:
 


^ permalink raw reply related	[flat|nested] 40+ messages in thread

* Patchtest results for [PATCH 08/24] readline: Fixed build with GCC-15
  2025-03-18  4:38 ` [PATCH 08/24] readline: Fixed " Khem Raj
@ 2025-03-18  4:56   ` patchtest
  2025-03-18  9:39   ` [OE-core] " Alexander Kanavin
       [not found]   ` <182DDC388EFCF3D4.9747@lists.openembedded.org>
  2 siblings, 0 replies; 40+ messages in thread
From: patchtest @ 2025-03-18  4:56 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2904 bytes --]

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

---
Testing patch /home/patchtest/share/mboxes/08-24-readline-Fixed-build-with-GCC-15.patch

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

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

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

---

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Patchtest results for [PATCH 11/24] libsndfile1: Include <stdbool.h> instead of redefining bool true and false
  2025-03-18  4:38 ` [PATCH 11/24] libsndfile1: Include <stdbool.h> instead of redefining bool true and false Khem Raj
@ 2025-03-18  4:56   ` patchtest
  0 siblings, 0 replies; 40+ messages in thread
From: patchtest @ 2025-03-18  4:56 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2943 bytes --]

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

---
Testing patch /home/patchtest/share/mboxes/11-24-libsndfile1-Include-stdbool.h-instead-of-redefining-bool-true-and-false.patch

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

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

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

---

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Patchtest results for [PATCH 15/24] libmatchbox: Fix build with gcc-15
  2025-03-18  4:38 ` [PATCH 15/24] libmatchbox: Fix build with gcc-15 Khem Raj
@ 2025-03-18  4:56   ` patchtest
  0 siblings, 0 replies; 40+ messages in thread
From: patchtest @ 2025-03-18  4:56 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2998 bytes --]

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

---
Testing patch /home/patchtest/share/mboxes/15-24-libmatchbox-Fix-build-with-gcc-15.patch

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

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Patchtest results for [PATCH 17/24] unzip: Fix build with GCC-15
  2025-03-18  4:38 ` [PATCH 17/24] unzip: Fix build with GCC-15 Khem Raj
@ 2025-03-18  4:56   ` patchtest
  0 siblings, 0 replies; 40+ messages in thread
From: patchtest @ 2025-03-18  4:56 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2902 bytes --]

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

---
Testing patch /home/patchtest/share/mboxes/17-24-unzip-Fix-build-with-GCC-15.patch

FAIL: test Signed-off-by presence: A patch file has been added without a Signed-off-by tag: 'gcc15.patch' (test_patch.TestPatch.test_signed_off_by_presence)

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

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

---

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Patchtest results for [PATCH 23/24] psplash: Fix build with GCC 15
  2025-03-18  4:38 ` [PATCH 23/24] psplash: " Khem Raj
@ 2025-03-18  4:56   ` patchtest
  0 siblings, 0 replies; 40+ messages in thread
From: patchtest @ 2025-03-18  4:56 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2901 bytes --]

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

---
Testing patch /home/patchtest/share/mboxes/23-24-psplash-Fix-build-with-GCC-15.patch

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

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

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

---

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

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 05/24] ncurses: Upgrade to v6_5_20250315
  2025-03-18  4:38 ` [PATCH 05/24] ncurses: Upgrade to v6_5_20250315 Khem Raj
@ 2025-03-18  9:38   ` Alexander Kanavin
  2025-03-18 16:08     ` Khem Raj
  0 siblings, 1 reply; 40+ messages in thread
From: Alexander Kanavin @ 2025-03-18  9:38 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-core

On Tue, 18 Mar 2025 at 05:39, Khem Raj via lists.openembedded.org
<raj.khem=gmail.com@lists.openembedded.org> wrote:
> Brings needed fixes to build with GCC15
>  # commit id corresponds to the revision in package version
> -SRCREV = "1c55d64d9d3e00399a21f04e9cac1e472ab5f70a"
> +# v6_5_20250315
> +SRCREV = "5fa5aea6d020750dbe601c1136c7cc35a8a53dd8"
> +PV .= "+20250315"

I know we had them in the past, but ncurses' YYYYMMDD are all random
development snapshots, and I wouldn't want to update to them. Is it
possible to cherry-pick needed fixes?

Alex


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 08/24] readline: Fixed build with GCC-15
  2025-03-18  4:38 ` [PATCH 08/24] readline: Fixed " Khem Raj
  2025-03-18  4:56   ` Patchtest results for " patchtest
@ 2025-03-18  9:39   ` Alexander Kanavin
       [not found]   ` <182DDC388EFCF3D4.9747@lists.openembedded.org>
  2 siblings, 0 replies; 40+ messages in thread
From: Alexander Kanavin @ 2025-03-18  9:39 UTC (permalink / raw)
  To: raj.khem; +Cc: openembedded-core

On Tue, 18 Mar 2025 at 05:39, Khem Raj via lists.openembedded.org
<raj.khem=gmail.com@lists.openembedded.org> wrote:
> +Fixes builds with GCC-15
> +Sourced from Fedora: https://src.fedoraproject.org/rpms/readline/c/c47eb813afb942128253213ad5b8221770557e48?branch=rawhide
> +
> +Help getting packages like bluez5 building
> +
> +Upstream-Status: Pending

Please no new Pending.

Alex


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 08/24] readline: Fixed build with GCC-15
       [not found]   ` <182DDC388EFCF3D4.9747@lists.openembedded.org>
@ 2025-03-18  9:51     ` Alexander Kanavin
  2025-03-18 16:19       ` Khem Raj
  0 siblings, 1 reply; 40+ messages in thread
From: Alexander Kanavin @ 2025-03-18  9:51 UTC (permalink / raw)
  To: openembedded-core; +Cc: raj.khem

On Tue, 18 Mar 2025 at 10:39, Alexander Kanavin via
lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
wrote:
>
> On Tue, 18 Mar 2025 at 05:39, Khem Raj via lists.openembedded.org
> <raj.khem=gmail.com@lists.openembedded.org> wrote:
> > +Fixes builds with GCC-15
> > +Sourced from Fedora: https://src.fedoraproject.org/rpms/readline/c/c47eb813afb942128253213ad5b8221770557e48?branch=rawhide
> > +
> > +Help getting packages like bluez5 building
> > +
> > +Upstream-Status: Pending
>
> Please no new Pending.

Per https://tiswww.cwru.edu/php/chet/readline/rltop.html the
submissions should go to bug-readline@gnu.org, chet.ramey@case.edu

Alex


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 22/24] time: Fix build with GCC 15
  2025-03-18  4:38 ` [PATCH 22/24] time: Fix build with GCC 15 Khem Raj
@ 2025-03-18 13:12   ` Mathieu Dubois-Briand
  2025-03-19  8:20     ` Khem Raj
  0 siblings, 1 reply; 40+ messages in thread
From: Mathieu Dubois-Briand @ 2025-03-18 13:12 UTC (permalink / raw)
  To: raj.khem, openembedded-core

On Tue Mar 18, 2025 at 5:38 AM CET, Khem Raj via lists.openembedded.org wrote:
> Initialize interrupt_signal and quit_signal with correct type
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---

Hi Khem,

Thanks for your patch.

It looks like this is breaking the build, maybe just for musl:

ERROR: time-1.9-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/core2-32-poky-linux-musl/time/1.9/temp/run.do_compile.3718025' failed with exit code 1
...
| ../time-1.9/src/time.c:731:3: error: unknown type name '__sighandler_t'; did you mean 'sighandler_t'?

https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/1215

Can you have a look at this build failure please?

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 13/24] man-db: Add missing rdep for col utility
  2025-03-18  4:38 ` [PATCH 13/24] man-db: Add missing rdep for col utility Khem Raj
@ 2025-03-18 15:47   ` Mathieu Dubois-Briand
  2025-03-19  8:19     ` Khem Raj
  0 siblings, 1 reply; 40+ messages in thread
From: Mathieu Dubois-Briand @ 2025-03-18 15:47 UTC (permalink / raw)
  To: raj.khem, openembedded-core

On Tue Mar 18, 2025 at 5:38 AM CET, Khem Raj via lists.openembedded.org wrote:
> man utility calls col utility internally when formatting is asked for
> therefore it expects col to be in rootfs otherwise silently errors with
> retcode 3 meaning 'file not found' in this case its due to col not being
> found, other distros eg. gets this via bsdextrautils dependency
>
> libssh2 ptest mansyntax.sh fails due to this error, which now works
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---

Hi Khem,

This triggers a new QA issue:

ERROR: man-db-2.13.0-r0 do_package_qa: QA Issue: man-db rdepends on util-linux-col, but it isn't a build dependency? [build-deps]
ERROR: man-db-2.13.0-r0 do_package_qa: Fatal QA errors were found, failing task.

https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/1229

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 05/24] ncurses: Upgrade to v6_5_20250315
  2025-03-18  9:38   ` [OE-core] " Alexander Kanavin
@ 2025-03-18 16:08     ` Khem Raj
  2025-03-18 16:20       ` Alexander Kanavin
       [not found]       ` <182DF220561FBBD8.16918@lists.openembedded.org>
  0 siblings, 2 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18 16:08 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core

On Tue, Mar 18, 2025 at 2:38 AM Alexander Kanavin
<alex.kanavin@gmail.com> wrote:
>
> On Tue, 18 Mar 2025 at 05:39, Khem Raj via lists.openembedded.org
> <raj.khem=gmail.com@lists.openembedded.org> wrote:
> > Brings needed fixes to build with GCC15
> >  # commit id corresponds to the revision in package version
> > -SRCREV = "1c55d64d9d3e00399a21f04e9cac1e472ab5f70a"
> > +# v6_5_20250315
> > +SRCREV = "5fa5aea6d020750dbe601c1136c7cc35a8a53dd8"
> > +PV .= "+20250315"
>
> I know we had them in the past, but ncurses' YYYYMMDD are all random
> development snapshots, and I wouldn't want to update to them. Is it
> possible to cherry-pick needed fixes?

Fedora is using these releases as well, so I am hoping that it is sane.

>
> Alex


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 08/24] readline: Fixed build with GCC-15
  2025-03-18  9:51     ` Alexander Kanavin
@ 2025-03-18 16:19       ` Khem Raj
  0 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-18 16:19 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core

On Tue, Mar 18, 2025 at 2:51 AM Alexander Kanavin
<alex.kanavin@gmail.com> wrote:
>
> On Tue, 18 Mar 2025 at 10:39, Alexander Kanavin via
> lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
> wrote:
> >
> > On Tue, 18 Mar 2025 at 05:39, Khem Raj via lists.openembedded.org
> > <raj.khem=gmail.com@lists.openembedded.org> wrote:
> > > +Fixes builds with GCC-15
> > > +Sourced from Fedora: https://src.fedoraproject.org/rpms/readline/c/c47eb813afb942128253213ad5b8221770557e48?branch=rawhide
> > > +
> > > +Help getting packages like bluez5 building
> > > +
> > > +Upstream-Status: Pending
> >
> > Please no new Pending.
>
> Per https://tiswww.cwru.edu/php/chet/readline/rltop.html the
> submissions should go to bug-readline@gnu.org, chet.ramey@case.edu

yes thanks, I have sent is now, I will update the status in V2

>
> Alex


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 05/24] ncurses: Upgrade to v6_5_20250315
  2025-03-18 16:08     ` Khem Raj
@ 2025-03-18 16:20       ` Alexander Kanavin
       [not found]       ` <182DF220561FBBD8.16918@lists.openembedded.org>
  1 sibling, 0 replies; 40+ messages in thread
From: Alexander Kanavin @ 2025-03-18 16:20 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Tue, 18 Mar 2025 at 17:08, Khem Raj <raj.khem@gmail.com> wrote:
> > I know we had them in the past, but ncurses' YYYYMMDD are all random
> > development snapshots, and I wouldn't want to update to them. Is it
> > possible to cherry-pick needed fixes?
>
> Fedora is using these releases as well, so I am hoping that it is sane.

Fedora is wrong too. They're *not* releases. I have to put my foot
down here Khem:

https://github.com/ThomasDickey/ncurses-snapshots/blob/master/NEWS

Alex


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 05/24] ncurses: Upgrade to v6_5_20250315
       [not found]       ` <182DF220561FBBD8.16918@lists.openembedded.org>
@ 2025-03-18 16:31         ` Alexander Kanavin
  0 siblings, 0 replies; 40+ messages in thread
From: Alexander Kanavin @ 2025-03-18 16:31 UTC (permalink / raw)
  To: alex.kanavin; +Cc: Khem Raj, openembedded-core

On Tue, 18 Mar 2025 at 17:20, Alexander Kanavin via
lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
wrote:
>
> On Tue, 18 Mar 2025 at 17:08, Khem Raj <raj.khem@gmail.com> wrote:
> > > I know we had them in the past, but ncurses' YYYYMMDD are all random
> > > development snapshots, and I wouldn't want to update to them. Is it
> > > possible to cherry-pick needed fixes?
> >
> > Fedora is using these releases as well, so I am hoping that it is sane.
>
> Fedora is wrong too. They're *not* releases. I have to put my foot
> down here Khem:
>
> https://github.com/ThomasDickey/ncurses-snapshots/blob/master/NEWS

That said, upstream doesn't seem to be doing proper commits: they just
roll up any changes into those weekly snapshots:
https://github.com/ThomasDickey/ncurses-snapshots/commits/master/

 I'd still hope you can find the snapshot commit where the gcc15 fixes
are, and extract just the needed pieces from it.

Alex


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 13/24] man-db: Add missing rdep for col utility
  2025-03-18 15:47   ` [OE-core] " Mathieu Dubois-Briand
@ 2025-03-19  8:19     ` Khem Raj
  0 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-19  8:19 UTC (permalink / raw)
  To: Mathieu Dubois-Briand; +Cc: openembedded-core

On Tue, Mar 18, 2025 at 8:47 AM Mathieu Dubois-Briand
<mathieu.dubois-briand@bootlin.com> wrote:
>
> On Tue Mar 18, 2025 at 5:38 AM CET, Khem Raj via lists.openembedded.org wrote:
> > man utility calls col utility internally when formatting is asked for
> > therefore it expects col to be in rootfs otherwise silently errors with
> > retcode 3 meaning 'file not found' in this case its due to col not being
> > found, other distros eg. gets this via bsdextrautils dependency
> >
> > libssh2 ptest mansyntax.sh fails due to this error, which now works
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
>
> Hi Khem,
>
> This triggers a new QA issue:
>
> ERROR: man-db-2.13.0-r0 do_package_qa: QA Issue: man-db rdepends on util-linux-col, but it isn't a build dependency? [build-deps]
> ERROR: man-db-2.13.0-r0 do_package_qa: Fatal QA errors were found, failing task.
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/1229
>

Its because col utility is deprecated and moreover only built for
glibc based sysrems see

https://github.com/util-linux/util-linux/commit/8886d84e25a457702b45194d69a47313f76dc6bc

Therefore the rdep has to be glibc specific and the second problem is
that man-db pokes for native tools like col and configures target
to use it which works in native compile but could be problematic with
cross compile. I have fixed this in V3 of the patchset so please take
the full set


> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: [OE-core] [PATCH 22/24] time: Fix build with GCC 15
  2025-03-18 13:12   ` [OE-core] " Mathieu Dubois-Briand
@ 2025-03-19  8:20     ` Khem Raj
  0 siblings, 0 replies; 40+ messages in thread
From: Khem Raj @ 2025-03-19  8:20 UTC (permalink / raw)
  To: Mathieu Dubois-Briand; +Cc: openembedded-core

On Tue, Mar 18, 2025 at 6:12 AM Mathieu Dubois-Briand
<mathieu.dubois-briand@bootlin.com> wrote:
>
> On Tue Mar 18, 2025 at 5:38 AM CET, Khem Raj via lists.openembedded.org wrote:
> > Initialize interrupt_signal and quit_signal with correct type
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
>
> Hi Khem,
>
> Thanks for your patch.
>
> It looks like this is breaking the build, maybe just for musl:
>
> ERROR: time-1.9-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/core2-32-poky-linux-musl/time/1.9/temp/run.do_compile.3718025' failed with exit code 1
> ...
> | ../time-1.9/src/time.c:731:3: error: unknown type name '__sighandler_t'; did you mean 'sighandler_t'?
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/1215
>
> Can you have a look at this build failure please?

musl found that upstream fix is not complete, I have fixed the fallout
and sent upstream as well as its included in V3 series here.

>
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2025-03-19  8:20 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18  4:38 [PATCH 01/24] webkitgtk: 2.46.6 -> 2.48.0 Khem Raj
2025-03-18  4:38 ` [PATCH 02/24] webkitgtk: Add packageconfig for assertions Khem Raj
2025-03-18  4:38 ` [PATCH 03/24] webkitgtk: Fix build with clang-20 Khem Raj
2025-03-18  4:38 ` [PATCH 04/24] libpam: add ptest cases back Khem Raj
2025-03-18  4:38 ` [PATCH 05/24] ncurses: Upgrade to v6_5_20250315 Khem Raj
2025-03-18  9:38   ` [OE-core] " Alexander Kanavin
2025-03-18 16:08     ` Khem Raj
2025-03-18 16:20       ` Alexander Kanavin
     [not found]       ` <182DF220561FBBD8.16918@lists.openembedded.org>
2025-03-18 16:31         ` Alexander Kanavin
2025-03-18  4:38 ` [PATCH 06/24] gdbm: Use C11 standard Khem Raj
2025-03-18  4:38 ` [PATCH 07/24] bluez: Fix build with GCC-15 Khem Raj
2025-03-18  4:38 ` [PATCH 08/24] readline: Fixed " Khem Raj
2025-03-18  4:56   ` Patchtest results for " patchtest
2025-03-18  9:39   ` [OE-core] " Alexander Kanavin
     [not found]   ` <182DDC388EFCF3D4.9747@lists.openembedded.org>
2025-03-18  9:51     ` Alexander Kanavin
2025-03-18 16:19       ` Khem Raj
2025-03-18  4:38 ` [PATCH 09/24] bash: Stick to C17 std Khem Raj
2025-03-18  4:38 ` [PATCH 10/24] tcp-wrappers: Stick to C17 standard Khem Raj
2025-03-18  4:38 ` [PATCH 11/24] libsndfile1: Include <stdbool.h> instead of redefining bool true and false Khem Raj
2025-03-18  4:56   ` Patchtest results for " patchtest
2025-03-18  4:38 ` [PATCH 12/24] e2fsprogs: Fix build failure with gcc 15 Khem Raj
2025-03-18  4:38 ` [PATCH 13/24] man-db: Add missing rdep for col utility Khem Raj
2025-03-18 15:47   ` [OE-core] " Mathieu Dubois-Briand
2025-03-19  8:19     ` Khem Raj
2025-03-18  4:38 ` [PATCH 14/24] dbus-glib: Fix build with GCC 15 Khem Raj
2025-03-18  4:38 ` [PATCH 15/24] libmatchbox: Fix build with gcc-15 Khem Raj
2025-03-18  4:56   ` Patchtest results for " patchtest
2025-03-18  4:38 ` [PATCH 16/24] ppp: Fix build when shadow is enabled Khem Raj
2025-03-18  4:38 ` [PATCH 17/24] unzip: Fix build with GCC-15 Khem Raj
2025-03-18  4:56   ` Patchtest results for " patchtest
2025-03-18  4:38 ` [PATCH 18/24] makedumpfile: " Khem Raj
2025-03-18  4:38 ` [PATCH 19/24] cpio: Pin to use C17 std Khem Raj
2025-03-18  4:38 ` [PATCH 20/24] expect: Fix build with GCC 15 Khem Raj
2025-03-18  4:38 ` [PATCH 21/24] cronie: Resolve build failure with GCC15 Khem Raj
2025-03-18  4:38 ` [PATCH 22/24] time: Fix build with GCC 15 Khem Raj
2025-03-18 13:12   ` [OE-core] " Mathieu Dubois-Briand
2025-03-19  8:20     ` Khem Raj
2025-03-18  4:38 ` [PATCH 23/24] psplash: " Khem Raj
2025-03-18  4:56   ` Patchtest results for " patchtest
2025-03-18  4:38 ` [PATCH 24/24] at: Remove mktime signature from posixtm.c Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox