From patchwork Tue Feb 18 05:43:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 57485 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 975C7C021A9 for ; Tue, 18 Feb 2025 05:43:57 +0000 (UTC) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mx.groups.io with SMTP id smtpd.web10.13384.1739857427611357238 for ; Mon, 17 Feb 2025 21:43:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SjsOLUCi; spf=pass (domain: gmail.com, ip: 209.85.214.181, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-22114b800f7so37525495ad.2 for ; Mon, 17 Feb 2025 21:43:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739857426; x=1740462226; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ryq0w9GJm0oaot0nF4P/Swxnh99KMjKLxMCBo2xQJLA=; b=SjsOLUCiYt3Cqbq6mW2sGqaZeI5eA912RYaKCx61iNtvVdtIVGrDaH/ZzT8wlQThVr eJ8wcW8kbNENKzNw/W92h0Kbh8Obw2IkM/+fFHag9LjEjPYwfhsKPApB7ioIhUqAhbqX PkbnUazdUeK403RUyQ9csO99CePOM84k6/FsRXFzBl/5ym4bXEKekQfDVArTNP7X5GdZ cCqsJPlyWbJdXKkAScF0QGnEmF6aH1Q06t1n1NjeuaEPpx2HmO5kuuPyP/ep7TNtAEyC moLG4vibDmcrz2pRu5AAXh3/YVktprtJ+VziWmDLFc62Pk9I5E7YFR0vtl+05VG+YdGu xvPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739857426; x=1740462226; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ryq0w9GJm0oaot0nF4P/Swxnh99KMjKLxMCBo2xQJLA=; b=rYYMLlEai8Wlnv/udKh67JFnUch4Hizqf+3fPRcVpNPVhvDxVwtr3v+qrcLnlnK4zO aDWDWwq69A95lL67As+k/MjRe3l/I4VzX36ksaSQoYhnkbiEAojVl5Kbxio1dzZFKMyr dFbedJsereJUMY91/rwCRSGwKkrAofMW16s5dmrMJefHiK4USgnerj/ZcjYhV7t6YXRa +zAWLEKhKilj2ERYOkAYLNsb/rcC1sMldpGUeJ2ERfBQziiTtCBaO+nBsCpAydemHrp7 SamuAaoxcbBOaq/1p1OjlAmHT0p86HgzDErre38mejWp7JbkkQ5Cn+GnPpV2cUzoADJv SggA== X-Gm-Message-State: AOJu0YwfV24TlNjAKVDqIyqB9FUYNJv/9MSYOWvc2YQUnRX99bfUB5Dh HmKTY2cvDb0K6WosYEunT3DKLYwfQ5jIeXREkARoyzgPH5nce2cuanGgXGh1 X-Gm-Gg: ASbGncu02FWIOhWrB0SX9+nFFBAC0ylTnA3PZoTgzycNvkI4EJNEXuyrgFgh9HSm5K9 4uLYc6QgYiDpOSmw42tS8HYMBRCHM0mZ1HrDf7ngB6lcuNV9gK1kMO6v4nX1gv9mIiBGkUcdgo0 lJ75B5Eg76fiA+2Gt4ylXtUY1Bz8G8gbdFjtEr4MoKbK2T7z3Lpt45825bt0h1TowwoZoPBdPLa bpypGWjBwtE3usl2Z4p95yzEvJ0yTT/GFw3C5A7Fe1eSlUYDvhFOBqA7O0A2zJD9+aZ9KJzdi91 JKc63eI= X-Google-Smtp-Source: AGHT+IF0p61A1i3bQZtfD9nLTg3rSdjNZPh9lGzadH7PmgKTC398eZvvWwEDdstv7sp3cdqV9QE/2w== X-Received: by 2002:a05:6a00:8585:b0:732:623d:2cc5 with SMTP id d2e1a72fcca58-732623d2e5bmr15758723b3a.10.1739857426333; Mon, 17 Feb 2025 21:43:46 -0800 (PST) Received: from apollo.localdomain ([2601:646:8201:fd20::dd76]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73285a7bfbfsm2276217b3a.154.2025.02.17.21.43.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2025 21:43:45 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 1/4] liburing: Upgrade to 2.9 Date: Mon, 17 Feb 2025 21:43:41 -0800 Message-ID: <20250218054344.2476688-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 18 Feb 2025 05:43:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/115516 Drop upstreamed patches, fix build with latest musl Signed-off-by: Khem Raj --- ...ibc.c-only-when-CONFIG_NOLIBC-is-set.patch | 43 ------------------- ...1-test-Drop-including-error.h-header.patch | 27 ------------ ...ncluding-missing-string.h-for-memcpy.patch | 39 +++++++++++++++++ ...-Include-poll.h-instead-of-sys-poll..patch | 32 -------------- .../{liburing_2.7.bb => liburing_2.9.bb} | 6 +-- 5 files changed, 41 insertions(+), 106 deletions(-) delete mode 100644 meta-oe/recipes-support/liburing/liburing/0001-test-Compile-nolibc.c-only-when-CONFIG_NOLIBC-is-set.patch delete mode 100644 meta-oe/recipes-support/liburing/liburing/0001-test-Drop-including-error.h-header.patch create mode 100644 meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch delete mode 100644 meta-oe/recipes-support/liburing/liburing/0002-ooo-file-unreg.c-Include-poll.h-instead-of-sys-poll..patch rename meta-oe/recipes-support/liburing/{liburing_2.7.bb => liburing_2.9.bb} (83%) diff --git a/meta-oe/recipes-support/liburing/liburing/0001-test-Compile-nolibc.c-only-when-CONFIG_NOLIBC-is-set.patch b/meta-oe/recipes-support/liburing/liburing/0001-test-Compile-nolibc.c-only-when-CONFIG_NOLIBC-is-set.patch deleted file mode 100644 index 90f028b856..0000000000 --- a/meta-oe/recipes-support/liburing/liburing/0001-test-Compile-nolibc.c-only-when-CONFIG_NOLIBC-is-set.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 7ea4e55a91e6d5564c6de762c2d1afc78ff9cfd3 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 16 Sep 2024 22:58:38 +0000 -Subject: [PATCH] test: Compile nolibc.c only when CONFIG_NOLIBC is set - -building nolibc.c fails for non nolibc targets - -Fixes -In file included from nolibc.c:33: -./../src/lib.h:20:2: error: "This arch doesn't support building liburing without libc" - 20 | #error "This arch doesn't support building liburing without libc" - | ^ -1 error generated. - -Upstream-Status: Backport [https://github.com/axboe/liburing/commit/a182f62c01f981cd9dd508ec952fbc975b263e3d] -Signed-off-by: Khem Raj ---- - test/Makefile | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/test/Makefile b/test/Makefile -index 0538a75..0dfecb8 100644 ---- a/test/Makefile -+++ b/test/Makefile -@@ -126,7 +126,6 @@ test_srcs := \ - msg-ring-overflow.c \ - multicqes_drain.c \ - no-mmap-inval.c \ -- nolibc.c \ - nop-all-sizes.c \ - nop.c \ - ooo-file-unreg.c \ -@@ -221,6 +220,10 @@ test_srcs := \ - all_targets := - include ../Makefile.quiet - -+ifeq ($(CONFIG_NOLIBC),y) -+ test_srcs += nolibc.c -+endif -+ - ifdef CONFIG_HAVE_STATX - test_srcs += statx.c - else ifdef CONFIG_HAVE_GLIBC_STATX diff --git a/meta-oe/recipes-support/liburing/liburing/0001-test-Drop-including-error.h-header.patch b/meta-oe/recipes-support/liburing/liburing/0001-test-Drop-including-error.h-header.patch deleted file mode 100644 index 62ca78a1ed..0000000000 --- a/meta-oe/recipes-support/liburing/liburing/0001-test-Drop-including-error.h-header.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 684bcb2a8795fd399d6c164e51459a2785057b1c Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 17 Sep 2024 09:56:42 -0700 -Subject: [PATCH 1/2] test: Drop including error.h header - -There is no error APIs being used in this test, therefore -drop including it, this also makes it portable to musl -systems which do not have error.h - -Upstream-Status: Submitted [https://github.com/axboe/liburing/pull/1233] -Signed-off-by: Khem Raj ---- - test/init-mem.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/test/init-mem.c b/test/init-mem.c -index 6f9a02a..f512190 100644 ---- a/test/init-mem.c -+++ b/test/init-mem.c -@@ -13,7 +13,6 @@ - #include - #include - #include --#include - - #include "liburing.h" - #include "helpers.h" diff --git a/meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch b/meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch new file mode 100644 index 0000000000..f744812a3f --- /dev/null +++ b/meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch @@ -0,0 +1,39 @@ +From c55874bc28f66d606527b940d4bd0f266bbaaa2c Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 17 Feb 2025 11:51:19 -0800 +Subject: [PATCH] test: Including missing string.h for memcpy + +Fixes +accept-test.c:39:2: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + +Upstream-Status: Submitted [https://github.com/axboe/liburing/pull/1351] +Signed-off-by: Khem Raj +--- + test/232c93d07b74.c | 1 + + test/accept-test.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/test/232c93d07b74.c b/test/232c93d07b74.c +index d3053b9..d5677d3 100644 +--- a/test/232c93d07b74.c ++++ b/test/232c93d07b74.c +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + #include + #include +diff --git a/test/accept-test.c b/test/accept-test.c +index 99f6080..142b2de 100644 +--- a/test/accept-test.c ++++ b/test/accept-test.c +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include + #include "liburing.h" + #include "helpers.h" + diff --git a/meta-oe/recipes-support/liburing/liburing/0002-ooo-file-unreg.c-Include-poll.h-instead-of-sys-poll..patch b/meta-oe/recipes-support/liburing/liburing/0002-ooo-file-unreg.c-Include-poll.h-instead-of-sys-poll..patch deleted file mode 100644 index 8a1d542502..0000000000 --- a/meta-oe/recipes-support/liburing/liburing/0002-ooo-file-unreg.c-Include-poll.h-instead-of-sys-poll..patch +++ /dev/null @@ -1,32 +0,0 @@ -From d06433ff1a1905436cfcde80e22ee51bd9591536 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 17 Sep 2024 09:59:31 -0700 -Subject: [PATCH 2/2] ooo-file-unreg.c: Include poll.h instead of sys/poll.h - -This fixes a warning e.g. - -In file included from ooo-file-unreg.c:12: -/mnt/b/yoe/master/build/tmp/work/riscv32-yoe-linux-musl/liburing/2.7/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: redirecting incorrect #include to [-W#warnings] - 1 | #warning redirecting incorrect #include to - | ^ -1 warning generated. - -Upstream-Status: Submitted [https://github.com/axboe/liburing/pull/1233] -Signed-off-by: Khem Raj ---- - test/ooo-file-unreg.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/test/ooo-file-unreg.c b/test/ooo-file-unreg.c -index d76e0fb..dd6ea55 100644 ---- a/test/ooo-file-unreg.c -+++ b/test/ooo-file-unreg.c -@@ -9,7 +9,7 @@ - #include - #include - #include --#include -+#include - - #include "liburing.h" - #include "helpers.h" diff --git a/meta-oe/recipes-support/liburing/liburing_2.7.bb b/meta-oe/recipes-support/liburing/liburing_2.9.bb similarity index 83% rename from meta-oe/recipes-support/liburing/liburing_2.7.bb rename to meta-oe/recipes-support/liburing/liburing_2.9.bb index b10fe40ca0..e17d829c3d 100644 --- a/meta-oe/recipes-support/liburing/liburing_2.7.bb +++ b/meta-oe/recipes-support/liburing/liburing_2.9.bb @@ -10,10 +10,8 @@ LICENSE = "LGPL-2.1-only | MIT" LIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=2b0e9926530c269f5ae95560370195af" SRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https \ - file://0001-test-Compile-nolibc.c-only-when-CONFIG_NOLIBC-is-set.patch \ - file://0001-test-Drop-including-error.h-header.patch \ - file://0002-ooo-file-unreg.c-Include-poll.h-instead-of-sys-poll..patch" -SRCREV = "5227d48b28ad8671e61d444b72678da584d2e6c3" + file://0001-test-Including-missing-string.h-for-memcpy.patch" +SRCREV = "08468cc3830185c75f9e7edefd88aa01e5c2f8ab" S = "${WORKDIR}/git" From patchwork Tue Feb 18 05:43:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 57483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BAFEC021AA for ; Tue, 18 Feb 2025 05:43:57 +0000 (UTC) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mx.groups.io with SMTP id smtpd.web11.13503.1739857428085557874 for ; Mon, 17 Feb 2025 21:43:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=l7UADNV7; spf=pass (domain: gmail.com, ip: 209.85.216.54, mailfrom: raj.khem@gmail.com) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-2fc291f7ddbso5760665a91.1 for ; Mon, 17 Feb 2025 21:43:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739857427; x=1740462227; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RxxRqa3o2OAx2IyWmEw5F+azckWBtMbXEdzxryLEcHk=; b=l7UADNV7d+S7sK0nCshl7hyZAYTVCFpFOZuUxJJ5P2AckzJDP3kmxfxyGCemEHpsKC JWeAw6DDIMkO7rZDtXTIiOehWzbe8a4zvgpvYR8J/lhcmCtnpavuSQoWnfsiKbNIrtzV by7T//J1Osgs1/rWyrc4Huj6opjMTkQamAd2oksynKOJqrVcdOJuRvWRjnGBiSoYC741 QSGM7Wx+tSoxeMT2xyH0rDBJKjXF9UCLAY9ZNtTHTbECUGd1cfFzpZ0aYdHu8117Stkn lZHFwNmQQRoe2Q8Woq7ch36FMKXdW4n0jVHkM1ov4v93tzkWaCC4asfmwjzqGy04yyzD QBLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739857427; x=1740462227; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RxxRqa3o2OAx2IyWmEw5F+azckWBtMbXEdzxryLEcHk=; b=kC5hqxl4f5SKC4Ta+TZAwCKctCi76ni3fTC00zHcD0WoHIPoUE7KV1r6Z9wZ9YtiZY VRBcNNyWktEoh6eC7C4c6Ff82d+0iRTHnjPxBqSl7IAjNsBYg68NTvNA8Ema+XNrQrmu CyH58dQNz+UtT0/S40iPd2gw8YhEttVjr/pGb2BtDDYLl0smjJS49MsfBtmLMaXC3cjI X+r5aFDfZL+vjtgffJJY/YhjuLEIBck8il5jr3kCzk/hY86DmOU3OucWVTwhP8ZzrLUu mR9w+jRJnig4DrdxfOh6Fsri+sF0PVuBGbcrJ9vyDVTI7EXhzc0bxESyLHkMU83u5vI5 AKUQ== X-Gm-Message-State: AOJu0YxCDP/kgHLzvAfGInZCRjD6g6LIc2FkQeZobZoyKrYrrzTDzBej YOXPVDkrr/dvLlmq99uSBnEniaPhuxjInUtfzXFdxmNNg1ra79rIOUzX4wEV X-Gm-Gg: ASbGncsIqvsSYzPe7Kq0s1GpriAtDKhxY1+qEAXuAr03uLyEZ769YbpV4SIdDEMkNfP nN9forowhILnmv64ziFOGbwOLxoSja3jV5T6OjIVIhPkzTBtYBBD4yweyxlBzcRE1q9S/z/eilW G64WnXYhH3/aVpS/nNtboUrceMWrZgPmQATOREkSKjZDnmbcGoXOseU4JTMc3y/SfKE2xs7Bhh2 Ahl0RQXpp3j+yD7fwv0ry4ydaou3ilx5F31/SkcaNt8cp/X4ADSXY7DDfwyMourMQytBPTAYLHa aOveGqk= X-Google-Smtp-Source: AGHT+IHV5zbFqV1CYm3Ex8mNRsxfpcww1f92gha6Y5vkK/2nSfg/RjO4/oMMjaC7rHR3mIO6jY2wUA== X-Received: by 2002:a05:6a00:3cc1:b0:72d:8af9:bc64 with SMTP id d2e1a72fcca58-732617b77abmr17945688b3a.9.1739857427156; Mon, 17 Feb 2025 21:43:47 -0800 (PST) Received: from apollo.localdomain ([2601:646:8201:fd20::dd76]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73285a7bfbfsm2276217b3a.154.2025.02.17.21.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2025 21:43:46 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 2/4] multipath-tools: Fix build with latest musl Date: Mon, 17 Feb 2025 21:43:42 -0800 Message-ID: <20250218054344.2476688-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250218054344.2476688-1-raj.khem@gmail.com> References: <20250218054344.2476688-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 18 Feb 2025 05:43:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/115517 Signed-off-by: Khem Raj --- ...uxsock.c-Include-string.h-for-memcpy.patch | 28 +++++++++++++++++++ .../multipath-tools/multipath-tools_0.11.0.bb | 1 + 2 files changed, 29 insertions(+) create mode 100644 meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch b/meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch new file mode 100644 index 0000000000..128a0c4d8d --- /dev/null +++ b/meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch @@ -0,0 +1,28 @@ +From 1d444772db14f4acb8d47b874462b0cc171ab672 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 17 Feb 2025 12:01:59 -0800 +Subject: [PATCH] libmpathutils/uxsock.c: Include string.h for memcpy + +Fixes +uxsock.c:72:2: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + +Upstream-Status: Submitted [https://lore.kernel.org/dm-devel/20250217200503.4166910-1-raj.khem@gmail.com/T/#u] +Signed-off-by: Khem Raj +Cc: Benjamin Marzinski +Cc: Martin Wilck +--- + libmpathutil/uxsock.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libmpathutil/uxsock.c b/libmpathutil/uxsock.c +index 2135476d..a474874e 100644 +--- a/libmpathutil/uxsock.c ++++ b/libmpathutil/uxsock.c +@@ -8,6 +8,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb index 9f95361063..67e293dac2 100644 --- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb +++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.0.bb @@ -44,6 +44,7 @@ SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=ma file://0010-Always-use-devmapper.patch \ file://0011-fix-bug-of-do_compile-and-do_install.patch \ file://0012-add-explicit-dependency-on-libraries.patch \ + file://0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch \ " LIC_FILES_CHKSUM = "file://COPYING;md5=9ec28527f3d544b51ceb0e1907d0bf3f" From patchwork Tue Feb 18 05:43:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 57482 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A06E4C02198 for ; Tue, 18 Feb 2025 05:43:57 +0000 (UTC) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web11.13504.1739857429195077971 for ; Mon, 17 Feb 2025 21:43:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QgitoDj/; spf=pass (domain: gmail.com, ip: 209.85.214.173, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-221206dbd7eso32561525ad.2 for ; Mon, 17 Feb 2025 21:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739857428; x=1740462228; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JWJdBy+wkddUwX9ZpFg5Q0YJNokGJnEQO1ShuW4yUuI=; b=QgitoDj/seDYbrSDWcZhlmnR1aC445rOkuxFALwyLOKUlkewxA41TllXgyiXc2Py1F vOdFGxvdgfk2m7NmbDzMcTyy191ANbwp/KCl6R27RgSV5ddgEILdz//8SXvX8tzz6jyS Imdof0H+nOFaQUQHb67OPKSSYPMRNf5k5Cc5pBtY0i3JMBevP78fhlD45KQHVVMJsyTp HMPyamuig0tJs3ohoUaHfAXhMj95Mw3UcmG5r5HrdoHyN7GdOmvJrip92kEGQXaoxAlj QfkCehWOi4xe6FYseOiqEAFJ6xP7dop3Bw5Htd24Z4FchI33ZMJkwaCNrQ9xJW29Y8AZ jvSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739857428; x=1740462228; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JWJdBy+wkddUwX9ZpFg5Q0YJNokGJnEQO1ShuW4yUuI=; b=VUA5Sgh9d1yX6CVefvhivMK85r6V9yqduHzLLkeYLLhX0UlsFd8gre4d0JaCrHs2Oy tvs1sfr6LV+pecy1uOoM9zNyPjvgWUyZ1+9N2gqqpyuOaZEWGyNhy4ram840xgKr/c3K K/CI5DeMNPpaaMDMyK/yFuDY1ZQYaTh/iZ+86YM+vSzr2jjX359Lax2TOqLp/GGt0tl0 ZDuMh8tQT5+gpaQL/mgvJimUPmPMj7sq9YGnc8Pw04bpRJT65Li6jJwlVPE/7l+oA4U5 SBYDl9cITPqZILu1lk4bBrgHFyVBzcJw3ohahrJkTZkIV26gSKNtdZM9r+sT+6S0KPf7 /vKA== X-Gm-Message-State: AOJu0YyJlvUUSU4JCoygSFy1mYZDVDtSVSdl45sbMd7bEViZ2CETaYV2 B87AraCigTuJ6W6YBBDmXqAYC0PV2Vg2zyDwHovwESiwbGlxYUZOzImjRn6+ X-Gm-Gg: ASbGncvonysydXmqoknSdkuKzy3z6a0FCS9AeutpB3XCqOCQCEFJbb9FboP4YNI7bWF 8o3EI8vyePk1K9rioXjKOwaIPggb6PzUicEybOgJqi7wigkKC+C0YJRbAKCJLHRCBRzqA8EP/KZ 5DMoDpWkrqVLq1vPfhsBLbfRyItr1YssBzPUfNEnsWQbOPizOEPJ6rojgQ4xs6n6i9u0aB3add8 EvbA6+YfaPHpW1HSi3lx5uqLeIUUZqItQTk5A/Zz76FbM+CU7tN+tJfv3s/+Cld9iydCrYu4jlC fOKfP2o= X-Google-Smtp-Source: AGHT+IE7pKZJBnov50SjvQNtUVbcFN74lMvGZKHRUYxoaR1v8aP28vbLZu8qR9/1MzR3lDMS6GM0pw== X-Received: by 2002:a05:6a00:739d:b0:732:6248:8f5f with SMTP id d2e1a72fcca58-73262488fabmr12907436b3a.5.1739857428096; Mon, 17 Feb 2025 21:43:48 -0800 (PST) Received: from apollo.localdomain ([2601:646:8201:fd20::dd76]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73285a7bfbfsm2276217b3a.154.2025.02.17.21.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2025 21:43:47 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 3/4] sblim-sfcb: Include string.h for memcpy Date: Mon, 17 Feb 2025 21:43:43 -0800 Message-ID: <20250218054344.2476688-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250218054344.2476688-1-raj.khem@gmail.com> References: <20250218054344.2476688-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 18 Feb 2025 05:43:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/115518 Fixes build with latest musl Signed-off-by: Khem Raj --- .../0001-include-missing-system-headers.patch | 53 +++++++++++-------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch index c16e393f49..f9083e7934 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch @@ -18,8 +18,6 @@ Signed-off-by: Khem Raj trace.h | 3 ++- 9 files changed, 12 insertions(+), 3 deletions(-) -diff --git a/brokerEnc.c b/brokerEnc.c -index 9115e71..889afcd 100644 --- a/brokerEnc.c +++ b/brokerEnc.c @@ -25,6 +25,8 @@ @@ -31,8 +29,6 @@ index 9115e71..889afcd 100644 extern const char *opGetClassNameChars(const CMPIObjectPath * cop); extern const char *opGetNameSpaceChars(const CMPIObjectPath * cop); extern CMPIConstClass *getConstClass(const char *ns, const char *cn); -diff --git a/brokerOs.c b/brokerOs.c -index 8d73a0b..b1427fd 100644 --- a/brokerOs.c +++ b/brokerOs.c @@ -22,6 +22,7 @@ @@ -43,8 +39,6 @@ index 8d73a0b..b1427fd 100644 static char * resolveFileName(const char *filename) -diff --git a/mlog.c b/mlog.c -index a2d9eb7..6d9cd29 100644 --- a/mlog.c +++ b/mlog.c @@ -26,6 +26,7 @@ const char *_mlog_id = @@ -55,8 +49,6 @@ index a2d9eb7..6d9cd29 100644 #include #include #include "trace.h" /* for setSignal() */ -diff --git a/mofc/backend_sfcb.c b/mofc/backend_sfcb.c -index 614abcd..99d4061 100644 --- a/mofc/backend_sfcb.c +++ b/mofc/backend_sfcb.c @@ -29,7 +29,7 @@ @@ -68,8 +60,6 @@ index 614abcd..99d4061 100644 extern CMPIStatus sfcb_simpleArrayAdd(CMPIArray * array, CMPIValue * val, CMPIType type); extern CMPIObjectPath *getObjectPath(char *path, char **msg); -diff --git a/sfcbdump.c b/sfcbdump.c -index 8a9c335..aa8559c 100644 --- a/sfcbdump.c +++ b/sfcbdump.c @@ -23,6 +23,7 @@ @@ -80,8 +70,6 @@ index 8a9c335..aa8559c 100644 #include "objectImpl.h" #define BINARY_NAME argv[0] -diff --git a/sfcbdumpP32onI32.c b/sfcbdumpP32onI32.c -index ccf87dc..3540751 100644 --- a/sfcbdumpP32onI32.c +++ b/sfcbdumpP32onI32.c @@ -22,6 +22,7 @@ @@ -92,8 +80,6 @@ index ccf87dc..3540751 100644 #include #include "objectImpl.h" #include -diff --git a/sfcbsem.c b/sfcbsem.c -index 3f8de7f..1e6358b 100644 --- a/sfcbsem.c +++ b/sfcbsem.c @@ -21,6 +21,7 @@ @@ -104,8 +90,6 @@ index 3f8de7f..1e6358b 100644 #include #include -diff --git a/trace.c b/trace.c -index 23597e1..c4f8011 100644 --- a/trace.c +++ b/trace.c @@ -25,6 +25,7 @@ @@ -125,8 +109,6 @@ index 23597e1..c4f8011 100644 int terminating = 0; int colorTrace; -diff --git a/trace.h b/trace.h -index ea39850..52d408d 100644 --- a/trace.h +++ b/trace.h @@ -25,6 +25,7 @@ @@ -137,7 +119,7 @@ index ea39850..52d408d 100644 extern unsigned long _sfcb_trace_mask; /* use pointer indirect _sfcb_trace_mask to allow shared memory flag */ extern unsigned long *_ptr_sfcb_trace_mask; -@@ -162,7 +163,7 @@ extern sigHandler *setSignal(int sn, sigHandler * sh, int flags); +@@ -162,7 +163,7 @@ extern sigHandler *setSignal(int sn, sig extern char *processName; extern int providerProcess; @@ -146,6 +128,33 @@ index ea39850..52d408d 100644 extern int terminating; #endif --- -2.37.3 - +--- a/support.c ++++ b/support.c +@@ -39,6 +39,7 @@ + #include + #endif + #include ++#include /* memcpy */ + #include "native.h" + #include "trace.h" + #include "control.h" +--- a/qualifier.c ++++ b/qualifier.c +@@ -19,6 +19,7 @@ + * + */ + ++#include /* memcpy */ + #include "objectImpl.h" + #include "qualifier.h" + +--- a/objectImplSwapI32toP32.c ++++ b/objectImplSwapI32toP32.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include /* memcpy */ + #include + #include + From patchwork Tue Feb 18 05:43:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 57484 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0F61C021AD for ; Tue, 18 Feb 2025 05:43:57 +0000 (UTC) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mx.groups.io with SMTP id smtpd.web11.13505.1739857430159030290 for ; Mon, 17 Feb 2025 21:43:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GcmZ6O5b; spf=pass (domain: gmail.com, ip: 209.85.214.175, mailfrom: raj.khem@gmail.com) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-220d28c215eso71429135ad.1 for ; Mon, 17 Feb 2025 21:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739857429; x=1740462229; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dzJBGy3BN+dzVHLYgo7Pjf07BOYF2d2IlVMwqBvZ+QI=; b=GcmZ6O5bgfJaG9pfS6AVJxtFKwlf384288L0AC2NGn2r3VSo8aNfsPKN9AQwTX8nX2 87gSPBnnLglZxuwo+oCXb9IfD4mnQe589iohsN03DFqbSgpJiXnmi4kAwhVBAWiunBWQ ImcogUx2v3LQIfApZZtKMXSSdcUgxl/YET/iKMhfGcX2OqnYwRqGVMLl0R8QKxGDyWpw 0cEWwxkQwbR+6Un+oDKWLubwLGc57xcC5I8oPMorfzNwHo9PE3+/e1a2s0nhrAIScS+E TX38TYXoiHGmd/v9+KdbirC/sNqv3x39HJFhiUgg9wJBRFcL2oCni/6LvY7gGhecvyJB dPrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739857429; x=1740462229; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dzJBGy3BN+dzVHLYgo7Pjf07BOYF2d2IlVMwqBvZ+QI=; b=oT+vvifj4CR1vAfih5WEOnkgvi3z2GuEM/TrQCb91tj7PNL7CCH8QVw+fgOsb7JOu/ xHA8nY91BGCVgfTZyrtm99A7aZxpIbipG9FTDdu+EyPcxEDmClVrgsKCPOOHrluryV9l aXCBMD4GvS5uqfyKIlFI1CaomuuT6bMeLWQZsXhyKPpqBohIy+OYLO3aHAQdXf3JOkRi OO6TIDgnNm7H8+AOomXJ8NYXlUJkjOtMVcXiEHYlFgqakZlW4I99HXiWW0itulrrYb6F dAmdb4Cw9T0rYWfrxaGNZAr7ddvmFaROYvJK1BJq8Drb9HT3Fou1uNLPvHrUpWHfpJrP PLnQ== X-Gm-Message-State: AOJu0YxM4GF+oNVPSbLutza8Lp3mjr6pORiiYj32x7zibcuJ4WQJ/jsr c67/mKHy6DEmi4Txe0L12oVcu5i9fZdtbeRGJlzuiY1pTbM93Ca3akra1iun X-Gm-Gg: ASbGncsasRMBoU3dewFt5kM8bV0iq5Jqa37DJBUybESP7mN0Q4JNQZj1p/pQIW9GdyH y8wARsiEMWPsM4qHEhEkKqzZxoxiknjkXndB9EMe7WhnwZogEVj9DTu8LMMRtFW3afHm5UdKUXv W/OQMFYJRMVwcjAhOMag4gD0FXaN1iPkSjT4cHwnZK0Ho2PA/ANNk6uEfprzlt2Kx+/8QiyTIrj +BwIRlzOyRqq8pivyhB1lvt/QsLlZIy7CJd3xBHEsYZOGcisNbO64eNZ9jhPEYx/DXT0nELVyWB QCQjuIE= X-Google-Smtp-Source: AGHT+IFZuEs1nbsU+dbKG6aR7VbWLYQej3e2dsldIHVYi8uYCVvqvmE2v0nYNwRvELW4bas+57Z5rw== X-Received: by 2002:a05:6a20:c797:b0:1e0:d5f3:f3ed with SMTP id adf61e73a8af0-1ee8cb485dfmr18507433637.19.1739857429202; Mon, 17 Feb 2025 21:43:49 -0800 (PST) Received: from apollo.localdomain ([2601:646:8201:fd20::dd76]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73285a7bfbfsm2276217b3a.154.2025.02.17.21.43.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2025 21:43:48 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 4/4] mctp: Fix build with latest musl Date: Mon, 17 Feb 2025 21:43:44 -0800 Message-ID: <20250218054344.2476688-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250218054344.2476688-1-raj.khem@gmail.com> References: <20250218054344.2476688-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 18 Feb 2025 05:43:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/115519 Signed-off-by: Khem Raj --- .../mctp/0001-mctp-bench-Adjust-headers.patch | 38 +++++++++++++++++++ .../recipes-support/mctp/mctp_2.1.bb | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 meta-networking/recipes-support/mctp/mctp/0001-mctp-bench-Adjust-headers.patch diff --git a/meta-networking/recipes-support/mctp/mctp/0001-mctp-bench-Adjust-headers.patch b/meta-networking/recipes-support/mctp/mctp/0001-mctp-bench-Adjust-headers.patch new file mode 100644 index 0000000000..4ff9b09299 --- /dev/null +++ b/meta-networking/recipes-support/mctp/mctp/0001-mctp-bench-Adjust-headers.patch @@ -0,0 +1,38 @@ +From 166b2251a156a03a80318533440178ac0b913945 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 17 Feb 2025 21:29:41 -0800 +Subject: [PATCH] mctp-bench: Adjust headers + +bits/time.h is not be included directly, instead use time.h +since poll.h is included there is no need to include sys/poll.h + +Fixes +../git/src/mctp-bench.c:2:10: fatal error: 'bits/time.h' file not found + 2 | #include + | ^~~~~~~~~~~~~ + +Upstream-Status: Submitted [https://github.com/CodeConstruct/mctp/pull/65] +Signed-off-by: Khem Raj +--- + src/mctp-bench.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/mctp-bench.c b/src/mctp-bench.c +index eeb6fcf..60b3bb0 100644 +--- a/src/mctp-bench.c ++++ b/src/mctp-bench.c +@@ -1,5 +1,5 @@ + #define _XOPEN_SOURCE 700 +-#include ++#include + #include + #include + #include +@@ -9,7 +9,6 @@ + #include + #include + #include +-#include + #include + #include + #include diff --git a/meta-networking/recipes-support/mctp/mctp_2.1.bb b/meta-networking/recipes-support/mctp/mctp_2.1.bb index 5bd7039529..c76fc09af3 100644 --- a/meta-networking/recipes-support/mctp/mctp_2.1.bb +++ b/meta-networking/recipes-support/mctp/mctp_2.1.bb @@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" SRCREV = "dd944cf5b5a8b834f3685bcb2017190258dbcd0b" -SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https" +SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https \ + file://0001-mctp-bench-Adjust-headers.patch" S = "${WORKDIR}/git"