From patchwork Tue Aug 25 08:37:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Deepak Rathore -X (deeratho - E INFOCHIPS PRIVATE LIMITED at Cisco)" X-Patchwork-Id: 96255 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 901C5C5DF94 for ; Tue, 25 Aug 2026 08:37:48 +0000 (UTC) Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.17089.1787647067877960444 for ; Tue, 25 Aug 2026 01:37:48 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: message contains an insecure body length tag" header.i=@cisco.com header.s=iport01 header.b=giVoRwXQ; spf=pass (domain: cisco.com, ip: 173.37.86.76, mailfrom: deeratho@cisco.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=5144; q=dns/txt; s=iport01; t=1787647067; x=1788856667; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=xN9K97+Mnr2JZcPb93+XTsYJu0vaSQkpTO19Z+i7VnM=; b=giVoRwXQjk8FfqTitPEvbYP1S+g8MNajyXiLiUnRkCx8A3MG0KAZt0RT dsqGtjDA9AxT2jVNL9aUpPmuTLLctuqLe2Ds8QIkztlvaj06mGA1cKFhI sAv7sKUNSQIl2V3vJAka0km1KHhOpMUJpYLVoE8CMTJ+8QylHNmGldpFM M4wOAm2UKGHQCmfgu75wXHYrJ3tchOPqgMrP3lB4tmLLQw9L+JreegIPN 05M0ao6ELFFRpMNL8VlSY7tMtGLlYRBkVSVFn6mmM0v5Ku4CHploSUTGC Il1d1c7/3Su7GYGoW/prRXAR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F67YrEEasULNsLnOsYb/3pn1zycVaZgSpHYSKKM7thdtNsyrpkRRrCFO IxDNGcpNUidC/FMEg9/5JYWkOqlnHDjczpwo1OOrq1x6G/WpOB0+OW3aYGEJYDSGq25mG7An GH91VjXXC0IKfuvyyTZ+G6qi9DAyHaTtIU6UefQGuRRqFqLy2oeDRcbWVe2rby1h1CzX/pbK lcI4WwptaU0+UmhQ9XxUhH+p2SL1iPwQPJKGOE8rQXIwa3O7kPBVi4PTyVKb5ots8peqSEW6 2JlVujBXVRH2IB5g1rEnltIhVte4RQoEFI= IronPort-HdrOrdr: A9a23:HJdzt6xPSD+oYihnlg0mKrPwAL1zdoMgy1knxilNoHtuA6ilfq +V8sjzuSWYtN9VYgBCpTniAtjkfZqjz/9ICOAqVN/INjUO+lHYTr2KhrGM/9SPIUHDH5ZmtZ tIQuxZFMD6C0R8gILR5Qm1FMtl/fy8mZrY4ts3CxxWPHhXg2YK1XYeNjqm X-Talos-CUID: 9a23:Q+Ybp2in8TR5w01DRBtbkZYbYzJuLn3Aw2nOAEmEMX9Sc+OaEkOByJE8jJ87 X-Talos-MUID: 9a23:ZceesQTIZgqFqThXRXS0vjJZHvtGvZi8FWc9k4tasdWCOBN/bmI= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.25,242,1779148800"; d="scan'208";a="521397407" Received: from rcdn-l-core-08.cisco.com ([173.37.255.145]) by rcdn-iport-5.cisco.com with ESMTP/TLS/TLS_AES_256_GCM_SHA384; 25 Aug 2026 08:37:46 +0000 Received: from bgl-ads-3413.cisco.com (bgl-ads-3413.cisco.com [173.39.60.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ciscoit-managed-infra-smtp-auth.cisco.com", Issuer "Internal Private TLS SubCA" (verified OK)) by rcdn-l-core-08.cisco.com (Postfix) with ESMTPS id 99D4818000441 for ; Tue, 25 Aug 2026 08:37:46 +0000 (GMT) Received: by bgl-ads-3413.cisco.com (Postfix, from userid 1795984) id B5BE0CC037D; Tue, 25 Aug 2026 14:07:44 +0530 (IST) From: "Deepak Rathore -X (deeratho - E INFOCHIPS PRIVATE LIMITED at Cisco)" To: openembedded-devel@lists.openembedded.org Subject: [oe][meta-oe][wrynose][PATCH 1/2] suitesparse: fix CMake 4 configure failure Date: Tue, 25 Aug 2026 14:07:20 +0530 Message-Id: <20260825083721.3369187-2-deeratho@cisco.com> X-Mailer: git-send-email 2.35.6 In-Reply-To: <20260825083721.3369187-1-deeratho@cisco.com> References: <20260825083721.3369187-1-deeratho@cisco.com> MIME-Version: 1.0 X-Outbound-Client-TLS: VERIFIED;bgl-ads-3413.cisco.com [173.39.60.50];TLSv1.3;TLS_AES_256_GCM_SHA384;256;ciscoit-managed-infra-smtp-auth.cisco.com X-Outbound-SMTP-Client: 173.39.60.50, bgl-ads-3413.cisco.com X-Outbound-Node: rcdn-l-core-08.cisco.com List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 25 Aug 2026 08:37:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129469 From: Himanshu Jadon SuiteSparse 5.10.1 still carries bundled CMake entry points with 2.x minimum versions. CMake 4 rejects projects which request compatibility with versions older than 3.5, so configure fails before SuiteSparse can build. Backport the upstream SuiteSparse change which raises the bundled Mongoose, METIS and GKlib minimum version to 3.13. This version also reaches two bundled GraphBLAS CMake entry points with the same old minimum, so update those in the backport as well. Signed-off-by: Himanshu Jadon Signed-off-by: Khem Raj (cherry picked from commit de2fc817a4d4002c2c6304dcde5837fb30ae15ca) Signed-off-by: Deepak Rathore --- .../0004-Allow-build-with-CMake-4.patch | 86 +++++++++++++++++++ .../suitesparse/suitesparse_5.10.1.bb | 1 + 2 files changed, 87 insertions(+) create mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch new file mode 100644 index 0000000000..5fc3f666c3 --- /dev/null +++ b/meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch @@ -0,0 +1,86 @@ +From 57e1fd1a4bf7878136a9f5070dadb310f233f489 Mon Sep 17 00:00:00 2001 +From: Tim Davis +Date: Wed, 9 Mar 2022 10:33:33 -0600 +Subject: [PATCH] require cmake 3.13 + +Upstream-Status: Backport [https://github.com/DrTimothyAldenDavis/SuiteSparse/commit/ae0be0028e68d429feb565f093aec875235447cc] +Backport-Changes: + * Also update the two bundled GraphBLAS CMake entry points reached by + the SuiteSparse 5.10.1 build. + * Preserve the METIS_VERSION value supplied by the existing OE patch + after CMake policy CMP0048 becomes NEW. + +(cherry picked from commit ae0be0028e68d429feb565f093aec875235447cc) +Signed-off-by: Deepak Rathore +--- + GraphBLAS/CMakeLists.txt | 2 +- + GraphBLAS/GraphBLAS/CMakeLists.txt | 2 +- + Mongoose/CMakeLists.txt | 2 +- + metis-5.1.0/CMakeLists.txt | 2 +- + metis-5.1.0/GKlib/CMakeLists.txt | 2 +- + 5 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/GraphBLAS/CMakeLists.txt b/GraphBLAS/CMakeLists.txt +index 7eb999189..eecfa0ac5 100644 +--- a/GraphBLAS/CMakeLists.txt ++++ b/GraphBLAS/CMakeLists.txt +@@ -12,7 +12,7 @@ + #------------------------------------------------------------------------------- + + # cmake 3.13 is preferred. +-cmake_minimum_required ( VERSION 2.8.12 ) ++cmake_minimum_required ( VERSION 3.13 ) + + message ( STATUS "CMake version: " ${CMAKE_VERSION} ) + +diff --git a/GraphBLAS/GraphBLAS/CMakeLists.txt b/GraphBLAS/GraphBLAS/CMakeLists.txt +index f365251db..26928dc0a 100644 +--- a/GraphBLAS/GraphBLAS/CMakeLists.txt ++++ b/GraphBLAS/GraphBLAS/CMakeLists.txt +@@ -17,7 +17,7 @@ + #------------------------------------------------------------------------------- + + # cmake 3.13 is preferred. +-cmake_minimum_required ( VERSION 2.8.12 ) ++cmake_minimum_required ( VERSION 3.13 ) + + message ( STATUS "CMake version: " ${CMAKE_VERSION} ) + +diff --git a/Mongoose/CMakeLists.txt b/Mongoose/CMakeLists.txt +index 91a7f70ef..361fa1239 100644 +--- a/Mongoose/CMakeLists.txt ++++ b/Mongoose/CMakeLists.txt +@@ -20,7 +20,7 @@ + # + # make distclean + +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.13) + include(CMake/cmake_colors.cmake) + + if (POLICY CMP0048) +diff --git a/metis-5.1.0/CMakeLists.txt b/metis-5.1.0/CMakeLists.txt +index 318019bfc..1a72ed0d0 100644 +--- a/metis-5.1.0/CMakeLists.txt ++++ b/metis-5.1.0/CMakeLists.txt +@@ -1,5 +1,5 @@ +-cmake_minimum_required(VERSION 2.8) +-project(METIS) ++cmake_minimum_required(VERSION 3.13) ++project(METIS VERSION ${METIS_VERSION}) + + set(GKLIB_PATH "GKlib" CACHE PATH "path to GKlib") + set(SHARED FALSE CACHE BOOL "build a shared library") +diff --git a/metis-5.1.0/GKlib/CMakeLists.txt b/metis-5.1.0/GKlib/CMakeLists.txt +index 67b600aa6..2f4ae75d7 100644 +--- a/metis-5.1.0/GKlib/CMakeLists.txt ++++ b/metis-5.1.0/GKlib/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.13) + project(GKlib) + + get_filename_component(abs "." ABSOLUTE) +-- +2.35.6 + diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb index 8effd042fb..d6b45f007e 100644 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb +++ b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb @@ -5,6 +5,7 @@ SRC_URI = "git://github.com/DrTimothyAldenDavis/SuiteSparse;protocol=https;branc file://0002-Preserve-links-when-installing-libmetis.patch \ file://0003-Add-version-information-to-libmetis.patch \ file://makefile-quoting.patch \ + file://0004-Allow-build-with-CMake-4.patch \ " SRCREV = "538273cfd53720a10e34a3d80d3779b607e1ac26" From patchwork Tue Aug 25 08:37:21 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Deepak Rathore -X (deeratho - E INFOCHIPS PRIVATE LIMITED at Cisco)" X-Patchwork-Id: 96257 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 A4B5CC61DBC for ; Tue, 25 Aug 2026 08:37:58 +0000 (UTC) Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.17093.1787647073493176317 for ; Tue, 25 Aug 2026 01:37:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: message contains an insecure body length tag" header.i=@cisco.com header.s=iport01 header.b=MxZgZ9lc; spf=pass (domain: cisco.com, ip: 173.37.86.74, mailfrom: deeratho@cisco.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=3684; q=dns/txt; s=iport01; t=1787647073; x=1788856673; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=VSu5Og4PmNQwt24W3oMceyMZRCIhDFSRDAnQI8IMmbQ=; b=MxZgZ9lcM1yfxUIwEROtKW21sH8dVJSOWGBB7iDeqwZVXVQ8ZmXMb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K2aVA0w7wRWic9j5Dcyp1FNZLoDKKe4KWfPQ4U8NoaSW +bZwbilyXjS9hErB8nNuu6TnpoiG+O60aCm0xK6aoD66vRwjnVaPpUTaJLwXXxqZwChxLid/ jniWauYEm/FNoWU8AgUvoIx/ytWZcWq85efSZSzXFD6I0DuKxPRL/tS4E4eGqMoyOBIQkty2 d8pK2ggczSDv/2tz+fuIgVsrpxLwMjDJogTvDRkiDreF/tjGcGFSKTR7tge1zA17ixMNa+BP IxCNnw1MUmGOkERUrsUIMpWcOOAinTyaTREqFW9rqss6G+Vxwt0uFToGIePI4LXGZ0Fwy50o Er5pXzTIhoIL+eBih+k/XaTvfTjkDn0Ddd6+LqQs6QCbEeo7msLBRsbUFG2rfW0hguyVsxSL 2QQ+zEytu417EGtQ9z3UhG0rXLCuQQTM+e8CMUg4w2Lj66R6AGDCy1cH3hKaccts4k9QjlCO kK1ou4FzAdH6NW9IU9xPJ/Nxd9uEUD59VM/WBI= IronPort-HdrOrdr: A9a23:gWVgSaz4FZIC8219S6A7KrPwAL1zdoMgy1knxilNoHtuA6ilfq +V8sjzuSWYtN9VYgBCpTniAtjkfZqjz/9ICOAqVN/INjUO+lHYTr2KhrGM/9SPIUHDH5ZmtZ tIQuxZFMD6C0R8gILR5Qm1FMtl/fy8mZrY4ts3CxxWPHhXg2YK1XYeNjqm X-Talos-CUID: 9a23:1hcEpGuXunHXr0rI0vOokOzM6IsCXE3vykiTCXOUKldqEJCIbV+o57hrxp8= X-Talos-MUID: 9a23:I9MfQQQKQXHefVA4RXTT3ilIFMx6+J+wS2UsnpE5gNKoODZ/bmI= X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.25,242,1779148800"; d="scan'208";a="521654085" Received: from rcdn-l-core-09.cisco.com ([173.37.255.146]) by rcdn-iport-3.cisco.com with ESMTP/TLS/TLS_AES_256_GCM_SHA384; 25 Aug 2026 08:37:52 +0000 Received: from bgl-ads-3413.cisco.com (bgl-ads-3413.cisco.com [173.39.60.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ciscoit-managed-infra-smtp-auth.cisco.com", Issuer "Internal Private TLS SubCA" (verified OK)) by rcdn-l-core-09.cisco.com (Postfix) with ESMTPS id 50A88180005B5 for ; Tue, 25 Aug 2026 08:37:52 +0000 (GMT) Received: by bgl-ads-3413.cisco.com (Postfix, from userid 1795984) id 6ED5DCC037D; Tue, 25 Aug 2026 14:07:50 +0530 (IST) From: "Deepak Rathore -X (deeratho - E INFOCHIPS PRIVATE LIMITED at Cisco)" To: openembedded-devel@lists.openembedded.org Subject: [oe][meta-oe][wrynose][PATCH 2/2] suitesparse: avoid install rpath buildpaths QA Date: Tue, 25 Aug 2026 14:07:21 +0530 Message-Id: <20260825083721.3369187-3-deeratho@cisco.com> X-Mailer: git-send-email 2.35.6 In-Reply-To: <20260825083721.3369187-1-deeratho@cisco.com> References: <20260825083721.3369187-1-deeratho@cisco.com> MIME-Version: 1.0 X-Outbound-Client-TLS: VERIFIED;bgl-ads-3413.cisco.com [173.39.60.50];TLSv1.3;TLS_AES_256_GCM_SHA384;256;ciscoit-managed-infra-smtp-auth.cisco.com X-Outbound-SMTP-Client: 173.39.60.50, bgl-ads-3413.cisco.com X-Outbound-Node: rcdn-l-core-09.cisco.com List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 25 Aug 2026 08:37:58 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/129470 From: Himanshu Jadon SuiteSparse adds -Wl,-rpath=$(INSTALL_LIB) while linking shared libraries on Linux. In the OpenEmbedded build this value can resolve to a build or install path under TMPDIR, so installed ELF files can keep an absolute build path and fail buildpaths QA. The packaged libraries do not need this install-tree rpath. Runtime resolution is handled through normal package dependencies and the target library search path. Keep the librt link and drop only the rpath entry. Signed-off-by: Himanshu Jadon Signed-off-by: Khem Raj (cherry picked from commit 47037e87d5b5e78e774a52ed1e36250dd4c70b9f) Signed-off-by: Deepak Rathore --- ...dd-install-rpath-to-shared-libraries.patch | 37 +++++++++++++++++++ .../suitesparse/suitesparse_5.10.1.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch new file mode 100644 index 0000000000..a6105f73f8 --- /dev/null +++ b/meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch @@ -0,0 +1,37 @@ +From f8be0a727c506d25450386c370a846e66b3f3297 Mon Sep 17 00:00:00 2001 +From: Deepak Rathore +Date: Wed, 5 Aug 2026 00:00:00 -0700 +Subject: [PATCH] Do not add install rpath to shared libraries + +SuiteSparse adds the install library directory to Linux shared library +links through -Wl,-rpath=$(INSTALL_LIB). In Yocto builds INSTALL_LIB +resolves to a build or install path under TMPDIR, so the final ELF files +keep an absolute TMPDIR path in .dynstr even after chrpath removes the +dynamic rpath tag. + +Yocto stages dependent SuiteSparse libraries through normal sysroot and +package runtime dependencies. The install-tree rpath is not required for +packaged target libraries, and it makes buildpaths QA fail. + +Upstream-Status: Inappropriate [oe-specific: build/install path triggers buildpaths QA] + +Signed-off-by: Deepak Rathore +--- + SuiteSparse_config/SuiteSparse_config.mk | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/SuiteSparse_config/SuiteSparse_config.mk b/SuiteSparse_config/SuiteSparse_config.mk +index 8309c5142..807323c4c 100644 +--- a/SuiteSparse_config/SuiteSparse_config.mk ++++ b/SuiteSparse_config/SuiteSparse_config.mk +@@ -358,7 +358,7 @@ SUITESPARSE_VERSION = 5.10.1 + + ifeq ($(UNAME),Linux) + # add the realtime library, librt, and SuiteSparse/lib +- LDLIBS += -lrt -Wl,-rpath=$(INSTALL_LIB) ++ LDLIBS += -lrt + endif + + #--------------------------------------------------------------------------- +-- +2.43.0 diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb index d6b45f007e..3aa5b5af7c 100644 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb +++ b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb @@ -6,6 +6,7 @@ SRC_URI = "git://github.com/DrTimothyAldenDavis/SuiteSparse;protocol=https;branc file://0003-Add-version-information-to-libmetis.patch \ file://makefile-quoting.patch \ file://0004-Allow-build-with-CMake-4.patch \ + file://0005-Do-not-add-install-rpath-to-shared-libraries.patch \ " SRCREV = "538273cfd53720a10e34a3d80d3779b607e1ac26"