Skip to contentSkip to conversation

libnvme: upgrade 1.11.1 -> 1.12

PATCH New [email protected] 3 participants 6 messages Apr 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnvme: upgrade 1.11.1 -> 1.12

From: Changqing Li <[email protected]>

Changelog:
https://github.com/linux-nvme/libnvme/releases/tag/v1.12

---
 ...k.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch | 41 +++++++++++++++++++
 .../{libnvme_1.11.1.bb => libnvme_1.12.bb}    |  5 ++-
 2 files changed, 44 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-support/libnvme/files/0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch
 rename meta-oe/recipes-support/libnvme/{libnvme_1.11.1.bb => libnvme_1.12.bb} (86%)
meta-oe/recipes-support/libnvme/files/0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch new file +41 -0
new file mode 100644
index 0000000000..8734d443bb
@@ -0,0 +1,41 @@
+From 14328a9a429fd84ddd1a3ed4fb0eb9643c61fa58 Mon Sep 17 00:00:00 2001
+From: Changqing Li <[email protected]>
+Date: Mon, 7 Apr 2025 13:23:57 +0800
+Subject: [PATCH] mock.c: fix checking of HAVE_GLIBC_IOCTL
+
+Commit [ 0d8d0a55 build: do not include config.h globally ]
+changed to always pass -DHAVE_GLIBC_IOCTL=[0|1], and this causes
+a regression, for system without glibc ioctl, -DHAVE_GLIBC_IOCTL=0
+is passed, and causes error:
+../git/test/ioctl/mock.c:123:5: error: conflicting types for 'ioctl'; have 'int(int,  long unsigned int, ...)'
+  123 | int ioctl(int fd, unsigned long request, ...)
+      |     ^~~~~
+In file included from ../git/test/ioctl/mock.c:9:
+pathto/usr/include/sys/ioctl.h:115:5: note: previous declaration of 'ioctl' with type 'int(int,  int, ...)'
+  115 | int ioctl (int, int, ...);
+
+Fixed by checking value of HAVE_GLIBC_IOCTL in mock.c
+
+Upstream-Status: Submitted [https://github.com/linux-nvme/libnvme/pull/985]
+
+Signed-off-by: Changqing Li <[email protected]>
+---
+ test/ioctl/mock.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/ioctl/mock.c b/test/ioctl/mock.c
+index 7402b45c..da3caba8 100644
+--- a/test/ioctl/mock.c
++++ b/test/ioctl/mock.c
+@@ -118,7 +118,7 @@ void end_mock_cmds(void)
+ 	} \
+ })
+ 
+-#ifdef HAVE_GLIBC_IOCTL
++#if defined(HAVE_GLIBC_IOCTL) && HAVE_GLIBC_IOCTL == 1
+ typedef int (*ioctl_func_t)(int, unsigned long, void *);
+ int ioctl(int fd, unsigned long request, ...)
+ #else
+-- 
+2.34.1
+
meta-oe/recipes-support/libnvme/libnvme_1.12.bb renamed from meta-oe/recipes-support/libnvme/libnvme_1.11.1.bb +3 -2
similarity index 86%
rename from meta-oe/recipes-support/libnvme/libnvme_1.11.1.bb
rename to meta-oe/recipes-support/libnvme/libnvme_1.12.bb
index bf66099ddf..a80d34277f 100644
@@ -11,9 +11,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
                     file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
                     file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
 DEPENDS = "json-c"
-SRCREV = "cec9feaeb03da8046d14bb395f592c601cf2ae5f"
+SRCREV = "5ec1f5284ecb0eda481f3d2d61236fbc5b46164f"
 
-SRC_URI = "git://github.com/linux-nvme/libnvme;protocol=https;branch=master"
+SRC_URI = "git://github.com/linux-nvme/libnvme;protocol=https;branch=master \
+           file://0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/1 luajit: Update to latest on v2.1 branch

From: Changqing Li <[email protected]>

License-Update: copyright year updated

---
 meta-oe/recipes-devtools/luajit/luajit_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/luajit/luajit_git.bb +2 -2
index 6a79ffb897..cbad79f3ae 100644
@@ -1,6 +1,6 @@
 SUMMARY = "Just-In-Time Compiler for Lua"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=076b97f5c7e61532f7f6f3865f04da57"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d421a5e2a24207f5e260537399a9a38b"
 HOMEPAGE = "http://luajit.org"
 
 SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
@@ -9,7 +9,7 @@ SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
            "
 
 PV = "2.1"
-SRCREV = "19878ec05c239ccaf5f3d17af27670a963e25b8b"
+SRCREV = "538a82133ad6fddfd0ca64de167c4aca3bc1a2da"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH 1/1 mariadb: upgrade 11.4.4 -> 11.4.5

In reply to [email protected]

From: Changqing Li <[email protected]>

---
 .../{mariadb-native_11.4.4.bb => mariadb-native_11.4.5.bb}      | 0
 meta-oe/recipes-dbs/mysql/mariadb.inc                           | 2 +-
 .../recipes-dbs/mysql/{mariadb_11.4.4.bb => mariadb_11.4.5.bb}  | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-dbs/mysql/{mariadb-native_11.4.4.bb => mariadb-native_11.4.5.bb} (100%)
 rename meta-oe/recipes-dbs/mysql/{mariadb_11.4.4.bb => mariadb_11.4.5.bb} (100%)
meta-oe/recipes-dbs/mysql/mariadb-native_11.4.5.bb renamed from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.4.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.4.bb
rename to meta-oe/recipes-dbs/mysql/mariadb-native_11.4.5.bb
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -1
index 66b46d2afd..f704ff6dec 100644
@@ -25,7 +25,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
            file://0001-Add-missing-includes-cstdint-and-cstdio.patch \
            file://0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch \
           "
-SRC_URI[sha256sum] = "96fbd2e6e93fb7e8b373eea75d85b6fea57c0e111a02090cbbefed52599dc77b"
+SRC_URI[sha256sum] = "ff6595f8c482f9921e39b97fa1122377a69f0dcbd92553c6b9032cbf0e9b5354"
 
 UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags"
 
meta-oe/recipes-dbs/mysql/mariadb_11.4.5.bb renamed from meta-oe/recipes-dbs/mysql/mariadb_11.4.4.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb_11.4.4.bb
rename to meta-oe/recipes-dbs/mysql/mariadb_11.4.5.bb
Signature · 1 line
2.34.1
#3 lore raw

Re: [oe] [meta-oe][PATCH] mariadb: upgrade 11.4.4 -> 11.4.5

meta-oe/recipes-dbs/mysql/mariadb_11.4.5.bb

Quoted 30 lines · Changqing Li via lists.openembedded.org

From: Changqing Li<[email protected]>

---
  .../{mariadb-native_11.4.4.bb => mariadb-native_11.4.5.bb}      | 0
  meta-oe/recipes-dbs/mysql/mariadb.inc                           | 2 +-
  .../recipes-dbs/mysql/{mariadb_11.4.4.bb => mariadb_11.4.5.bb}  | 0
  3 files changed, 1 insertion(+), 1 deletion(-)

rename meta-oe/recipes-dbs/mysql/{mariadb-native_11.4.4.bb => mariadb-native_11.4.5.bb} (100%) rename meta-oe/recipes-dbs/mysql/{mariadb_11.4.4.bb => mariadb_11.4.5.bb} (100%)

meta-oe/recipes-dbs/mysql/mariadb-native_11.4.5.bb renamed from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.4.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.4.bb
rename to meta-oe/recipes-dbs/mysql/mariadb-native_11.4.5.bb
meta-oe/recipes-dbs/mysql/mariadb.inc +0 -0
index 66b46d2afd..f704ff6dec 100644
@@ -25,7 +25,7 @@ SRC_URI ="https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ 

file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ file://0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch \ "

meta-oe/recipes-dbs/mysql/mariadb.inc +1 -1
-SRC_URI[sha256sum] = "96fbd2e6e93fb7e8b373eea75d85b6fea57c0e111a02090cbbefed52599dc77b"
+SRC_URI[sha256sum] = "ff6595f8c482f9921e39b97fa1122377a69f0dcbd92553c6b9032cbf0e9b5354"
 
  UPSTREAM_CHECK_URI ="https://github.com/MariaDB/server/tags"
meta-oe/recipes-dbs/mysql/mariadb_11.4.5.bb renamed from meta-oe/recipes-dbs/mysql/mariadb_11.4.4.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb_11.4.4.bb
rename to meta-oe/recipes-dbs/mysql/mariadb_11.4.5.bb

Sandy, there's a mariadb build failure. See below.

Khem said on IRC:

... Changqing Li and report this build failure -
https://errors.yoctoproject.org/Errors/Details/851668/ with mariadb 11.4.5 upgrade

I see the patch on lore.kernel.org but not in my inbox, mysterious world of emails

../Randy

Quoted 13 lines

--
2.34.1

pLK@tY:ATbOf1"dW

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116666):https://lists.openembedded.org/g/openembedded-devel/message/116666 Mute This Topic:https://lists.openembedded.org/mt/112131137/3616765
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#4 lore raw

Re: [oe] [meta-oe][PATCH] mariadb: upgrade 11.4.4 -> 11.4.5

Quoted 37 lines · Randy MacLeod

On 2025-04-07 8:15 a.m., Changqing Li via lists.openembedded.org wrote:

From: Changqing Li <[email protected]>

---
 .../{mariadb-native_11.4.4.bb => mariadb-native_11.4.5.bb}      | 0
 meta-oe/recipes-dbs/mysql/mariadb.inc                           | 2 +-
 .../recipes-dbs/mysql/{mariadb_11.4.4.bb => mariadb_11.4.5.bb}  | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-dbs/mysql/{mariadb-native_11.4.4.bb => mariadb-native_11.4.5.bb} (100%)
 rename meta-oe/recipes-dbs/mysql/{mariadb_11.4.4.bb => mariadb_11.4.5.bb} (100%)
meta-oe/recipes-dbs/mysql/mariadb-native_11.4.5.bb renamed from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.4.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.4.bb
rename to meta-oe/recipes-dbs/mysql/mariadb-native_11.4.5.bb
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -1
index 66b46d2afd..f704ff6dec 100644
@@ -25,7 +25,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
            file://0001-Add-missing-includes-cstdint-and-cstdio.patch \
            file://0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch \
           "
-SRC_URI[sha256sum] = "96fbd2e6e93fb7e8b373eea75d85b6fea57c0e111a02090cbbefed52599dc77b"
+SRC_URI[sha256sum] = "ff6595f8c482f9921e39b97fa1122377a69f0dcbd92553c6b9032cbf0e9b5354"
 
 UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags"
 
meta-oe/recipes-dbs/mysql/mariadb_11.4.5.bb renamed from meta-oe/recipes-dbs/mysql/mariadb_11.4.4.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb_11.4.4.bb
rename to meta-oe/recipes-dbs/mysql/mariadb_11.4.5.bb
Quoted 8 lines

Sandy, there's a mariadb build failure. See below.

Khem said on IRC:

... Changqing Li and report this build failure -
https://errors.yoctoproject.org/Errors/Details/851668/ with mariadb 11.4.5 upgrade

I think this is the change causing the build failure

https://github.com/MariaDB/server/commit/d5a417b9d55ac2744b600463a1abaf065772d678

My guess is that it does not happen on gcc but does happen with clang

Quoted 22 lines

I see the patch on lore.kernel.org but not in my inbox, mysterious world of emails

../Randy

--
2.34.1

pLK@tY:ATbOf1"dW

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116666): https://lists.openembedded.org/g/openembedded-devel/message/116666
Mute This Topic: https://lists.openembedded.org/mt/112131137/3616765
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
# Randy MacLeod
# Wind River Linux

#5 lore raw

Re: [oe] [meta-oe][PATCH] mariadb: upgrade 11.4.4 -> 11.4.5

and we are no alone see
https://jira.mariadb.org/browse/MDEV-36217

We need to bring
https://github.com/MariaDB/server/pull/3871

along

Quoted 77 lines · Khem Raj
Quoted 37 lines · Randy MacLeod

On 2025-04-07 8:15 a.m., Changqing Li via lists.openembedded.org wrote:

From: Changqing Li <[email protected]>

---
 .../{mariadb-native_11.4.4.bb => mariadb-native_11.4.5.bb}      | 0
 meta-oe/recipes-dbs/mysql/mariadb.inc                           | 2 +-
 .../recipes-dbs/mysql/{mariadb_11.4.4.bb => mariadb_11.4.5.bb}  | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-dbs/mysql/{mariadb-native_11.4.4.bb => mariadb-native_11.4.5.bb} (100%)
 rename meta-oe/recipes-dbs/mysql/{mariadb_11.4.4.bb => mariadb_11.4.5.bb} (100%)
meta-oe/recipes-dbs/mysql/mariadb-native_11.4.5.bb renamed from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.4.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.4.bb
rename to meta-oe/recipes-dbs/mysql/mariadb-native_11.4.5.bb
meta-oe/recipes-dbs/mysql/mariadb.inc +1 -1
index 66b46d2afd..f704ff6dec 100644
@@ -25,7 +25,7 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
            file://0001-Add-missing-includes-cstdint-and-cstdio.patch \
            file://0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch \
           "
-SRC_URI[sha256sum] = "96fbd2e6e93fb7e8b373eea75d85b6fea57c0e111a02090cbbefed52599dc77b"
+SRC_URI[sha256sum] = "ff6595f8c482f9921e39b97fa1122377a69f0dcbd92553c6b9032cbf0e9b5354"
 
 UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags"
 
meta-oe/recipes-dbs/mysql/mariadb_11.4.5.bb renamed from meta-oe/recipes-dbs/mysql/mariadb_11.4.4.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-dbs/mysql/mariadb_11.4.4.bb
rename to meta-oe/recipes-dbs/mysql/mariadb_11.4.5.bb
Quoted 8 lines

Sandy, there's a mariadb build failure. See below.

Khem said on IRC:

... Changqing Li and report this build failure -
https://errors.yoctoproject.org/Errors/Details/851668/ with mariadb 11.4.5 upgrade

I think this is the change causing the build failure

https://github.com/MariaDB/server/commit/d5a417b9d55ac2744b600463a1abaf065772d678

My guess is that it does not happen on gcc but does happen with clang

Quoted 22 lines

I see the patch on lore.kernel.org but not in my inbox, mysterious world of emails

../Randy

--
2.34.1

pLK@tY:ATbOf1"dW

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116666): https://lists.openembedded.org/g/openembedded-devel/message/116666
Mute This Topic: https://lists.openembedded.org/mt/112131137/3616765
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
# Randy MacLeod
# Wind River Linux