From patchwork Fri Nov 27 04:15:10 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105925 Received: from mail-dl1-f48.google.com (mail-dl1-f48.google.com [74.125.82.48]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.10230.1795752923828448009 for ; Thu, 26 Nov 2026 20:15:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=mL5LTAZ2; spf=pass (domain: gmail.com, ip: 74.125.82.48, mailfrom: raj.khem@gmail.com) Received: by mail-dl1-f48.google.com with SMTP id a92af1059eb24-15dd124bbe7so11212165c88.1 for ; Thu, 26 Nov 2026 20:15:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795752923; x=1796357723; 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:content-type; bh=5TfgovrBV3BysHAnwzdH+Ygd8xZsbga/KykHg6Xx9WQ=; b=mL5LTAZ29b9Nxl6+gmJloSQ4XTwVhvCmGH4iDVLp2OlE+xLUiKXphjgMsUe+NJKRxG tedR/BIoHxXW9jXeoUXE8XUz3jungnaNCtNpizvDoU83kJ5Ybl8Gc903Lux25U+gpDG7 I6KVyd49N4fNwEbJnih+OX0WTXlfi0KCzORM8yeXn2iuhfnNouVmBP/HD4HnYocKdsHp APkY0ja5v48/HsY4ZxFkloivjQraLTe+a1LEDWFZlOZJhgcUPs/XdXPetYc02tryoyqb sB/XeUgWU+/03dP15ffPVzk4kbYCef1wJkEH0vi5nCGeh1x+qB4ayqUL3ZmZ2+9GL5dL GwBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795752923; x=1796357723; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=5TfgovrBV3BysHAnwzdH+Ygd8xZsbga/KykHg6Xx9WQ=; b=tmyboo8TNzT4dqE71tN7GSx37fDtrWZHGAwtxLLvfGMoizqXgJ2kNSNCmeF31AHRKZ fiyy2s5bGbYnDmzV/+BkQOQkHYgdgvRNgfVxmBqq2dGlkVPtY0SvZFi7gJOSZ191L/BH WglQWnQRJaPB9amaq3hgu3j44gdWUKkB4RT09gPY6Z/9d9m/Hi2VRglJxjOeeA9YW6r7 +bPs1tE2QzNbrNd3qV67HtX2mvHDtsPX0NWRv9B7krn/6Fde/xPOyKQlpq3O78Sea0QS b+ZorrgDY5UWAIx3zZT7bBKi3JvqMatJ/+ggoMYAevoblZa3tg0Nq9pXau4jy5+5VF6A /hiA== X-Gm-Message-State: APuU4Z9aIr16WJk9FYxXFgdXVJRKg2yWl1XZfDGCzbJVTUL1fMOgqcv1 AjuJO4T3Guq33Apqvt0pvGP6gps+NRphUM/XbD/IDsl02pn34pT5w+RVCScocs2R X-Gm-Gg: AZFdTZc7g/xFSEfAHV9kiD0uS7BEKmDl9+Rb8ZgJPkLSYA5clnJl6Rcfvf7Tq0iXlSc N5e9xRza4BwBfGGomsdkUV8osf36TsHSXvBp11uHOVKfDaxupmhET6RNi2NFvneO9wQoOE3QeZO mNpyKkPW8nXXc+bp7Yhx2THUl+hRsi2ouvg/5r+AEIc7GhW5xTWOrI5a+rbPP3CxB6bBtFHke2U Z1RfrGRm7NxjfvKTOEOWJ2Cj6KxhocbWMpp/2d0rE5tN6B0OnGs0CY/WUuRE8cwbPV6OI/KYKZP 0W0JH+DRjdIOdWnPRSHCV02OI9s+DgS+dKvp24LBuwDKkulmteSMGs2u5hFqTkuWngsxQQ1WEAH KdNGr3/gOZ+a3jguE+MsgkQUWORY2uXzUXe8uaCylqw5agqezw0fGRwhEYmnkZmSMbKh+qGZ8Zv FcmgqrdRpiaorNDyTDE2geW9ce336BfSY/fc9yYrLDIFslWRjr7oyxoT1h67xQu3ECyRyWTCqsk OuLbO3RjpqYDwFde+8qZ0Eb9oOl5Qsl6FoUeZ+nARAwesAFKTkHA9ynNSt3mPBO1l3+a6MBwdSg eNqBw/k6//v/44IG9Hmi8BZ+mPCOcqv4rFLZgHwCFOfvBrkJYj2pJ+vIYzXgHaWR2KI9qTYUBnC JX7lMVGMcnCZx+h/n1mKGX3NepB02pQjnNQzQMsZyUCMrcjzlws+BbuGnzRH1yAiXZIUjnRtCRO M+5sLc6/ylgDBSFnD8Yda5PsLHmo4jyRUL0DT4uKomL4nB8oYsNuHOI0VGJtbJE5h76ywWuW0yQ zD2nv14j+BmohuWT5EIMZNGNhSAmgVJDHr9bYx1Cjea/X03bbVQi16WP2iDtW4HZiLYXEAPOV6l kPCr X-Received: by 2002:a05:7300:1899:b0:386:b6e2:9fa1 with SMTP id 5a478bee46e88-386b6e2a02fmr19116907eec.34.1795752922707; Thu, 26 Nov 2026 20:15:22 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e7fc3sm60340062eec.8.2026.11.26.20.15.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 20:15:22 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 1/8] opencv: upgrade 4.14.0 -> 5.1.0 Date: Thu, 26 Nov 2026 20:15:10 -0800 Message-ID: <20261127041517.1773986-2-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> References: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 04:15:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133211 OpenCV 5 is a new major series (4.x stays maintained in parallel): - C++17 is required, Python 2 support is dropped - legacy C API (CvMat, IplImage, cv* functions) removed - calib3d split into geometry/calib/stereo (calib3d.hpp kept as a compat header), features2d renamed to features, new ptcloud - ML, G-API and Haar/HOG detectors moved to opencv_contrib (ml, gapi, xobjdetect); Caffe/Darknet DNN parsers removed - MatShape replaces MatSize, new 1D/0D array semantics - pkg-config/CMake/include/data dirs renamed opencv4 -> opencv5; putText now uses HarfBuzz, FFmpeg 8 support Track the 5.x branch in opencv and opencv_contrib and move kleidicv to the 26.09 tag that hal/kleidicv/kleidicv.cmake expects; the other 3rdparty blobs (boostdesc, vgg, face, wechat_qrcode, fastcv) are unchanged. Drop 29533.patch (FFmpeg pix_fmts), it is upstream, and refresh 0001-Dont-use-isystem.patch. Follow the opencv4 -> opencv5 install path rename in FILES and do_install, fix the java package path, drop the explicit C++17 from the dnn PACKAGECONFIG as it is now the default, and build the bundled HarfBuzz subset since the system HarfBuzz is only used when it has hb-raster, which oe-core does not enable by default; its MIT license is added to LICENSE. Add an upstream version check that skips the pre-release tags. Library package names follow the new module names (e.g. libopencv-calib3d -> libopencv-calib/-geometry/-stereo, libopencv-features2d -> libopencv-features). Drop the ffmpeg RAW workaround patch: 5.x only uses AVFMT_RAWPICTURE and CODEC_FLAG_GLOBAL_HEADER behind ffmpeg version checks. Move the Upstream-Status of 0003-To-fix-errors-as-following.patch into the header and mark it Inappropriate; it is only needed together with 0001-Make-ts-module-external.patch, which upstream declined. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../opencv/opencv/0001-Dont-use-isystem.patch | 8 +- ...-around-deprecated-ffmpeg-RAW-functi.patch | 33 --- .../0003-To-fix-errors-as-following.patch | 3 +- .../recipes-support/opencv/opencv/29533.patch | 242 ------------------ .../{opencv_4.14.0.bb => opencv_5.1.0.bb} | 49 ++-- 5 files changed, 31 insertions(+), 304 deletions(-) delete mode 100644 meta-oe/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch delete mode 100644 meta-oe/recipes-support/opencv/opencv/29533.patch rename meta-oe/recipes-support/opencv/{opencv_4.14.0.bb => opencv_5.1.0.bb} (88%) diff --git a/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch b/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch index 948a80fafa..97181fff46 100644 --- a/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch +++ b/meta-oe/recipes-support/opencv/opencv/0001-Dont-use-isystem.patch @@ -14,12 +14,12 @@ Signed-off-by: Khem Raj 1 file changed, 2 insertions(+) diff --git a/cmake/OpenCVPCHSupport.cmake b/cmake/OpenCVPCHSupport.cmake -index 08cd06def4..46c9c02da3 100644 +index f7fb55c367..0fa86dcba5 100644 --- a/cmake/OpenCVPCHSupport.cmake +++ b/cmake/OpenCVPCHSupport.cmake -@@ -18,6 +18,8 @@ IF(CV_GCC) - SET(PCHSupport_FOUND TRUE) - ENDIF() +@@ -16,6 +16,8 @@ IF(CV_GCC) + + SET(PCHSupport_FOUND TRUE) + SET(CMAKE_INCLUDE_SYSTEM_FLAG_C "-I") + SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-I") diff --git a/meta-oe/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch b/meta-oe/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch deleted file mode 100644 index a3bbefaabe..0000000000 --- a/meta-oe/recipes-support/opencv/opencv/0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch +++ /dev/null @@ -1,33 +0,0 @@ -From e4ec6cea72da9e9ae5ba57140fa2f5c63f1f8295 Mon Sep 17 00:00:00 2001 -From: Jason Wessel -Date: Wed, 9 May 2018 13:33:59 -0700 -Subject: [PATCH] Temporarliy work around deprecated ffmpeg RAW function - compile failure until next uprev - -Signed-off-by: Jason Wessel - ---- -Upstream-Status: Pending - - modules/videoio/src/cap_ffmpeg_impl.hpp | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/modules/videoio/src/cap_ffmpeg_impl.hpp b/modules/videoio/src/cap_ffmpeg_impl.hpp -index 6dca724a89..ae55dd4555 100644 ---- a/modules/videoio/src/cap_ffmpeg_impl.hpp -+++ b/modules/videoio/src/cap_ffmpeg_impl.hpp -@@ -774,6 +774,14 @@ struct ImplMutex::Impl - - #endif - -+/* NOTE This is deprecated in ffmpeg and the code should be removed */ -+#ifndef AVFMT_RAWPICTURE -+#define AVFMT_RAWPICTURE 0x0020 -+#endif /* AVFMT_RAWPICTURE */ -+#ifndef CODEC_FLAG_GLOBAL_HEADER -+#define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER -+#endif -+ - void ImplMutex::init() - { - impl = new Impl(); diff --git a/meta-oe/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch b/meta-oe/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch index 9df419d0b8..41f0401150 100644 --- a/meta-oe/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch +++ b/meta-oe/recipes-support/opencv/opencv/0003-To-fix-errors-as-following.patch @@ -14,9 +14,8 @@ ts module. Signed-off-by: Ismo Puustinen +Upstream-Status: Inappropriate [only needed with 0001-Make-ts-module-external.patch, which upstream declined] --- -Upstream-Status: Pending - modules/ts/include/opencv2/ts.hpp | 4 ++-- modules/ts/include/opencv2/ts/ocl_test.hpp | 2 +- modules/ts/include/opencv2/ts/ts_ext.hpp | 2 +- diff --git a/meta-oe/recipes-support/opencv/opencv/29533.patch b/meta-oe/recipes-support/opencv/opencv/29533.patch deleted file mode 100644 index 0dcbff932e..0000000000 --- a/meta-oe/recipes-support/opencv/opencv/29533.patch +++ /dev/null @@ -1,242 +0,0 @@ -From 700cd32ffd59ed3c6f6aec1919867653d8b125ea Mon Sep 17 00:00:00 2001 -From: Aadhu23 -Date: Thu, 16 Jul 2026 09:21:37 +0000 -Subject: [PATCH 1/3] videoio: support FFmpeg after AVCodec::pix_fmts removal - -Upstream-Status: Backport [https://github.com/opencv/opencv/pull/29533] -Signed-off-by: Khem Raj ---- - modules/videoio/src/cap_ffmpeg_hw.hpp | 25 +++++++++++++++++++++++++ - 1 file changed, 25 insertions(+) - -diff --git a/modules/videoio/src/cap_ffmpeg_hw.hpp b/modules/videoio/src/cap_ffmpeg_hw.hpp -index 65045a2bc79e..bb5e4c108819 100644 ---- a/modules/videoio/src/cap_ffmpeg_hw.hpp -+++ b/modules/videoio/src/cap_ffmpeg_hw.hpp -@@ -757,6 +757,30 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor - #endif - if (hw_type == AV_HWDEVICE_TYPE_CUDA) // CUDA encoders don't support avcodec_get_hw_config() - hw_native_fmt = AV_PIX_FMT_CUDA; -+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 13, 100) -+ if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE) { -+ const AVPixelFormat *pix_fmts = NULL; -+ int num_pix_fmts = 0; -+ -+ int ret = avcodec_get_supported_config( -+ NULL, -+ c, -+ AV_CODEC_CONFIG_PIX_FORMAT, -+ 0, -+ (const void **)&pix_fmts, -+ &num_pix_fmts); -+ -+ if (ret >= 0 && pix_fmts && num_pix_fmts > 0) { -+ for (int i = 0; i < num_pix_fmts; i++) { -+ if (pix_fmts[i] == hw_native_fmt) { -+ *hw_pix_fmt = hw_native_fmt; -+ if (hw_check_codec(c, hw_type, disabled_codecs)) -+ return c; -+ } -+ } -+ } -+ } -+#else - if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE && c->pix_fmts) { - for (int i = 0; c->pix_fmts[i] != AV_PIX_FMT_NONE; i++) { - if (c->pix_fmts[i] == hw_native_fmt) { -@@ -766,6 +790,7 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor - } - } - } -+#endif - for (int i = 0;; i++) { - const AVCodecHWConfig *hw_config = avcodec_get_hw_config(c, i); - if (!hw_config) - -From 83ed22ca2800267050a4a9a94afab605c990c0e0 Mon Sep 17 00:00:00 2001 -From: Arnesh Banerjee -Date: Tue, 4 Aug 2026 19:49:11 +0530 -Subject: [PATCH 2/3] videoio(ffmpeg): use avcodec_get_supported_config for - framerates on FFmpeg 9 - -AVCodec::supported_framerates was deprecated in FFmpeg 7.1 and removed in -FFmpeg 9, so direct field access no longer builds against FFmpeg 9. - -Read the supported frame rate list through avcodec_get_supported_config() -when building against libavcodec 61.13.100 or newer. That call returns the -same list plus its entry count, so the loop iterates by count instead of the -old sentinel terminator. Older FFmpeg keeps the previous field access. -Upstream-Status: Backport [https://github.com/opencv/opencv/pull/29533] -Signed-off-by: Khem Raj ---- - modules/videoio/src/cap_ffmpeg_impl.hpp | 34 +++++++++++++++++++++++++ - 1 file changed, 34 insertions(+) - -diff --git a/modules/videoio/src/cap_ffmpeg_impl.hpp b/modules/videoio/src/cap_ffmpeg_impl.hpp -index a7fb1eda9a54..d5b950392c94 100644 ---- a/modules/videoio/src/cap_ffmpeg_impl.hpp -+++ b/modules/videoio/src/cap_ffmpeg_impl.hpp -@@ -2627,6 +2627,39 @@ static AVCodecContext * icv_configure_video_stream_FFMPEG(AVFormatContext *oc, - c->time_base.den = frame_rate; - c->time_base.num = frame_rate_base; - /* adjust time base for supported framerates */ -+ // AVCodec::supported_framerates was deprecated in FFmpeg 7.1 and removed in -+ // FFmpeg 9. avcodec_get_supported_config() returns the same list together -+ // with its entry count, so use it when available. -+#if LIBAVCODEC_BUILD >= CALC_FFMPEG_VERSION(61, 13, 100) -+ const AVRational *supported_framerates = NULL; -+ int num_supported_framerates = 0; -+ if (codec) -+ avcodec_get_supported_config(NULL, codec, AV_CODEC_CONFIG_FRAME_RATE, 0, -+ (const void **)&supported_framerates, &num_supported_framerates); -+ if (supported_framerates && num_supported_framerates > 0){ -+ AVRational req = {frame_rate, frame_rate_base}; -+ const AVRational *best=NULL; -+ AVRational best_error= {INT_MAX, 1}; -+ for(int i = 0; i < num_supported_framerates; i++){ -+ const AVRational *p = &supported_framerates[i]; -+ AVRational error= av_sub_q(req, *p); -+ if(error.num <0) error.num *= -1; -+ if(av_cmp_q(error, best_error) < 0){ -+ best_error= error; -+ best= p; -+ } -+ } -+ if (best == NULL) -+ { -+#ifdef CV_FFMPEG_CODECPAR -+ avcodec_free_context(&c); -+#endif -+ return NULL; -+ } -+ c->time_base.den= best->num; -+ c->time_base.num= best->den; -+ } -+#else - if(codec && codec->supported_framerates){ - const AVRational *p= codec->supported_framerates; - AVRational req = {frame_rate, frame_rate_base}; -@@ -2650,6 +2683,7 @@ static AVCodecContext * icv_configure_video_stream_FFMPEG(AVFormatContext *oc, - c->time_base.den= best->num; - c->time_base.num= best->den; - } -+#endif - - c->gop_size = 12; /* emit one intra frame every twelve frames at most */ - c->pix_fmt = pixel_format; - -From c0166c617d765ac707dde6b9acd8cfcd49751049 Mon Sep 17 00:00:00 2001 -From: Alexander Smorkalov -Date: Tue, 11 Aug 2026 13:01:55 +0300 -Subject: [PATCH 3/3] Code review fixes. - -Upstream-Status: Backport [https://github.com/opencv/opencv/pull/29533] -Signed-off-by: Khem Raj ---- - modules/videoio/src/cap_ffmpeg_hw.hpp | 16 ++++---- - modules/videoio/src/cap_ffmpeg_impl.hpp | 51 ++++++++++++------------- - 2 files changed, 33 insertions(+), 34 deletions(-) - -diff --git a/modules/videoio/src/cap_ffmpeg_hw.hpp b/modules/videoio/src/cap_ffmpeg_hw.hpp -index bb5e4c108819..6c456881122a 100644 ---- a/modules/videoio/src/cap_ffmpeg_hw.hpp -+++ b/modules/videoio/src/cap_ffmpeg_hw.hpp -@@ -757,7 +757,7 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor - #endif - if (hw_type == AV_HWDEVICE_TYPE_CUDA) // CUDA encoders don't support avcodec_get_hw_config() - hw_native_fmt = AV_PIX_FMT_CUDA; --#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 13, 100) -+#if LIBAVCODEC_BUILD >= AV_VERSION_INT(61, 13, 100) - if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE) { - const AVPixelFormat *pix_fmts = NULL; - int num_pix_fmts = 0; -@@ -770,15 +770,15 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor - (const void **)&pix_fmts, - &num_pix_fmts); - -- if (ret >= 0 && pix_fmts && num_pix_fmts > 0) { -- for (int i = 0; i < num_pix_fmts; i++) { -- if (pix_fmts[i] == hw_native_fmt) { -- *hw_pix_fmt = hw_native_fmt; -- if (hw_check_codec(c, hw_type, disabled_codecs)) -- return c; -+ if (ret >= 0 && pix_fmts && num_pix_fmts > 0) { -+ for (int i = 0; i < num_pix_fmts; i++) { -+ if (pix_fmts[i] == hw_native_fmt) { -+ *hw_pix_fmt = hw_native_fmt; -+ if (hw_check_codec(c, hw_type, disabled_codecs)) -+ return c; -+ } - } - } -- } - } - #else - if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE && c->pix_fmts) { -diff --git a/modules/videoio/src/cap_ffmpeg_impl.hpp b/modules/videoio/src/cap_ffmpeg_impl.hpp -index d5b950392c94..fc4479e07c5f 100644 ---- a/modules/videoio/src/cap_ffmpeg_impl.hpp -+++ b/modules/videoio/src/cap_ffmpeg_impl.hpp -@@ -2627,37 +2627,36 @@ static AVCodecContext * icv_configure_video_stream_FFMPEG(AVFormatContext *oc, - c->time_base.den = frame_rate; - c->time_base.num = frame_rate_base; - /* adjust time base for supported framerates */ -- // AVCodec::supported_framerates was deprecated in FFmpeg 7.1 and removed in -- // FFmpeg 9. avcodec_get_supported_config() returns the same list together -- // with its entry count, so use it when available. - #if LIBAVCODEC_BUILD >= CALC_FFMPEG_VERSION(61, 13, 100) -- const AVRational *supported_framerates = NULL; -- int num_supported_framerates = 0; -- if (codec) -- avcodec_get_supported_config(NULL, codec, AV_CODEC_CONFIG_FRAME_RATE, 0, -- (const void **)&supported_framerates, &num_supported_framerates); -- if (supported_framerates && num_supported_framerates > 0){ -- AVRational req = {frame_rate, frame_rate_base}; -- const AVRational *best=NULL; -- AVRational best_error= {INT_MAX, 1}; -- for(int i = 0; i < num_supported_framerates; i++){ -- const AVRational *p = &supported_framerates[i]; -- AVRational error= av_sub_q(req, *p); -- if(error.num <0) error.num *= -1; -- if(av_cmp_q(error, best_error) < 0){ -- best_error= error; -- best= p; -+ if (codec){ -+ const AVRational *supported_framerates = NULL; -+ int num_supported_framerates = 0; -+ int ret = avcodec_get_supported_config(NULL, codec, AV_CODEC_CONFIG_FRAME_RATE, 0, -+ (const void **)&supported_framerates, &num_supported_framerates); -+ -+ if (ret >= 0 && supported_framerates && num_supported_framerates > 0){ -+ AVRational req = {frame_rate, frame_rate_base}; -+ const AVRational *best=NULL; -+ AVRational best_error= {INT_MAX, 1}; -+ for(int i = 0; i < num_supported_framerates; i++){ -+ const AVRational *p = &supported_framerates[i]; -+ AVRational error = av_sub_q(req, *p); -+ if(error.num <0) error.num *= -1; -+ if(av_cmp_q(error, best_error) < 0){ -+ best_error = error; -+ best = p; -+ } - } -- } -- if (best == NULL) -- { -+ if (best == NULL) -+ { - #ifdef CV_FFMPEG_CODECPAR -- avcodec_free_context(&c); -+ avcodec_free_context(&c); - #endif -- return NULL; -+ return NULL; -+ } -+ c->time_base.den = best->num; -+ c->time_base.num = best->den; - } -- c->time_base.den= best->num; -- c->time_base.num= best->den; - } - #else - if(codec && codec->supported_framerates){ diff --git a/meta-oe/recipes-support/opencv/opencv_4.14.0.bb b/meta-oe/recipes-support/opencv/opencv_5.1.0.bb similarity index 88% rename from meta-oe/recipes-support/opencv/opencv_4.14.0.bb rename to meta-oe/recipes-support/opencv/opencv_5.1.0.bb index 7cc487c0ce..d2b7a2651c 100644 --- a/meta-oe/recipes-support/opencv/opencv_4.14.0.bb +++ b/meta-oe/recipes-support/opencv/opencv_5.1.0.bb @@ -2,42 +2,44 @@ SUMMARY = "Opencv : The Open Computer Vision Library" HOMEPAGE = "http://opencv.org/" SECTION = "libs" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" +# MIT for the bundled HarfBuzz (BUILD_HARFBUZZ) +LICENSE = "Apache-2.0 AND MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ + file://3rdparty/harfbuzz/COPYING;md5=b98429b8e8e3c2a67cfef01e99e4893d" ARM_INSTRUCTION_SET:armv4 = "arm" ARM_INSTRUCTION_SET:armv5 = "arm" DEPENDS = "libtool swig-native bzip2 zlib glib-2.0 libwebp" -SRCREV_opencv = "0654a42e19215ef25b1d367d822f3c630447e7c7" -SRCREV_contrib = "a8e9acd62cabd30419dba83007f2ac0d07de5e2c" +SRCREV_opencv = "e4f78fbcf1a773fbed69e14500e8b734963eb585" +SRCREV_contrib = "b67a855188a3d683813731010f6d39ac614733a4" SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26" SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d" SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12" SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252" SRCREV_fastcv = "9e8d42b6d7e769548d70b2e5674e263b056de8b4" # kleidicv must match version of OpenCV -SRCREV_kleidicv = "b1dbf474b8685b97a64d03e828b359fbdc050d1f" +SRCREV_kleidicv = "cacea38588eb35de69075a0a1a876b82bfcd88dd" -SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg_fastcv_kleidicv" -SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${PV} \ - git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${PV} \ +SRCREV_FORMAT = "opencv_contrib_boostdesc_vgg_face_wechat-qrcode_fastcv_kleidicv" +SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=5.x;protocol=https;tag=${PV} \ + git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=5.x;protocol=https;tag=${PV} \ git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/boostdesc;name=boostdesc;protocol=https \ git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/vgg;name=vgg;protocol=https \ git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/face;name=face;protocol=https \ git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/wechat_qrcode;name=wechat-qrcode;protocol=https \ git://github.com/opencv/opencv_3rdparty.git;branch=fastcv/4.x_20250715;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/fastcv;name=fastcv;protocol=https \ file://0003-To-fix-errors-as-following.patch \ - file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ file://0001-Dont-use-isystem.patch \ file://download.patch \ file://0001-Make-ts-module-external.patch \ file://0008-Do-not-embed-build-directory-in-binaries.patch \ - file://29533.patch \ " +UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$" + SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib" -SRC_URI:append:aarch64 = " git://gitlab.arm.com/kleidi/kleidicv;branch=main;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/3rdparty/kleidicv;name=kleidicv;protocol=https" +SRC_URI:append:aarch64 = " git://gitlab.arm.com/kleidi/kleidicv;branch=main;tag=26.09;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/3rdparty/kleidicv;name=kleidicv;protocol=https" # OpenCV wants to download more files during configure. We download these in @@ -78,6 +80,7 @@ EXTRA_OECMAKE = "-DOPENCV_EXTRA_MODULES_PATH=${S}/contrib/modules \ -DOPENCV_GENERATE_PKGCONFIG=ON \ -DOPENCV_DOWNLOAD_PATH=${OPENCV_DLDIR} \ -DOPENCV_ALLOW_DOWNLOADS=OFF \ + -DBUILD_HARFBUZZ=ON \ ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DCPU_DISPATCH=SSE,SSE2,SSE3,SSSE3", "", d)} \ ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.1", "-DCPU_DISPATCH=SSE,SSE2,SSE3,SSSE3,SSE41", "", d)} \ ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.2", "-DCPU_DISPATCH=SSE,SSE2,SSE3,SSSE3,SSE41,SSE42", "", d)} \ @@ -103,7 +106,7 @@ PACKAGECONFIG:remove:libc-musl:riscv32 = "tbb" PACKAGECONFIG[gapi] = "-DWITH_ADE=ON -Dade_DIR=${STAGING_LIBDIR},-DWITH_ADE=OFF,ade" PACKAGECONFIG[amdblas] = "-DWITH_OPENCLAMDBLAS=ON,-DWITH_OPENCLAMDBLAS=OFF,libclamdblas," PACKAGECONFIG[amdfft] = "-DWITH_OPENCLAMDFFT=ON,-DWITH_OPENCLAMDFFT=OFF,libclamdfft," -PACKAGECONFIG[dnn] = "-DBUILD_opencv_dnn=ON -DPROTOBUF_UPDATE_FILES=ON -DBUILD_PROTOBUF=OFF -DCMAKE_CXX_STANDARD=17,-DBUILD_opencv_dnn=OFF,protobuf protobuf-native," +PACKAGECONFIG[dnn] = "-DBUILD_opencv_dnn=ON -DPROTOBUF_UPDATE_FILES=ON -DBUILD_PROTOBUF=OFF,-DBUILD_opencv_dnn=OFF,protobuf protobuf-native," PACKAGECONFIG[eigen] = "-DWITH_EIGEN=ON,-DWITH_EIGEN=OFF,libeigen gflags glog," PACKAGECONFIG[freetype] = "-DBUILD_opencv_freetype=ON,-DBUILD_opencv_freetype=OFF,freetype," PACKAGECONFIG[gphoto2] = "-DWITH_GPHOTO2=ON,-DWITH_GPHOTO2=OFF,libgphoto2," @@ -178,12 +181,12 @@ python populate_packages:prepend () { PACKAGES_DYNAMIC += "^libopencv-.*" FILES:${PN} = "" -FILES:${PN}-dbg += "${datadir}/OpenCV/java/.debug/* ${datadir}/OpenCV/samples/bin/.debug/*" -FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig ${libdir}/cmake/opencv4/*.cmake" -FILES:${PN}-staticdev += "${libdir}/opencv4/3rdparty/*.a" -FILES:${PN}-apps = "${bindir}/* ${datadir}/opencv4 ${datadir}/licenses" -FILES:${PN}-java = "${datadir}/OpenCV/java" -FILES:${PN}-samples = "${datadir}/opencv4/samples/" +FILES:${PN}-dbg += "${datadir}/java/opencv5/.debug/* ${datadir}/OpenCV/samples/bin/.debug/*" +FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig ${libdir}/cmake/opencv5/*.cmake" +FILES:${PN}-staticdev += "${libdir}/opencv5/3rdparty/*.a" +FILES:${PN}-apps = "${bindir}/* ${datadir}/opencv5 ${datadir}/licenses" +FILES:${PN}-java = "${datadir}/java/opencv5" +FILES:${PN}-samples = "${datadir}/opencv5/samples/" INSANE_SKIP:${PN}-java = "libdir" INSANE_SKIP:${PN}-dbg = "libdir" @@ -209,9 +212,9 @@ do_install:append() { mv ${D}/usr/lib/* ${D}/${libdir}/ rm -rf ${D}/usr/lib fi - # remove setup_vars_opencv4.sh as its content is confusing and useless - if [ -f ${D}${bindir}/setup_vars_opencv4.sh ]; then - rm -rf ${D}${bindir}/setup_vars_opencv4.sh + # remove setup_vars_opencv5.sh as its content is confusing and useless + if [ -f ${D}${bindir}/setup_vars_opencv5.sh ]; then + rm -rf ${D}${bindir}/setup_vars_opencv5.sh fi find ${B}/modules -name "*.cpp" | xargs -r grep -l "${S}" | while read -r fn; do @@ -227,9 +230,9 @@ do_install:append() { do_install:append:class-target() { # remove build host path to improve reproducibility - if [ -f ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake ]; then + if [ -f ${D}${libdir}/cmake/opencv5/OpenCVModules.cmake ]; then sed -e 's@${STAGING_DIR_HOST}@@g' \ - -i ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake + -i ${D}${libdir}/cmake/opencv5/OpenCVModules.cmake fi } From patchwork Fri Nov 27 04:15:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105926 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.10304.1795752925026312103 for ; Thu, 26 Nov 2026 20:15:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=btIr6gjr; spf=pass (domain: gmail.com, ip: 74.125.82.177, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f177.google.com with SMTP id 5a478bee46e88-3869f03af6aso6754456eec.1 for ; Thu, 26 Nov 2026 20:15:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795752924; x=1796357724; 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:content-type; bh=oubUU/T3TM/RlwGtiObFYPWjfZ65nPa3/d4dKUeisN4=; b=btIr6gjrGiK38HGyjQFdqIYrmpFYvnrfxJdW/ubO2o3NNVACrfDkv07jU3uYs0mLuH LVGkHmlsNKqH1wbTjfHFB9OH1u5ZyRH37wb9wDuMNqvAw+/y1FbaKY9/kMV4ySORDl1t Ft88XKvQ/bXh1yvIS8igIlOOgWkxj7QnwViewxwgAib1J198bqz9pTWAJSEnCWonA2wc E0ekQqFd3W3Y+YDmrdESY0S9U0uiPXpL4R1OrPaKyNv3xXXq//WYUdZqPfd07JxnOTbN Wb8ZYKNQJ2+ExVyneCY5a0u7mtw0zRE9yYSZcYlE/NGRqnPXGQpvrOWC6S7gL5372E91 Ha6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795752924; x=1796357724; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=oubUU/T3TM/RlwGtiObFYPWjfZ65nPa3/d4dKUeisN4=; b=pBRpSjYbRNHrzfqFbq4EGCJAkpEe7bJgOchAjj7Hp4SU3fBuoIThzWExlM+0PQXoHS bbF2Rvdi3FcinfY0/nhz4/KBvOUqeGD4lq+KxkhRgCPiWi+Ksem4nETFB4+k/BKQJjWC fKX6u0iE+KXXlAO/tkTDG/VGw3HPK48SlGlpF7zNiKr86zCLwgr1OLF0OS8ew1vOh5XO 5ceB1ghrGQeRfZt6U5UZu4lHPy6jBUexjBRQozRGWpmd1VQ8d4kfjcPoNaupAoCsNzc3 rpsQ8jGH9TrzoCwloKX7oN/9RzqcqRjq7ZeqLL+OaBMGqQ3wxmyDbbsSiEIhkoMtNRbc eGcg== X-Gm-Message-State: APuU4Z/vXAYFMRUzIgMfwr9qGCTV4GoGwjAenqwOJRMYyjDLR0SwibU1 I0ovuTU0Kyy2dEzISm3vMu60AlNUuJPF1jaxi+lzj/ShvnXE9daULnG6bRRb+UGC X-Gm-Gg: AZFdTZfB4IFT5nzmBs4McMFMaKwa8Ugq/kCapsjFw+WX6dnrtWhhCx1Yy5jqaEwGOCn Tk83s9Bs/m1rm5C0Ifp7wjt0nuI6U5G7KJesmU/o1F1KvirkD0UPwj1Cpt5XbnJr2j4JTzMxnhm m0C+PJ3hjnNS9jIwTDMw2AU0bbyxVQFKSDE1w53qnEfZikmTv95ze7yO9tlOHvbenmC7GKgh8a1 tFUilZhZGXeR9SHPg3GVigwFr1NDPAWLM4+uNWgT1gTX3EpmvJjSFx2DKqZsv3pysWjcEkRK8Em lm9Wp3NF42kDnfPohXiiGracpiayOC4VWZpM+RxMcEnH6D9SclkpwtTB0d+xvj15Iy1/k+S8Jnq gHj9L+vf1fsZ+UODlOtTjLreY4axV6kfs82ThMI7qfaqFCxMm458pzI+1Q8kzXW0f12lRSV97F8 EAjxQZ02WSZqZsC0cQ1XVJqyulDny8rMWTbBidGiOy4mxKAjs01RgO/8KOXIq4iYStzdQ+VEQ6X qu2J30uH+ZEFSXUGyxpIp8MbD0TFqI4ow4GsMCcFH+bJDOCZTHSzXvlSpGV8TCNEhFkJVvgti+O gvNi1FcuB7fOOeuFpwtpX2IRA4m6rRO+Ku3K0RZEFa4OnZt2ebHTt9GsN5kzwDslEs2D5rY9cy7 7InW/nZ48uFSkC7aShmU7hkNrPOafKfKXzQ9kTgO+bZ2c6qbqLz+5M6p6W43fyLLo4/hqBBvcs2 GwwoaqOZcYImwx2c0356Iri7gyjDK+I7hVqojqojagjqyHoBsly3busv2E59ydnhT1QCMN/pRHq 1nMAxWsslTf6UjZNM1zmAdAwlwrRRrecJlgJJxfkPqj9eQnhtHqbJcFrkf79dEXh6M9jwVSqdtG WEEV X-Received: by 2002:a05:7300:a9c:b0:386:c453:dfd8 with SMTP id 5a478bee46e88-386c453e1demr9539390eec.14.1795752923922; Thu, 26 Nov 2026 20:15:23 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e7fc3sm60340062eec.8.2026.11.26.20.15.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 20:15:23 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 2/8] opencv4: Add recipe Date: Thu, 26 Nov 2026 20:15:11 -0800 Message-ID: <20261127041517.1773986-3-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> References: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 04:15:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133212 OpenCV 4.x is still maintained upstream (4.14.0 is the latest 4.x release) and some consumers, e.g. meta-qcom gst-plugins-imsdk and the prebuilt camx libraries, still need the OpenCV 4 API/ABI after opencv moved to 5.x. The recipe is based on the opencv 4.14.0 recipe and installs side by side with opencv 5: headers, CMake files, data and opencv4.pc already use opencv4 names, and the library sonames differ (.414 vs .501). The runtime libraries stay in ${libdir}, while the unversioned link symlinks move to ${libdir}/opencv4, which opencv4.pc and the CMake files point at. Python/Java bindings, apps, samples and tests are not built, packages are named libopencv4-*, Debian renaming is disabled and only the PACKAGECONFIGs useful to library consumers are kept. The upstream check is limited to 4.x tags. Rewrite the source paths in the generated dispatch sources as opencv does (buildpaths QA warnings in opencv4-src). The patches are carried over from opencv with a Signed-off-by added, except the ffmpeg RAW workaround, which 4.14 no longer needs (it guards AVFMT_RAWPICTURE and CODEC_FLAG_GLOBAL_HEADER by ffmpeg version); 0003-To-fix-errors-as-following.patch is marked Inappropriate as it only matters with the declined ts-external patch, and 29533.patch points at the merged upstream commit. Set CVE_PRODUCT so CVE checks still match opencv, and list all SRCREV names in SRCREV_FORMAT. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../opencv4/0001-Dont-use-isystem.patch | 28 ++ .../0001-Make-ts-module-external.patch | 43 ++++ .../0001-Use-Os-to-compile-tinyxml2.cpp.patch | 31 +++ .../0003-To-fix-errors-as-following.patch | 72 ++++++ ...ot-embed-build-directory-in-binaries.patch | 139 ++++++++++ .../opencv/opencv4/29533.patch | 242 ++++++++++++++++++ .../opencv/opencv4/download.patch | 41 +++ .../recipes-support/opencv/opencv4_4.14.0.bb | 212 +++++++++++++++ 8 files changed, 808 insertions(+) create mode 100644 meta-oe/recipes-support/opencv/opencv4/0001-Dont-use-isystem.patch create mode 100644 meta-oe/recipes-support/opencv/opencv4/0001-Make-ts-module-external.patch create mode 100644 meta-oe/recipes-support/opencv/opencv4/0001-Use-Os-to-compile-tinyxml2.cpp.patch create mode 100644 meta-oe/recipes-support/opencv/opencv4/0003-To-fix-errors-as-following.patch create mode 100644 meta-oe/recipes-support/opencv/opencv4/0008-Do-not-embed-build-directory-in-binaries.patch create mode 100644 meta-oe/recipes-support/opencv/opencv4/29533.patch create mode 100644 meta-oe/recipes-support/opencv/opencv4/download.patch create mode 100644 meta-oe/recipes-support/opencv/opencv4_4.14.0.bb diff --git a/meta-oe/recipes-support/opencv/opencv4/0001-Dont-use-isystem.patch b/meta-oe/recipes-support/opencv/opencv4/0001-Dont-use-isystem.patch new file mode 100644 index 0000000000..948a80fafa --- /dev/null +++ b/meta-oe/recipes-support/opencv/opencv4/0001-Dont-use-isystem.patch @@ -0,0 +1,28 @@ +From 66e50ee69fa9ee2469d349100e70d8b296c4b4dc Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 11 Sep 2018 00:21:18 -0700 +Subject: [PATCH] Dont use isystem + +clang really does not like it + +Upstream-Status: Pending + +Signed-off-by: Khem Raj + +--- + cmake/OpenCVPCHSupport.cmake | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/cmake/OpenCVPCHSupport.cmake b/cmake/OpenCVPCHSupport.cmake +index 08cd06def4..46c9c02da3 100644 +--- a/cmake/OpenCVPCHSupport.cmake ++++ b/cmake/OpenCVPCHSupport.cmake +@@ -18,6 +18,8 @@ IF(CV_GCC) + SET(PCHSupport_FOUND TRUE) + ENDIF() + ++ SET(CMAKE_INCLUDE_SYSTEM_FLAG_C "-I") ++ SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-I") + SET(_PCH_include_prefix "-I") + SET(_PCH_isystem_prefix "-isystem") + SET(_PCH_define_prefix "-D") diff --git a/meta-oe/recipes-support/opencv/opencv4/0001-Make-ts-module-external.patch b/meta-oe/recipes-support/opencv/opencv4/0001-Make-ts-module-external.patch new file mode 100644 index 0000000000..1c33a7cbdf --- /dev/null +++ b/meta-oe/recipes-support/opencv/opencv4/0001-Make-ts-module-external.patch @@ -0,0 +1,43 @@ +From 11bbf909e08594628bd757d989ae34cf1bfe200b Mon Sep 17 00:00:00 2001 +From: Mingli Yu +Date: Thu, 18 Jun 2020 05:51:38 +0000 +Subject: [PATCH] Make ts module external + +Make ts module external + +Reference: https://github.com/qbonnard/opencv/commit/6b229c5834cb9a0930425e762a6c7b03244d7abb + +Upstream-Status: Denied [https://github.com/opencv/opencv/issues/8408] + +Signed-off-by: Mingli Yu +Signed-off-by: Khem Raj +--- + modules/ts/CMakeLists.txt | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/modules/ts/CMakeLists.txt b/modules/ts/CMakeLists.txt +index f95bed0793..66f315bcca 100644 +--- a/modules/ts/CMakeLists.txt ++++ b/modules/ts/CMakeLists.txt +@@ -4,9 +4,6 @@ if(NOT BUILD_opencv_ts AND NOT BUILD_TESTS AND NOT BUILD_PERF_TESTS) + ocv_module_disable(ts) + endif() + +-set(OPENCV_MODULE_TYPE STATIC) +-set(OPENCV_MODULE_IS_PART_OF_WORLD FALSE) +- + if(WINRT) + # WINRT doesn't have access to environment variables + # so adding corresponding macros during CMake run +@@ -16,7 +13,7 @@ endif() + + ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef) + +-ocv_add_module(ts INTERNAL opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highgui) ++ocv_add_module(ts opencv_core opencv_imgproc opencv_imgcodecs opencv_videoio opencv_highgui) + + ocv_glob_module_sources() + ocv_module_include_directories() +-- +2.24.1 + diff --git a/meta-oe/recipes-support/opencv/opencv4/0001-Use-Os-to-compile-tinyxml2.cpp.patch b/meta-oe/recipes-support/opencv/opencv4/0001-Use-Os-to-compile-tinyxml2.cpp.patch new file mode 100644 index 0000000000..c5a64387f5 --- /dev/null +++ b/meta-oe/recipes-support/opencv/opencv4/0001-Use-Os-to-compile-tinyxml2.cpp.patch @@ -0,0 +1,31 @@ +From 59fafe6e39759e193b5764b36b4c5a93da352123 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 18 Aug 2020 00:36:49 -0700 +Subject: [PATCH] Use -Os to compile tinyxml2.cpp + +This workarounds issue [1] seen on riscv with gcc + +[1] https://github.com/riscv/riscv-gnu-toolchain/issues/624 + +Upstream-Status: Inappropriate [ OE-Specific ] +Signed-off-by: Khem Raj +--- + modules/datasets/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules/datasets/CMakeLists.txt b/modules/datasets/CMakeLists.txt +index 56ca9e310..99b7a33f6 100644 +--- a/modules/datasets/CMakeLists.txt ++++ b/modules/datasets/CMakeLists.txt +@@ -2,7 +2,7 @@ set(the_description "datasets framework") + + set(filter_srcs "${CMAKE_CURRENT_LIST_DIR}/src/tinyxml2/tinyxml2.cpp") + if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") +- ocv_append_source_files_cxx_compiler_options(filter_srcs "-Wno-suggest-override") # GCC ++ ocv_append_source_files_cxx_compiler_options(filter_srcs "-Wno-suggest-override -Os") # GCC + elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + ocv_append_source_files_cxx_compiler_options(filter_srcs "-Wno-inconsistent-missing-override") # Clang + endif() +-- +2.28.0 + diff --git a/meta-oe/recipes-support/opencv/opencv4/0003-To-fix-errors-as-following.patch b/meta-oe/recipes-support/opencv/opencv4/0003-To-fix-errors-as-following.patch new file mode 100644 index 0000000000..3bf5e91105 --- /dev/null +++ b/meta-oe/recipes-support/opencv/opencv4/0003-To-fix-errors-as-following.patch @@ -0,0 +1,72 @@ +From f42c9b8c7bafcadc7e95fb25a391707f970eb426 Mon Sep 17 00:00:00 2001 +From: Huang Qiyu +Date: Fri, 19 May 2017 04:27:50 +0900 +Subject: [PATCH] To fix errors as following: + +"test_main.cpp:45: undefined reference to `parseCustomOptions(int, char**)'" +"perf_abs.cpp:13: undefined reference to `cvtest::param_seed'" +"test_superres.cpp:270: undefined reference to `checkIppStatus()'" + +Signed-off-by: Huang Qiyu + +Also add the visibility changes for certain OpenCL-related functions in +ts module. + +Signed-off-by: Ismo Puustinen + +Upstream-Status: Inappropriate [only needed with 0001-Make-ts-module-external.patch, which upstream declined] +Signed-off-by: Khem Raj +--- + modules/ts/include/opencv2/ts.hpp | 4 ++-- + modules/ts/include/opencv2/ts/ocl_test.hpp | 2 +- + modules/ts/include/opencv2/ts/ts_ext.hpp | 2 +- + 3 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/modules/ts/include/opencv2/ts.hpp b/modules/ts/include/opencv2/ts.hpp +index ed7491a89a..80919d13ee 100644 +--- a/modules/ts/include/opencv2/ts.hpp ++++ b/modules/ts/include/opencv2/ts.hpp +@@ -728,7 +728,7 @@ protected: + } + }; + +-extern uint64 param_seed; ++CV_EXPORTS extern uint64 param_seed; + + struct DefaultRngAuto + { +@@ -791,7 +791,7 @@ private: + #endif + #endif + +-void parseCustomOptions(int argc, char **argv); ++CV_EXPORTS void parseCustomOptions(int argc, char **argv); + + #define CV_TEST_INIT0_NOOP (void)0 + +diff --git a/modules/ts/include/opencv2/ts/ocl_test.hpp b/modules/ts/include/opencv2/ts/ocl_test.hpp +index 11572e9f48..438112e2aa 100644 +--- a/modules/ts/include/opencv2/ts/ocl_test.hpp ++++ b/modules/ts/include/opencv2/ts/ocl_test.hpp +@@ -82,7 +82,7 @@ inline UMat ToUMat(InputArray src) + return dst; + } + +-extern int test_loop_times; ++CV_EXPORTS extern int test_loop_times; + + #define MAX_VALUE 357 + +diff --git a/modules/ts/include/opencv2/ts/ts_ext.hpp b/modules/ts/include/opencv2/ts/ts_ext.hpp +index b2a4cac241..b94c681c0c 100644 +--- a/modules/ts/include/opencv2/ts/ts_ext.hpp ++++ b/modules/ts/include/opencv2/ts/ts_ext.hpp +@@ -9,7 +9,7 @@ + #define OPENCV_TS_EXT_HPP + + namespace cvtest { +-void checkIppStatus(); ++CV_EXPORTS void checkIppStatus(); + extern bool skipUnstableTests; + extern bool runBigDataTests; + extern int testThreads; diff --git a/meta-oe/recipes-support/opencv/opencv4/0008-Do-not-embed-build-directory-in-binaries.patch b/meta-oe/recipes-support/opencv/opencv4/0008-Do-not-embed-build-directory-in-binaries.patch new file mode 100644 index 0000000000..d7890bb8f3 --- /dev/null +++ b/meta-oe/recipes-support/opencv/opencv4/0008-Do-not-embed-build-directory-in-binaries.patch @@ -0,0 +1,139 @@ +From: Victor Westerhuis +Date: Sat, 19 Nov 2022 21:45:39 +0100 +Subject: Do not embed build directory in binaries + +This makes the opencv core module build reproducibly. + +https://salsa.debian.org/science-team/opencv/-/raw/master/debian/patches/0008-Do-not-embed-build-directory-in-binaries.patch +Upstream-Status: Inappropriate [Debian reproducibility patch, drops build-tree data lookup; not upstream] +Signed-off-by: Chee Yang Lee +Signed-off-by: Khem Raj +--- + modules/core/CMakeLists.txt | 10 ------ + modules/core/include/opencv2/core/private.hpp | 4 +-- + modules/core/include/opencv2/core/utility.hpp | 4 +-- + modules/core/src/utils/datafile.cpp | 48 +-------------------------- + 4 files changed, 5 insertions(+), 61 deletions(-) + +diff --git a/modules/core/CMakeLists.txt b/modules/core/CMakeLists.txt +index b78bb98..d96b669 100644 +--- a/modules/core/CMakeLists.txt ++++ b/modules/core/CMakeLists.txt +@@ -188,16 +188,6 @@ if(OPENCV_OTHER_INSTALL_PATH) + ") + endif() + +-set(OPENCV_DATA_CONFIG_STR "${OPENCV_DATA_CONFIG_STR} +-#define OPENCV_BUILD_DIR \"${CMAKE_BINARY_DIR}\" +-") +- +-file(RELATIVE_PATH SOURCE_DIR_RELATIVE ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}) +-set(OPENCV_DATA_CONFIG_STR "${OPENCV_DATA_CONFIG_STR} +-#define OPENCV_DATA_BUILD_DIR_SEARCH_PATHS \\ +- \"${SOURCE_DIR_RELATIVE}/\" +-") +- + if(WIN32) + file(RELATIVE_PATH INSTALL_DATA_DIR_RELATIVE "${CMAKE_INSTALL_PREFIX}/${OPENCV_BIN_INSTALL_PATH}" "${CMAKE_INSTALL_PREFIX}/${OPENCV_OTHER_INSTALL_PATH}") + else() +diff --git a/modules/core/include/opencv2/core/private.hpp b/modules/core/include/opencv2/core/private.hpp +index 146d37f..dd675bc 100644 +--- a/modules/core/include/opencv2/core/private.hpp ++++ b/modules/core/include/opencv2/core/private.hpp +@@ -818,10 +818,10 @@ Search directories: + 2. Check path specified by configuration parameter with "_HINT" suffix (name of environment variable). + 3. Check path specified by configuration parameter (name of environment variable). + If parameter value is not empty and nothing is found then stop searching. +-4. Detects build/install path based on: ++4. Detects install path based on: + a. current working directory (CWD) + b. and/or binary module location (opencv_core/opencv_world, doesn't work with static linkage) +-5. Scan `/{,data}` directories if build directory is detected or the current directory is in source tree. ++5. Scan `/{,data}` directories if the current directory is in source tree. + 6. Scan `/share/OpenCV` directory if install directory is detected. + + @param relative_path Relative path to data file +diff --git a/modules/core/include/opencv2/core/utility.hpp b/modules/core/include/opencv2/core/utility.hpp +index 108c0d9..f15d9ea 100644 +--- a/modules/core/include/opencv2/core/utility.hpp ++++ b/modules/core/include/opencv2/core/utility.hpp +@@ -1163,10 +1163,10 @@ Search directories: + 2. OPENCV_SAMPLES_DATA_PATH_HINT environment variable + 3. OPENCV_SAMPLES_DATA_PATH environment variable + If parameter value is not empty and nothing is found then stop searching. +-4. Detects build/install path based on: ++4. Detects install path based on: + a. current working directory (CWD) + b. and/or binary module location (opencv_core/opencv_world, doesn't work with static linkage) +-5. Scan `/{,data,samples/data}` directories if build directory is detected or the current directory is in source tree. ++5. Scan `/{,data,samples/data}` directories if the current directory is in source tree. + 6. Scan `/share/OpenCV` directory if install directory is detected. + + @see cv::utils::findDataFile +diff --git a/modules/core/src/utils/datafile.cpp b/modules/core/src/utils/datafile.cpp +index 3af83a5..6bda857 100644 +--- a/modules/core/src/utils/datafile.cpp ++++ b/modules/core/src/utils/datafile.cpp +@@ -280,32 +280,8 @@ cv::String findDataFile(const cv::String& relative_path, + + + // Steps: 4, 5, 6 +- cv::String cwd = utils::fs::getcwd(); +- cv::String build_dir(OPENCV_BUILD_DIR); +- bool has_tested_build_directory = false; +- if (isSubDirectory(build_dir, cwd) || isSubDirectory(utils::fs::canonical(build_dir), utils::fs::canonical(cwd))) +- { +- CV_LOG_DEBUG(NULL, "utils::findDataFile(): the current directory is build sub-directory: " << cwd); +- const char* build_subdirs[] = { OPENCV_DATA_BUILD_DIR_SEARCH_PATHS }; +- for (size_t k = 0; k < sizeof(build_subdirs)/sizeof(build_subdirs[0]); k++) +- { +- CV_LOG_DEBUG(NULL, "utils::findDataFile(): /" << build_subdirs[k]); +- cv::String datapath = utils::fs::join(build_dir, build_subdirs[k]); +- if (utils::fs::isDirectory(datapath)) +- { +- for(size_t i = search_subdir.size(); i > 0; i--) +- { +- const cv::String& subdir = search_subdir[i - 1]; +- cv::String prefix = utils::fs::join(datapath, subdir); +- TRY_FILE_WITH_PREFIX(prefix); +- } +- } +- } +- has_tested_build_directory = true; +- } +- + cv::String source_dir; +- cv::String try_source_dir = cwd; ++ cv::String try_source_dir = utils::fs::getcwd(); + for (int levels = 0; levels < 3; ++levels) + { + if (utils::fs::exists(utils::fs::join(try_source_dir, "modules/core/include/opencv2/core/version.hpp"))) +@@ -341,28 +317,6 @@ cv::String findDataFile(const cv::String& relative_path, + CV_LOG_INFO(NULL, "Can't detect module binaries location"); + } + +- if (!has_tested_build_directory && +- (isSubDirectory(build_dir, module_path) || isSubDirectory(utils::fs::canonical(build_dir), utils::fs::canonical(module_path))) +- ) +- { +- CV_LOG_DEBUG(NULL, "utils::findDataFile(): the binary module directory is build sub-directory: " << module_path); +- const char* build_subdirs[] = { OPENCV_DATA_BUILD_DIR_SEARCH_PATHS }; +- for (size_t k = 0; k < sizeof(build_subdirs)/sizeof(build_subdirs[0]); k++) +- { +- CV_LOG_DEBUG(NULL, "utils::findDataFile(): /" << build_subdirs[k]); +- cv::String datapath = utils::fs::join(build_dir, build_subdirs[k]); +- if (utils::fs::isDirectory(datapath)) +- { +- for(size_t i = search_subdir.size(); i > 0; i--) +- { +- const cv::String& subdir = search_subdir[i - 1]; +- cv::String prefix = utils::fs::join(datapath, subdir); +- TRY_FILE_WITH_PREFIX(prefix); +- } +- } +- } +- } +- + #if defined OPENCV_INSTALL_DATA_DIR_RELATIVE + if (!module_path.empty()) // require module path + { diff --git a/meta-oe/recipes-support/opencv/opencv4/29533.patch b/meta-oe/recipes-support/opencv/opencv4/29533.patch new file mode 100644 index 0000000000..2c9800e032 --- /dev/null +++ b/meta-oe/recipes-support/opencv/opencv4/29533.patch @@ -0,0 +1,242 @@ +From 700cd32ffd59ed3c6f6aec1919867653d8b125ea Mon Sep 17 00:00:00 2001 +From: Aadhu23 +Date: Thu, 16 Jul 2026 09:21:37 +0000 +Subject: [PATCH 1/3] videoio: support FFmpeg after AVCodec::pix_fmts removal + +Upstream-Status: Backport [https://github.com/opencv/opencv/commit/f347805418235374f54064f36fc8c248bd599e86] +Signed-off-by: Khem Raj +--- + modules/videoio/src/cap_ffmpeg_hw.hpp | 25 +++++++++++++++++++++++++ + 1 file changed, 25 insertions(+) + +diff --git a/modules/videoio/src/cap_ffmpeg_hw.hpp b/modules/videoio/src/cap_ffmpeg_hw.hpp +index 65045a2bc79e..bb5e4c108819 100644 +--- a/modules/videoio/src/cap_ffmpeg_hw.hpp ++++ b/modules/videoio/src/cap_ffmpeg_hw.hpp +@@ -757,6 +757,30 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor + #endif + if (hw_type == AV_HWDEVICE_TYPE_CUDA) // CUDA encoders don't support avcodec_get_hw_config() + hw_native_fmt = AV_PIX_FMT_CUDA; ++#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 13, 100) ++ if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE) { ++ const AVPixelFormat *pix_fmts = NULL; ++ int num_pix_fmts = 0; ++ ++ int ret = avcodec_get_supported_config( ++ NULL, ++ c, ++ AV_CODEC_CONFIG_PIX_FORMAT, ++ 0, ++ (const void **)&pix_fmts, ++ &num_pix_fmts); ++ ++ if (ret >= 0 && pix_fmts && num_pix_fmts > 0) { ++ for (int i = 0; i < num_pix_fmts; i++) { ++ if (pix_fmts[i] == hw_native_fmt) { ++ *hw_pix_fmt = hw_native_fmt; ++ if (hw_check_codec(c, hw_type, disabled_codecs)) ++ return c; ++ } ++ } ++ } ++ } ++#else + if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE && c->pix_fmts) { + for (int i = 0; c->pix_fmts[i] != AV_PIX_FMT_NONE; i++) { + if (c->pix_fmts[i] == hw_native_fmt) { +@@ -766,6 +790,7 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor + } + } + } ++#endif + for (int i = 0;; i++) { + const AVCodecHWConfig *hw_config = avcodec_get_hw_config(c, i); + if (!hw_config) + +From 83ed22ca2800267050a4a9a94afab605c990c0e0 Mon Sep 17 00:00:00 2001 +From: Arnesh Banerjee +Date: Tue, 4 Aug 2026 19:49:11 +0530 +Subject: [PATCH 2/3] videoio(ffmpeg): use avcodec_get_supported_config for + framerates on FFmpeg 9 + +AVCodec::supported_framerates was deprecated in FFmpeg 7.1 and removed in +FFmpeg 9, so direct field access no longer builds against FFmpeg 9. + +Read the supported frame rate list through avcodec_get_supported_config() +when building against libavcodec 61.13.100 or newer. That call returns the +same list plus its entry count, so the loop iterates by count instead of the +old sentinel terminator. Older FFmpeg keeps the previous field access. +Upstream-Status: Backport [https://github.com/opencv/opencv/commit/f347805418235374f54064f36fc8c248bd599e86] +Signed-off-by: Khem Raj +--- + modules/videoio/src/cap_ffmpeg_impl.hpp | 34 +++++++++++++++++++++++++ + 1 file changed, 34 insertions(+) + +diff --git a/modules/videoio/src/cap_ffmpeg_impl.hpp b/modules/videoio/src/cap_ffmpeg_impl.hpp +index a7fb1eda9a54..d5b950392c94 100644 +--- a/modules/videoio/src/cap_ffmpeg_impl.hpp ++++ b/modules/videoio/src/cap_ffmpeg_impl.hpp +@@ -2627,6 +2627,39 @@ static AVCodecContext * icv_configure_video_stream_FFMPEG(AVFormatContext *oc, + c->time_base.den = frame_rate; + c->time_base.num = frame_rate_base; + /* adjust time base for supported framerates */ ++ // AVCodec::supported_framerates was deprecated in FFmpeg 7.1 and removed in ++ // FFmpeg 9. avcodec_get_supported_config() returns the same list together ++ // with its entry count, so use it when available. ++#if LIBAVCODEC_BUILD >= CALC_FFMPEG_VERSION(61, 13, 100) ++ const AVRational *supported_framerates = NULL; ++ int num_supported_framerates = 0; ++ if (codec) ++ avcodec_get_supported_config(NULL, codec, AV_CODEC_CONFIG_FRAME_RATE, 0, ++ (const void **)&supported_framerates, &num_supported_framerates); ++ if (supported_framerates && num_supported_framerates > 0){ ++ AVRational req = {frame_rate, frame_rate_base}; ++ const AVRational *best=NULL; ++ AVRational best_error= {INT_MAX, 1}; ++ for(int i = 0; i < num_supported_framerates; i++){ ++ const AVRational *p = &supported_framerates[i]; ++ AVRational error= av_sub_q(req, *p); ++ if(error.num <0) error.num *= -1; ++ if(av_cmp_q(error, best_error) < 0){ ++ best_error= error; ++ best= p; ++ } ++ } ++ if (best == NULL) ++ { ++#ifdef CV_FFMPEG_CODECPAR ++ avcodec_free_context(&c); ++#endif ++ return NULL; ++ } ++ c->time_base.den= best->num; ++ c->time_base.num= best->den; ++ } ++#else + if(codec && codec->supported_framerates){ + const AVRational *p= codec->supported_framerates; + AVRational req = {frame_rate, frame_rate_base}; +@@ -2650,6 +2683,7 @@ static AVCodecContext * icv_configure_video_stream_FFMPEG(AVFormatContext *oc, + c->time_base.den= best->num; + c->time_base.num= best->den; + } ++#endif + + c->gop_size = 12; /* emit one intra frame every twelve frames at most */ + c->pix_fmt = pixel_format; + +From c0166c617d765ac707dde6b9acd8cfcd49751049 Mon Sep 17 00:00:00 2001 +From: Alexander Smorkalov +Date: Tue, 11 Aug 2026 13:01:55 +0300 +Subject: [PATCH 3/3] Code review fixes. + +Upstream-Status: Backport [https://github.com/opencv/opencv/commit/f347805418235374f54064f36fc8c248bd599e86] +Signed-off-by: Khem Raj +--- + modules/videoio/src/cap_ffmpeg_hw.hpp | 16 ++++---- + modules/videoio/src/cap_ffmpeg_impl.hpp | 51 ++++++++++++------------- + 2 files changed, 33 insertions(+), 34 deletions(-) + +diff --git a/modules/videoio/src/cap_ffmpeg_hw.hpp b/modules/videoio/src/cap_ffmpeg_hw.hpp +index bb5e4c108819..6c456881122a 100644 +--- a/modules/videoio/src/cap_ffmpeg_hw.hpp ++++ b/modules/videoio/src/cap_ffmpeg_hw.hpp +@@ -757,7 +757,7 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor + #endif + if (hw_type == AV_HWDEVICE_TYPE_CUDA) // CUDA encoders don't support avcodec_get_hw_config() + hw_native_fmt = AV_PIX_FMT_CUDA; +-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(61, 13, 100) ++#if LIBAVCODEC_BUILD >= AV_VERSION_INT(61, 13, 100) + if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE) { + const AVPixelFormat *pix_fmts = NULL; + int num_pix_fmts = 0; +@@ -770,15 +770,15 @@ AVCodec *hw_find_codec(AVCodecID id, AVHWDeviceType hw_type, int (*check_categor + (const void **)&pix_fmts, + &num_pix_fmts); + +- if (ret >= 0 && pix_fmts && num_pix_fmts > 0) { +- for (int i = 0; i < num_pix_fmts; i++) { +- if (pix_fmts[i] == hw_native_fmt) { +- *hw_pix_fmt = hw_native_fmt; +- if (hw_check_codec(c, hw_type, disabled_codecs)) +- return c; ++ if (ret >= 0 && pix_fmts && num_pix_fmts > 0) { ++ for (int i = 0; i < num_pix_fmts; i++) { ++ if (pix_fmts[i] == hw_native_fmt) { ++ *hw_pix_fmt = hw_native_fmt; ++ if (hw_check_codec(c, hw_type, disabled_codecs)) ++ return c; ++ } + } + } +- } + } + #else + if (av_codec_is_encoder(c) && hw_native_fmt != AV_PIX_FMT_NONE && c->pix_fmts) { +diff --git a/modules/videoio/src/cap_ffmpeg_impl.hpp b/modules/videoio/src/cap_ffmpeg_impl.hpp +index d5b950392c94..fc4479e07c5f 100644 +--- a/modules/videoio/src/cap_ffmpeg_impl.hpp ++++ b/modules/videoio/src/cap_ffmpeg_impl.hpp +@@ -2627,37 +2627,36 @@ static AVCodecContext * icv_configure_video_stream_FFMPEG(AVFormatContext *oc, + c->time_base.den = frame_rate; + c->time_base.num = frame_rate_base; + /* adjust time base for supported framerates */ +- // AVCodec::supported_framerates was deprecated in FFmpeg 7.1 and removed in +- // FFmpeg 9. avcodec_get_supported_config() returns the same list together +- // with its entry count, so use it when available. + #if LIBAVCODEC_BUILD >= CALC_FFMPEG_VERSION(61, 13, 100) +- const AVRational *supported_framerates = NULL; +- int num_supported_framerates = 0; +- if (codec) +- avcodec_get_supported_config(NULL, codec, AV_CODEC_CONFIG_FRAME_RATE, 0, +- (const void **)&supported_framerates, &num_supported_framerates); +- if (supported_framerates && num_supported_framerates > 0){ +- AVRational req = {frame_rate, frame_rate_base}; +- const AVRational *best=NULL; +- AVRational best_error= {INT_MAX, 1}; +- for(int i = 0; i < num_supported_framerates; i++){ +- const AVRational *p = &supported_framerates[i]; +- AVRational error= av_sub_q(req, *p); +- if(error.num <0) error.num *= -1; +- if(av_cmp_q(error, best_error) < 0){ +- best_error= error; +- best= p; ++ if (codec){ ++ const AVRational *supported_framerates = NULL; ++ int num_supported_framerates = 0; ++ int ret = avcodec_get_supported_config(NULL, codec, AV_CODEC_CONFIG_FRAME_RATE, 0, ++ (const void **)&supported_framerates, &num_supported_framerates); ++ ++ if (ret >= 0 && supported_framerates && num_supported_framerates > 0){ ++ AVRational req = {frame_rate, frame_rate_base}; ++ const AVRational *best=NULL; ++ AVRational best_error= {INT_MAX, 1}; ++ for(int i = 0; i < num_supported_framerates; i++){ ++ const AVRational *p = &supported_framerates[i]; ++ AVRational error = av_sub_q(req, *p); ++ if(error.num <0) error.num *= -1; ++ if(av_cmp_q(error, best_error) < 0){ ++ best_error = error; ++ best = p; ++ } + } +- } +- if (best == NULL) +- { ++ if (best == NULL) ++ { + #ifdef CV_FFMPEG_CODECPAR +- avcodec_free_context(&c); ++ avcodec_free_context(&c); + #endif +- return NULL; ++ return NULL; ++ } ++ c->time_base.den = best->num; ++ c->time_base.num = best->den; + } +- c->time_base.den= best->num; +- c->time_base.num= best->den; + } + #else + if(codec && codec->supported_framerates){ diff --git a/meta-oe/recipes-support/opencv/opencv4/download.patch b/meta-oe/recipes-support/opencv/opencv4/download.patch new file mode 100644 index 0000000000..28db3c96f7 --- /dev/null +++ b/meta-oe/recipes-support/opencv/opencv4/download.patch @@ -0,0 +1,41 @@ +From b18a280fab06a680d9f831bf8b462647f3cb6214 Mon Sep 17 00:00:00 2001 +From: Ross Burton +Date: Thu, 9 Jan 2020 16:24:24 +0000 +Subject: [PATCH] opencv: abort configure if we need to download + +This CMake module will download files during do_configure. This is bad as it +means we can't do offline builds. + +Add an option to disallow downloads by emitting a fatal error. + +Upstream-Status: Pending +Signed-off-by: Ross Burton +Signed-off-by: Khem Raj +--- + cmake/OpenCVDownload.cmake | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/cmake/OpenCVDownload.cmake b/cmake/OpenCVDownload.cmake +index 63cf6d3238..4acf477f70 100644 +--- a/cmake/OpenCVDownload.cmake ++++ b/cmake/OpenCVDownload.cmake +@@ -14,6 +14,7 @@ + # RELATIVE_URL - if set, then URL is treated as a base, and FILENAME will be appended to it + # Note: uses OPENCV_DOWNLOAD_PATH folder as cache, default is /.cache + ++set(OPENCV_ALLOW_DOWNLOADS ON CACHE BOOL "Allow downloads") + set(HELP_OPENCV_DOWNLOAD_PATH "Cache directory for downloaded files") + if(DEFINED ENV{OPENCV_DOWNLOAD_PATH}) + set(OPENCV_DOWNLOAD_PATH "$ENV{OPENCV_DOWNLOAD_PATH}" CACHE PATH "${HELP_OPENCV_DOWNLOAD_PATH}") +@@ -156,6 +157,11 @@ function(ocv_download) + + # Download + if(NOT EXISTS "${CACHE_CANDIDATE}") ++ if(NOT OPENCV_ALLOW_DOWNLOADS) ++ message(FATAL_ERROR "Not going to download ${DL_FILENAME}") ++ return() ++ endif() ++ + ocv_download_log("#cmake_download \"${CACHE_CANDIDATE}\" \"${DL_URL}\"") + foreach(try ${OPENCV_DOWNLOAD_TRIES_LIST}) + ocv_download_log("#try ${try}") diff --git a/meta-oe/recipes-support/opencv/opencv4_4.14.0.bb b/meta-oe/recipes-support/opencv/opencv4_4.14.0.bb new file mode 100644 index 0000000000..82c5279ab4 --- /dev/null +++ b/meta-oe/recipes-support/opencv/opencv4_4.14.0.bb @@ -0,0 +1,212 @@ +SUMMARY = "OpenCV 4 compatibility library" +DESCRIPTION = "OpenCV 4.x libraries for applications that do not support OpenCV 5 yet. \ +They install side by side with opencv: headers in ${includedir}/opencv4, link \ +libraries in ${libdir}/opencv4, CMake files in ${libdir}/cmake/opencv4 and \ +opencv4.pc. No bindings, apps or samples are built." +HOMEPAGE = "https://opencv.org/" +SECTION = "libs" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +CVE_PRODUCT = "opencv:opencv" + +ARM_INSTRUCTION_SET:armv4 = "arm" +ARM_INSTRUCTION_SET:armv5 = "arm" + +DEPENDS = "bzip2 zlib glib-2.0 libwebp" + +SRCREV_opencv = "0654a42e19215ef25b1d367d822f3c630447e7c7" +SRCREV_contrib = "a8e9acd62cabd30419dba83007f2ac0d07de5e2c" +SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26" +SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d" +SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12" +SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252" +SRCREV_fastcv = "9e8d42b6d7e769548d70b2e5674e263b056de8b4" +# kleidicv must match version of OpenCV +SRCREV_kleidicv = "b1dbf474b8685b97a64d03e828b359fbdc050d1f" + +SRCREV_FORMAT = "opencv_contrib_boostdesc_vgg_face_wechat-qrcode_fastcv_kleidicv" +SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https;tag=${PV} \ + git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https;tag=${PV} \ + git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/boostdesc;name=boostdesc;protocol=https \ + git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/vgg;name=vgg;protocol=https \ + git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/face;name=face;protocol=https \ + git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/wechat_qrcode;name=wechat-qrcode;protocol=https \ + git://github.com/opencv/opencv_3rdparty.git;branch=fastcv/4.x_20250715;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/fastcv;name=fastcv;protocol=https \ + file://0003-To-fix-errors-as-following.patch \ + file://0001-Dont-use-isystem.patch \ + file://download.patch \ + file://0001-Make-ts-module-external.patch \ + file://0008-Do-not-embed-build-directory-in-binaries.patch \ + file://29533.patch \ + " +SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib" +SRC_URI:append:aarch64 = " git://gitlab.arm.com/kleidi/kleidicv;branch=main;tag=26.03;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/3rdparty/kleidicv;name=kleidicv;protocol=https" + +UPSTREAM_CHECK_GITTAGREGEX = "^(?P4(\.\d+)+)$" + +# OpenCV wants to download more files during configure. We download these in +# do_fetch and construct a source cache in the format it expects +OPENCV_DLDIR = "${WORKDIR}/downloads" + +do_unpack_extra() { + + md5() { + # Return the MD5 of $1 + echo $(md5sum $1 | cut -d' ' -f1) + } + cache() { + TAG=$1 + shift + mkdir --parents ${OPENCV_DLDIR}/$TAG + for F in $*; do + DEST=${OPENCV_DLDIR}/$TAG/$(md5 $F)-$(basename $F) + test -e $DEST || ln -s $F $DEST + done + } + cache xfeatures2d/boostdesc ${S}/boostdesc/*.i + cache xfeatures2d/vgg ${S}/vgg/*.i + cache data ${S}/face/*.dat + cache wechat_qrcode ${S}/wechat_qrcode/*.caffemodel + cache wechat_qrcode ${S}/wechat_qrcode/*.prototxt + cache fastcv ${S}/fastcv/fastcv/*.tgz +} +addtask unpack_extra after do_unpack before do_patch + +OPENCV4_RELLIBDIR = "${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')}" + +# Link libraries go to ${libdir}/opencv4, CMake files keep their versioned directory +EXTRA_OECMAKE = "-DOPENCV_EXTRA_MODULES_PATH=${S}/contrib/modules \ + -DOPENCV_LIB_INSTALL_PATH=${OPENCV4_RELLIBDIR}/opencv4 \ + -DOPENCV_3P_LIB_INSTALL_PATH=${OPENCV4_RELLIBDIR}/opencv4/3rdparty \ + -DOPENCV_CONFIG_INSTALL_PATH=${OPENCV4_RELLIBDIR}/cmake/opencv4 \ + -DWITH_1394=OFF \ + -DENABLE_PRECOMPILED_HEADERS=OFF \ + -DCMAKE_SKIP_RPATH=ON \ + -DWITH_IPP=OFF \ + -DOPENCV_GENERATE_PKGCONFIG=ON \ + -DOPENCV_DOWNLOAD_PATH=${OPENCV_DLDIR} \ + -DOPENCV_ALLOW_DOWNLOADS=OFF \ + -DBUILD_opencv_apps=OFF \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_TESTS=OFF \ + -DBUILD_PERF_TESTS=OFF \ + -DBUILD_JAVA=OFF \ + -DBUILD_opencv_python2=OFF \ + -DBUILD_opencv_python3=OFF \ + -DBUILD_opencv_freetype=OFF \ + -DBUILD_opencv_text=OFF \ + -DWITH_ADE=OFF \ + -DWITH_GTK=OFF \ + -DWITH_GPHOTO2=OFF \ + -DWITH_JASPER=OFF \ + ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DCPU_DISPATCH=SSE,SSE2,SSE3,SSSE3", "", d)} \ + ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.1", "-DCPU_DISPATCH=SSE,SSE2,SSE3,SSSE3,SSE41", "", d)} \ + ${@bb.utils.contains("TARGET_CC_ARCH", "-msse4.2", "-DCPU_DISPATCH=SSE,SSE2,SSE3,SSSE3,SSE41,SSE42", "", d)} \ +" + +LDFLAGS:append:mips = " -Wl,--no-as-needed -latomic -Wl,--as-needed" +LDFLAGS:append:riscv32 = " -Wl,--no-as-needed -latomic -Wl,--as-needed" + +EXTRA_OECMAKE:append:x86 = " -DX86=ON" +EXTRA_OECMAKE:append:aarch64 = " -DKLEIDICV_SOURCE_PATH=${S}/3rdparty/kleidicv" + +PACKAGECONFIG ??= "eigen jpeg png tiff v4l libv4l tbb" +PACKAGECONFIG:append:class-target = " gstreamer \ + ${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}" + +# TBB does not build for powerpc so disable that package config +PACKAGECONFIG:remove:powerpc = "tbb" +# tbb now needs getcontect/setcontext which is not there for all arches on musl +PACKAGECONFIG:remove:libc-musl:riscv64 = "tbb" +PACKAGECONFIG:remove:libc-musl:riscv32 = "tbb" + +PACKAGECONFIG[dnn] = "-DBUILD_opencv_dnn=ON -DPROTOBUF_UPDATE_FILES=ON -DBUILD_PROTOBUF=OFF -DCMAKE_CXX_STANDARD=17,-DBUILD_opencv_dnn=OFF,protobuf protobuf-native," +PACKAGECONFIG[eigen] = "-DWITH_EIGEN=ON,-DWITH_EIGEN=OFF,libeigen gflags glog," +PACKAGECONFIG[fastcv] = "-DWITH_FASTCV=ON,-DWITH_FASTCV=OFF," +PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER=ON,-DWITH_GSTREAMER=OFF,gstreamer1.0 gstreamer1.0-plugins-base," +PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON,-DWITH_JPEG=OFF,jpeg," +PACKAGECONFIG[libav] = "-DWITH_FFMPEG=ON,-DWITH_FFMPEG=OFF,ffmpeg," +PACKAGECONFIG[libv4l] = "-DWITH_LIBV4L=ON,-DWITH_LIBV4L=OFF,v4l-utils," +PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-headers virtual/libopencl1," +PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng," +PACKAGECONFIG[tbb] = "-DWITH_TBB=ON,-DWITH_TBB=OFF,tbb," +PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff," +PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," + +inherit pkgconfig cmake python3native + +TARGET_CC_ARCH += "-I${S}/include " + +do_compile:prepend() { + # remove the build host info to improve reproducibility + if [ -f ${WORKDIR}/build/modules/core/version_string.inc ]; then + sed -i "s#${WORKDIR}#/workdir#g" ${WORKDIR}/build/modules/core/version_string.inc + fi +} + +do_install:append() { + # Runtime libraries go to ${libdir} for the loader; the link symlinks stay in opencv4/ + for lib in ${D}${libdir}/opencv4/libopencv_*.so.${PV}; do + name=$(basename $lib) + base=${name%.so.${PV}} + mv $lib ${D}${libdir}/ + for so in ${D}${libdir}/opencv4/$base.so.*; do + mv $so ${D}${libdir}/ + ln -sf ../$(basename $so) $so + done + ln -sf ../$name $lib + done + + install -d ${D}${libdir}/pkgconfig + mv ${D}${libdir}/opencv4/pkgconfig/opencv4.pc ${D}${libdir}/pkgconfig/ + rmdir ${D}${libdir}/opencv4/pkgconfig + + rm -f ${D}${bindir}/setup_vars_opencv4.sh + [ ! -d ${D}${bindir} ] || rmdir --ignore-fail-on-non-empty ${D}${bindir} + + # Generated dispatch sources include the originals by absolute path + find ${B}/modules -name "*.cpp" | xargs -r grep -l "${S}" | while read -r fn; do + sed -i -e 's,${S},/usr/src/debug/${PN}/${PV},g' "$fn" + done +} + +do_install:append:class-target() { + # remove build host path to improve reproducibility + if [ -f ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake ]; then + sed -e 's@${STAGING_DIR_HOST}@@g' \ + -i ${D}${libdir}/cmake/opencv4/OpenCVModules.cmake + fi +} + +python populate_packages:prepend () { + cv_libdir = d.expand('${libdir}') + do_split_packages(d, cv_libdir, r'^libopencv_(.*)\.so\..*', 'libopencv4-%s', 'OpenCV 4 %s library', extra_depends='', allow_links=True) + + pn = d.getVar('PN') + d.setVar('ALLOW_EMPTY:' + pn, "1") + metapkg_rdepends = [] + for pkg in d.getVar('PACKAGES').split(): + if pkg.startswith('libopencv4-') or pkg == pn + '-data': + metapkg_rdepends.append(pkg) + d.setVar('RDEPENDS:' + pn, ' '.join(metapkg_rdepends)) + + if bb.utils.contains('PACKAGECONFIG', 'fastcv', True, False, d): + for pkg in ["libopencv4-core", "libopencv4-fastcv", "libopencv4-imgproc"]: + d.appendVar('RRECOMMENDS:' + pkg, " qcom-fastcv-binaries") +} + +PACKAGES =+ "${PN}-data" +PACKAGES_DYNAMIC += "^libopencv4-.*" + +FILES:${PN} = "" +FILES:${PN}-data = "${datadir}/opencv4 ${datadir}/licenses/opencv4" +FILES:${PN}-staticdev += "${libdir}/opencv4/3rdparty/*.a" +FILES:${PN}-dev += " \ + ${libdir}/opencv4 \ + ${libdir}/cmake/opencv4 \ +" + +# Keep the package names apart from those of opencv +AUTO_LIBNAME_PKGS = "" From patchwork Fri Nov 27 04:15:12 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105920 Received: from mail-dy1-f176.google.com (mail-dy1-f176.google.com [74.125.82.176]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.10305.1795752926176496528 for ; Thu, 26 Nov 2026 20:15:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=SgoXDRCW; spf=pass (domain: gmail.com, ip: 74.125.82.176, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f176.google.com with SMTP id 5a478bee46e88-380c28f9e35so8568542eec.1 for ; Thu, 26 Nov 2026 20:15:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795752925; x=1796357725; 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:content-type; bh=eQHFFY6MBhyJC1R19SBQ0vHfJHo3kSNXQ0CWHyrAoC0=; b=SgoXDRCWc3uyUMuAqiBg4tCVNyYyaOJBT750Raa6QKZjsVDJOHhgRa09uJ1wNZ8GK7 L0Bj6GcoUhpq9tzGvMs+7Yk/hGzUc+AnsAT5gv5vEX7sIShEzPa8x0bsxt8Py8geMaM1 vFU+2TAxngehVmNhThkYPkVQgAg4TzH+AI2x2G8/b9t1Elqa7Q5xHUjHtSxf05ekjFnt ZkRanCp5YdKO+Isu5yI+aV4DH7ZEcMaFvLlROiWvmZMWDWtC0f9cMJI4ordd7VZIYvht NrDOCawX0jHmJYYQHal/HZR/QhCGSMfW/nkFOKgMgKV6cTB+9chxIb9fJ0Iapsz+j5xy Q5rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795752925; x=1796357725; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=eQHFFY6MBhyJC1R19SBQ0vHfJHo3kSNXQ0CWHyrAoC0=; b=zdxBKX4DqHLp7dwwedco8BmvZEsJtfp5f4d8TLARJuvEe58zdOcdSBBHz3VyR9U3zu raViQmuINbVK7Eyild8nAba9ourPHBYHS0pi+ISDK0xju5fZGaWiiNB2ljLmo34qr/np O2y/L7OEj5Rs/Jn7pdiCPNYEJVlT72BeJdeVGgXl2AsrRCCs+WDp8pyYocFw/wr763ZT 6GLqkCFRzoaoTbe9uc1l6LZqa+7sF/v3cqxPX5j6ohJim2nbZjA0oqpiIcz19MQ+rCUb uz31rC8rBTDKJSilW3fZ2fiEi/2404BRoETaM92Mb+X6LhNDJBSXa5Z/7IRoatdF7Lnm Yfjg== X-Gm-Message-State: APuU4Z8Uz8gr+1aXVUDZ2jmYdbxgAfEdJm3m4wP3Z7nO2TdezzJLZfvX 6ezLf//7y+b+KiJOLXg16q+V9gDX4Twev0063CjxSAO5wToaz+QPkZSJ5LxbTplW X-Gm-Gg: AZFdTZcS7raUypc2paR+k4wr08b8Er26Wid7L6e/rUaNZpDjnT+YzonLOL7xSJbSNCG ZXn4HxDiefYn/28E+1GiNKC0qIXEG2SgJJZG56uQP4H+Nn/PMsnPy3wUFtYP9JlVWzzqA5KRmFZ d5Fg6D1N/GZVvCIfkWjV85wvHzvi/YofJxJH/7G+rCgxKDG2qL1N5zidGjZ6GHzVJF41XdteHCu d7gQFPsg/b+574rj5NIqyPnZdJgw7uWwc6gRVX4ByPaN4cxP4nARz55QYXeoyE2mBe+0ZBFl3HB WS6elEkzexLTvRQgREEeel1aG69oUSxU8q79PYhDHmXFGdaa5HZSd2GCM0wpJ9CFReq/UZLRR5W cR1Esr9CpQMTat7GXtEGe6lHW/Liqx0AB9U2aY54Xzd2QZLLKQGaa0bcQO+Hm+8/mFU10cRybzD jPv4MJGMxWajx3s6xdgLEHSmFnGlDUFaSCL28PdkUywfTOhSsUgP6BSmx7OXGWUt1qWmKOhhDrg VMPqRC9w6LLkX8kLUvE/7RSFTTxglYhnLJ0+y3AAWWrB3KXwsAi25pJnhzWH6S1R0EAyZJRalqU vLwUPJC+3+VhV6lLsqb9GMwMQsjWqzHqNidc1x6wbYua0qaT1rtbiT8Mi3dRNS2W+5oyeztVhhH bHerHPVZJurzUgen0tWvmdd8XX3Ql7p6bgWinshSh3OeVay9MI+8U8q1qFJsMIgUVrViOkpWY8r QYvnPWtcpL01v5QNzp6itrlecrqqk4fr8TtlxvH3vmVM7PHguN0OI2zdfUizAgkxNqBIqhPg690 Qh370PKea7WCvDwlcqFhqsnctxPG+aRrCVQAxseAbTwkGxgDd6pArOAgj++A2b/UzZIiLRjSGwE FWtpEteECuFOg2GwUBLWNH4ijA== X-Received: by 2002:a05:7300:d589:b0:386:9ff1:7f7d with SMTP id 5a478bee46e88-3869ff18213mr19784308eec.4.1795752925215; Thu, 26 Nov 2026 20:15:25 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e7fc3sm60340062eec.8.2026.11.26.20.15.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 20:15:24 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 3/8] suitesparse: upgrade 5.10.1 -> 7.14.1 Date: Thu, 26 Nov 2026 20:15:12 -0800 Message-ID: <20261127041517.1773986-4-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> References: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 04:15:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133213 - 6.0: CMake build system for all packages; Fortran is optional - 7.0: SuiteSparse_config struct hidden behind get/set methods; UMFPACK gained copy/serialize/deserialize - CHOLMOD 5: single precision and 32/64-bit integer variants; METIS is now internal to CHOLMOD (symbols renamed), libmetis is no longer installed; SLIP_LU is replaced by SPEX - new packages ParU, LAGraph; GraphBLAS 10.5.1 with a CPU JIT - headers install to include/suitesparse, CMake config and pkg-config files are provided; sonames are bumped The Makefile wrapper is gone, so build with the root CMakeLists.txt through the cmake class and drop all patches, which only touched the old Makefiles, bundled metis and the old CMake minimum. Disable the GraphBLAS JIT (it would build and run a host tool and compile kernels at run time), CUDA, Fortran, the demos and the SPEX Python helper library, and pin BLAS discovery to the generic vendor. Do not set the $ORIGIN install rpath and blank the compiler/flags strings GraphBLAS records in GB_config.h for the JIT, which would otherwise leak build paths. OpenMP becomes a PACKAGECONFIG. Default FILES cover the libraries now, so the explicit list (with the removed libmetis and libsliplu) is dropped, as is chrpath-native. Add an upstream version check. Build only the shared libraries and drop the recipe sysroot paths of BLAS/LAPACK/GMP/MPFR/OpenMP that SuiteSparse writes into its CMake and pkg-config files (buildpaths QA warnings). License-Update: SLIP_LU replaced by SPEX (LGPL-3.0-or-later OR GPL-2.0-or-later), new ParU (GPL-3.0-or-later) and LAGraph (BSD-2-Clause) sections, CHOLMOD headers now Apache-2.0, copyright years updated. LICENSE is re-derived from the per-package licenses (LGPL-2.0-only was wrong, the LGPL parts are LGPL-2.1-or-later and the GPL parts are -or-later except Mongoose, GPL-3.0-only). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...XXFLAGS-from-environment-in-Mongoose.patch | 45 ---------- ...serve-links-when-installing-libmetis.patch | 24 ------ ...-Add-version-information-to-libmetis.patch | 51 ----------- .../0004-Allow-build-with-CMake-4.patch | 86 ------------------- ...dd-install-rpath-to-shared-libraries.patch | 37 -------- .../suitesparse/makefile-quoting.patch | 32 ------- .../suitesparse/suitesparse_5.10.1.bb | 69 --------------- .../suitesparse/suitesparse_7.14.1.bb | 48 +++++++++++ 8 files changed, 48 insertions(+), 344 deletions(-) delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb create mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse_7.14.1.bb diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch deleted file mode 100644 index 47865de858..0000000000 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 83628b471a1a79dae50bb158fca9448b668dd3a6 Mon Sep 17 00:00:00 2001 -From: Gregory Anders -Date: Wed, 21 Oct 2020 10:43:16 -0600 -Subject: [PATCH] Preserve CXXFLAGS from environment in Mongoose - -This allows CXXFLAGS set in the environment to also be used in the CMake -build process, instead of overwriting them. This is useful in a cross -compile context where the CXXFLAGS variable might contain necessary -flags for cross compiling. ---- -Upstream-Status: Pending - - Mongoose/CMakeLists.txt | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/Mongoose/CMakeLists.txt b/Mongoose/CMakeLists.txt -index 7e134ab..91a7f70 100644 ---- a/Mongoose/CMakeLists.txt -+++ b/Mongoose/CMakeLists.txt -@@ -321,14 +321,14 @@ add_test(Unit_Test_EdgeSep ./tests/mongoose_unit_test_edgesep) - message(STATUS "CMAKE_CXX_COMPILER: " ${BoldBlue} ${CMAKE_CXX_COMPILER_ID} ${ColourReset}) - if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang") - # using Clang -- SET(CMAKE_CXX_FLAGS "-O3 -fwrapv") -+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -fwrapv") - # Debug flags for Clang - SET(CMAKE_CXX_FLAGS_DEBUG "--coverage -g -fwrapv") - SET(CMAKE_C_FLAGS_DEBUG "--coverage -g") - SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "--coverage -g") - elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") - # using GCC -- SET(CMAKE_CXX_FLAGS "-O3 -fwrapv") -+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -fwrapv") - # Debug flags for GCC - if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.6") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") -@@ -339,7 +339,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") - SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "-fprofile-arcs -ftest-coverage") - elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel") - # using Intel C++ -- SET(CMAKE_CXX_FLAGS "-O3 -no-prec-div -xHOST -ipo -fwrapv") -+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -no-prec-div -xHOST -ipo -fwrapv") - # Debug flags for Intel - SET(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -fwrapv") - SET(CMAKE_C_FLAGS_DEBUG "-g -O0 -Wall") diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch deleted file mode 100644 index d80c1a7362..0000000000 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 31175fb408a4f5e85e39a9aabd4a29f9d9c1fe25 Mon Sep 17 00:00:00 2001 -From: Gregory Anders -Date: Wed, 21 Oct 2020 15:26:52 -0600 -Subject: [PATCH] Preserve links when installing libmetis - ---- -Upstream-Status: Pending - - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 7631955..57fd022 100644 ---- a/Makefile -+++ b/Makefile -@@ -76,7 +76,7 @@ ifeq (,$(MY_METIS_LIB)) - @mkdir -p $(INSTALL_LIB) - @mkdir -p $(INSTALL_INCLUDE) - @mkdir -p $(INSTALL_DOC) -- - $(CP) lib/libmetis.* $(INSTALL_LIB) -+ - $(CP) -d lib/libmetis.* $(INSTALL_LIB) - - $(CP) metis-5.1.0/manual/manual.pdf $(INSTALL_DOC)/METIS_manual.pdf - - $(CP) metis-5.1.0/README.txt $(INSTALL_DOC)/METIS_README.txt - # the following is needed only on the Mac, so *.dylib is hardcoded: diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch deleted file mode 100644 index fc83897a05..0000000000 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 11ab355fdda93b762fcc07ac3f7c6ab1be0a5f5a Mon Sep 17 00:00:00 2001 -From: Gregory Anders -Date: Wed, 21 Oct 2020 15:27:07 -0600 -Subject: [PATCH] Add version information to libmetis - ---- -Upstream-Status: Pending - - metis-5.1.0/Makefile | 8 ++++---- - metis-5.1.0/libmetis/CMakeLists.txt | 1 + - 2 files changed, 5 insertions(+), 4 deletions(-) - -diff --git a/metis-5.1.0/Makefile b/metis-5.1.0/Makefile -index 9cc03b9..c445d85 100644 ---- a/metis-5.1.0/Makefile -+++ b/metis-5.1.0/Makefile -@@ -18,8 +18,11 @@ systype = $(shell uname -s) - - BUILDDIR = build/$(systype)-$(cputype) - -+VERNUM=5.1.0 -+PKGNAME=metis-$(VERNUM) -+ - # Process configuration options. --CONFIG_FLAGS = -+CONFIG_FLAGS = -DMETIS_VERSION=$(VERNUM) - ifeq ($(gklib_path), not-set) - gklib_path = GKlib - endif -@@ -52,9 +55,6 @@ ifneq ($(cc), not-set) - CONFIG_FLAGS += -DCMAKE_C_COMPILER=$(cc) - endif - --VERNUM=5.1.0 --PKGNAME=metis-$(VERNUM) -- - JOBS ?= 1 - - define run-config -diff --git a/metis-5.1.0/libmetis/CMakeLists.txt b/metis-5.1.0/libmetis/CMakeLists.txt -index 120e94d..11bde87 100644 ---- a/metis-5.1.0/libmetis/CMakeLists.txt -+++ b/metis-5.1.0/libmetis/CMakeLists.txt -@@ -4,6 +4,7 @@ include_directories(.) - file(GLOB metis_sources *.c) - # Build libmetis. - add_library(metis ${METIS_LIBRARY_TYPE} ${GKlib_sources} ${metis_sources}) -+set_target_properties(metis PROPERTIES VERSION ${METIS_VERSION}) - if(UNIX) - target_link_libraries(metis m) - endif() 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 deleted file mode 100644 index 5fc3f666c3..0000000000 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch +++ /dev/null @@ -1,86 +0,0 @@ -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/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 deleted file mode 100644 index a6105f73f8..0000000000 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch +++ /dev/null @@ -1,37 +0,0 @@ -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/makefile-quoting.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch deleted file mode 100644 index 6bd2ffbb55..0000000000 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch +++ /dev/null @@ -1,32 +0,0 @@ -OE's CC and CXX contain spaces and extra options which is incompatible with -cmake way of handling them. Remove passing the compiler options this way in -favour of our normal cmake toolchain files added elsewhere. - -Upstream-Status: Pending - -Index: git/Makefile -=================================================================== ---- git.orig/Makefile -+++ git/Makefile -@@ -282,7 +282,7 @@ metis: include/metis.h - # hardcoded below. - include/metis.h: - ifeq (,$(MY_METIS_LIB)) -- - ( cd metis-5.1.0 && $(MAKE) config shared=1 prefix=$(SUITESPARSE) cc=$(CC) ) -+ - ( cd metis-5.1.0 && $(MAKE) config shared=1 prefix=$(SUITESPARSE) ) - - ( cd metis-5.1.0 && $(MAKE) ) - - ( cd metis-5.1.0 && $(MAKE) install ) - - $(SO_INSTALL_NAME) $(SUITESPARSE)/lib/libmetis.dylib \ -Index: git/SuiteSparse_config/SuiteSparse_config.mk -=================================================================== ---- git.orig/SuiteSparse_config/SuiteSparse_config.mk -+++ git/SuiteSparse_config/SuiteSparse_config.mk -@@ -146,7 +146,7 @@ SUITESPARSE_VERSION = 5.10.1 - endif - endif - -- CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER=$(CXX) -DCMAKE_C_COMPILER=$(CC) -+ #CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER=$(CXX) -DCMAKE_C_COMPILER=$(CC) - - #--------------------------------------------------------------------------- - # CFLAGS for the C/C++ compiler diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb deleted file mode 100644 index a2fee6400c..0000000000 --- a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb +++ /dev/null @@ -1,69 +0,0 @@ -LICENSE = "Apache-2.0 AND BSD-3-Clause AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.0-only" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5fa987762101f748a6cdd951b64ffc6b" -SRC_URI = "git://github.com/DrTimothyAldenDavis/SuiteSparse;protocol=https;branch=stable \ - file://0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch \ - 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 \ - file://0005-Do-not-add-install-rpath-to-shared-libraries.patch \ - " -SRCREV = "538273cfd53720a10e34a3d80d3779b607e1ac26" - - -DEPENDS = "cmake-native lapack gmp mpfr chrpath-native" - -PROVIDES = "mongoose graphblas" -RPROVIDES:${PN} = "mongoose graphblas" - -inherit cmake - -B = "${S}" - -export CMAKE_OPTIONS = " \ - -DCMAKE_INSTALL_PREFIX=${D}${prefix} \ - -DCMAKE_INSTALL_LIBDIR=${baselib} \ -" - -OECMAKE_SOURCEPATH = "${S}/Mongoose ${S}/metis-5.1.0 ${S}/GraphBLAS" - -do_compile () { - oe_runmake library -} - -do_install () { - oe_runmake prefix=${D}${prefix} INSTALL=${D}${prefix} install - - # Remove runtime paths from shared libraries - for file in ${D}${libdir}/*.so.*; do - if [ ! -L "$file" ]; then - chrpath -d "$file" - fi - done -} - -FILES:${PN} += " \ - ${libdir}/libmongoose.so.* \ - ${libdir}/libgraphblas.so.* \ - ${libdir}/libmetis.so.* \ - ${libdir}/libsuitesparseconfig.so.* \ - ${libdir}/libamd.so.* \ - ${libdir}/libbtf.so.* \ - ${libdir}/libcamd.so.* \ - ${libdir}/libccolamd.so.* \ - ${libdir}/libcolamd.so.* \ - ${libdir}/libcholmod.so.* \ - ${libdir}/libcxsparse.so.* \ - ${libdir}/libldl.so.* \ - ${libdir}/libklu.so.* \ - ${libdir}/libumfpack.so.* \ - ${libdir}/librbio.so.* \ - ${libdir}/libspqr.so.* \ - ${libdir}/libsliplu.so.* \ - ${bindir}/mongoose \ -" - -FILES:${PN}-staticdev += "${libdir}/libmongoose.a" -FILES:${PN}-dev += "${includedir} ${libdir}/*.so" - -EXCLUDE_FROM_WORLD = "1" diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse_7.14.1.bb b/meta-oe/recipes-devtools/suitesparse/suitesparse_7.14.1.bb new file mode 100644 index 0000000000..334f5bbf04 --- /dev/null +++ b/meta-oe/recipes-devtools/suitesparse/suitesparse_7.14.1.bb @@ -0,0 +1,48 @@ +SUMMARY = "Suite of sparse matrix algorithms" +HOMEPAGE = "https://people.engr.tamu.edu/davis/suitesparse.html" +LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.1-or-later AND (LGPL-3.0-or-later OR GPL-2.0-or-later)" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9a78501f72366f5b3d08a496c9df9fee" + +SRC_URI = "git://github.com/DrTimothyAldenDavis/SuiteSparse;protocol=https;branch=stable;tag=v${PV}" +SRCREV = "e202a5bcef55f5a780c26830ebd6ff13af193baf" + +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" + +DEPENDS = "lapack gmp mpfr" + +PROVIDES = "mongoose graphblas" +RPROVIDES:${PN} = "mongoose graphblas" + +inherit cmake + +EXTRA_OECMAKE = " \ + -DBLA_VENDOR=Generic \ + -DBUILD_STATIC_LIBS=OFF \ + -DCMAKE_SKIP_INSTALL_RPATH=ON \ + -DGRAPHBLAS_USE_JIT=OFF \ + -DSUITESPARSE_DEMOS=OFF \ + -DSUITESPARSE_USE_CUDA=OFF \ + -DSUITESPARSE_USE_FORTRAN=OFF \ + -DSUITESPARSE_USE_PYTHON=OFF \ +" + +SUITESPARSE_OPENMP_DEPS = "" +SUITESPARSE_OPENMP_DEPS:toolchain-clang = "openmp" + +PACKAGECONFIG ??= "openmp" +PACKAGECONFIG[openmp] = "-DSUITESPARSE_USE_OPENMP=ON,-DSUITESPARSE_USE_OPENMP=OFF,${SUITESPARSE_OPENMP_DEPS}" + +do_configure:append() { + # GB_config.h embeds the compiler and flags for the JIT, which is disabled + sed -i -e '/^#define GB_\(C_COMPILER\|C_FLAGS\|C_LINK_FLAGS\|OMP_INC\|OMP_INC_DIRS\|C_LIBRARIES\|CMAKE_LIBRARIES\) /s/".*"/""/' \ + ${S}/GraphBLAS/Config/GB_config.h +} + +do_install:append() { + # Drop recipe sysroot paths of dependencies from the CMake and pkg-config files + sed -i -e 's#;${RECIPE_SYSROOT}${includedir}##g' -e 's#"${RECIPE_SYSROOT}${includedir};*#"#g' \ + ${D}${libdir}/cmake/*/*.cmake + sed -i -e 's#${RECIPE_SYSROOT}${libdir}/lib\([^/ ]*\)\.so#-l\1#g' ${D}${libdir}/pkgconfig/*.pc +} + +EXCLUDE_FROM_WORLD = "1" From patchwork Fri Nov 27 04:15:13 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105921 Received: from mail-dy1-f180.google.com (mail-dy1-f180.google.com [74.125.82.180]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.10231.1795752928325383762 for ; Thu, 26 Nov 2026 20:15:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=XORjgPPl; spf=pass (domain: gmail.com, ip: 74.125.82.180, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f180.google.com with SMTP id 5a478bee46e88-386c71feeeaso4123707eec.0 for ; Thu, 26 Nov 2026 20:15:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795752928; x=1796357728; 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:content-type; bh=Eh13kiA3DGI5mYO4I9OAEgYTzpdg+c7ODPkr/WIzuio=; b=XORjgPPlvlzJhgoyoYqVeEMWqjc+7I2bm23qq1GAyEiM/6eS+wkq1V9oEJIu7Mx5ZP jhtoNdkItlbNsIB9gpgjcYzv6QGy5LyulYGCp+vdP8PjCorYb21gqEW1B+DkGWcTE+96 DpBKA4yXb7xc9K1jfOyprf0rlU03dctxVR35Ie5vzbMoh6KhiBlT+i7jafcWLrQFMYUC zFYeeEyIkuw32zGIuHoEFoxyG3xqC+9AnjUafowjTNhIWeJT4O9Z0c9C9lZ8eNzJ4uX7 lSLqz5gcsI/TJt2pLNkGDOdzQ5DWWEc9xnoIoH51wJ7Z8R4wcop7tKCp22PhKZsfpLb5 Ak0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795752928; x=1796357728; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Eh13kiA3DGI5mYO4I9OAEgYTzpdg+c7ODPkr/WIzuio=; b=gxOiurqdLlSt9fMgg5wCTQdGNsCwTfDCUORBhmPqza3vIKRrh1yp+6svMrF+nbQWnb J0ZLBQu0jz18z2JZtM3qcy/h/e0wGyO3muK4zifYHaX8h22qEKCfUXc1MZYBIiF3Oliw lth1EyJI6WzHwaGyPMseN45LL463TOBsrkNivXv4SwE1pL4+WoyMA6mGk7GHNXqv310d gyTijmSLKAj+XmH8ooAl8crR+4Y3q1pEJxWCjxnvppfMO8eAGkADalLxXfA42qwaOuC8 uDqrTka5qeTJDXg4Sm/zC08HJCl2/laHO/SndwaMBeoiRoX7kIVDaWc1OPvavXYg8bTR 4CUw== X-Gm-Message-State: APuU4Z9m0yXbl3NwjbZyA6Wo3Bvmt1y5mYmjVu9jqRxL2LzFjt15dQ5I QOqiZxN6tyiMcQqxGVjIJU7pdX+zDAwkNWSjxaNNqs5xIkpIAid3miEoO9FJBeIX X-Gm-Gg: AZFdTZepgX+Wgg84+jUIHbSdOvTVeuEsJGL5C5uuxEILBj8RfrgugmuQ+xAHxq7Kzx/ 9smvZWW6avDvZdmi2Krt9bni6szHA64DL+oLQnDJ3GrroiXlQwg7H4o6QbGmnROX98Wg5GcLeO8 GNb+64w9BfcbAasVtNRNzLwBsVi2mU1ws6JLBGaAsc2DVa+6zBDHKfL10VlhaIEgN2MCsYWdVBU CJlfR8wwJnFUeiKAYmzCuNglBNlKu3OOrU98anoRwO95WmZbGF/w93tZpd16pSW0kjsRoINzIp8 y/4ZQp5KbgyRFCaTQ6B4EHLZiBQ/WvJTD1PijULxAhOp0yS0hOasSOIS+6arpy1Nr1OqHM87dOd EOL94oIKtigii9RuThnNUpGthzsNphP+VWozUH/iiAelntfnJ8Vlpvg9EJkWpIcPdCJybSfLiMa YTLb0OWt1Ph+noHtRUCD1VaXDcMu+ZW0n2bDiAYw5BGKlZITZotSe54a6Ld90ElMJV6JY2qYCml ZB3gb3CdiVzbbGPVp1g1MkC6cMRFo8QUno+XbiW3VJSR7dvk3gQ3iZ1Txz8upQoLLCXWGPSnnKz qfj4A4m8D4/iQtjaWTDWJT9+DjlMU1xOuBBbSej9bNW2D6EeToaLHr5LM2bFwprBcrLGFDpHexj VogC7kPkky44Cy15Cb3+WAMQJLcuuQ+zjxB+ppCIj/ZIFjjEZNmlYFaQm3W6EgJSqIga6uXRvz5 AaX+ZFdIBUvi/lbU9pTFr6x9vlXSO36BW9UNfoTNwKbZNBub7nucpHjsk/2LqbI6POasgEZC3X0 oKu7e6GmnLiZBRWxjeU3KPmP5TJ7YvfRMDwfSvhJJhXOCouDGJPGU8WImjwZhEu0ezhF4uI5ytq yn+gn3Hq1ybqjtMGHMcEnQ+AwA== X-Received: by 2002:a05:7301:160c:b0:382:c1cf:163b with SMTP id 5a478bee46e88-38571419d38mr21934290eec.32.1795752926662; Thu, 26 Nov 2026 20:15:26 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e7fc3sm60340062eec.8.2026.11.26.20.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 20:15:26 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 4/8] mongodb: upgrade 4.4.30 -> 7.0.48 Date: Thu, 26 Nov 2026 20:15:13 -0800 Message-ID: <20261127041517.1773986-5-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> References: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 04:15:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133214 4.4 is EOL. 7.0 is the newest series that still builds with SCons (8.0 and later need Bazel). It drops the legacy mongo shell (use mongosh), needs a C++20 compiler and only supports 64-bit hosts; existing data must be upgraded through 5.0 and 6.0 (featureCompatibilityVersion). Build with the SCons bundled in the source tree and upstream's etc/scons variables files, install mongod and mongos from install-core with upstream's mongod.conf and unit, and always build WiredTiger. Use system pcre2 (system-pcre becomes system-pcre2) and rename the shell PACKAGECONFIG to js, which controls server-side JavaScript (mozjs) and stays off. Limit COMPATIBLE_HOST to x86_64, aarch64 and powerpc64le, check upstream versions on 7.0 tags only, and depend on python3-pymongo-native, whose bson module the IDL compiler imports. std::atomic needs libatomic. Patches fixed upstream or obsolete for 7.0 are dropped and the rest are refreshed. New ones backport SERVER-77007 and SERVER-79426 (current clang and libstdc++), fix libstdc++ 16 and PCRE2 10.49, keep SConstruct from overriding -mcpu/-march, make it honour --js-engine=none, and fix the musl build (sys/prctl.h with linux/prctl.h, and the abseil DirectMmap off64_t backport). License-Update: APACHE-2.0.txt is gone; LICENSE now lists the vendored libraries built into mongod and mongos (README.third_party.md), checksummed via distsrc/THIRD-PARTY-NOTICES AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../mongodb/0001-Fix-build-on-32bit.patch | 38 -- ...0001-Fix-compilation-with-fno-common.patch | 448 ------------------ ...01-Fix-type-mismatch-on-32bit-arches.patch | 33 -- ...hLib20U1-Check-for-__DEFINED_wchar_t.patch | 37 -- ...rror_r-implementation-glibc-specific.patch | 31 -- ...ct-the-CPU-selected-by-the-compiler-.patch | 48 ++ ...goDB-fails-to-compile-with-Clang-15-.patch | 133 ++++++ ...9426-fix-build-issues-under-clang-15.patch | 275 +++++++++++ ...upport-deprecated-resolver-functions.patch | 15 +- ...e-build-settings-from-environment-va.patch | 57 --- ...y-binary_function-base-classes-are-d.patch | 25 +- ...-control-use-of-gnu_get_libc_version.patch | 15 +- ...001-Use-long-long-instead-of-int64_t.patch | 69 --- ...stead-of-pkg_resources-for-version-p.patch | 20 +- ...ic_cast-size_t-to-maxMemoryUsageByte.patch | 38 -- ...1-apply-msvc-workaround-for-clang-16.patch | 15 +- ...sio-Dont-use-experimental-with-clang.patch | 31 -- ...se-shutil.which-instead-of-distutils.patch | 40 ++ .../0001-include-needed-c-header.patch | 29 -- ...econfig.py-python-3.12-compatibility.patch | 9 +- ...just-the-cache-alignment-assumptions.patch | 37 -- ...-stacktrace-Define-ARCH_BITS-for-x86.patch | 29 -- .../0001-wiredtiger-Avoid-using-off64_t.patch | 9 +- ...ion-for-the-macro-__ELF_NATIVE_CLASS.patch | 38 -- .../0002-Fix-default-stack-size-to-256K.patch | 11 +- ...call-to-CheckLibWithHeader-as-a-keyw.patch | 56 --- .../mongodb/0003-Fix-unknown-prefix-env.patch | 21 - .../0003-boost-Fix-build-with-clang-23.patch | 43 +- .../0004-ssl-Fix-build-with-OpenSSL-4.patch | 74 ++- ...4-wiredtiger-Disable-strtouq-on-musl.patch | 9 +- ...ove-the-Node-swap-function-in-Biggie.patch | 58 --- ...-constructors-to-RowEq-and-RowHasher.patch | 46 ++ ...0006-pcre-Fix-build-with-PCRE2-10.49.patch | 36 ++ ...0007-SConstruct-Honor-js-engine-none.patch | 37 ++ ...inux-prctl.h-together-with-sys-prctl.patch | 33 ++ ...ff_t-instead-of-off64_t-for-the-offs.patch | 51 ++ .../recipes-dbs/mongodb/mongodb/1296.patch | 57 --- .../mongodb/mongodb/arm64-support.patch | 56 --- .../mongodb/disable_runtime_check.patch | 19 +- .../mongodb/mongodb/ppc64_ARCH_BITS.patch | 22 +- .../{mongodb_git.bb => mongodb_7.0.48.bb} | 121 +++-- 41 files changed, 914 insertions(+), 1355 deletions(-) delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-build-on-32bit.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-compilation-with-fno-common.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-type-mismatch-on-32bit-arches.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-IntelRDFPMathLib20U1-Check-for-__DEFINED_wchar_t.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SConstruct-Respect-the-CPU-selected-by-the-compiler-.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SERVER-77007-MongoDB-fails-to-compile-with-Clang-15-.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SERVER-79426-fix-build-issues-under-clang-15.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Tell-scons-to-use-build-settings-from-environment-va.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-long-long-instead-of-int64_t.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-add-explict-static_cast-size_t-to-maxMemoryUsageByte.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-asio-Dont-use-experimental-with-clang.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-distsrc-Use-shutil.which-instead-of-distutils.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-include-needed-c-header.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-server-Adjust-the-cache-alignment-assumptions.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-stacktrace-Define-ARCH_BITS-for-x86.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-Add-a-definition-for-the-macro-__ELF_NATIVE_CLASS.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-sbe-Add-default-constructors-to-RowEq-and-RowHasher.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0006-pcre-Fix-build-with-PCRE2-10.49.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0007-SConstruct-Honor-js-engine-none.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0008-Do-not-include-linux-prctl.h-together-with-sys-prctl.patch create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0009-DirectMmap-Use-off_t-instead-of-off64_t-for-the-offs.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/1296.patch delete mode 100644 meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/arm64-support.patch rename meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/{mongodb_git.bb => mongodb_7.0.48.bb} (55%) diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-build-on-32bit.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-build-on-32bit.patch deleted file mode 100644 index 4abc044151..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-build-on-32bit.patch +++ /dev/null @@ -1,38 +0,0 @@ -From b172ebe7e709b10338c1b260310dacc15c557cff Mon Sep 17 00:00:00 2001 -From: Martin Jansa -Date: Fri, 22 Sep 2023 15:37:29 +0200 -Subject: [PATCH] Fix build on 32bit - -* fixes: - src/mongo/util/net/http_client_curl.cpp: In function 'size_t mongo::{anonymous}::ReadMemoryCallback(char*, size_t, size_t, void*)': - src/mongo/util/net/http_client_curl.cpp:172:21: error: no matching function for call to 'min(size_t, long unsigned int)' - 172 | std::min(size * nitems, static_cast(bufReader->remaining())); - | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -* reported in: - https://jira.mongodb.org/browse/SERVER-73007 - but will probably get closed like: - mongodb/0001-Fix-type-mismatch-on-32bit-arches.patch - submitted in: - https://jira.mongodb.org/browse/SERVER-74633 - as they don't support 32bit builds - -Signed-off-by: Martin Jansa -Upstream-Status: Pending ---- - src/mongo/util/net/http_client_curl.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/mongo/util/net/http_client_curl.cpp b/src/mongo/util/net/http_client_curl.cpp -index 57290d0f8ed..f251fe2a550 100644 ---- a/src/mongo/util/net/http_client_curl.cpp -+++ b/src/mongo/util/net/http_client_curl.cpp -@@ -169,7 +169,7 @@ size_t ReadMemoryCallback(char* buffer, size_t size, size_t nitems, void* instre - - if (bufReader->remaining() > 0) { - size_t readSize = -- std::min(size * nitems, static_cast(bufReader->remaining())); -+ std::min(size * nitems, static_cast(bufReader->remaining())); - auto buf = bufReader->readBytes(readSize); - memcpy(buffer, buf.rawData(), readSize); - ret = readSize; diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-compilation-with-fno-common.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-compilation-with-fno-common.patch deleted file mode 100644 index f5c2cf2179..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-compilation-with-fno-common.patch +++ /dev/null @@ -1,448 +0,0 @@ -From 3690dc5f567906c45f057509305fbaa021b33adb Mon Sep 17 00:00:00 2001 -From: Yichao Yu -Date: Tue, 15 Sep 2020 12:35:46 -0700 -Subject: [PATCH] Fix compilation with -fno-common. - -Making all other archs consistent with IA64 which should not have this problem. -Also move the FIXME to the correct place. - -Also add some minimum comments about this... - -Upstream-Status: Backport [https://github.com/libunwind/libunwind/pull/166/commits/29e17d8d2ccbca07c423e3089a6d5ae8a1c9cb6e] -Signed-off-by: Khem Raj ---- - src/third_party/unwind/dist/src/aarch64/Ginit.c | 15 +++++++-------- - src/third_party/unwind/dist/src/arm/Ginit.c | 15 +++++++-------- - .../src/coredump/_UPT_get_dyn_info_list_addr.c | 5 +++++ - src/third_party/unwind/dist/src/hppa/Ginit.c | 15 +++++++-------- - src/third_party/unwind/dist/src/ia64/Ginit.c | 1 + - .../unwind/dist/src/mi/Gfind_dynamic_proc_info.c | 1 + - src/third_party/unwind/dist/src/mips/Ginit.c | 15 +++++++-------- - src/third_party/unwind/dist/src/ppc32/Ginit.c | 11 +++++++---- - src/third_party/unwind/dist/src/ppc64/Ginit.c | 11 +++++++---- - .../dist/src/ptrace/_UPT_get_dyn_info_list_addr.c | 5 +++++ - src/third_party/unwind/dist/src/s390x/Ginit.c | 15 +++++++-------- - src/third_party/unwind/dist/src/sh/Ginit.c | 15 +++++++-------- - src/third_party/unwind/dist/src/tilegx/Ginit.c | 15 +++++++-------- - src/third_party/unwind/dist/src/x86/Ginit.c | 15 +++++++-------- - src/third_party/unwind/dist/src/x86_64/Ginit.c | 15 +++++++-------- - 15 files changed, 89 insertions(+), 80 deletions(-) - -diff --git a/src/third_party/unwind/dist/src/aarch64/Ginit.c b/src/third_party/unwind/dist/src/aarch64/Ginit.c -index dec235c829..35389762f2 100644 ---- a/src/third_party/unwind/dist/src/aarch64/Ginit.c -+++ b/src/third_party/unwind/dist/src/aarch64/Ginit.c -@@ -61,13 +61,6 @@ tdep_uc_addr (unw_tdep_context_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- --/* XXX fix me: there is currently no way to locate the dyn-info list -- by a remote unwinder. On ia64, this is done via a special -- unwind-table entry. Perhaps something similar can be done with -- DWARF2 unwind info. */ -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -78,7 +71,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/arm/Ginit.c b/src/third_party/unwind/dist/src/arm/Ginit.c -index 2720d063a2..0bac0d72da 100644 ---- a/src/third_party/unwind/dist/src/arm/Ginit.c -+++ b/src/third_party/unwind/dist/src/arm/Ginit.c -@@ -57,18 +57,17 @@ tdep_uc_addr (unw_tdep_context_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- --/* XXX fix me: there is currently no way to locate the dyn-info list -- by a remote unwinder. On ia64, this is done via a special -- unwind-table entry. Perhaps something similar can be done with -- DWARF2 unwind info. */ -- - static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/coredump/_UPT_get_dyn_info_list_addr.c b/src/third_party/unwind/dist/src/coredump/_UPT_get_dyn_info_list_addr.c -index 0d11905566..739ed0569b 100644 ---- a/src/third_party/unwind/dist/src/coredump/_UPT_get_dyn_info_list_addr.c -+++ b/src/third_party/unwind/dist/src/coredump/_UPT_get_dyn_info_list_addr.c -@@ -74,6 +74,11 @@ get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg, - - #else - -+/* XXX fix me: there is currently no way to locate the dyn-info list -+ by a remote unwinder. On ia64, this is done via a special -+ unwind-table entry. Perhaps something similar can be done with -+ DWARF2 unwind info. */ -+ - static inline int - get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg, - int *countp) -diff --git a/src/third_party/unwind/dist/src/hppa/Ginit.c b/src/third_party/unwind/dist/src/hppa/Ginit.c -index 461e4b93da..265455a68c 100644 ---- a/src/third_party/unwind/dist/src/hppa/Ginit.c -+++ b/src/third_party/unwind/dist/src/hppa/Ginit.c -@@ -64,13 +64,6 @@ _Uhppa_uc_addr (ucontext_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- --/* XXX fix me: there is currently no way to locate the dyn-info list -- by a remote unwinder. On ia64, this is done via a special -- unwind-table entry. Perhaps something similar can be done with -- DWARF2 unwind info. */ -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -81,7 +74,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/ia64/Ginit.c b/src/third_party/unwind/dist/src/ia64/Ginit.c -index b09a2ad57c..8601bb3ca8 100644 ---- a/src/third_party/unwind/dist/src/ia64/Ginit.c -+++ b/src/third_party/unwind/dist/src/ia64/Ginit.c -@@ -68,6 +68,7 @@ get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - if (!_U_dyn_info_list_addr) - return -UNW_ENOINFO; - #endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. - *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } -diff --git a/src/third_party/unwind/dist/src/mi/Gfind_dynamic_proc_info.c b/src/third_party/unwind/dist/src/mi/Gfind_dynamic_proc_info.c -index 98d3501286..2e7c62e5e8 100644 ---- a/src/third_party/unwind/dist/src/mi/Gfind_dynamic_proc_info.c -+++ b/src/third_party/unwind/dist/src/mi/Gfind_dynamic_proc_info.c -@@ -49,6 +49,7 @@ local_find_proc_info (unw_addr_space_t as, unw_word_t ip, unw_proc_info_t *pi, - return -UNW_ENOINFO; - #endif - -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. - list = (unw_dyn_info_list_t *) (uintptr_t) _U_dyn_info_list_addr (); - for (di = list->first; di; di = di->next) - if (ip >= di->start_ip && ip < di->end_ip) -diff --git a/src/third_party/unwind/dist/src/mips/Ginit.c b/src/third_party/unwind/dist/src/mips/Ginit.c -index 3df170c754..bf7a8f5a8f 100644 ---- a/src/third_party/unwind/dist/src/mips/Ginit.c -+++ b/src/third_party/unwind/dist/src/mips/Ginit.c -@@ -69,13 +69,6 @@ tdep_uc_addr (ucontext_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- --/* XXX fix me: there is currently no way to locate the dyn-info list -- by a remote unwinder. On ia64, this is done via a special -- unwind-table entry. Perhaps something similar can be done with -- DWARF2 unwind info. */ -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -86,7 +79,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) (intptr_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/ppc32/Ginit.c b/src/third_party/unwind/dist/src/ppc32/Ginit.c -index ba302448a3..7b45455807 100644 ---- a/src/third_party/unwind/dist/src/ppc32/Ginit.c -+++ b/src/third_party/unwind/dist/src/ppc32/Ginit.c -@@ -91,9 +91,6 @@ tdep_uc_addr (ucontext_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -104,7 +101,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/ppc64/Ginit.c b/src/third_party/unwind/dist/src/ppc64/Ginit.c -index 4c88cd6e77..7bfb395a79 100644 ---- a/src/third_party/unwind/dist/src/ppc64/Ginit.c -+++ b/src/third_party/unwind/dist/src/ppc64/Ginit.c -@@ -95,9 +95,6 @@ tdep_uc_addr (ucontext_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -108,7 +105,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/ptrace/_UPT_get_dyn_info_list_addr.c b/src/third_party/unwind/dist/src/ptrace/_UPT_get_dyn_info_list_addr.c -index cc5ed04418..16671d453e 100644 ---- a/src/third_party/unwind/dist/src/ptrace/_UPT_get_dyn_info_list_addr.c -+++ b/src/third_party/unwind/dist/src/ptrace/_UPT_get_dyn_info_list_addr.c -@@ -71,6 +71,11 @@ get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg, - - #else - -+/* XXX fix me: there is currently no way to locate the dyn-info list -+ by a remote unwinder. On ia64, this is done via a special -+ unwind-table entry. Perhaps something similar can be done with -+ DWARF2 unwind info. */ -+ - static inline int - get_list_addr (unw_addr_space_t as, unw_word_t *dil_addr, void *arg, - int *countp) -diff --git a/src/third_party/unwind/dist/src/s390x/Ginit.c b/src/third_party/unwind/dist/src/s390x/Ginit.c -index f0886ac933..db01743c06 100644 ---- a/src/third_party/unwind/dist/src/s390x/Ginit.c -+++ b/src/third_party/unwind/dist/src/s390x/Ginit.c -@@ -50,8 +50,6 @@ static struct unw_addr_space local_addr_space; - - unw_addr_space_t unw_local_addr_space = &local_addr_space; - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- - static inline void * - uc_addr (ucontext_t *uc, int reg) - { -@@ -75,11 +73,6 @@ tdep_uc_addr (ucontext_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --/* XXX fix me: there is currently no way to locate the dyn-info list -- by a remote unwinder. On ia64, this is done via a special -- unwind-table entry. Perhaps something similar can be done with -- DWARF2 unwind info. */ -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -90,7 +83,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/sh/Ginit.c b/src/third_party/unwind/dist/src/sh/Ginit.c -index 52988a721e..9fe96d2bd4 100644 ---- a/src/third_party/unwind/dist/src/sh/Ginit.c -+++ b/src/third_party/unwind/dist/src/sh/Ginit.c -@@ -58,13 +58,6 @@ tdep_uc_addr (ucontext_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- --/* XXX fix me: there is currently no way to locate the dyn-info list -- by a remote unwinder. On ia64, this is done via a special -- unwind-table entry. Perhaps something similar can be done with -- DWARF2 unwind info. */ -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -75,7 +68,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/tilegx/Ginit.c b/src/third_party/unwind/dist/src/tilegx/Ginit.c -index 7564a558be..925e641324 100644 ---- a/src/third_party/unwind/dist/src/tilegx/Ginit.c -+++ b/src/third_party/unwind/dist/src/tilegx/Ginit.c -@@ -64,13 +64,6 @@ tdep_uc_addr (ucontext_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- --/* XXX fix me: there is currently no way to locate the dyn-info list -- by a remote unwinder. On ia64, this is done via a special -- unwind-table entry. Perhaps something similar can be done with -- DWARF2 unwind info. */ -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -81,7 +74,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) (intptr_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/x86/Ginit.c b/src/third_party/unwind/dist/src/x86/Ginit.c -index f6b8dc27d4..3cec74a216 100644 ---- a/src/third_party/unwind/dist/src/x86/Ginit.c -+++ b/src/third_party/unwind/dist/src/x86/Ginit.c -@@ -54,13 +54,6 @@ tdep_uc_addr (ucontext_t *uc, int reg) - - # endif /* UNW_LOCAL_ONLY */ - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- --/* XXX fix me: there is currently no way to locate the dyn-info list -- by a remote unwinder. On ia64, this is done via a special -- unwind-table entry. Perhaps something similar can be done with -- DWARF2 unwind info. */ -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -71,7 +64,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - -diff --git a/src/third_party/unwind/dist/src/x86_64/Ginit.c b/src/third_party/unwind/dist/src/x86_64/Ginit.c -index 6161da6401..5c4e4269a6 100644 ---- a/src/third_party/unwind/dist/src/x86_64/Ginit.c -+++ b/src/third_party/unwind/dist/src/x86_64/Ginit.c -@@ -49,13 +49,6 @@ static struct unw_addr_space local_addr_space; - - unw_addr_space_t unw_local_addr_space = &local_addr_space; - --HIDDEN unw_dyn_info_list_t _U_dyn_info_list; -- --/* XXX fix me: there is currently no way to locate the dyn-info list -- by a remote unwinder. On ia64, this is done via a special -- unwind-table entry. Perhaps something similar can be done with -- DWARF2 unwind info. */ -- - static void - put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg) - { -@@ -66,7 +59,13 @@ static int - get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, - void *arg) - { -- *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; -+#ifndef UNW_LOCAL_ONLY -+# pragma weak _U_dyn_info_list_addr -+ if (!_U_dyn_info_list_addr) -+ return -UNW_ENOINFO; -+#endif -+ // Access the `_U_dyn_info_list` from `LOCAL_ONLY` library, i.e. libunwind.so. -+ *dyn_info_list_addr = _U_dyn_info_list_addr (); - return 0; - } - --- -2.28.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-type-mismatch-on-32bit-arches.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-type-mismatch-on-32bit-arches.patch deleted file mode 100644 index def17995dc..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Fix-type-mismatch-on-32bit-arches.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 81eabea4e4da55cddfe8bcfcbc3759fa90948254 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 3 Mar 2023 14:13:29 -0800 -Subject: [PATCH] Fix type mismatch on 32bit arches - -std::set::size returns an unsigned integral type. -std::max call therefore gets (unsigned int, unsigned long) here. -Type of both arguments is not same, so its ambigous -and there is no matching std::max implementation for mismatching -arguments. std::max expects both input variables to be of -same type, max(int,int) etc.. - -Fixes -src/mongo/util/processinfo_linux.cpp:424:16: error: no matching function for call to 'max' - return std::max(socketIds.size(), 1ul); - -Upstream-Status: Submitted [https://jira.mongodb.org/browse/SERVER-74633] -Signed-off-by: Khem Raj ---- - src/mongo/util/processinfo_linux.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/src/mongo/util/processinfo_linux.cpp -+++ b/src/mongo/util/processinfo_linux.cpp -@@ -421,7 +421,7 @@ public: - - // On ARM64, the "physical id" field is unpopulated, causing there to be 0 sockets found. In - // this case, we default to 1. -- return std::max(socketIds.size(), 1ul); -+ return std::max(static_cast(socketIds.size()), 1ul); - } - - /** diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-IntelRDFPMathLib20U1-Check-for-__DEFINED_wchar_t.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-IntelRDFPMathLib20U1-Check-for-__DEFINED_wchar_t.patch deleted file mode 100644 index 500e76bc2f..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-IntelRDFPMathLib20U1-Check-for-__DEFINED_wchar_t.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 97914aeab52b4d0ea0ab9e5ff985a1c5cddb0fa1 Mon Sep 17 00:00:00 2001 -From: Vincent Prince -Date: Mon, 16 Sep 2019 13:41:39 +0200 -Subject: [PATCH 06/10] IntelRDFPMathLib20U1: Check for __DEFINED_wchar_t - -This is defined by musl if wchar_t is already defined - -avoids errors like - -src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h:46:15: error: typedef redefinition with different types - ('int' vs 'unsigned int') -typedef int wchar_t; - -Signed-off-by: Khem Raj -Signed-off-by: Vincent Prince - -Upstream-Status: Pending ---- - src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h b/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h -index 56775bc..be96a85 100755 ---- a/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h -+++ b/src/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid_functions.h -@@ -43,7 +43,7 @@ - - #if 0 // MongoDB Modification -- just `#include ` - // Fix system header issue on Sun solaris and define required type by ourselves --#if !defined(_WCHAR_T) && !defined(_WCHAR_T_DEFINED) && !defined(__QNX__) -+#if !defined(_WCHAR_T) && !defined(_WCHAR_T_DEFINED) && !defined(__QNX__) && !defined(__DEFINED_wchar_t) - typedef int wchar_t; - #endif - #else --- -2.7.4 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch deleted file mode 100644 index 5337fcdbfd..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch +++ /dev/null @@ -1,31 +0,0 @@ -From ca004968b8d2149f72d4edcfe029489a8c5e10ca Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 23 Sep 2019 12:31:31 -0700 -Subject: [PATCH] Mark one of strerror_r implementation glibc specific - -glibc has two incompatible strerror_r definitions, one of them is -specific to glibc, mark this one so - -Upstream-Status: Pending - -Signed-off-by: Khem Raj ---- - src/mongo/util/errno_util.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/mongo/util/errno_util.cpp b/src/mongo/util/errno_util.cpp -index 564c0071ea..4f7e1d3a38 100644 ---- a/src/mongo/util/errno_util.cpp -+++ b/src/mongo/util/errno_util.cpp -@@ -61,7 +61,7 @@ std::string errnoWithDescription(int errNumber) { - char buf[kBuflen]; - char* msg{nullptr}; - --#if defined(__GNUC__) && defined(_GNU_SOURCE) && \ -+#if defined(__GNUC__) && defined(_GNU_SOURCE) && defined(__GLIBC__) && \ - (!defined(__ANDROID_API__) || !(__ANDROID_API__ <= 22)) && !defined(EMSCRIPTEN) - msg = strerror_r(errNumber, buf, kBuflen); - #elif defined(_WIN32) --- -2.23.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SConstruct-Respect-the-CPU-selected-by-the-compiler-.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SConstruct-Respect-the-CPU-selected-by-the-compiler-.patch new file mode 100644 index 0000000000..e1b4a4a9d1 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SConstruct-Respect-the-CPU-selected-by-the-compiler-.patch @@ -0,0 +1,48 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 07:52:52 -0800 +Subject: [PATCH] SConstruct: Respect the CPU selected by the compiler command + +SConstruct adds default -march=/-mcpu=/-mtune= flags for aarch64, +ppc64le and s390x unless one of CCFLAGS, CFLAGS or CXXFLAGS already +has the same flag. Cross toolchains pass the target CPU as part of CC +and CXX, often as -mcpu= instead of -march=, so the defaults were +added anyway. On aarch64 this builds for ARMv8.2-A, which does not run +on ARMv8.0 cores such as Cortex-A53 and Cortex-A72. + +Look at CC and CXX as well, and treat -mcpu= as also selecting the +architecture and the tuning. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + SConstruct | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +diff --git a/SConstruct b/SConstruct +index 45e78a8d..b79e01a8 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -3272,11 +3272,17 @@ if not env.TargetOSIs('windows', 'macOS') and (env.ToolchainIs('GCC', 'clang')): + + default_targeting_flags = default_targeting_flags_for_architecture.get(env['TARGET_ARCH']) + if default_targeting_flags: +- search_variables = ['CCFLAGS', 'CFLAGS', 'CXXFLAGS'] ++ # Also look at the compiler command, where cross toolchains pass the ++ # target CPU, and treat -mcpu= as selecting the architecture and tuning. ++ user_flags = shlex.split(env.subst('$CC $CXX $CCFLAGS $CFLAGS $CXXFLAGS')) ++ equivalent_flags = { ++ '-march=': ('-march=', '-mcpu='), ++ '-mcpu=': ('-march=', '-mcpu='), ++ '-mtune=': ('-mtune=', '-mcpu='), ++ } + for targeting_flag, targeting_flag_value in default_targeting_flags.items(): +- if not any( +- flag_value.startswith(targeting_flag) for search_variable in search_variables +- for flag_value in env[search_variable]): ++ prefixes = equivalent_flags.get(targeting_flag, (targeting_flag, )) ++ if not any(flag_value.startswith(prefixes) for flag_value in user_flags): + env.Append(CCFLAGS=[f'{targeting_flag}{targeting_flag_value}']) + + # Needed for auth tests since key files are stored in git with mode 644. diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SERVER-77007-MongoDB-fails-to-compile-with-Clang-15-.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SERVER-77007-MongoDB-fails-to-compile-with-Clang-15-.patch new file mode 100644 index 0000000000..cf37438c13 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SERVER-77007-MongoDB-fails-to-compile-with-Clang-15-.patch @@ -0,0 +1,133 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Colin Stolley +Date: Thu, 27 Jul 2023 15:55:08 +0000 +Subject: [PATCH] SERVER-77007: MongoDB fails to compile with Clang 15 with + C++20 + +Upstream-Status: Backport [https://github.com/mongodb/mongo/commit/688f62c2904a8630acf44298bb040fce787386cf] +Signed-off-by: Khem Raj +--- + src/mongo/db/exec/document_value/value.cpp | 12 ++++++------ + src/mongo/db/exec/document_value/value.h | 2 +- + src/mongo/db/exec/document_value/value_internal.h | 13 +++++++------ + 3 files changed, 14 insertions(+), 13 deletions(-) + +diff --git a/src/mongo/db/exec/document_value/value.cpp b/src/mongo/db/exec/document_value/value.cpp +index bb78d59a..3c04fc14 100644 +--- a/src/mongo/db/exec/document_value/value.cpp ++++ b/src/mongo/db/exec/document_value/value.cpp +@@ -136,7 +136,7 @@ void ValueStorage::putDocument(Document&& d) { + putRefCountable(std::move(d._storage)); + } + +-void ValueStorage::putVector(boost::intrusive_ptr&& vec) { ++void ValueStorage::putVector(boost::intrusive_ptr>&& vec) { + fassert(16485, bool(vec)); + putRefCountable(std::move(vec)); + } +@@ -200,7 +200,7 @@ Value::Value(const BSONElement& elem) : _storage(elem.type()) { + } + + case Array: { +- auto vec = make_intrusive(); ++ auto vec = make_intrusive>(); + BSONForEach(sub, elem.embeddedObject()) { + vec->vec.push_back(Value(sub)); + } +@@ -262,7 +262,7 @@ Value::Value(const BSONElement& elem) : _storage(elem.type()) { + } + + Value::Value(const BSONArray& arr) : _storage(Array) { +- auto vec = make_intrusive(); ++ auto vec = make_intrusive>(); + BSONForEach(sub, arr) { + vec->vec.push_back(Value(sub)); + } +@@ -270,7 +270,7 @@ Value::Value(const BSONArray& arr) : _storage(Array) { + } + + Value::Value(const vector& vec) : _storage(Array) { +- auto storageVec = make_intrusive(); ++ auto storageVec = make_intrusive>(); + storageVec->vec.reserve(vec.size()); + for (auto&& obj : vec) { + storageVec->vec.push_back(Value(obj)); +@@ -279,7 +279,7 @@ Value::Value(const vector& vec) : _storage(Array) { + } + + Value::Value(const vector& vec) : _storage(Array) { +- auto storageVec = make_intrusive(); ++ auto storageVec = make_intrusive>(); + storageVec->vec.reserve(vec.size()); + for (auto&& obj : vec) { + storageVec->vec.push_back(Value(obj)); +@@ -1171,7 +1171,7 @@ size_t Value::getApproximateSize() const { + + case Array: { + size_t size = sizeof(Value); +- size += sizeof(RCVector); ++ size += sizeof(RCVector); + const size_t n = getArray().size(); + for (size_t i = 0; i < n; ++i) { + size += getArray()[i].getApproximateSize(); +diff --git a/src/mongo/db/exec/document_value/value.h b/src/mongo/db/exec/document_value/value.h +index e5b92976..6168be9e 100644 +--- a/src/mongo/db/exec/document_value/value.h ++++ b/src/mongo/db/exec/document_value/value.h +@@ -110,7 +110,7 @@ public: + explicit Value(const std::vector& vec); + explicit Value(const std::vector& vec); + explicit Value(std::vector vec) +- : _storage(Array, make_intrusive(std::move(vec))) {} ++ : _storage(Array, make_intrusive>(std::move(vec))) {} + explicit Value(const BSONBinData& bd) : _storage(BinData, bd) {} + explicit Value(const BSONRegEx& re) : _storage(RegEx, re) {} + explicit Value(const BSONCodeWScope& cws) : _storage(CodeWScope, cws) {} +diff --git a/src/mongo/db/exec/document_value/value_internal.h b/src/mongo/db/exec/document_value/value_internal.h +index b19af0e7..55477fb8 100644 +--- a/src/mongo/db/exec/document_value/value_internal.h ++++ b/src/mongo/db/exec/document_value/value_internal.h +@@ -49,11 +49,12 @@ class Value; + + // TODO: a MutableVector, similar to MutableDocument + /// A heap-allocated reference-counted std::vector ++template + class RCVector : public RefCountable { + public: + RCVector() {} +- RCVector(std::vector v) : vec(std::move(v)) {} +- std::vector vec; ++ RCVector(std::vector v) : vec(std::move(v)) {} ++ std::vector vec; + }; + + class RCCodeWScope : public RefCountable { +@@ -128,7 +129,7 @@ public: + type = t; + putDocument(std::move(d)); + } +- ValueStorage(BSONType t, boost::intrusive_ptr&& a) { ++ ValueStorage(BSONType t, boost::intrusive_ptr>&& a) { + zero(); + type = t; + putVector(std::move(a)); +@@ -231,7 +232,7 @@ public: + + /// These are only to be called during Value construction on an empty Value + void putString(StringData s); +- void putVector(boost::intrusive_ptr&& v); ++ void putVector(boost::intrusive_ptr>&& v); + void putDocument(const Document& d); + void putDocument(Document&& d); + void putRegEx(const BSONRegEx& re); +@@ -273,8 +274,8 @@ public: + } + + const std::vector& getArray() const { +- dassert(typeid(*genericRCPtr) == typeid(const RCVector)); +- const RCVector* arrayPtr = static_cast(genericRCPtr); ++ dassert(typeid(*genericRCPtr) == typeid(const RCVector)); ++ const RCVector* arrayPtr = static_cast*>(genericRCPtr); + return arrayPtr->vec; + } + diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SERVER-79426-fix-build-issues-under-clang-15.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SERVER-79426-fix-build-issues-under-clang-15.patch new file mode 100644 index 0000000000..d3d6e5b696 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-SERVER-79426-fix-build-issues-under-clang-15.patch @@ -0,0 +1,275 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Colin Stolley +Date: Mon, 31 Jul 2023 16:27:55 +0000 +Subject: [PATCH] SERVER-79426: fix build issues under clang-15. + +Upstream-Status: Backport [https://github.com/mongodb/mongo/commit/eb02e5a121019b7dcdc28ebd4ec96e777075141e] +Signed-off-by: Khem Raj +--- + src/mongo/db/cst/c_node.h | 59 ++++++++++--------- + src/mongo/db/exec/near.cpp | 30 +++++----- + .../optimizer/cascades/logical_rewriter.cpp | 2 +- + src/mongo/db/query/stats/max_diff.cpp | 2 +- + src/mongo/s/write_ops/write_op.h | 52 ++++++++-------- + src/mongo/util/net/ssl_types.h | 6 +- + .../dist/absl/hash/internal/low_level_hash.cc | 2 +- + 7 files changed, 78 insertions(+), 75 deletions(-) + +diff --git a/src/mongo/db/cst/c_node.h b/src/mongo/db/cst/c_node.h +index af77b493..0ac1f8b7 100644 +--- a/src/mongo/db/cst/c_node.h ++++ b/src/mongo/db/cst/c_node.h +@@ -218,34 +218,37 @@ public: + using Fieldname = stdx::variant; + using ArrayChildren = std::vector; + using ObjectChildren = std::vector>; +- stdx::variant +- payload; ++ using Payload = stdx::variant; ++ Payload payload; ++ ++ CNode() = default; ++ CNode(Payload p) : payload(std::move(p)){}; + + /* + * Returns whether this fieldname is the key fieldname representing the _id syntax. +diff --git a/src/mongo/db/exec/near.cpp b/src/mongo/db/exec/near.cpp +index 05bc2735..4cb2e558 100644 +--- a/src/mongo/db/exec/near.cpp ++++ b/src/mongo/db/exec/near.cpp +@@ -42,6 +42,21 @@ namespace mongo { + using std::unique_ptr; + using std::vector; + ++/** ++ * Holds a generic search result with a distance computed in some fashion. ++ */ ++struct NearStage::SearchResult { ++ SearchResult(WorkingSetID resultID, double distance) : resultID(resultID), distance(distance) {} ++ ++ bool operator<(const SearchResult& other) const { ++ // We want increasing distance, not decreasing, so we reverse the < ++ return distance > other.distance; ++ } ++ ++ WorkingSetID resultID; ++ double distance; ++}; ++ + NearStage::NearStage(ExpressionContext* expCtx, + const char* typeName, + StageType type, +@@ -114,21 +129,6 @@ PlanStage::StageState NearStage::doWork(WorkingSetID* out) { + return nextState; + } + +-/** +- * Holds a generic search result with a distance computed in some fashion. +- */ +-struct NearStage::SearchResult { +- SearchResult(WorkingSetID resultID, double distance) : resultID(resultID), distance(distance) {} +- +- bool operator<(const SearchResult& other) const { +- // We want increasing distance, not decreasing, so we reverse the < +- return distance > other.distance; +- } +- +- WorkingSetID resultID; +- double distance; +-}; +- + // Set "toReturn" when NEED_YIELD. + PlanStage::StageState NearStage::bufferNext(WorkingSetID* toReturn) { + // +diff --git a/src/mongo/db/query/optimizer/cascades/logical_rewriter.cpp b/src/mongo/db/query/optimizer/cascades/logical_rewriter.cpp +index 17052b69..ad68ce61 100644 +--- a/src/mongo/db/query/optimizer/cascades/logical_rewriter.cpp ++++ b/src/mongo/db/query/optimizer/cascades/logical_rewriter.cpp +@@ -149,7 +149,7 @@ std::pair LogicalRewriter::addNode(const ABT& node, + continue; + } + +- for (const auto [type, priority] : _activeRewriteSet) { ++ for (const auto& [type, priority] : _activeRewriteSet) { + auto& groupQueue = _memo.getLogicalRewriteQueue(nodeMemoId._groupId); + groupQueue.push(std::make_unique(priority, type, nodeMemoId)); + +diff --git a/src/mongo/db/query/stats/max_diff.cpp b/src/mongo/db/query/stats/max_diff.cpp +index 93b33499..a27d5364 100644 +--- a/src/mongo/db/query/stats/max_diff.cpp ++++ b/src/mongo/db/query/stats/max_diff.cpp +@@ -245,7 +245,7 @@ DataDistribution getDataDistribution(const std::vector& sortedInput) { + + // Compute normalized areas. + size_t i = 0; +- for (const auto [endIdx, area] : result.typeClassBounds) { ++ for (const auto& [endIdx, area] : result.typeClassBounds) { + // We ensure above that the area for the current type bracket is never 0. + tassert(7299703, str::stream() << "maximum area for type bracket is zero", area != 0.0); + // Iterate over all values in the current type bracket. +diff --git a/src/mongo/s/write_ops/write_op.h b/src/mongo/s/write_ops/write_op.h +index e6f268fc..5df27ddc 100644 +--- a/src/mongo/s/write_ops/write_op.h ++++ b/src/mongo/s/write_ops/write_op.h +@@ -38,7 +38,7 @@ + namespace mongo { + + struct TargetedWrite; +-struct ChildWriteOp; ++class WriteOp; + + enum WriteOpState { + // Item is ready to be targeted +@@ -62,6 +62,31 @@ enum WriteOpState { + WriteOpState_Unknown + }; + ++/** ++ * State of a write in-progress (to a single shard) which is one part of a larger write ++ * operation. ++ * ++ * As above, the write op may finish in either a successful (_Completed) or unsuccessful ++ * (_Error) state. ++ */ ++struct ChildWriteOp { ++ ChildWriteOp(WriteOp* const parent) : parentOp(parent) {} ++ ++ const WriteOp* const parentOp; ++ ++ WriteOpState state{WriteOpState_Ready}; ++ ++ // non-zero when state == _Pending ++ // Not owned here but tracked for reporting ++ TargetedWrite* pendingWrite{nullptr}; ++ ++ // filled when state > _Pending ++ std::unique_ptr endpoint; ++ ++ // filled when state == _Error or (optionally) when state == _Cancelled ++ boost::optional error; ++}; ++ + /** + * State of a single write item in-progress from a client request. + * +@@ -183,31 +208,6 @@ private: + // stores the shards where this write operation succeeded + absl::flat_hash_set _successfulShardSet; + }; +-/** +- * State of a write in-progress (to a single shard) which is one part of a larger write +- * operation. +- * +- * As above, the write op may finish in either a successful (_Completed) or unsuccessful +- * (_Error) state. +- */ +-struct ChildWriteOp { +- ChildWriteOp(WriteOp* const parent) : parentOp(parent) {} +- +- const WriteOp* const parentOp; +- +- WriteOpState state{WriteOpState_Ready}; +- +- // non-zero when state == _Pending +- // Not owned here but tracked for reporting +- TargetedWrite* pendingWrite{nullptr}; +- +- // filled when state > _Pending +- std::unique_ptr endpoint; +- +- // filled when state == _Error or (optionally) when state == _Cancelled +- boost::optional error; +-}; +- + // First value is write item index in the batch, second value is child write op index + typedef std::pair WriteOpRef; + +diff --git a/src/mongo/util/net/ssl_types.h b/src/mongo/util/net/ssl_types.h +index bb65d271..284e07dd 100644 +--- a/src/mongo/util/net/ssl_types.h ++++ b/src/mongo/util/net/ssl_types.h +@@ -61,6 +61,9 @@ public: + auto equalityLens() const { + return std::tie(oid, type, value); + } ++ bool operator==(const Entry& rhs) const { ++ return this->equalityLens() == rhs.equalityLens(); ++ } + }; + + SSLX509Name() = default; +@@ -110,9 +113,6 @@ private: + }; + + std::ostream& operator<<(std::ostream&, const SSLX509Name&); +-inline bool operator==(const SSLX509Name::Entry& lhs, const SSLX509Name::Entry& rhs) { +- return lhs.equalityLens() == rhs.equalityLens(); +-} + inline bool operator<(const SSLX509Name::Entry& lhs, const SSLX509Name::Entry& rhs) { + return lhs.equalityLens() < rhs.equalityLens(); + } +diff --git a/src/third_party/abseil-cpp/dist/absl/hash/internal/low_level_hash.cc b/src/third_party/abseil-cpp/dist/absl/hash/internal/low_level_hash.cc +index 6f9cb9c7..d288f3ec 100644 +--- a/src/third_party/abseil-cpp/dist/absl/hash/internal/low_level_hash.cc ++++ b/src/third_party/abseil-cpp/dist/absl/hash/internal/low_level_hash.cc +@@ -40,7 +40,7 @@ static uint64_t Mix(uint64_t v0, uint64_t v1) { + } + + uint64_t LowLevelHash(const void* data, size_t len, uint64_t seed, +- const uint64_t salt[]) { ++ const uint64_t salt[5]) { + const uint8_t* ptr = static_cast(data); + uint64_t starting_length = static_cast(len); + uint64_t current_state = seed ^ salt[0]; diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch index 3d949c8730..31d4077f28 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Support-deprecated-resolver-functions.patch @@ -1,7 +1,7 @@ -From 8d035e84c2edb44461ef4df9cdef0a6dfce0a1d7 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 24 Aug 2018 12:56:22 -0700 -Subject: [PATCH 07/10] Support deprecated resolver functions +Subject: [PATCH] Support deprecated resolver functions Needed for musl libc @@ -12,12 +12,12 @@ Signed-off-by: Khem Raj 1 file changed, 6 insertions(+) diff --git a/src/mongo/util/dns_query_posix-impl.h b/src/mongo/util/dns_query_posix-impl.h -index a5e3629..fb29d2d 100644 +index e13879d3..451862e6 100644 --- a/src/mongo/util/dns_query_posix-impl.h +++ b/src/mongo/util/dns_query_posix-impl.h -@@ -54,6 +54,12 @@ - - #include +@@ -57,6 +57,12 @@ + #include "mongo/platform/mutex.h" + #include "mongo/util/duration.h" +#ifndef res_ninit +#define res_nclose(arg) @@ -28,6 +28,3 @@ index a5e3629..fb29d2d 100644 namespace mongo { namespace dns { // The anonymous namespace is safe, in this header, as it is not really a header. It is only used --- -2.7.4 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Tell-scons-to-use-build-settings-from-environment-va.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Tell-scons-to-use-build-settings-from-environment-va.patch deleted file mode 100644 index 4d84d3d15b..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Tell-scons-to-use-build-settings-from-environment-va.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 8295bb6a60896fed54d6450bca091aea4eea4fb2 Mon Sep 17 00:00:00 2001 -From: Vincent Prince -Date: Mon, 16 Sep 2019 13:21:44 +0200 -Subject: [PATCH 01/10] Tell scons to use build settings from environment - variables - -Signed-off-by: Sven Ebenfeld -Signed-off-by: Vincent Prince - -Upstream-Status: Pending ---- - SConstruct | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/SConstruct b/SConstruct -index 89c044ab78..2044c0ddb8 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -593,6 +593,7 @@ def variable_arch_converter(val): - 'amd64': 'x86_64', - 'emt64': 'x86_64', - 'x86': 'i386', -+ 'aarch64': 'arm64', - } - val = val.lower() - -@@ -723,7 +724,8 @@ env_vars.Add( - ) - - env_vars.Add('CC', -- help='Select the C compiler to use') -+ help='Select the C compiler to use', -+ default=os.getenv('CC')) - - env_vars.Add('CCFLAGS', - help='Sets flags for the C and C++ compiler', -@@ -743,7 +745,8 @@ env_vars.Add('CPPPATH', - converter=variable_shlex_converter) - - env_vars.Add('CXX', -- help='Select the C++ compiler to use') -+ help='Select the C++ compiler to use', -+ default=os.getenv('CXX')) - - env_vars.Add('CXXFLAGS', - help='Sets flags for the C++ compiler', -@@ -1127,6 +1130,7 @@ if get_option('build-tools') == 'next' or get_option('ninja') == 'next': - SCons.Tool.DefaultToolpath.insert(0, os.path.abspath('site_scons/site_tools/next')) - - env = Environment(variables=env_vars, **envDict) -+env.PrependENVPath('PATH', os.getenv('PATH')) - - # Only print the spinner if stdout is a tty - if sys.stdout.isatty(): --- -2.24.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-The-std-lib-unary-binary_function-base-classes-are-d.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-The-std-lib-unary-binary_function-base-classes-are-d.patch index 4594bec81a..a3999f5a76 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-The-std-lib-unary-binary_function-base-classes-are-d.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-The-std-lib-unary-binary_function-base-classes-are-d.patch @@ -1,19 +1,23 @@ -From f9b55f5a1fab85bf73c95e6372779d6f50f75e84 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 11 Jul 2022 18:26:07 +0100 Subject: [PATCH] The std lib unary/binary_function base classes are deprecated/removed from libcpp15. Fixes https://github.com/boostorg/container_hash/issues/24. +The bundled Boost 1.79 already has the container_hash part. + Upstream-Status: Backport [https://github.com/boostorg/config/pull/440/commits/f0af4a9184457939b89110795ae2d293582c5f66] Signed-off-by: Khem Raj --- - src/third_party/boost-1.70.0/boost/config/stdlib/libcpp.hpp | 9 +++++++++ + src/third_party/boost/boost/config/stdlib/libcpp.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) ---- a/src/third_party/boost-1.70.0/boost/config/stdlib/libcpp.hpp -+++ b/src/third_party/boost-1.70.0/boost/config/stdlib/libcpp.hpp -@@ -140,4 +140,13 @@ +diff --git a/src/third_party/boost/boost/config/stdlib/libcpp.hpp b/src/third_party/boost/boost/config/stdlib/libcpp.hpp +index bc8536ea..0e9f2445 100644 +--- a/src/third_party/boost/boost/config/stdlib/libcpp.hpp ++++ b/src/third_party/boost/boost/config/stdlib/libcpp.hpp +@@ -168,4 +168,13 @@ # define BOOST_NO_CXX14_HDR_SHARED_MUTEX #endif @@ -27,14 +31,3 @@ Signed-off-by: Khem Raj +#endif + // --- end --- ---- a/src/third_party/boost-1.70.0/boost/container_hash/hash.hpp -+++ b/src/third_party/boost-1.70.0/boost/container_hash/hash.hpp -@@ -118,7 +118,7 @@ namespace boost - { - namespace hash_detail - { --#if defined(_HAS_AUTO_PTR_ETC) && !_HAS_AUTO_PTR_ETC -+#if defined(BOOST_NO_CXX98_FUNCTION_BASE) - template - struct hash_base - { diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-__GLIBC__-to-control-use-of-gnu_get_libc_version.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-__GLIBC__-to-control-use-of-gnu_get_libc_version.patch index cfbcbd9aa2..d21bf2cc8e 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-__GLIBC__-to-control-use-of-gnu_get_libc_version.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-__GLIBC__-to-control-use-of-gnu_get_libc_version.patch @@ -1,7 +1,7 @@ -From 6332823f9fdcb571305b716330e67d0b38810868 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Vincent Prince Date: Mon, 16 Sep 2019 13:30:13 +0200 -Subject: [PATCH 03/10] Use __GLIBC__ to control use of gnu_get_libc_version +Subject: [PATCH] Use __GLIBC__ to control use of gnu_get_libc_version Signed-off-by: Khem Raj Signed-off-by: Vincent Prince @@ -12,11 +12,11 @@ Upstream-Status: Pending 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mongo/util/processinfo_linux.cpp b/src/mongo/util/processinfo_linux.cpp -index a968c54727..0d8b8874e2 100644 +index a89b9570..7193cd47 100644 --- a/src/mongo/util/processinfo_linux.cpp +++ b/src/mongo/util/processinfo_linux.cpp -@@ -44,10 +44,10 @@ - #include +@@ -46,10 +46,10 @@ + #ifdef __BIONIC__ #include -#elif __UCLIBC__ @@ -29,7 +29,7 @@ index a968c54727..0d8b8874e2 100644 #endif #include -@@ -617,7 +617,7 @@ void ProcessInfo::SystemInfo::collectSystemInfo() { +@@ -810,7 +810,7 @@ void ProcessInfo::SystemInfo::collectSystemInfo() { std::stringstream ss; ss << "uClibc-" << __UCLIBC_MAJOR__ << "." << __UCLIBC_MINOR__ << "." << __UCLIBC_SUBLEVEL__; bExtra.append("libcVersion", ss.str()); @@ -38,6 +38,3 @@ index a968c54727..0d8b8874e2 100644 bExtra.append("libcVersion", gnu_get_libc_version()); #endif if (!verSig.empty()) --- -2.24.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-long-long-instead-of-int64_t.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-long-long-instead-of-int64_t.patch deleted file mode 100644 index 310301d57b..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-long-long-instead-of-int64_t.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 4e7f15346682482bc2071c7209dec97507d3bc4c Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 2 Sep 2017 10:03:37 -0700 -Subject: [PATCH 02/10] Use long long instead of int64_t - -Fixes -error: call to member function 'appendNumber' is ambiguous -since this function expects long long as parameter and not int64_t - -Signed-off-by: Khem Raj -Signed-off-by: Vincent Prince - -Upstream-Status: Pending ---- - src/mongo/util/procparser.cpp | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/mongo/util/procparser.cpp b/src/mongo/util/procparser.cpp -index 24b9d1e2c9..0f274cfff6 100644 ---- a/src/mongo/util/procparser.cpp -+++ b/src/mongo/util/procparser.cpp -@@ -261,7 +261,7 @@ Status parseProcStat(const std::vector& keys, - - StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin()); - -- uint64_t value; -+ long long value; - - if (!NumberParser{}(stringValue, &value).isOK()) { - value = 0; -@@ -273,7 +273,7 @@ Status parseProcStat(const std::vector& keys, - } else { - StringData stringValue((*partIt).begin(), (*partIt).end() - (*partIt).begin()); - -- uint64_t value; -+ long long value; - - if (!NumberParser{}(stringValue, &value).isOK()) { - value = 0; -@@ -366,7 +366,7 @@ Status parseProcMemInfo(const std::vector& keys, - - StringData stringValue((*partIt).begin(), (*partIt).end()); - -- uint64_t value; -+ long long value; - - if (!NumberParser{}(stringValue, &value).isOK()) { - value = 0; -@@ -522,7 +522,7 @@ Status parseProcDiskStats(const std::vector& disks, - StringData data, - BSONObjBuilder* builder) { - bool foundKeys = false; -- std::vector stats; -+ std::vector stats; - stats.reserve(kDiskFieldCount); - - using string_split_iterator = boost::split_iterator; -@@ -597,7 +597,7 @@ Status parseProcDiskStats(const std::vector& disks, - - StringData stringValue((*partIt).begin(), (*partIt).end()); - -- uint64_t value; -+ long long value; - - if (!NumberParser{}(stringValue, &value).isOK()) { - value = 0; --- -2.24.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch index d45b9f8021..14a13aee81 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch @@ -10,25 +10,32 @@ load with: Use parse() from the packaging module instead. -Upstream-Status: Inappropriate [v4.4 branch is EOL] +Upstream-Status: Pending Signed-off-by: Khem Raj --- + SConstruct | 2 +- + site_scons/site_tools/ccache.py | 2 +- + site_scons/site_tools/icecream.py | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + diff --git a/SConstruct b/SConstruct +index 9750ca0b..e84797c6 100644 --- a/SConstruct +++ b/SConstruct -@@ -16,7 +16,7 @@ - import uuid +@@ -19,7 +19,7 @@ import uuid + from datetime import datetime from glob import glob -from pkg_resources import parse_version +from packaging.version import parse as parse_version import SCons - + import SCons.Script diff --git a/site_scons/site_tools/ccache.py b/site_scons/site_tools/ccache.py +index dc7ca4cd..e0c20554 100644 --- a/site_scons/site_tools/ccache.py +++ b/site_scons/site_tools/ccache.py -@@ -26,7 +26,7 @@ +@@ -26,7 +26,7 @@ import re import subprocess import SCons @@ -38,9 +45,10 @@ diff --git a/site_scons/site_tools/ccache.py b/site_scons/site_tools/ccache.py # This is the oldest version of ccache that offers support for -gsplit-dwarf _ccache_version_min = parse_version("3.2.3") diff --git a/site_scons/site_tools/icecream.py b/site_scons/site_tools/icecream.py +index e7340b51..44b11062 100644 --- a/site_scons/site_tools/icecream.py +++ b/site_scons/site_tools/icecream.py -@@ -25,7 +25,7 @@ +@@ -25,7 +25,7 @@ import re import subprocess import urllib diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-add-explict-static_cast-size_t-to-maxMemoryUsageByte.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-add-explict-static_cast-size_t-to-maxMemoryUsageByte.patch deleted file mode 100644 index de05624429..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-add-explict-static_cast-size_t-to-maxMemoryUsageByte.patch +++ /dev/null @@ -1,38 +0,0 @@ -From ad37ee80b32a1f740a3197105174d74dff11e4e8 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 13 Apr 2022 13:56:32 -0700 -Subject: [PATCH] add explict static_cast to maxMemoryUsageBytes - -Fixes -src/mongo/db/pipeline/document_source_group.cpp:377:22: error: non-constant-expression cannot be narrowed from type 'long long' to 'size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] - maxMemoryUsageBytes ? *maxMemoryUsageBytes - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/mongo/db/pipeline/document_source_group.cpp:377:22: note: insert an explicit cast to silence this issue - maxMemoryUsageBytes ? *maxMemoryUsageBytes - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Upstream-Status: Pending - -Signed-off-by: Khem Raj ---- - src/mongo/db/pipeline/document_source_group.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/mongo/db/pipeline/document_source_group.cpp b/src/mongo/db/pipeline/document_source_group.cpp -index 4a7b48d6cd2..9a6076c6041 100644 ---- a/src/mongo/db/pipeline/document_source_group.cpp -+++ b/src/mongo/db/pipeline/document_source_group.cpp -@@ -374,8 +374,8 @@ DocumentSourceGroup::DocumentSourceGroup(const intrusive_ptr& - _usedDisk(false), - _doingMerge(false), - _memoryTracker{pExpCtx->allowDiskUse && !pExpCtx->inMongos, -- maxMemoryUsageBytes ? *maxMemoryUsageBytes -- : internalDocumentSourceGroupMaxMemoryBytes.load()}, -+ static_cast(maxMemoryUsageBytes ? *maxMemoryUsageBytes -+ : internalDocumentSourceGroupMaxMemoryBytes.load())}, - // We spill to disk in debug mode, regardless of allowDiskUse, to stress the system. - _file(!pExpCtx->inMongos && (pExpCtx->allowDiskUse || kDebugBuild) - ? std::make_shared::File>(pExpCtx->tempDir + "/" + --- -2.35.2 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-apply-msvc-workaround-for-clang-16.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-apply-msvc-workaround-for-clang-16.patch index 096269308d..23f3a52bce 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-apply-msvc-workaround-for-clang-16.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-apply-msvc-workaround-for-clang-16.patch @@ -1,4 +1,4 @@ -From 03047c81b2601362bcf79cae67e06d1fba0a6101 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 2 Mar 2023 20:17:57 -0800 Subject: [PATCH] apply msvc workaround for clang >= 16 @@ -11,13 +11,13 @@ boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp:73:31: error: integer value -1 Upstream-Status: Pending Signed-off-by: Khem Raj --- - .../boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp | 2 +- + src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/third_party/boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp b/src/third_party/boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp -index 6bc05f7e96e..6bb8d24c9ce 100644 ---- a/src/third_party/boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp -+++ b/src/third_party/boost-1.70.0/boost/mpl/aux_/integral_wrapper.hpp +diff --git a/src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp b/src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp +index 8748fbb9..e7c2461c 100644 +--- a/src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp ++++ b/src/third_party/boost/boost/mpl/aux_/integral_wrapper.hpp @@ -56,7 +56,7 @@ struct AUX_WRAPPER_NAME // have to #ifdef here: some compilers don't like the 'N + 1' form (MSVC), // while some other don't like 'value + 1' (Borland), and some don't like @@ -27,6 +27,3 @@ index 6bc05f7e96e..6bb8d24c9ce 100644 private: BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, next_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N + 1))); BOOST_STATIC_CONSTANT(AUX_WRAPPER_VALUE_TYPE, prior_value = BOOST_MPL_AUX_STATIC_CAST(AUX_WRAPPER_VALUE_TYPE, (N - 1))); --- -2.39.2 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-asio-Dont-use-experimental-with-clang.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-asio-Dont-use-experimental-with-clang.patch deleted file mode 100644 index ad944e4666..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-asio-Dont-use-experimental-with-clang.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 097e8a66930cfa28ac8bfa35f62d0a9ee3b74488 Mon Sep 17 00:00:00 2001 -From: Vincent Prince -Date: Mon, 16 Sep 2019 13:46:52 +0200 -Subject: [PATCH 10/10] asio: Dont use experimental with clang - -Signed-off-by: Khem Raj -Signed-off-by: Vincent Prince - -Upstream-Status: Pending ---- - src/third_party/asio-master/asio/include/asio/detail/string_view.hpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/third_party/asio-master/asio/include/asio/detail/string_view.hpp b/src/third_party/asio-master/asio/include/asio/detail/string_view.hpp -index f09cebc..fa307b5 100644 ---- a/src/third_party/asio-master/asio/include/asio/detail/string_view.hpp -+++ b/src/third_party/asio-master/asio/include/asio/detail/string_view.hpp -@@ -33,8 +33,8 @@ namespace asio { - using std::basic_string_view; - using std::string_view; - #elif defined(ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW) --using std::experimental::basic_string_view; --using std::experimental::string_view; -+using std::basic_string_view; -+using std::string_view; - #endif // defined(ASIO_HAS_STD_EXPERIMENTAL_STRING_VIEW) - - } // namespace asio --- -2.7.4 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-distsrc-Use-shutil.which-instead-of-distutils.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-distsrc-Use-shutil.which-instead-of-distutils.patch new file mode 100644 index 0000000000..e86ab0a448 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-distsrc-Use-shutil.which-instead-of-distutils.patch @@ -0,0 +1,40 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 07:52:25 -0800 +Subject: [PATCH] distsrc: Use shutil.which instead of distutils + +distutils was removed from the standard library in Python 3.12, and +the copy that setuptools provides is deprecated. The distsrc tool is +always loaded, so the build fails when distutils is not available. + +Use shutil.which(), which distsrc.py already imports shutil for. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + site_scons/site_tools/distsrc.py | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/site_scons/site_tools/distsrc.py b/site_scons/site_tools/distsrc.py +index 83f47f2a..a6871d95 100644 +--- a/site_scons/site_tools/distsrc.py ++++ b/site_scons/site_tools/distsrc.py +@@ -30,8 +30,6 @@ import time + import zipfile + import io + +-from distutils.spawn import find_executable +- + __distsrc_callbacks = [] + + +@@ -176,7 +174,7 @@ def distsrc_action_generator(source, target, env, for_signature): + # using the env. + git_path = env.WhereIs("git") + if not git_path: +- git_path = find_executable("git") ++ git_path = shutil.which("git") + + if not git_path: + return build_error_action("Could not find git - cannot create distsrc archive") diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-include-needed-c-header.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-include-needed-c-header.patch deleted file mode 100644 index 581c2390ec..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-include-needed-c-header.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 383b1dda4800c2514cb31446cd7478692d7d26cf Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 3 Mar 2021 12:43:16 -0800 -Subject: [PATCH] include needed c++ header - -Fixes -plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - src/mongo/db/exec/plan_stats.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/mongo/db/exec/plan_stats.h b/src/mongo/db/exec/plan_stats.h -index ea75f673b8..0cc9b4636d 100644 ---- a/src/mongo/db/exec/plan_stats.h -+++ b/src/mongo/db/exec/plan_stats.h -@@ -31,6 +31,7 @@ - - #include - #include -+#include - #include - #include - --- -2.30.1 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-moduleconfig.py-python-3.12-compatibility.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-moduleconfig.py-python-3.12-compatibility.patch index 51926b9d2e..6407d19bd0 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-moduleconfig.py-python-3.12-compatibility.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-moduleconfig.py-python-3.12-compatibility.patch @@ -1,4 +1,4 @@ -From 37580777bc5294d606584f3731d9f5f5425bb587 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Awais B Date: Tue, 4 Mar 2025 11:27:10 +0000 Subject: [PATCH] moduleconfig.py: python 3.12 compatibility @@ -14,7 +14,7 @@ Signed-off-by: Awais B 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/buildscripts/moduleconfig.py b/buildscripts/moduleconfig.py -index b4d0bba0490..69dd91ab30d 100644 +index 3076e22b..22de3380 100644 --- a/buildscripts/moduleconfig.py +++ b/buildscripts/moduleconfig.py @@ -27,7 +27,8 @@ MongoDB SConscript files do. @@ -27,7 +27,7 @@ index b4d0bba0490..69dd91ab30d 100644 import inspect import os -@@ -71,12 +72,18 @@ def discover_modules(module_root, allowed_modules): +@@ -70,12 +71,18 @@ def discover_modules(module_root, allowed_modules): print("adding module: %s" % (name)) fp = open(build_py, "r") try: @@ -52,6 +52,3 @@ index b4d0bba0490..69dd91ab30d 100644 finally: fp.close() except (FileNotFoundError, IOError): --- -2.34.1 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-server-Adjust-the-cache-alignment-assumptions.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-server-Adjust-the-cache-alignment-assumptions.patch deleted file mode 100644 index 52c9df9b1b..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-server-Adjust-the-cache-alignment-assumptions.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 5c9e0d0fc9188bab0ae09c9c33df01938b0c1b6c Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Thu, 14 Apr 2022 09:25:33 -0700 -Subject: [PATCH] server: Adjust the cache alignment assumptions - -aarch64 has 256 for hardware_destructive_interference_size and gcc 12 -has added a warning to complain about mismatches which results in -static_assert failures - -In file included from src/mongo/s/commands/cluster_find_cmd.cpp:39: -src/mongo/db/stats/counters.h:185:47: error: static assertion failed: cache line spill - 185 | static_assert(sizeof(decltype(_together)) <= stdx::hardware_constructive_interference_size, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -The structure need to ensure true sharing for both the elements -so align it to hardware_constructive_interference_size instead - -Upstream-Status: Inappropriate [https://jira.mongodb.org/browse/SERVER-65664] - -Signed-off-by: Khem Raj ---- - src/mongo/db/stats/counters.h | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - ---- a/src/mongo/db/stats/counters.h -+++ b/src/mongo/db/stats/counters.h -@@ -182,8 +182,8 @@ private: - AtomicWord requests{0}; - }; - CacheAligned _together{}; -- static_assert(sizeof(decltype(_together)) <= stdx::hardware_constructive_interference_size, -- "cache line spill"); -+ static_assert(sizeof(Together) <= stdx::hardware_constructive_interference_size, -+ "cache line spill"); - - CacheAligned> _logicalBytesOut{0}; - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-stacktrace-Define-ARCH_BITS-for-x86.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-stacktrace-Define-ARCH_BITS-for-x86.patch deleted file mode 100644 index a92883516c..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-stacktrace-Define-ARCH_BITS-for-x86.patch +++ /dev/null @@ -1,29 +0,0 @@ -From efd79bda1b85a5a4398a71e5ea2bc00ee4b0ea46 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 15 Sep 2020 18:20:27 -0700 -Subject: [PATCH] stacktrace: Define ARCH_BITS for x86 - -stacktrace_somap.cpp:92:33: error: 'ELFCLASSARCH_BITS' was not declared in this scope - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - src/mongo/util/stacktrace_somap.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/mongo/util/stacktrace_somap.cpp b/src/mongo/util/stacktrace_somap.cpp -index f7ba66a142..2231948ce8 100644 ---- a/src/mongo/util/stacktrace_somap.cpp -+++ b/src/mongo/util/stacktrace_somap.cpp -@@ -83,7 +83,7 @@ void addUnameToSoMap(BSONObjBuilder* soMap) { - #define ARCH_BITS __ELF_NATIVE_CLASS - #elif defined(__x86_64__) || defined(__aarch64__) - #define ARCH_BITS 64 --#elif defined(__arm__) -+#elif defined(__i386__) || defined(__arm__) - #define ARCH_BITS 32 - #else - #error Unknown target architecture. --- -2.28.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-wiredtiger-Avoid-using-off64_t.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-wiredtiger-Avoid-using-off64_t.patch index abe6898554..91c1f521f3 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-wiredtiger-Avoid-using-off64_t.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-wiredtiger-Avoid-using-off64_t.patch @@ -1,4 +1,4 @@ -From 0508c1518c2e7c586a231d344e9f93b08507885b Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 31 Dec 2022 14:23:40 -0800 Subject: [PATCH] wiredtiger: Avoid using off64_t @@ -13,10 +13,10 @@ Signed-off-by: Khem Raj 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/third_party/wiredtiger/src/os_posix/os_fs.c b/src/third_party/wiredtiger/src/os_posix/os_fs.c -index 3898eb74343..9ce2d5edb38 100644 +index bfc8f40e..a1de7596 100644 --- a/src/third_party/wiredtiger/src/os_posix/os_fs.c +++ b/src/third_party/wiredtiger/src/os_posix/os_fs.c -@@ -533,7 +533,7 @@ __posix_file_sync_nowait(WT_FILE_HANDLE *file_handle, WT_SESSION *wt_session) +@@ -546,7 +546,7 @@ __posix_file_sync_nowait(WT_FILE_HANDLE *file_handle, WT_SESSION *wt_session) pfh = (WT_FILE_HANDLE_POSIX *)file_handle; /* See comment in __posix_sync(): sync cannot be retried or fail. */ @@ -25,6 +25,3 @@ index 3898eb74343..9ce2d5edb38 100644 if (ret == 0) return (0); --- -2.39.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-Add-a-definition-for-the-macro-__ELF_NATIVE_CLASS.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-Add-a-definition-for-the-macro-__ELF_NATIVE_CLASS.patch deleted file mode 100644 index d1e662f291..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-Add-a-definition-for-the-macro-__ELF_NATIVE_CLASS.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 28f34191eef1e70c24d2f81b66e4dd40dbefcd35 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 2 Sep 2017 12:42:30 -0700 -Subject: [PATCH 04/10] Add a definition for the macro __ELF_NATIVE_CLASS - -It depends on the native arch's word size. - -Signed-off-by: Khem Raj -Signed-off-by: Vincent Prince - -Upstream-Status: Pending ---- - src/mongo/util/stacktrace_posix.cpp | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/src/mongo/util/stacktrace_posix.cpp b/src/mongo/util/stacktrace_posix.cpp -index 531e21bdc2..fa611499e4 100644 ---- a/src/mongo/util/stacktrace_posix.cpp -+++ b/src/mongo/util/stacktrace_posix.cpp -@@ -42,6 +42,15 @@ - #include - #include - -+#if !defined(__GLIBC__) -+#if defined __x86_64__ && !defined __ILP32__ -+# define __WORDSIZE 64 -+#else -+# define __WORDSIZE 32 -+#endif -+#define __ELF_NATIVE_CLASS __WORDSIZE -+#endif -+ - #include "mongo/base/init.h" - #include "mongo/bson/json.h" - #include "mongo/config.h" --- -2.24.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-Fix-default-stack-size-to-256K.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-Fix-default-stack-size-to-256K.patch index 59066b2600..86c1a0eb5c 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-Fix-default-stack-size-to-256K.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-Fix-default-stack-size-to-256K.patch @@ -1,7 +1,7 @@ -From ffe6045b190b735601cd209d3e7ac121604c5a4e Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 24 Aug 2018 13:07:01 -0700 -Subject: [PATCH 08/10] Fix default stack size to 256K +Subject: [PATCH] Fix default stack size to 256K On musl default stack size is ~80K which is too low for mongodb @@ -10,11 +10,11 @@ Upstream-Status: Pending Signed-off-by: Khem Raj --- - src/mongo/platform/stack_locator_pthread_getattr_np.cpp | 10 ++++++++++ + .../platform/stack_locator_pthread_getattr_np.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/mongo/platform/stack_locator_pthread_getattr_np.cpp b/src/mongo/platform/stack_locator_pthread_getattr_np.cpp -index 4f3044c..68e47e3 100644 +index 4f3044c5..68e47e3c 100644 --- a/src/mongo/platform/stack_locator_pthread_getattr_np.cpp +++ b/src/mongo/platform/stack_locator_pthread_getattr_np.cpp @@ -36,6 +36,16 @@ @@ -34,6 +34,3 @@ index 4f3044c..68e47e3 100644 namespace mongo { StackLocator::StackLocator() { --- -2.7.4 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch deleted file mode 100644 index d4b5586a97..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 9 Nov 2026 08:10:00 -0800 -Subject: [PATCH] SConstruct: Pass call to CheckLibWithHeader as a keyword - -Newer SCons added an extra_libs parameter to CheckLibWithHeader() ahead -of call, so the call snippet passed positionally is treated as a list of -extra libraries and each character becomes a -l option: - - ... -lcrypto -lS -lS -lL -le -la -ly ... -l( -l0 -l) -l; - Couldn't find OpenSSL crypto.h header and library - -Pass it as a keyword argument, which works with old and new SCons. - -Upstream-Status: Inappropriate [v4.4 branch is EOL] -Signed-off-by: Khem Raj ---- -diff --git a/SConstruct b/SConstruct ---- a/SConstruct -+++ b/SConstruct -@@ -3499,7 +3499,7 @@ - cryptoLibName, - ["openssl/crypto.h"], - "C", -- "SSLeay_version(0);", -+ call="SSLeay_version(0);", - autoadd=True): - maybeIssueDarwinSSLAdvice(conf.env) - conf.env.ConfError("Couldn't find OpenSSL crypto.h header and library") -@@ -3656,7 +3656,7 @@ - if conf.CheckLibWithHeader( - "curl", - ["curl/curl.h"], "C", -- "curl_global_init(0);", -+ call="curl_global_init(0);", - autoadd=False): - return True - -@@ -3782,7 +3782,7 @@ - "sasl2", - ["stddef.h","sasl/sasl.h"], - "C", -- "sasl_version_info(0, 0, 0, 0, 0, 0);", -+ call="sasl_version_info(0, 0, 0, 0, 0, 0);", - autoadd=False ): - myenv.ConfError("Couldn't find SASL header/libraries") - -@@ -3947,7 +3947,7 @@ - ["mongoc-1.0"], - ["mongoc/mongoc.h"], - "C", -- "mongoc_get_major_version();", -+ call="mongoc_get_major_version();", - autoadd=False ): - conf.env['MONGO_HAVE_LIBMONGOC'] = "library" - if not conf.env['MONGO_HAVE_LIBMONGOC'] and env.TargetOSIs('darwin') and conf.CheckMongoCFramework(): diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch deleted file mode 100644 index d2ba6eb805..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-Fix-unknown-prefix-env.patch +++ /dev/null @@ -1,21 +0,0 @@ -Upstream-Status: Pending - -Index: git/SConstruct -=================================================================== ---- git.orig/SConstruct -+++ git/SConstruct -@@ -977,6 +977,14 @@ env_vars.Add('WINDOWS_OPENSSL_BIN', - help='Sets the path to the openssl binaries for packaging', - default='c:/openssl/bin') - -+env_vars.Add('PREFIX', -+ help='installation prefix') -+ -+env_vars.Add('prefix', -+ help='installation prefix') -+ -+ -+ - # -- Validate user provided options -- - - # A dummy environment that should *only* have the variables we have set. In practice it has diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-boost-Fix-build-with-clang-23.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-boost-Fix-build-with-clang-23.patch index 3a188033f6..4be0805a22 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-boost-Fix-build-with-clang-23.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0003-boost-Fix-build-with-clang-23.patch @@ -3,7 +3,7 @@ From: Khem Raj Date: Mon, 9 Nov 2026 09:00:00 -0800 Subject: [PATCH] boost: Fix build with clang 23 -Backport fixes from newer Boost to the bundled Boost 1.70: +Backport fixes from newer Boost to the bundled Boost 1.79: - numeric_conversion and log: use boost::integral_constant instead of mpl::integral_c for enum constants. mpl::integral_c computes the @@ -21,10 +21,17 @@ Backport fixes from newer Boost to the bundled Boost 1.70: Upstream-Status: Backport [https://github.com/boostorg/numeric_conversion/commit/50a1eae942effb0a9b90724323ef8f2a67e7984a https://github.com/boostorg/log/commit/77f1e20bd69c2e7a9e25e6a9818ae6105f7d070c https://github.com/boostorg/thread/commit/49ccf9c30a0ca556873dbf64b12b0d741d1b3e66] Signed-off-by: Khem Raj --- -diff --git a/src/third_party/boost-1.70.0/boost/log/utility/strictest_lock.hpp b/src/third_party/boost-1.70.0/boost/log/utility/strictest_lock.hpp -index 5dd48b4f..05c7a037 100644 ---- a/src/third_party/boost-1.70.0/boost/log/utility/strictest_lock.hpp -+++ b/src/third_party/boost-1.70.0/boost/log/utility/strictest_lock.hpp + .../boost/boost/log/utility/strictest_lock.hpp | 17 +++++++++-------- + .../conversion/detail/int_float_mixture.hpp | 10 +++++----- + .../numeric/conversion/detail/sign_mixture.hpp | 10 +++++----- + .../conversion/detail/udt_builtin_mixture.hpp | 10 +++++----- + src/third_party/boost/boost/thread/future.hpp | 2 +- + 5 files changed, 25 insertions(+), 24 deletions(-) + +diff --git a/src/third_party/boost/boost/log/utility/strictest_lock.hpp b/src/third_party/boost/boost/log/utility/strictest_lock.hpp +index accc8b7a..80e71bde 100644 +--- a/src/third_party/boost/boost/log/utility/strictest_lock.hpp ++++ b/src/third_party/boost/boost/log/utility/strictest_lock.hpp @@ -17,6 +17,7 @@ #define BOOST_LOG_UTILITY_STRICTEST_LOCK_HPP_INCLUDED_ @@ -86,10 +93,10 @@ index 5dd48b4f..05c7a037 100644 { }; -diff --git a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/int_float_mixture.hpp b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/int_float_mixture.hpp +diff --git a/src/third_party/boost/boost/numeric/conversion/detail/int_float_mixture.hpp b/src/third_party/boost/boost/numeric/conversion/detail/int_float_mixture.hpp index 464e5275..7690d07a 100644 ---- a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/int_float_mixture.hpp -+++ b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/int_float_mixture.hpp +--- a/src/third_party/boost/boost/numeric/conversion/detail/int_float_mixture.hpp ++++ b/src/third_party/boost/boost/numeric/conversion/detail/int_float_mixture.hpp @@ -16,15 +16,15 @@ #include "boost/numeric/conversion/int_float_mixture_enum.hpp" #include "boost/numeric/conversion/detail/meta.hpp" @@ -111,10 +118,10 @@ index 464e5275..7690d07a 100644 // Metafunction: // -diff --git a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/sign_mixture.hpp b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/sign_mixture.hpp +diff --git a/src/third_party/boost/boost/numeric/conversion/detail/sign_mixture.hpp b/src/third_party/boost/boost/numeric/conversion/detail/sign_mixture.hpp index c7f9e42a..fde15840 100644 ---- a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/sign_mixture.hpp -+++ b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/sign_mixture.hpp +--- a/src/third_party/boost/boost/numeric/conversion/detail/sign_mixture.hpp ++++ b/src/third_party/boost/boost/numeric/conversion/detail/sign_mixture.hpp @@ -16,15 +16,15 @@ #include "boost/numeric/conversion/sign_mixture_enum.hpp" #include "boost/numeric/conversion/detail/meta.hpp" @@ -136,10 +143,10 @@ index c7f9e42a..fde15840 100644 // Metafunction: // -diff --git a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/udt_builtin_mixture.hpp b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +diff --git a/src/third_party/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp b/src/third_party/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp index 36dbc491..a39d29fd 100644 ---- a/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/udt_builtin_mixture.hpp -+++ b/src/third_party/boost-1.70.0/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +--- a/src/third_party/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp ++++ b/src/third_party/boost/boost/numeric/conversion/detail/udt_builtin_mixture.hpp @@ -15,15 +15,15 @@ #include "boost/numeric/conversion/udt_builtin_mixture_enum.hpp" #include "boost/numeric/conversion/detail/meta.hpp" @@ -161,10 +168,10 @@ index 36dbc491..a39d29fd 100644 // Metafunction: // -diff --git a/src/third_party/boost-1.70.0/boost/thread/future.hpp b/src/third_party/boost-1.70.0/boost/thread/future.hpp -index 3d1b29d4..2862fc0a 100644 ---- a/src/third_party/boost-1.70.0/boost/thread/future.hpp -+++ b/src/third_party/boost-1.70.0/boost/thread/future.hpp +diff --git a/src/third_party/boost/boost/thread/future.hpp b/src/third_party/boost/boost/thread/future.hpp +index bbf0ffc8..989babac 100644 +--- a/src/third_party/boost/boost/thread/future.hpp ++++ b/src/third_party/boost/boost/thread/future.hpp @@ -4669,7 +4669,7 @@ namespace detail } run_it& operator=(BOOST_THREAD_RV_REF(run_it) x) BOOST_NOEXCEPT { diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-ssl-Fix-build-with-OpenSSL-4.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-ssl-Fix-build-with-OpenSSL-4.patch index fdf6852119..9189780983 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-ssl-Fix-build-with-OpenSSL-4.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-ssl-Fix-build-with-OpenSSL-4.patch @@ -5,34 +5,49 @@ Subject: [PATCH] ssl: Fix build with OpenSSL 4 OpenSSL 4 makes ASN1_STRING opaque, removes ASN1_STRING_data() and ERR_remove_state(), and returns const pointers from -X509_EXTENSION_get_object() and X509_EXTENSION_get_data(). +X509_EXTENSION_get_object(), X509_EXTENSION_get_data(), +X509_get_subject_name() and X509_get_issuer_name(). Use the ASN1_STRING accessors, which are available since OpenSSL 1.1, -make the extension pointers const, and only call ERR_remove_state() with -OpenSSL older than 1.1, where it is not a no-op. +make the extension and name pointers const, and only call +ERR_remove_state() with OpenSSL older than 1.1, where it is not a +no-op. -Upstream-Status: Inappropriate [v4.4 branch is EOL] +Upstream-Status: Pending Signed-off-by: Khem Raj --- + src/mongo/util/net/openssl_init.cpp | 2 ++ + src/mongo/util/net/ssl_manager_openssl.cpp | 42 ++++++++++++---------- + 2 files changed, 26 insertions(+), 18 deletions(-) + diff --git a/src/mongo/util/net/openssl_init.cpp b/src/mongo/util/net/openssl_init.cpp -index c4980bb0..93b6e4fc 100644 +index 794c2b99..dec88c8d 100644 --- a/src/mongo/util/net/openssl_init.cpp +++ b/src/mongo/util/net/openssl_init.cpp -@@ -77,7 +77,9 @@ public: +@@ -87,7 +87,9 @@ public: // The `guard` callback will cause an invocation of `getID`, so it must be destroyed first. static thread_local ManagedId managedId; +#if OPENSSL_VERSION_NUMBER < 0x10100000L - static thread_local auto guard = makeGuard([] { ERR_remove_state(0); }); + static thread_local ScopeGuard guard([] { ERR_remove_state(0); }); +#endif return managedId.id; } diff --git a/src/mongo/util/net/ssl_manager_openssl.cpp b/src/mongo/util/net/ssl_manager_openssl.cpp -index 60cde955..fa55bb7d 100644 +index 0a6d51bb..a64d4dec 100644 --- a/src/mongo/util/net/ssl_manager_openssl.cpp +++ b/src/mongo/util/net/ssl_manager_openssl.cpp -@@ -1433,7 +1433,10 @@ SSLX509Name getCertificateSubjectX509Name(X509* cert) { +@@ -378,7 +378,7 @@ UniqueStackOfX509 SSLgetVerifiedChain(SSL* s) { + return UniqueStackOfX509(X509_STORE_CTX_get1_chain(ctx.get())); + } + +-SSLX509Name convertX509ToSSLX509Name(X509_NAME* x509Name) { ++SSLX509Name convertX509ToSSLX509Name(const X509_NAME* x509Name) { + std::vector> entries; + + int count = X509_NAME_entry_count(x509Name); +@@ -406,7 +406,10 @@ SSLX509Name convertX509ToSSLX509Name(X509_NAME* x509Name) { const auto* str = X509_NAME_ENTRY_get_data(entry); rdn.emplace_back( @@ -44,7 +59,7 @@ index 60cde955..fa55bb7d 100644 } if (!rdn.empty()) { entries.push_back(std::move(rdn)); -@@ -2904,7 +2907,7 @@ Future SSLManagerOpenSSL::parseAndValidatePeerCertificate( +@@ -3394,7 +3397,7 @@ Future SSLManagerOpenSSL::parseAndValidatePeerCertificate( const GENERAL_NAME* currentName = sk_GENERAL_NAME_value(sanNames, i); if (currentName && currentName->type == GEN_DNS) { std::string dnsName( @@ -53,7 +68,7 @@ index 60cde955..fa55bb7d 100644 auto swCIDRDNSName = CIDR::parse(dnsName); if (swCIDRDNSName.isOK()) { LOGV2_WARNING(23237, -@@ -2925,14 +2928,16 @@ Future SSLManagerOpenSSL::parseAndValidatePeerCertificate( +@@ -3415,14 +3418,16 @@ Future SSLManagerOpenSSL::parseAndValidatePeerCertificate( auto ipAddrStruct = currentName->d.iPAddress; struct sockaddr_storage ss; memset(&ss, 0, sizeof(ss)); @@ -74,28 +89,37 @@ index 60cde955..fa55bb7d 100644 } auto ipAddress = SockAddr(reinterpret_cast(&ss), sizeof(ss)).getAddr(); -@@ -3026,15 +3031,16 @@ StatusWith> SSLManagerOpenSSL::_parsePeerRoles(X50 - stdx::unordered_set roles; +@@ -3518,22 +3523,22 @@ StatusWith SSLManagerOpenSSL::_parsePee + ParsedPeerExtensions parsed; for (int i = 0; i < extCount; i++) { X509_EXTENSION* ex = sk_X509_EXTENSION_value(exts, i); - ASN1_OBJECT* obj = X509_EXTENSION_get_object(ex); + const ASN1_OBJECT* obj = X509_EXTENSION_get_object(ex); if (!OBJ_cmp(obj, rolesObj)) { - // We've found an extension which has our roles OID + // mongodbRoles extension. - ASN1_OCTET_STRING* data = X509_EXTENSION_get_data(ex); +- auto ptr = reinterpret_cast(data->data); +- auto swRoles = parsePeerRoles(ConstDataRange(ptr, ptr + data->length)); + const ASN1_OCTET_STRING* data = X509_EXTENSION_get_data(ex); - - return parsePeerRoles( -- ConstDataRange(reinterpret_cast(data->data), -- reinterpret_cast(data->data) + data->length)); -+ ConstDataRange(reinterpret_cast(ASN1_STRING_get0_data(data)), -+ reinterpret_cast(ASN1_STRING_get0_data(data)) + -+ ASN1_STRING_length(data))); - } - } - -@@ -3054,14 +3060,15 @@ StatusWith>> SSLManagerOpenSSL::_parseTL ++ auto ptr = reinterpret_cast(ASN1_STRING_get0_data(data)); ++ auto swRoles = parsePeerRoles(ConstDataRange(ptr, ptr + ASN1_STRING_length(data))); + if (!swRoles.isOK()) { + return std::move(swRoles.getStatus()); + } + parsed.roles = std::move(swRoles.getValue()); + } else if (!OBJ_cmp(obj, clusterMembershipObj)) { + // mongodbClusterMembership extension. +- ASN1_OCTET_STRING* data = X509_EXTENSION_get_data(ex); +- auto ptr = reinterpret_cast(data->data); +- auto swMembership = parseDERString(ConstDataRange(ptr, ptr + data->length)); ++ const ASN1_OCTET_STRING* data = X509_EXTENSION_get_data(ex); ++ auto ptr = reinterpret_cast(ASN1_STRING_get0_data(data)); ++ auto swMembership = parseDERString(ConstDataRange(ptr, ptr + ASN1_STRING_length(data))); + if (!swMembership.isOK()) { + return std::move(swMembership.getStatus()); + } +@@ -3557,14 +3562,15 @@ StatusWith>> SSLManagerOpenSSL::_parseTL ASN1_OBJECT* featuresObj = OBJ_nid2obj(NID_tlsfeature); for (int i = 0; i < extCount; i++) { X509_EXTENSION* ex = sk_X509_EXTENSION_value(exts, i); diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-wiredtiger-Disable-strtouq-on-musl.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-wiredtiger-Disable-strtouq-on-musl.patch index 45051e103d..90df14fc7a 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-wiredtiger-Disable-strtouq-on-musl.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0004-wiredtiger-Disable-strtouq-on-musl.patch @@ -1,7 +1,7 @@ -From cc95a8878fa581b164dee8fb1f07b05b9d919ef0 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 2 Sep 2017 13:13:15 -0700 -Subject: [PATCH 09/10] wiredtiger: Disable strtouq on musl +Subject: [PATCH] wiredtiger: Disable strtouq on musl Signed-off-by: Khem Raj @@ -11,7 +11,7 @@ Upstream-Status: Pending 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/third_party/wiredtiger/build_linux/wiredtiger_config.h b/src/third_party/wiredtiger/build_linux/wiredtiger_config.h -index 82e9994..0399a67 100644 +index 82e99943..0399a67c 100644 --- a/src/third_party/wiredtiger/build_linux/wiredtiger_config.h +++ b/src/third_party/wiredtiger/build_linux/wiredtiger_config.h @@ -104,7 +104,7 @@ @@ -23,6 +23,3 @@ index 82e9994..0399a67 100644 /* Define to 1 if you have the `sync_file_range' function. */ /* #undef HAVE_SYNC_FILE_RANGE */ --- -2.7.4 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch deleted file mode 100644 index b2d1d92f30..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Yuhong Zhang -Date: Thu, 9 Jul 2020 15:43:33 +0000 -Subject: [PATCH] SERVER-49099 Remove the Node::swap() function in Biggie - -The Node and Head swap() friends and the copy-and-swap assignment -operators built on them are unused and do not compile: Node::swap() -does not exist and Node has no trieKey, depth, data or children -members (they are _-prefixed). This went unnoticed because they are -in a class template that never instantiates them. - -Upstream-Status: Backport [https://github.com/mongodb/mongo/commit/77ffbcb4f5673b154fe64872cba9f34ce97bc55d] -Signed-off-by: Khem Raj ---- - src/mongo/db/storage/biggie/store.h | 21 --------------------- - 1 file changed, 21 deletions(-) - -diff --git a/src/mongo/db/storage/biggie/store.h b/src/mongo/db/storage/biggie/store.h -index a09b5b4..aeaa337 100644 ---- a/src/mongo/db/storage/biggie/store.h -+++ b/src/mongo/db/storage/biggie/store.h -@@ -809,18 +809,6 @@ private: - - virtual ~Node() = default; - -- friend void swap(Node& first, Node& second) { -- std::swap(first.trieKey, second.trieKey); -- std::swap(first.depth, second.depth); -- std::swap(first.data, second.data); -- std::swap(first.children, second.children); -- } -- -- Node& operator=(const Node other) { -- swap(*this, other); -- return *this; -- } -- - bool isLeaf() const { - for (auto child : _children) { - if (child != nullptr) -@@ -855,17 +843,8 @@ private: - _nextVersion->_hasPreviousVersion = false; - } - -- friend void swap(Head& first, Head& second) { -- Node::swap(first, second); -- } -- - Head(Head&& other) : Node(std::move(other)) {} - -- Head& operator=(const Head other) { -- swap(*this, other); -- return *this; -- } -- - bool hasPreviousVersion() const { - return _hasPreviousVersion; - } diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-sbe-Add-default-constructors-to-RowEq-and-RowHasher.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-sbe-Add-default-constructors-to-RowEq-and-RowHasher.patch new file mode 100644 index 0000000000..ddffca968e --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0005-sbe-Add-default-constructors-to-RowEq-and-RowHasher.patch @@ -0,0 +1,46 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 13:00:00 -0800 +Subject: [PATCH] sbe: Add default constructors to RowEq and RowHasher + +libstdc++ 16 value-initializes the hash and equality functors of +std::unordered_map with copy-list-initialization ("_M_hash{}"), which +fails when the only default constructor is explicit: + + hashtable_policy.h:1077:70: error: chosen constructor is explicit in copy-initialization + row.h:409:14: note: explicit constructor declared here + +Add non-explicit default constructors and keep the converting +constructors explicit. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + src/mongo/db/exec/sbe/values/row.h | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/mongo/db/exec/sbe/values/row.h b/src/mongo/db/exec/sbe/values/row.h +index b0ae9212..09d16a59 100644 +--- a/src/mongo/db/exec/sbe/values/row.h ++++ b/src/mongo/db/exec/sbe/values/row.h +@@ -347,7 +347,8 @@ template + struct RowEq { + using ComparatorType = StringData::ComparatorInterface; + +- explicit RowEq(const ComparatorType* comparator = nullptr) : _comparator(comparator) {} ++ RowEq() = default; ++ explicit RowEq(const ComparatorType* comparator) : _comparator(comparator) {} + + bool operator()(const RowType& lhs, const RowType& rhs) const { + for (size_t idx = 0; idx < lhs.size(); ++idx) { +@@ -406,7 +407,8 @@ template + struct RowHasher { + using CollatorType = CollatorInterface*; + +- explicit RowHasher(const CollatorType collator = nullptr) : _collator(collator) {} ++ RowHasher() = default; ++ explicit RowHasher(const CollatorType collator) : _collator(collator) {} + + std::size_t operator()(const RowType& k) const { + size_t res = hashInit(); diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0006-pcre-Fix-build-with-PCRE2-10.49.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0006-pcre-Fix-build-with-PCRE2-10.49.patch new file mode 100644 index 0000000000..77e42155ad --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0006-pcre-Fix-build-with-PCRE2-10.49.patch @@ -0,0 +1,36 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 13:00:00 -0800 +Subject: [PATCH] pcre: Fix build with PCRE2 10.49 + +PCRE2 10.49 no longer defines PCRE2_ERROR_CONDITION_ATOMIC_ASSERTION_EXPECTED +and uses its old value 198 for PCRE2_ERROR_MISSING_OCTAL_DIGIT, so the +build with --use-system-pcre2 fails: + + src/mongo/util/pcre.cpp:75:62: error: use of undeclared identifier 'PCRE2_ERROR_CONDITION_ATOMIC_ASSERTION_EXPECTED' + +Map the error to a code PCRE2 does not use when the header lacks it. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + src/mongo/util/pcre.cpp | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/mongo/util/pcre.cpp b/src/mongo/util/pcre.cpp +index ef38a6ff..90a16b5b 100644 +--- a/src/mongo/util/pcre.cpp ++++ b/src/mongo/util/pcre.cpp +@@ -71,6 +71,11 @@ std::string pcre2ErrorMessage(int e) { + return std::string(buf, len); + } + ++// PCRE2 10.49 no longer defines this error; give it a code PCRE2 does not use ++#ifndef PCRE2_ERROR_CONDITION_ATOMIC_ASSERTION_EXPECTED ++#define PCRE2_ERROR_CONDITION_ATOMIC_ASSERTION_EXPECTED (-1000) ++#endif ++ + #define X_(name) std::pair{Errc::name, PCRE2_##name}, + constexpr std::array errTable{MONGO_PCRE_ERROR_EXPAND_TABLE_(X_)}; + #undef X_ diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0007-SConstruct-Honor-js-engine-none.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0007-SConstruct-Honor-js-engine-none.patch new file mode 100644 index 0000000000..d94361b17e --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0007-SConstruct-Honor-js-engine-none.patch @@ -0,0 +1,37 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 24 Nov 2026 10:00:00 -0800 +Subject: [PATCH] SConstruct: Honor --js-engine=none + +get_option("js-engine") returns the string "none", which is true in +the "if jsEngine:" checks of the SConscripts, so mozjs and the mozjs +scripting library are built anyway. With --server-js=off, mongod then +links both scripting_none and the mozjs scripting library: + + ld.lld: error: duplicate symbol: mongo::ScriptEngine::setup(mongo::ExecutionEnvironment, bool) + >>> defined at engine_none.cpp:35 + >>> defined at engine.cpp:52 + +Map "none" to None so --js-engine=none builds without mozjs. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + SConstruct | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/SConstruct b/SConstruct +--- a/SConstruct ++++ b/SConstruct +@@ -1645,7 +1645,10 @@ + + noshell = has_option("noshell") + ++# "none" is a valid choice, but a non-empty string, so map it to None + jsEngine = get_option("js-engine") ++if jsEngine == "none": ++ jsEngine = None + + serverJs = get_option("server-js") == "on" + diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0008-Do-not-include-linux-prctl.h-together-with-sys-prctl.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0008-Do-not-include-linux-prctl.h-together-with-sys-prctl.patch new file mode 100644 index 0000000000..f178bade82 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0008-Do-not-include-linux-prctl.h-together-with-sys-prctl.patch @@ -0,0 +1,33 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 25 Nov 2026 16:20:35 -0800 +Subject: [PATCH] Do not include linux/prctl.h together with sys/prctl.h + +musl's sys/prctl.h defines struct prctl_mm_map and the PR_* constants +itself, so including linux/prctl.h as well redefines the struct: + + sys/prctl.h:88:8: error: redefinition of 'prctl_mm_map' + +glibc's sys/prctl.h includes linux/prctl.h, and PR_GET_THP_DISABLE, +the only definition used here, is available from sys/prctl.h on both, +so drop the linux/prctl.h include. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + src/mongo/db/startup_warnings_mongod.cpp | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/mongo/db/startup_warnings_mongod.cpp b/src/mongo/db/startup_warnings_mongod.cpp +index d3c975e..18f9966 100644 +--- a/src/mongo/db/startup_warnings_mongod.cpp ++++ b/src/mongo/db/startup_warnings_mongod.cpp +@@ -36,7 +36,6 @@ + #include + + #ifdef __linux__ +-#include + #include + #endif // __linux__ + diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0009-DirectMmap-Use-off_t-instead-of-off64_t-for-the-offs.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0009-DirectMmap-Use-off_t-instead-of-off64_t-for-the-offs.patch new file mode 100644 index 0000000000..8330818115 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0009-DirectMmap-Use-off_t-instead-of-off64_t-for-the-offs.patch @@ -0,0 +1,51 @@ +From 4500c2fada4e952037c59bd65e8be1ba0b29f21e Mon Sep 17 00:00:00 2001 +From: Derek Mauro +Date: Mon, 12 Jun 2023 08:11:36 -0700 +Subject: [PATCH] DirectMmap: Use off_t instead of off64_t for the offset + parameter + +off_t is best for portability. Its size varies with the platform. +off64_t is non-standard, but is present in glibc and some BSDs. +It also matches the signature specified in the manual. +https://man7.org/linux/man-pages/man2/mmap.2.html + +This is a re-spin of #1349, but correctly casts the type to the type +expected by the kernel for mmap2. +https://man7.org/linux/man-pages/man2/mmap2.2.html + +Fixes #1473 + +PiperOrigin-RevId: 539656313 +Change-Id: I7a30dd9d3eb6af03a99da0d93d721a86f6521b25 + +musl removed the off64_t alias, so the bundled abseil fails to build. +Adjusted the paths for the copy of abseil bundled in MongoDB. + +Upstream-Status: Backport [https://github.com/abseil/abseil-cpp/commit/4500c2fada4e952037c59bd65e8be1ba0b29f21e] +Signed-off-by: Khem Raj +--- + .../abseil-cpp/dist/absl/base/internal/direct_mmap.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/third_party/abseil-cpp/dist/absl/base/internal/direct_mmap.h b/src/third_party/abseil-cpp/dist/absl/base/internal/direct_mmap.h +index 815b8d23ba3..1beb2ee4e52 100644 +--- a/src/third_party/abseil-cpp/dist/absl/base/internal/direct_mmap.h ++++ b/src/third_party/abseil-cpp/dist/absl/base/internal/direct_mmap.h +@@ -72,7 +72,7 @@ namespace base_internal { + // Platform specific logic extracted from + // https://chromium.googlesource.com/linux-syscall-support/+/master/linux_syscall_support.h + inline void* DirectMmap(void* start, size_t length, int prot, int flags, int fd, +- off64_t offset) noexcept { ++ off_t offset) noexcept { + #if defined(__i386__) || defined(__ARM_ARCH_3__) || defined(__ARM_EABI__) || \ + defined(__m68k__) || defined(__sh__) || \ + (defined(__hppa__) && !defined(__LP64__)) || \ +@@ -102,7 +102,7 @@ inline void* DirectMmap(void* start, size_t length, int prot, int flags, int fd, + #else + return reinterpret_cast( + syscall(SYS_mmap2, start, length, prot, flags, fd, +- static_cast(offset / pagesize))); ++ static_cast(offset / pagesize))); // NOLINT + #endif + #elif defined(__s390x__) + // On s390x, mmap() arguments are passed in memory. diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/1296.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/1296.patch deleted file mode 100644 index 9259f96be8..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/1296.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 362be06fc16a5ad0f9e9aa90cc763c5242e8e35c Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 9 Feb 2019 12:41:45 +0100 -Subject: [PATCH] ssl_manager.cpp: fix build with gcc 7 and -fpermissive - -Change prototype of DERToken::parse function from -parse(ConstDataRange cdr, size_t* outLength); -to parse(ConstDataRange cdr, uint64_t* outLength); - -Otherwise, we got the following error: - -src/mongo/util/net/ssl_manager.cpp: In static member function 'static mongo::StatusWith mongo::{anonymous}::DERToken::parse(mongo::ConstDataRange, size_t*)': -src/mongo/util/net/ssl_manager.cpp:575:79: error: invalid conversion from 'size_t* {aka unsigned int*}' to 'long unsigned int*' [-fpermissive] - if (mongoUnsignedAddOverflow64(tagAndLengthByteCount, derLength, outLength) || - -Upstream-Status: Submitted [https://github.com/mongodb/mongo/pull/1296] - -Signed-off-by: Fabrice Fontaine -Signed-off-by: Vincent Prince ---- - src/mongo/util/net/ssl_manager.cpp | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/mongo/util/net/ssl_manager.cpp b/src/mongo/util/net/ssl_manager.cpp -index 455a1662a5..e8497bc0d1 100644 ---- a/src/mongo/util/net/ssl_manager.cpp -+++ b/src/mongo/util/net/ssl_manager.cpp -@@ -810,7 +810,7 @@ public: - * - * Returns a DERToken which consists of the (tag, length, value) tuple. - */ -- static StatusWith parse(ConstDataRange cdr, size_t* outLength); -+ static StatusWith parse(ConstDataRange cdr, uint64_t* outLength); - - private: - DERType _type{DERType::EndOfContent}; -@@ -827,7 +827,7 @@ struct DataType::Handler { - size_t length, - size_t* advanced, - std::ptrdiff_t debug_offset) { -- size_t outLength; -+ uint64_t outLength; - - auto swPair = DERToken::parse(ConstDataRange(ptr, length), &outLength); - -@@ -889,7 +889,7 @@ StatusWith readDERInt(ConstDataRangeCursor& cdc) { - } - - --StatusWith DERToken::parse(ConstDataRange cdr, size_t* outLength) { -+StatusWith DERToken::parse(ConstDataRange cdr, uint64_t* outLength) { - const size_t kTagLength = 1; - const size_t kTagLengthAndInitialLengthByteLength = kTagLength + 1; - --- -2.24.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/arm64-support.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/arm64-support.patch deleted file mode 100644 index 24b0ad58b6..0000000000 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/arm64-support.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 298d958148f1fb2bb7725fed15c68c09677c14c9 Mon Sep 17 00:00:00 2001 -From: Vincent Prince -Date: Mon, 16 Sep 2019 13:37:10 +0200 -Subject: [PATCH 05/10] Add alises for arm64 which is same as aarch64 - -Signed-off-by: Khem Raj -Signed-off-by: Vincent Prince - -Upstream-Status: Pending ---- - SConstruct | 1 + - src/third_party/IntelRDFPMathLib20U1/SConscript | 2 +- - src/third_party/wiredtiger/SConscript | 2 +- - 3 files changed, 3 insertions(+), 2 deletions(-) - -diff --git a/SConstruct b/SConstruct -index 448939bdd0..abfd816f3e 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -1228,6 +1228,7 @@ if endian == "auto": - processor_macros = { - 'arm' : { 'endian': 'little', 'defines': ('__arm__',) }, - 'aarch64' : { 'endian': 'little', 'defines': ('__arm64__', '__aarch64__')}, -+ 'arm64' : { 'endian': 'little', 'defines': ('__arm64__', '__aarch64__')}, - 'i386' : { 'endian': 'little', 'defines': ('__i386', '_M_IX86')}, - 'ppc64le' : { 'endian': 'little', 'defines': ('__powerpc64__',)}, - 's390x' : { 'endian': 'big', 'defines': ('__s390x__',)}, -diff --git a/src/third_party/IntelRDFPMathLib20U1/SConscript b/src/third_party/IntelRDFPMathLib20U1/SConscript -index 58e1b7ba65..bffe83b462 100644 ---- a/src/third_party/IntelRDFPMathLib20U1/SConscript -+++ b/src/third_party/IntelRDFPMathLib20U1/SConscript -@@ -309,7 +309,7 @@ if processor == 'i386' or processor == 'emscripten': - elif processor == 'arm': - cpp_defines['IA32'] = '1' - cpp_defines['ia32'] = '1' --elif processor == "aarch64": -+elif processor == "aarch64" or processor == 'arm64': - cpp_defines['efi2'] = '1' - cpp_defines['EFI2'] = '1' - # Using 64 bit little endian -diff --git a/src/third_party/wiredtiger/SConscript b/src/third_party/wiredtiger/SConscript -index d6bd665e23..2f1e656a19 100644 ---- a/src/third_party/wiredtiger/SConscript -+++ b/src/third_party/wiredtiger/SConscript -@@ -152,7 +152,7 @@ condition_map = { - 'POSIX_HOST' : not env.TargetOSIs('windows'), - 'WINDOWS_HOST' : env.TargetOSIs('windows'), - -- 'ARM64_HOST' : env['TARGET_ARCH'] == 'aarch64', -+ 'ARM64_HOST' : env['TARGET_ARCH'] in ('aarch64', 'arm64'), - 'POWERPC_HOST' : env['TARGET_ARCH'] == 'ppc64le', - 'X86_HOST' : env['TARGET_ARCH'] == 'x86_64', - 'ZSERIES_HOST' : env['TARGET_ARCH'] == 's390x', --- -2.24.0 - diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/disable_runtime_check.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/disable_runtime_check.patch index 78ebba8fb7..285cd8abe7 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/disable_runtime_check.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/disable_runtime_check.patch @@ -1,17 +1,28 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 07:52:32 -0800 +Subject: [PATCH] SConstruct: Use a fixed vec_vbpermq output index + Lets use cached result for this otherwise runtime test, on qemuppc64 when this test is run using gcc11, it returns 1, since we dont worry about older compilers here, we can cache the result and use it here Upstream-Status: Inappropriate [Cross-compile specific] Signed-off-by: Khem Raj +--- + SConstruct | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/SConstruct b/SConstruct +index e84797c6..45e78a8d 100644 --- a/SConstruct +++ b/SConstruct -@@ -3904,7 +3904,7 @@ def doConfigure(myenv): +@@ -5464,7 +5464,7 @@ def doConfigure(myenv): conf.AddTest('CheckAltivecVbpermqOutput', CheckAltivecVbpermqOutput) -- outputIndex = next((idx for idx in [0,1] if conf.CheckAltivecVbpermqOutput(idx)), None) +- outputIndex = next((idx for idx in [0, 1] if conf.CheckAltivecVbpermqOutput(idx)), None) + outputIndex = 1 if outputIndex is not None: - conf.env.SetConfigHeaderDefine("MONGO_CONFIG_ALTIVEC_VEC_VBPERMQ_OUTPUT_INDEX", outputIndex) - else: + conf.env.SetConfigHeaderDefine("MONGO_CONFIG_ALTIVEC_VEC_VBPERMQ_OUTPUT_INDEX", + outputIndex) diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ppc64_ARCH_BITS.patch b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ppc64_ARCH_BITS.patch index 471d5629a1..b2887cdd0f 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ppc64_ARCH_BITS.patch +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/ppc64_ARCH_BITS.patch @@ -1,18 +1,32 @@ -Subject: [PATCH] stacktrace: Define ARCH_BITS for ppc64 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 07:53:32 -0800 +Subject: [PATCH] stacktrace: Define ARCH_BITS for ppc64 and s390x + +musl does not define __ELF_NATIVE_CLASS, so ARCH_BITS is only set for +x86_64 and aarch64 and the build fails on the other 64-bit targets: src/mongo/util/stacktrace_somap.cpp:89:2: error: #error Unknown target architecture. stacktrace_somap.cpp:92:33: error: 'ELFCLASSARCH_BITS' was not declared in this scope Upstream-Status: Pending Signed-off-by: Khem Raj +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + src/mongo/util/stacktrace_somap.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/mongo/util/stacktrace_somap.cpp b/src/mongo/util/stacktrace_somap.cpp +index a9045da0..fe8ea889 100644 --- a/src/mongo/util/stacktrace_somap.cpp +++ b/src/mongo/util/stacktrace_somap.cpp -@@ -81,7 +81,7 @@ void addUnameToSoMap(BSONObjBuilder* soM +@@ -83,7 +83,7 @@ void addUnameToSoMap(BSONObjBuilder* soMap) { #if defined(__ELF_NATIVE_CLASS) // determine ARCH_BITS #define ARCH_BITS __ELF_NATIVE_CLASS -#elif defined(__x86_64__) || defined(__aarch64__) -+#elif defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__) ++#elif defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__) || defined(__s390x__) #define ARCH_BITS 64 - #elif defined(__i386__) || defined(__arm__) + #elif defined(__arm__) #define ARCH_BITS 32 diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_7.0.48.bb similarity index 55% rename from meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb rename to meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_7.0.48.bb index a0dbf36b24..7769bb83b1 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_7.0.48.bb @@ -1,122 +1,109 @@ SUMMARY = "mongodb" -LICENSE = "Apache-2.0 AND Zlib AND SSPL-1.0" +LICENSE = "SSPL-1.0 AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND MIT AND Unicode-3.0 AND Unicode-DFS-2016 AND Unlicense" LIC_FILES_CHKSUM = "file://LICENSE-Community.txt;md5=3a865f27f11f43ecbe542d9ea387dcf1 \ - file://APACHE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" + file://distsrc/THIRD-PARTY-NOTICES;md5=3c39e5c161df3327a0842fe6e8318b33" -DEPENDS = "openssl libpcap zlib boost curl python3 \ - python3-packaging-native python3-setuptools-native \ - python3-pyyaml-native python3-cheetah-native \ - python3-psutil-native python3-regex-native \ +DEPENDS = "openssl zlib curl \ + python3-cheetah-native python3-packaging-native \ + python3-psutil-native python3-pymongo-native \ + python3-pyyaml-native \ " -inherit scons dos2unix siteinfo python3native systemd useradd +inherit siteinfo python3native systemd useradd -PV = "4.4.30" -#v4.4.30 -SRCREV = "1ae4c9990dbc5711f3500748f0c3f8b5d375d8c0" -SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \ - file://0001-Tell-scons-to-use-build-settings-from-environment-va.patch \ - file://0001-Use-long-long-instead-of-int64_t.patch \ +SRCREV = "1fd1fee93dc835b17751f55e5ddaf193d14496d9" +SRC_URI = "git://github.com/mongodb/mongo.git;branch=v${PV};protocol=https;tag=r${PV} \ + file://0001-moduleconfig.py-python-3.12-compatibility.patch \ + file://0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch \ + file://0001-distsrc-Use-shutil.which-instead-of-distutils.patch \ + file://disable_runtime_check.patch \ + file://0001-SConstruct-Respect-the-CPU-selected-by-the-compiler-.patch \ file://0001-Use-__GLIBC__-to-control-use-of-gnu_get_libc_version.patch \ - file://0002-Add-a-definition-for-the-macro-__ELF_NATIVE_CLASS.patch \ - file://arm64-support.patch \ - file://0001-IntelRDFPMathLib20U1-Check-for-__DEFINED_wchar_t.patch \ file://0001-Support-deprecated-resolver-functions.patch \ - file://0003-Fix-unknown-prefix-env.patch \ - file://1296.patch \ - file://0001-Fix-compilation-with-fno-common.patch \ - file://0001-stacktrace-Define-ARCH_BITS-for-x86.patch \ - file://0001-include-needed-c-header.patch \ - file://disable_runtime_check.patch \ file://ppc64_ARCH_BITS.patch \ - file://0001-add-explict-static_cast-size_t-to-maxMemoryUsageByte.patch \ - file://0001-server-Adjust-the-cache-alignment-assumptions.patch \ - file://0001-The-std-lib-unary-binary_function-base-classes-are-d.patch \ file://0001-apply-msvc-workaround-for-clang-16.patch \ - file://0001-Fix-type-mismatch-on-32bit-arches.patch \ - file://0001-Fix-build-on-32bit.patch \ - file://0001-moduleconfig.py-python-3.12-compatibility.patch \ - file://0001-Use-packaging-instead-of-pkg_resources-for-version-p.patch \ - file://0002-SConstruct-Pass-call-to-CheckLibWithHeader-as-a-keyw.patch \ file://0003-boost-Fix-build-with-clang-23.patch \ + file://0001-The-std-lib-unary-binary_function-base-classes-are-d.patch \ file://0004-ssl-Fix-build-with-OpenSSL-4.patch \ - file://0005-SERVER-49099-Remove-the-Node-swap-function-in-Biggie.patch \ + file://0001-SERVER-79426-fix-build-issues-under-clang-15.patch \ + file://0001-SERVER-77007-MongoDB-fails-to-compile-with-Clang-15-.patch \ + file://0005-sbe-Add-default-constructors-to-RowEq-and-RowHasher.patch \ + file://0006-pcre-Fix-build-with-PCRE2-10.49.patch \ + file://0007-SConstruct-Honor-js-engine-none.patch \ + file://0008-Do-not-include-linux-prctl.h-together-with-sys-prctl.patch \ + file://0009-DirectMmap-Use-off_t-instead-of-off64_t-for-the-offs.patch \ file://oe-buildinfo.vars \ " SRC_URI:append:libc-musl = "\ - file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ file://0002-Fix-default-stack-size-to-256K.patch \ file://0004-wiredtiger-Disable-strtouq-on-musl.patch \ file://0001-wiredtiger-Avoid-using-off64_t.patch \ " -SRC_URI:append:toolchain-clang = "\ - file://0001-asio-Dont-use-experimental-with-clang.patch \ - " - +# 8.0 and newer build with Bazel only +UPSTREAM_CHECK_GITTAGREGEX = "^r(?P7\.0\.\d+)$" CVE_STATUS[CVE-2014-8180] = "not-applicable-config: Not affecting our configuration so it can be safely ignored." CVE_STATUS[CVE-2017-2665] = "not-applicable-config: Not affecting our configuration so it can be safely ignored." CVE_STATUS[CVE-2025-14911] = "cpe-incorrect: The vulnerability is about mongo-c-driver application, not mongodb" -COMPATIBLE_HOST ?= '(x86_64|i.86|powerpc64|arm|aarch64).*-linux' +COMPATIBLE_HOST ?= '(x86_64|aarch64|powerpc64le).*-linux' -PACKAGECONFIG ??= "tcmalloc system-pcre" -# gperftools compilation fails for arm below v7 because of missing support of -# dmb operation. So we use system-allocator instead of tcmalloc -PACKAGECONFIG:remove:armv6 = "tcmalloc" +PACKAGECONFIG ??= "tcmalloc system-pcre2" PACKAGECONFIG:remove:libc-musl = "tcmalloc" -PACKAGECONFIG:remove:riscv64 = "tcmalloc" -PACKAGECONFIG:remove:riscv32 = "tcmalloc" PACKAGECONFIG[tcmalloc] = "--use-system-tcmalloc,--allocator=system,gperftools," -PACKAGECONFIG[shell] = ",--js-engine=none,," -PACKAGECONFIG[system-pcre] = "--use-system-pcre,,libpcre," +PACKAGECONFIG[js] = "--server-js=on,--server-js=off --js-engine=none,," +PACKAGECONFIG[system-pcre2] = "--use-system-pcre2,,libpcre2," MONGO_ARCH ?= "${HOST_ARCH}" MONGO_ARCH:powerpc64le = "ppc64le" -WIREDTIGER ?= "off" -WIREDTIGER:x86-64 = "on" -WIREDTIGER:aarch64 = "on" -EXTRA_OESCONS = "PREFIX=${prefix} \ - DESTDIR=${D} \ +MONGO_LINKER ?= "bfd" +MONGO_LINKER:toolchain-clang = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', 'lld', 'bfd', d)}" + +MONGO_SCONS = "${PYTHON} ${S}/src/third_party/scons-4.9.1/scons.py" + +# std::atomic (8 bytes, 4-byte aligned) calls the generic __atomic_compare_exchange +LDFLAGS:append = " -Wl,--push-state,--no-as-needed -latomic -Wl,--pop-state" + +EXTRA_OESCONS = "--variables-files=etc/scons/propagate_shell_environment.vars \ + --variables-files=etc/scons/compilers_from_env.vars \ + --variables-files=${UNPACKDIR}/oe-buildinfo.vars \ + PREFIX=${prefix} \ + DESTDIR=${B}/oe-install \ MAXLINELENGTH='2097152' \ LIBPATH=${STAGING_LIBDIR} \ - LINKFLAGS='${LDFLAGS}' \ + AR='${AR}' \ + CFLAGS='${CFLAGS}' \ CXXFLAGS='${CXXFLAGS}' \ + LINKFLAGS='${LDFLAGS}' \ TARGET_ARCH=${MONGO_ARCH} \ MONGO_VERSION=${PV} \ - OBJCOPY=${OBJCOPY} \ - --variables-files=${UNPACKDIR}/oe-buildinfo.vars \ - --ssl \ + MONGO_GIT_HASH=${SRCREV} \ + SPLIT_DWARF=0 \ + GDB_INDEX=0 \ + --ssl=on \ --disable-warnings-as-errors \ --use-system-zlib \ - --nostrip \ + --linker=${MONGO_LINKER} \ --endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ --use-hardware-crc32=${@bb.utils.contains('TUNE_FEATURES', 'crc', 'on', 'off', d)} \ - --wiredtiger='${WIREDTIGER}' \ - --separate-debug \ + --wiredtiger=on \ ${PACKAGECONFIG_CONFARGS}" USERADD_PACKAGES = "${PN}" USERADD_PARAM:${PN} = "--system --no-create-home --home-dir /var/run/${BPN} --shell /bin/false --user-group ${BPN}" -scons_do_compile() { - ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} ${EXTRA_OESCONS} install-core || +do_compile() { + ${MONGO_SCONS} ${PARALLEL_MAKE} ${EXTRA_OESCONS} install-core || die "scons build execution failed." } -scons_do_install() { +do_install() { # install binaries install -d ${D}${bindir} - for i in mongod mongos mongo; do - if [ -f ${B}/build/*/mongo/$i ]; then - install -m 0755 ${B}/build/*/mongo/$i ${D}${bindir} - else - bbnote "$i does not exist" - fi - done + install -m 0755 ${B}/oe-install${bindir}/mongod ${B}/oe-install${bindir}/mongos ${D}${bindir} # install config install -d ${D}${sysconfdir} From patchwork Fri Nov 27 04:15:14 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105922 Received: from mail-dl1-f45.google.com (mail-dl1-f45.google.com [74.125.82.45]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.10232.1795752928966489288 for ; Thu, 26 Nov 2026 20:15:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=UhifomrJ; spf=pass (domain: gmail.com, ip: 74.125.82.45, mailfrom: raj.khem@gmail.com) Received: by mail-dl1-f45.google.com with SMTP id a92af1059eb24-170135e43c7so11891992c88.0 for ; Thu, 26 Nov 2026 20:15:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795752928; x=1796357728; 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:content-type; bh=0apI8pTNw36G4DXsCglQEO7Cz727zbrwGtPTw/Iq/Ew=; b=UhifomrJdy3np6AJAnlREX4jnw2VTuKXIQ9qayNVmaCpj2mOlQdy+8fWIVM5GTPWV6 YG0QvchZ2hcszPTg184oymzXDk5ECh74vFIclBgHPTvP+ja6gK/RU5KwrVeiYXB3tMu1 0zPuO1O2lC9p6d6zTT8ujA6M6eL//H3ZW7+9q8YsjVZtNApgvMREDIj+FMzdT8RVxlpq Q4noWZrwgaFv/j7aWeoS3QRw2ZvEM8657y2p+fQzYEEluKHCX1MdpB0wak18DX0VSBwZ /4uziQrgyV7b6ckfoOg5Dp9OGiaNEzXSqfITxmxINwCUoLkVygKrBKEsXkOBm0h1Zta5 bPbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795752928; x=1796357728; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=0apI8pTNw36G4DXsCglQEO7Cz727zbrwGtPTw/Iq/Ew=; b=CsMRbUo94s6v6DlVllgPtMxqaBALsFcDePHRJ1sBQ/KAVZ4qhpbGWo/KmwpcKSNHwc ZDlbHXfVgGXuWuuesEQIaFGsQIq4aNcBTVj9c9X9IC37CFOVwuQXTsnhK4iWr8XmsLuq bKrsK9O2zJL4nvcgiwIAti885ti4VyFdRs3ixuY0KTxtDxrFjiDezvHmGPAhxcWAOxcF s5+X9CfWOZ4T9pwKfFUoTHs8RKqiFWj1AkV+Z/QDx+/dSNUpgRE2x6GFyPCZZJt2CJfq ga81xyJkt9lIwO0oYhoogfLW/P6UEYdhggRhuO5FmgyytqaCRFbSTN4BqKAJGm/guUdj VlUA== X-Gm-Message-State: APuU4Z/AQkUwKaHfyCGN3yrt7+0QpG4nIaeCrzPhqQvVx36LvLkyiEaU dtdlp6igl4x8uotWHcb8lCcrJM4ObTfthB2PihDmW+nmdmq70qRgi5oKByEHO8l4 X-Gm-Gg: AZFdTZev/c50utcxnohre44AN57EEOEdtkcn+f8cHaXaPswh1tlWJrhtCfBL6UkwKXa fpth+MDsoGPNsfSZ3E8WyPZuatRq6ak4m86fLLdZHocM+tnMfrM+CbbpgBNruVQig02OhavkOcc eaKhiao5HqZ1STT8JR5Skb99RHk8kwv55sceWpRcjvb4S3V9odJdHjvMa98NU+C0gEZnfqqj9T7 VfEoc9HrhD5AdS9LYCQ17FATC6OLPCKJ86J6i9P21jakn4dkEZ/ay3dxDa/YtnGWob+p3MNvRQ6 mzLo593j6y2MED4xSZOKsMpngfGoQXQU2NangvYKnIvINWJmvb/w6YQ9B/JbDMKvPhVE8/zUcI+ Oj+Y5APXGL0lyKPU0uVCEuk8pN1MeAwIOMJxQTq89+ZOhum4g0drfnTZcuwMunslZXdS0OjoT8z LU54Fse2qxfBqUoQFXOVJrXf5Q31lZvVqE36NXCEIPS9QT98irkNjle6cFEgl7phWqjuQmABvi8 CXkmu959yXjp/6/Y/GPkxv2nbXyEcD7Hh8Omo+eQtolixsLvfOZ5KohzN851BBx7PC38aPYiY/D teHWd5VML6PyYrRtseKzXFAQ9alO7n2IBYQMEHOtoghSdA4PbU1y6KnbFZJ56OrlVUjzzcH/q5C OV1bumzu2PnLuZXpsJrF+BveIr5FZm3Wl6MpIm0+HlQpSFilSt5AvVTbt9RP3d11cHskjlkvqSV xDwZEOALa+dA1V9zvznCVWnEqlbUgxHCFRH09MFig2XZAtbM2XPJ6lWkdgoUKXnyPkjjB+g7sAW 24qpf/7MiV7s7lCltylGKjM8hsbq1A4KosEbllOARmPf8QhYlsQXVSze7eZiDMxSbUn5qM2NnkC 24Pi X-Received: by 2002:a05:701b:21cd:b0:1b5:e9d:c641 with SMTP id a92af1059eb24-1b5568bc08amr22595856c88.18.1795752927731; Thu, 26 Nov 2026 20:15:27 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e7fc3sm60340062eec.8.2026.11.26.20.15.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 20:15:27 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 5/8] poco: Sync MongoDB architecture exclusions with mongodb Date: Thu, 26 Nov 2026 20:15:14 -0800 Message-ID: <20261127041517.1773986-6-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> References: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 04:15:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133215 The MongoDB PACKAGECONFIG pulls mongodb into the ptest image, and mongodb 7.0 only builds for x86_64, aarch64 and powerpc64le. Also remove MongoDB on 32-bit arm and x86, loongarch64 and big-endian powerpc64. Anchor UPSTREAM_CHECK_GITTAGREGEX and match only the -release tags, which are the ones SRC_URI uses. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-support/poco/poco_1.15.4.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-oe/recipes-support/poco/poco_1.15.4.bb b/meta-oe/recipes-support/poco/poco_1.15.4.bb index 7bca5fcc6a..43151a0095 100644 --- a/meta-oe/recipes-support/poco/poco_1.15.4.bb +++ b/meta-oe/recipes-support/poco/poco_1.15.4.bb @@ -28,10 +28,15 @@ inherit cmake ptest PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataPostgreSQL DataSQLite DNSSDAvahi Zip Encodings Prometheus FastLogger" # MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe # and mongodb needs meta-python enabled as well +PACKAGECONFIG:remove:arm = "MongoDB" +PACKAGECONFIG:remove:i586 = "MongoDB" +PACKAGECONFIG:remove:i686 = "MongoDB" +PACKAGECONFIG:remove:loongarch64 = "MongoDB" PACKAGECONFIG:remove:riscv32 = "MongoDB" PACKAGECONFIG:remove:riscv64 = "MongoDB" PACKAGECONFIG:remove:mipsarch = "MongoDB" PACKAGECONFIG:remove:powerpc = "MongoDB" +PACKAGECONFIG:remove:powerpc64 = "MongoDB" # Following options have dependencies on recipes which don't have native variant PACKAGECONFIG:remove:class-native = "MongoDB DataODBC DataPostgreSQL DNSSDAvahi" From patchwork Fri Nov 27 04:15:15 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105923 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.10306.1795752931375681281 for ; Thu, 26 Nov 2026 20:15:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=To8qHRct; spf=pass (domain: gmail.com, ip: 74.125.82.177, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f177.google.com with SMTP id 5a478bee46e88-38692f62b22so10136210eec.0 for ; Thu, 26 Nov 2026 20:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795752931; x=1796357731; 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:content-type; bh=C2C4mBoSsA5cHwKmAyr6iZYrRHxGkRiWn3OTPrww3Eo=; b=To8qHRctpJ0fbnToydsolb5gB8+HP4AvXeDEjTzN8cT2soUGcR+LeIdHuQLh1X7TJR KVjs4iwMLj3IBlnQaid+I7HNXXPcX7eCJUOcpnPlFRlMXi5gvaGrx30d6vmvZ8yuCdFf BWFRPw4mz9MOz/Z+CzGDIq4917+W9yrzFcJOr6Wqmrg1UAYvmWUSkbHdZylQHz2ku/5I K7xqoe3WZmUA7VrGnL9dw2kso2oBQnaQGsto/Uf3DU5X/8wZAUCY7Ok7UCDo2AUrm7mO 3u2aJQ0O9RNMNLwaqZNl6QzI6eIbqqMJr+yFBgbiPwc566hjPdPTn8sCmT5Vx8eRcCr9 5lBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795752931; x=1796357731; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=C2C4mBoSsA5cHwKmAyr6iZYrRHxGkRiWn3OTPrww3Eo=; b=0ee+O0PWqMWFMoJ0vFCmfN9h0QoNmyyE9ySrg1G6gJuNkWLsV+hl2NZNxKhDi+TBUs VCNCfIkds/ZnRZZwkM99bakylQPWe8uAyCYxP/qSFaSGJjolRpdIj5wx44iVju5e6bx3 4o5rxDrPCdyWQVYc0xiiRFg0FN84psA6FKOnvRAKlk6vT9tLZJyuX3MQQcByrrHN9DCN 296hydaChDGRv7Y9BvG7ml5C+fTZZI9GvNc0CWta1Bz0LqRXOOrChR5Yi21kSbPTGxV6 KBKwtC6gBxRItqFrCqI79mFIXwgvWKUkBI6H8HzEamxeN1RJLpiCKIQ/iGGTYBeyoZTI FCLQ== X-Gm-Message-State: APuU4Z9/avaHHHd2wR4asE9XHNxGzshMQB8XBLR7gfIxk9ftyJlTypXw UZGkOxaqYmYuX4gCSkelvgs8blqDfSB45ozynQWm7Tab6Eq1EJdCk122W2wzN3/T X-Gm-Gg: AZFdTZdauC4qQa80eoJiFrOfQeNauetlg25RR8zLDKdWlHRAHwCNr43B/JnR4EdT/WZ xYd7QIGY5rBws9j3EJZnCWekbDIK57BUYyhEJNpVXa6Ssr0XC3GLySeVsmdVOCiHHT0zhZLaO3y scbb2HCedytpmjaXGMEKTKimMVaKpDHUjegg4rAIL7Q61qJrKS3z+qcHCQnZxFuVxIyKr/am0EP BTEF0ld+0Py/x8FrAX0gcvYI8sPb8cr/rp3jX6IgKHhI5YCs2fw5nIXEvfab0RACKz4EIJLUguz XFonTCk17bDXD9CGA8/qxJ90cPv44dZeVAJjbeVG5ibAk10jGzT39HUUTZ9snf6aPRplCUa0zqX 0CF+lB5CXYw39syUA98B826EKMk3A55GM1B86IOmzx8cF4Rbb3DjsGeRIJlholhTOa7jS7QiEm8 MUikuVDt7ybngtawXDN6Y34CxNv7wVRMwEDtwSbNHsRhGy35/g8IXxV84IGceMEz2hHAPnzER0/ /mx9WqOin02bIl9BJF6MdE0ml1kGilDJwRpcB5THtuRO5YbZvs/BPatjdfGEEq/MrLgEqqiYUdN 7OD+kNPAghY6W4o2qOPzKWOaEoL+4Huad+neRywLIEQ79AuJ7/G+yCpyDcZ7lNVmLi2pL7gysCZ Drsu5+eFNgOSbFVTrhgPHaucTfCj04X2IohSpFu9PWZHEtuDoQb4VX6S2r8cG51GHFTJjCtO8ct GgcIEssXtZesPjnMteKTMdwL7qUEwQxJs0nYE/QJTTfQJY0twdUUtoIThs6b0Q9gEM1K1ZAKIXp /qylN7NbN4+h5yevGrujO4gizumUaF/I7+exYDC2MIqwEgOIMl1o/jb+NVR8DprjLHu/JYYqja+ b7Yh X-Received: by 2002:a05:7301:1402:b0:386:119b:731c with SMTP id 5a478bee46e88-386119b9d83mr25738160eec.35.1795752929263; Thu, 26 Nov 2026 20:15:29 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e7fc3sm60340062eec.8.2026.11.26.20.15.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 20:15:28 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 6/8] influxdb3: Add recipe Date: Thu, 26 Nov 2026 20:15:15 -0800 Message-ID: <20261127041517.1773986-7-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> References: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 04:15:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133216 InfluxDB 3 Core is the Rust rewrite of InfluxDB on Apache Arrow, DataFusion and Parquet. It is not a drop-in replacement for 1.x (new influxdb3 CLI, HTTP on port 8181, token authentication, no migration of TSM data), so it gets its own recipe, user, service and configuration in /etc/influxdb3 and /var/lib/influxdb3 next to influxdb 1.x. Cargo.lock pulls the influxdata forks of arrow-datafusion and arrow-rs-object-store and datafusion-udf-wasm from git. These are workspaces with many crates, so they are fetched as extra git SRC_URIs and a patch points Cargo.toml at them instead of listing every crate. The iox_query_udf build script downloads a precompiled Python WASM UDF component; it is fetched in SRC_URI and a patch lets the build script use it offline. The component embeds CPython, hence PSF-2.0, and is published only for x86_64 and aarch64, hence COMPATIBLE_HOST. pyo3 links the target libpython through a PYO3_CONFIG_FILE. sqlx uses the system sqlite3; its proc macros link sqlite3-native, which needs unlock-notify (oe-core "sqlite3: Enable unlock-notify for native builds"). Tested by building for qemux86-64. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/files/static-group-meta-oe | 1 + meta-oe/files/static-passwd-meta-oe | 1 + .../packagegroups/packagegroup-meta-oe.bb | 3 + .../influxdb3/influxdb3-crates.inc | 1430 +++++++++++++++++ ...001-Use-pre-fetched-git-dependencies.patch | 355 ++++ ...low-using-pre-downloaded-UDF-artifac.patch | 63 + .../influxdb3/influxdb3/influxdb3.conf | 20 + .../influxdb3/influxdb3/influxdb3.init | 107 ++ .../influxdb3/influxdb3/influxdb3.service | 26 + .../recipes-dbs/influxdb3/influxdb3_3.12.3.bb | 116 ++ 10 files changed, 2122 insertions(+) create mode 100644 meta-oe/recipes-dbs/influxdb3/influxdb3-crates.inc create mode 100644 meta-oe/recipes-dbs/influxdb3/influxdb3/0001-Use-pre-fetched-git-dependencies.patch create mode 100644 meta-oe/recipes-dbs/influxdb3/influxdb3/0002-iox_query_udf-Allow-using-pre-downloaded-UDF-artifac.patch create mode 100644 meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.conf create mode 100644 meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.init create mode 100644 meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.service create mode 100644 meta-oe/recipes-dbs/influxdb3/influxdb3_3.12.3.bb diff --git a/meta-oe/files/static-group-meta-oe b/meta-oe/files/static-group-meta-oe index 17ca545d10..3ec565225c 100644 --- a/meta-oe/files/static-group-meta-oe +++ b/meta-oe/files/static-group-meta-oe @@ -7,4 +7,5 @@ zabbix:x:605: mail:x:606: influxdb:x:622: gpio:x:624: +influxdb3:x:626: nogroup:x:65534: diff --git a/meta-oe/files/static-passwd-meta-oe b/meta-oe/files/static-passwd-meta-oe index 47380b8d00..b689e4f164 100644 --- a/meta-oe/files/static-passwd-meta-oe +++ b/meta-oe/files/static-passwd-meta-oe @@ -11,4 +11,5 @@ influxdb:x:622:influxdb::/var/lib/influxdb:/bin/nologin mongodb:x:623:nogroup::/:/bin/nologin gpio-manager:x:624:gpio::/:/bin/nologin flatpak:x:625:625:Flatpak system helper:/:/sbin/nologin +influxdb3:x:626:influxdb3::/var/lib/influxdb3:/bin/nologin diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index 90446efaa0..97eae33dfb 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb @@ -221,6 +221,9 @@ RDEPENDS:packagegroup-meta-oe-dbs = "\ " RDEPENDS:packagegroup-meta-oe-dbs:remove:libc-musl:powerpc = "rocksdb" RDEPENDS:packagegroup-meta-oe-dbs:remove:riscv32 = "influxdb" +# The prebuilt Python UDF component of influxdb3 exists only for these +RDEPENDS:packagegroup-meta-oe-dbs:append:aarch64 = " influxdb3" +RDEPENDS:packagegroup-meta-oe-dbs:append:x86-64 = " influxdb3" RDEPENDS:packagegroup-meta-oe-devtools = "\ abseil-cpp \ diff --git a/meta-oe/recipes-dbs/influxdb3/influxdb3-crates.inc b/meta-oe/recipes-dbs/influxdb3/influxdb3-crates.inc new file mode 100644 index 0000000000..0df21a30f8 --- /dev/null +++ b/meta-oe/recipes-dbs/influxdb3/influxdb3-crates.inc @@ -0,0 +1,1430 @@ +# Autogenerated with 'bitbake -c update_crates influxdb' + +# from Cargo.lock +SRC_URI += " \ + crate://crates.io/addr2line/0.26.1 \ + crate://crates.io/adler2/2.0.1 \ + crate://crates.io/ahash/0.8.12 \ + crate://crates.io/aho-corasick/1.1.4 \ + crate://crates.io/alloc-no-stdlib/2.0.4 \ + crate://crates.io/alloc-stdlib/0.2.2 \ + crate://crates.io/alloca/0.4.0 \ + crate://crates.io/allocator-api2/0.2.21 \ + crate://crates.io/allocator-api2/0.4.0 \ + crate://crates.io/ambient-authority/0.0.2 \ + crate://crates.io/android_system_properties/0.1.5 \ + crate://crates.io/anes/0.1.6 \ + crate://crates.io/anstream/1.0.0 \ + crate://crates.io/anstyle/1.0.14 \ + crate://crates.io/anstyle-parse/1.0.0 \ + crate://crates.io/anstyle-query/1.1.5 \ + crate://crates.io/anstyle-wincon/3.0.11 \ + crate://crates.io/anyhow/1.0.104 \ + crate://crates.io/ar_archive_writer/0.5.1 \ + crate://crates.io/arrayvec/0.7.6 \ + crate://crates.io/arrow/57.3.1 \ + crate://crates.io/arrow-arith/57.3.1 \ + crate://crates.io/arrow-array/57.3.2 \ + crate://crates.io/arrow-buffer/57.3.2 \ + crate://crates.io/arrow-cast/57.3.1 \ + crate://crates.io/arrow-csv/57.3.1 \ + crate://crates.io/arrow-data/57.3.2 \ + crate://crates.io/arrow-flight/57.3.1 \ + crate://crates.io/arrow-ipc/57.3.2 \ + crate://crates.io/arrow-json/57.3.1 \ + crate://crates.io/arrow-ord/57.3.1 \ + crate://crates.io/arrow-row/57.3.1 \ + crate://crates.io/arrow-schema/57.3.2 \ + crate://crates.io/arrow-select/57.3.2 \ + crate://crates.io/arrow-string/57.3.1 \ + crate://crates.io/assert-json-diff/2.0.2 \ + crate://crates.io/assert_cmd/2.2.2 \ + crate://crates.io/assert_matches/1.5.0 \ + crate://crates.io/async-compression/0.4.43 \ + crate://crates.io/async-trait/0.1.92 \ + crate://crates.io/atoi/2.0.0 \ + crate://crates.io/atomic-waker/1.1.2 \ + crate://crates.io/autocfg/1.5.0 \ + crate://crates.io/axum/0.6.20 \ + crate://crates.io/axum/0.8.9 \ + crate://crates.io/axum-core/0.3.4 \ + crate://crates.io/axum-core/0.5.6 \ + crate://crates.io/backon/1.6.0 \ + crate://crates.io/base64/0.21.7 \ + crate://crates.io/base64/0.22.1 \ + crate://crates.io/base64/0.23.1 \ + crate://crates.io/base64ct/1.8.3 \ + crate://crates.io/bigdecimal/0.4.10 \ + crate://crates.io/bimap/0.6.3 \ + crate://crates.io/bincode/2.0.1 \ + crate://crates.io/bincode_derive/2.0.1 \ + crate://crates.io/bit-set/0.8.0 \ + crate://crates.io/bit-vec/0.8.0 \ + crate://crates.io/bitcode/0.6.9 \ + crate://crates.io/bitcode_derive/0.6.9 \ + crate://crates.io/bitflags/1.3.2 \ + crate://crates.io/bitflags/2.11.1 \ + crate://crates.io/bitvec/1.1.1 \ + crate://crates.io/blake2/0.10.6 \ + crate://crates.io/blake3/1.8.7 \ + crate://crates.io/block-buffer/0.10.4 \ + crate://crates.io/block-buffer/0.12.0 \ + crate://crates.io/bloom2/0.5.1 \ + crate://crates.io/borsh/1.6.1 \ + crate://crates.io/borsh-derive/1.6.1 \ + crate://crates.io/brotli/8.0.2 \ + crate://crates.io/brotli-decompressor/5.0.0 \ + crate://crates.io/bs58/0.5.1 \ + crate://crates.io/bstr/1.12.1 \ + crate://crates.io/bumpalo/3.20.2 \ + crate://crates.io/bytemuck/1.25.0 \ + crate://crates.io/byteorder/1.5.0 \ + crate://crates.io/bytes/1.12.1 \ + crate://crates.io/bzip2/0.6.1 \ + crate://crates.io/cap-primitives/4.0.3 \ + crate://crates.io/cast/0.3.0 \ + crate://crates.io/cc/1.2.61 \ + crate://crates.io/cfg-if/1.0.4 \ + crate://crates.io/cfg_aliases/0.2.1 \ + crate://crates.io/chacha20/0.10.2 \ + crate://crates.io/chrono/0.4.45 \ + crate://crates.io/chrono-tz/0.10.4 \ + crate://crates.io/ciborium/0.2.2 \ + crate://crates.io/ciborium-io/0.2.2 \ + crate://crates.io/ciborium-ll/0.2.2 \ + crate://crates.io/clap/4.6.1 \ + crate://crates.io/clap_builder/4.6.0 \ + crate://crates.io/clap_derive/4.6.1 \ + crate://crates.io/clap_lex/1.1.0 \ + crate://crates.io/cobs/0.3.0 \ + crate://crates.io/colorchoice/1.0.5 \ + crate://crates.io/combine/4.6.7 \ + crate://crates.io/comfy-table/7.2.2 \ + crate://crates.io/compression-codecs/0.4.38 \ + crate://crates.io/compression-core/0.4.32 \ + crate://crates.io/console/0.16.3 \ + crate://crates.io/console-api/0.5.0 \ + crate://crates.io/console-subscriber/0.1.10 \ + crate://crates.io/const-oid/0.9.6 \ + crate://crates.io/const-oid/0.10.2 \ + crate://crates.io/const-random/0.1.18 \ + crate://crates.io/const-random-macro/0.1.16 \ + crate://crates.io/constant_time_eq/0.4.2 \ + crate://crates.io/core-foundation/0.10.1 \ + crate://crates.io/core-foundation-sys/0.8.7 \ + crate://crates.io/cpp_demangle/0.5.1 \ + crate://crates.io/cpufeatures/0.2.17 \ + crate://crates.io/cpufeatures/0.3.0 \ + crate://crates.io/cranelift-bforest/0.135.8 \ + crate://crates.io/cranelift-bitset/0.135.8 \ + crate://crates.io/cranelift-entity/0.135.8 \ + crate://crates.io/crc/3.4.0 \ + crate://crates.io/crc-catalog/2.5.0 \ + crate://crates.io/crc32fast/1.5.5 \ + crate://crates.io/criterion/0.5.1 \ + crate://crates.io/criterion/0.8.2 \ + crate://crates.io/criterion-plot/0.5.0 \ + crate://crates.io/criterion-plot/0.8.2 \ + crate://crates.io/croaring/2.7.0 \ + crate://crates.io/croaring-sys/4.7.1 \ + crate://crates.io/cron/0.15.0 \ + crate://crates.io/crossbeam-channel/0.5.17 \ + crate://crates.io/crossbeam-deque/0.8.6 \ + crate://crates.io/crossbeam-epoch/0.9.20 \ + crate://crates.io/crossbeam-queue/0.3.12 \ + crate://crates.io/crossbeam-utils/0.8.21 \ + crate://crates.io/crossterm/0.29.0 \ + crate://crates.io/crossterm_winapi/0.9.1 \ + crate://crates.io/crunchy/0.2.4 \ + crate://crates.io/crypto-common/0.1.7 \ + crate://crates.io/crypto-common/0.2.1 \ + crate://crates.io/csv/1.4.0 \ + crate://crates.io/csv-core/0.1.13 \ + crate://crates.io/darling/0.23.0 \ + crate://crates.io/darling_core/0.23.0 \ + crate://crates.io/darling_macro/0.23.0 \ + crate://crates.io/dashmap/6.2.1 \ + crate://crates.io/defmt/1.1.1 \ + crate://crates.io/defmt-macros/1.1.1 \ + crate://crates.io/defmt-parser/1.0.0 \ + crate://crates.io/delegate/0.8.0 \ + crate://crates.io/der/0.7.10 \ + crate://crates.io/deranged/0.5.8 \ + crate://crates.io/diff/0.1.13 \ + crate://crates.io/difflib/0.4.0 \ + crate://crates.io/digest/0.10.7 \ + crate://crates.io/digest/0.11.3 \ + crate://crates.io/displaydoc/0.2.5 \ + crate://crates.io/document-features/0.2.12 \ + crate://crates.io/dotenvy/0.15.7 \ + crate://crates.io/downcast/0.11.0 \ + crate://crates.io/dyn-clone/1.0.20 \ + crate://crates.io/either/1.15.0 \ + crate://crates.io/embedded-io/0.4.0 \ + crate://crates.io/embedded-io/0.6.1 \ + crate://crates.io/encode_unicode/1.0.0 \ + crate://crates.io/encoding_rs/0.8.35 \ + crate://crates.io/env_filter/1.0.1 \ + crate://crates.io/env_logger/0.11.10 \ + crate://crates.io/equivalent/1.0.2 \ + crate://crates.io/errno/0.3.14 \ + crate://crates.io/etcetera/0.8.0 \ + crate://crates.io/event-listener/5.4.2 \ + crate://crates.io/fastrand/2.4.1 \ + crate://crates.io/find-msvc-tools/0.1.9 \ + crate://crates.io/fixedbitset/0.5.7 \ + crate://crates.io/flatbuffers/25.12.19 \ + crate://crates.io/flate2/1.1.11 \ + crate://crates.io/flume/0.11.1 \ + crate://crates.io/fnv/1.0.7 \ + crate://crates.io/foldhash/0.1.5 \ + crate://crates.io/foldhash/0.2.0 \ + crate://crates.io/form_urlencoded/1.2.2 \ + crate://crates.io/fragile/2.1.0 \ + crate://crates.io/fs-set-times/0.20.3 \ + crate://crates.io/funty/2.0.0 \ + crate://crates.io/futures/0.3.34 \ + crate://crates.io/futures-channel/0.3.34 \ + crate://crates.io/futures-concurrency/7.7.1 \ + crate://crates.io/futures-core/0.3.34 \ + crate://crates.io/futures-executor/0.3.34 \ + crate://crates.io/futures-intrusive/0.5.0 \ + crate://crates.io/futures-io/0.3.34 \ + crate://crates.io/futures-lite/2.6.1 \ + crate://crates.io/futures-macro/0.3.34 \ + crate://crates.io/futures-sink/0.3.34 \ + crate://crates.io/futures-task/0.3.34 \ + crate://crates.io/futures-timer/3.0.3 \ + crate://crates.io/futures-util/0.3.34 \ + crate://crates.io/generic-array/0.14.7 \ + crate://crates.io/getrandom/0.2.17 \ + crate://crates.io/getrandom/0.3.4 \ + crate://crates.io/getrandom/0.4.2 \ + crate://crates.io/gimli/0.33.0 \ + crate://crates.io/glam/0.32.1 \ + crate://crates.io/glob/0.3.4 \ + crate://crates.io/gloo-timers/0.3.0 \ + crate://crates.io/h2/0.3.27 \ + crate://crates.io/h2/0.4.16 \ + crate://crates.io/half/2.7.1 \ + crate://crates.io/hashbrown/0.12.3 \ + crate://crates.io/hashbrown/0.14.5 \ + crate://crates.io/hashbrown/0.15.5 \ + crate://crates.io/hashbrown/0.16.1 \ + crate://crates.io/hashbrown/0.17.0 \ + crate://crates.io/hashlink/0.10.0 \ + crate://crates.io/hdrhistogram/7.5.4 \ + crate://crates.io/heck/0.5.0 \ + crate://crates.io/hermit-abi/0.5.2 \ + crate://crates.io/hex/0.4.3 \ + crate://crates.io/hkdf/0.12.4 \ + crate://crates.io/hmac/0.12.1 \ + crate://crates.io/home/0.5.12 \ + crate://crates.io/hostname/0.4.2 \ + crate://crates.io/http/0.2.12 \ + crate://crates.io/http/1.5.0 \ + crate://crates.io/http-body/0.4.6 \ + crate://crates.io/http-body/1.1.0 \ + crate://crates.io/http-body-util/0.1.5 \ + crate://crates.io/httparse/1.10.1 \ + crate://crates.io/httpdate/1.0.3 \ + crate://crates.io/humantime/2.4.0 \ + crate://crates.io/humantime-serde/1.1.1 \ + crate://crates.io/hybrid-array/0.4.11 \ + crate://crates.io/hyper/0.14.32 \ + crate://crates.io/hyper/1.11.1 \ + crate://crates.io/hyper-rustls/0.27.10 \ + crate://crates.io/hyper-timeout/0.4.1 \ + crate://crates.io/hyper-timeout/0.5.2 \ + crate://crates.io/hyper-util/0.1.21 \ + crate://crates.io/iana-time-zone/0.1.65 \ + crate://crates.io/iana-time-zone-haiku/0.1.2 \ + crate://crates.io/icu_collections/2.2.0 \ + crate://crates.io/icu_locale_core/2.2.0 \ + crate://crates.io/icu_normalizer/2.2.0 \ + crate://crates.io/icu_normalizer_data/2.2.0 \ + crate://crates.io/icu_properties/2.2.0 \ + crate://crates.io/icu_properties_data/2.2.0 \ + crate://crates.io/icu_provider/2.2.0 \ + crate://crates.io/id-arena/2.3.0 \ + crate://crates.io/ident_case/1.0.1 \ + crate://crates.io/idna/1.1.0 \ + crate://crates.io/idna_adapter/1.2.2 \ + crate://crates.io/indexmap/1.9.3 \ + crate://crates.io/indexmap/2.14.2 \ + crate://crates.io/insta/1.48.0 \ + crate://crates.io/integer-encoding/3.0.4 \ + crate://crates.io/inventory/0.3.25 \ + crate://crates.io/io-extras/0.19.0 \ + crate://crates.io/io-lifetimes/2.0.4 \ + crate://crates.io/io-lifetimes/3.0.1 \ + crate://crates.io/ipnet/2.12.0 \ + crate://crates.io/iri-string/0.7.12 \ + crate://crates.io/is-terminal/0.4.17 \ + crate://crates.io/is_terminal_polyfill/1.70.2 \ + crate://crates.io/itertools/0.10.5 \ + crate://crates.io/itertools/0.12.1 \ + crate://crates.io/itertools/0.13.0 \ + crate://crates.io/itertools/0.14.0 \ + crate://crates.io/itoa/1.0.18 \ + crate://crates.io/jiff/0.2.35 \ + crate://crates.io/jiff-core/0.1.0 \ + crate://crates.io/jiff-static/0.2.35 \ + crate://crates.io/jiff-tzdb/0.1.8 \ + crate://crates.io/jiff-tzdb-platform/0.1.3 \ + crate://crates.io/jni/0.22.4 \ + crate://crates.io/jni-macros/0.22.4 \ + crate://crates.io/jni-sys/0.4.1 \ + crate://crates.io/jni-sys-macros/0.4.1 \ + crate://crates.io/jobserver/0.1.34 \ + crate://crates.io/js-sys/0.3.97 \ + crate://crates.io/lazy_static/1.5.0 \ + crate://crates.io/leb128fmt/0.1.0 \ + crate://crates.io/lexical-core/1.0.6 \ + crate://crates.io/lexical-parse-float/1.0.6 \ + crate://crates.io/lexical-parse-integer/1.0.6 \ + crate://crates.io/lexical-util/1.0.7 \ + crate://crates.io/lexical-write-float/1.0.6 \ + crate://crates.io/lexical-write-integer/1.0.6 \ + crate://crates.io/libbz2-rs-sys/0.2.3 \ + crate://crates.io/libc/0.2.191 \ + crate://crates.io/liblzma/0.4.8 \ + crate://crates.io/liblzma-sys/0.4.8 \ + crate://crates.io/libm/0.2.16 \ + crate://crates.io/libredox/0.1.16 \ + crate://crates.io/libsqlite3-sys/0.30.1 \ + crate://crates.io/linux-raw-sys/0.12.1 \ + crate://crates.io/litemap/0.8.2 \ + crate://crates.io/litrs/1.0.0 \ + crate://crates.io/lock_api/0.4.14 \ + crate://crates.io/log/0.4.35 \ + crate://crates.io/lru-slab/0.1.2 \ + crate://crates.io/lz4_flex/0.12.1 \ + crate://crates.io/mach2/0.6.0 \ + crate://crates.io/matchers/0.2.0 \ + crate://crates.io/matchit/0.7.3 \ + crate://crates.io/matchit/0.8.4 \ + crate://crates.io/maybe-owned/0.3.4 \ + crate://crates.io/md-5/0.10.6 \ + crate://crates.io/memchr/2.8.0 \ + crate://crates.io/memfd/0.6.5 \ + crate://crates.io/mime/0.3.18 \ + crate://crates.io/minimal-lexical/0.2.1 \ + crate://crates.io/miniz_oxide/0.9.1 \ + crate://crates.io/mio/1.2.0 \ + crate://crates.io/mockall/0.13.1 \ + crate://crates.io/mockall_derive/0.13.1 \ + crate://crates.io/mockito/1.7.2 \ + crate://crates.io/multer/3.1.0 \ + crate://crates.io/multimap/0.10.1 \ + crate://crates.io/murmur3/0.5.2 \ + crate://crates.io/nix/0.30.1 \ + crate://crates.io/nom/7.1.3 \ + crate://crates.io/nom/8.0.0 \ + crate://crates.io/non-empty-string/0.2.6 \ + crate://crates.io/ntapi/0.4.3 \ + crate://crates.io/nu-ansi-term/0.50.3 \ + crate://crates.io/num/0.4.3 \ + crate://crates.io/num-bigint/0.4.6 \ + crate://crates.io/num-bigint-dig/0.8.6 \ + crate://crates.io/num-complex/0.4.6 \ + crate://crates.io/num-conv/0.2.1 \ + crate://crates.io/num-integer/0.1.47 \ + crate://crates.io/num-iter/0.1.45 \ + crate://crates.io/num-rational/0.4.2 \ + crate://crates.io/num-traits/0.2.19 \ + crate://crates.io/num_cpus/1.17.0 \ + crate://crates.io/objc2-core-foundation/0.3.2 \ + crate://crates.io/objc2-io-kit/0.3.2 \ + crate://crates.io/object/0.37.3 \ + crate://crates.io/object/0.39.1 \ + crate://crates.io/once_cell/1.21.4 \ + crate://crates.io/once_cell_polyfill/1.70.2 \ + crate://crates.io/oorandom/11.1.5 \ + crate://crates.io/openssl-probe/0.2.1 \ + crate://crates.io/ordered-float/2.10.1 \ + crate://crates.io/ordered-float/3.9.2 \ + crate://crates.io/ordered-float/5.5.1 \ + crate://crates.io/owo-colors/4.4.0 \ + crate://crates.io/page_size/0.6.0 \ + crate://crates.io/parking/2.2.1 \ + crate://crates.io/parking_lot/0.12.5 \ + crate://crates.io/parking_lot_core/0.9.12 \ + crate://crates.io/parquet/57.3.1 \ + crate://crates.io/paste/1.0.15 \ + crate://crates.io/pbjson/0.9.0 \ + crate://crates.io/pbjson-build/0.9.0 \ + crate://crates.io/pbjson-types/0.9.0 \ + crate://crates.io/pem/3.0.6 \ + crate://crates.io/pem-rfc7468/0.7.0 \ + crate://crates.io/percent-encoding/2.3.2 \ + crate://crates.io/pest/2.8.6 \ + crate://crates.io/pest_derive/2.8.6 \ + crate://crates.io/pest_generator/2.8.6 \ + crate://crates.io/pest_meta/2.8.6 \ + crate://crates.io/petgraph/0.8.3 \ + crate://crates.io/phf/0.12.1 \ + crate://crates.io/phf_shared/0.12.1 \ + crate://crates.io/pin-project/1.1.13 \ + crate://crates.io/pin-project-internal/1.1.13 \ + crate://crates.io/pin-project-lite/0.2.17 \ + crate://crates.io/pkcs1/0.7.5 \ + crate://crates.io/pkcs8/0.10.2 \ + crate://crates.io/pkg-config/0.3.33 \ + crate://crates.io/plain/0.2.3 \ + crate://crates.io/plotters/0.3.7 \ + crate://crates.io/plotters-backend/0.3.7 \ + crate://crates.io/plotters-svg/0.3.7 \ + crate://crates.io/portable-atomic/1.13.1 \ + crate://crates.io/portable-atomic-util/0.2.7 \ + crate://crates.io/postcard/1.1.3 \ + crate://crates.io/potential_utf/0.1.5 \ + crate://crates.io/powerfmt/0.2.0 \ + crate://crates.io/ppv-lite86/0.2.21 \ + crate://crates.io/predicates/3.1.4 \ + crate://crates.io/predicates-core/1.0.10 \ + crate://crates.io/predicates-tree/1.0.13 \ + crate://crates.io/pretty_assertions/1.4.1 \ + crate://crates.io/prettyplease/0.2.37 \ + crate://crates.io/proc-macro-crate/3.5.0 \ + crate://crates.io/proc-macro2/1.0.107 \ + crate://crates.io/prometheus/0.14.0 \ + crate://crates.io/prometheus-parse/0.2.5 \ + crate://crates.io/proptest/1.11.0 \ + crate://crates.io/prost/0.11.9 \ + crate://crates.io/prost/0.14.6 \ + crate://crates.io/prost-build/0.14.4 \ + crate://crates.io/prost-derive/0.11.9 \ + crate://crates.io/prost-derive/0.14.6 \ + crate://crates.io/prost-types/0.11.9 \ + crate://crates.io/prost-types/0.14.6 \ + crate://crates.io/psm/0.1.31 \ + crate://crates.io/pulldown-cmark/0.13.6 \ + crate://crates.io/pulldown-cmark-to-cmark/22.0.0 \ + crate://crates.io/pulley-interpreter/48.0.8 \ + crate://crates.io/pulley-macros/48.0.8 \ + crate://crates.io/pyo3/0.29.3 \ + crate://crates.io/pyo3-build-config/0.29.3 \ + crate://crates.io/pyo3-ffi/0.29.3 \ + crate://crates.io/pyo3-macros/0.29.3 \ + crate://crates.io/pyo3-macros-backend/0.29.3 \ + crate://crates.io/quick-error/1.2.3 \ + crate://crates.io/quick-xml/0.41.0 \ + crate://crates.io/quinn/0.11.9 \ + crate://crates.io/quinn-proto/0.11.16 \ + crate://crates.io/quinn-udp/0.5.14 \ + crate://crates.io/quote/1.0.47 \ + crate://crates.io/r-efi/5.3.0 \ + crate://crates.io/r-efi/6.0.0 \ + crate://crates.io/radium/0.7.0 \ + crate://crates.io/rand/0.8.8 \ + crate://crates.io/rand/0.9.4 \ + crate://crates.io/rand/0.10.2 \ + crate://crates.io/rand_chacha/0.3.1 \ + crate://crates.io/rand_chacha/0.9.0 \ + crate://crates.io/rand_core/0.6.4 \ + crate://crates.io/rand_core/0.9.5 \ + crate://crates.io/rand_core/0.10.1 \ + crate://crates.io/rand_pcg/0.10.2 \ + crate://crates.io/rand_xorshift/0.4.0 \ + crate://crates.io/rayon/1.12.0 \ + crate://crates.io/rayon-core/1.13.0 \ + crate://crates.io/rcgen/0.13.2 \ + crate://crates.io/recursive/0.1.1 \ + crate://crates.io/recursive-proc-macro-impl/0.1.1 \ + crate://crates.io/redox_syscall/0.5.18 \ + crate://crates.io/redox_syscall/0.7.4 \ + crate://crates.io/ref-cast/1.0.25 \ + crate://crates.io/ref-cast-impl/1.0.25 \ + crate://crates.io/regex/1.13.1 \ + crate://crates.io/regex-automata/0.4.18 \ + crate://crates.io/regex-syntax/0.8.11 \ + crate://crates.io/relative-path/1.9.3 \ + crate://crates.io/reqwest/0.12.28 \ + crate://crates.io/reqwest/0.13.4 \ + crate://crates.io/ring/0.17.14 \ + crate://crates.io/rmp/0.8.15 \ + crate://crates.io/rmp-serde/1.3.1 \ + crate://crates.io/rsa/0.9.10 \ + crate://crates.io/rstest/0.26.1 \ + crate://crates.io/rstest_macros/0.26.1 \ + crate://crates.io/rust_decimal/1.43.0 \ + crate://crates.io/rustc-demangle/0.1.27 \ + crate://crates.io/rustc-hash/2.1.3 \ + crate://crates.io/rustc_version/0.4.1 \ + crate://crates.io/rustix/1.1.5 \ + crate://crates.io/rustix-linux-procfs/0.1.1 \ + crate://crates.io/rustls/0.23.46 \ + crate://crates.io/rustls-native-certs/0.8.3 \ + crate://crates.io/rustls-pemfile/2.2.0 \ + crate://crates.io/rustls-pki-types/1.14.1 \ + crate://crates.io/rustls-platform-verifier/0.7.0 \ + crate://crates.io/rustls-platform-verifier-android/0.1.1 \ + crate://crates.io/rustls-webpki/0.103.16 \ + crate://crates.io/rustversion/1.0.22 \ + crate://crates.io/rusty-fork/0.3.1 \ + crate://crates.io/ryu/1.0.23 \ + crate://crates.io/same-file/1.0.6 \ + crate://crates.io/schannel/0.1.29 \ + crate://crates.io/schemars/0.9.0 \ + crate://crates.io/schemars/1.2.1 \ + crate://crates.io/scopeguard/1.2.0 \ + crate://crates.io/secrecy/0.8.0 \ + crate://crates.io/security-framework/3.7.0 \ + crate://crates.io/security-framework-sys/2.17.0 \ + crate://crates.io/semver/1.0.28 \ + crate://crates.io/seq-macro/0.3.6 \ + crate://crates.io/serde/1.0.229 \ + crate://crates.io/serde_core/1.0.229 \ + crate://crates.io/serde_derive/1.0.229 \ + crate://crates.io/serde_json/1.0.154 \ + crate://crates.io/serde_urlencoded/0.7.1 \ + crate://crates.io/serde_with/3.22.0 \ + crate://crates.io/serde_with_macros/3.22.0 \ + crate://crates.io/sha1/0.10.6 \ + crate://crates.io/sha2/0.10.9 \ + crate://crates.io/sha2/0.11.0 \ + crate://crates.io/sharded-slab/0.1.7 \ + crate://crates.io/shlex/1.3.0 \ + crate://crates.io/signal-hook-registry/1.4.8 \ + crate://crates.io/signature/2.2.0 \ + crate://crates.io/simd-adler32/0.3.9 \ + crate://crates.io/simd_cesu8/1.2.0 \ + crate://crates.io/simdutf8/0.1.5 \ + crate://crates.io/similar/2.7.0 \ + crate://crates.io/siphasher/1.0.4 \ + crate://crates.io/slab/0.4.12 \ + crate://crates.io/smallvec/1.16.5 \ + crate://crates.io/snafu/0.8.9 \ + crate://crates.io/snafu/0.9.2 \ + crate://crates.io/snafu-derive/0.8.9 \ + crate://crates.io/snafu-derive/0.9.2 \ + crate://crates.io/snap/1.1.2 \ + crate://crates.io/socket2/0.5.10 \ + crate://crates.io/socket2/0.6.5 \ + crate://crates.io/spin/0.9.9 \ + crate://crates.io/spki/0.7.3 \ + crate://crates.io/sqlparser/0.59.0 \ + crate://crates.io/sqlparser_derive/0.3.0 \ + crate://crates.io/sqlx/0.8.6 \ + crate://crates.io/sqlx-core/0.8.6 \ + crate://crates.io/sqlx-macros/0.8.6 \ + crate://crates.io/sqlx-macros-core/0.8.6 \ + crate://crates.io/sqlx-mysql/0.8.6 \ + crate://crates.io/sqlx-postgres/0.8.6 \ + crate://crates.io/sqlx-sqlite/0.8.6 \ + crate://crates.io/stable_deref_trait/1.2.1 \ + crate://crates.io/stacker/0.1.24 \ + crate://crates.io/stringprep/0.1.5 \ + crate://crates.io/strsim/0.11.1 \ + crate://crates.io/subtle/2.6.1 \ + crate://crates.io/syn/1.0.109 \ + crate://crates.io/syn/2.0.119 \ + crate://crates.io/syn/3.0.3 \ + crate://crates.io/sync_wrapper/0.1.2 \ + crate://crates.io/sync_wrapper/1.0.2 \ + crate://crates.io/synchronized-writer/1.2.0 \ + crate://crates.io/synstructure/0.13.2 \ + crate://crates.io/sysinfo/0.38.4 \ + crate://crates.io/sysinfo/0.39.5 \ + crate://crates.io/tap/1.0.1 \ + crate://crates.io/target-lexicon/0.13.5 \ + crate://crates.io/tempfile/3.27.0 \ + crate://crates.io/termtree/0.5.1 \ + crate://crates.io/test-log/0.2.21 \ + crate://crates.io/test-log-core/0.2.21 \ + crate://crates.io/test-log-macros/0.2.21 \ + crate://crates.io/thiserror/1.0.69 \ + crate://crates.io/thiserror/2.0.18 \ + crate://crates.io/thiserror-impl/1.0.69 \ + crate://crates.io/thiserror-impl/2.0.18 \ + crate://crates.io/thread_local/1.1.9 \ + crate://crates.io/threadpool/1.8.1 \ + crate://crates.io/thrift/0.17.0 \ + crate://crates.io/thrift/0.23.0 \ + crate://crates.io/tikv-jemalloc-ctl/0.5.4 \ + crate://crates.io/tikv-jemalloc-sys/0.5.4+5.3.0-patched \ + crate://crates.io/tikv-jemallocator/0.5.4 \ + crate://crates.io/time/0.3.47 \ + crate://crates.io/time-core/0.1.8 \ + crate://crates.io/time-macros/0.2.27 \ + crate://crates.io/tiny-keccak/2.0.2 \ + crate://crates.io/tinystr/0.8.3 \ + crate://crates.io/tinytemplate/1.2.1 \ + crate://crates.io/tinyvec/1.11.0 \ + crate://crates.io/tinyvec_macros/0.1.1 \ + crate://crates.io/tokio/1.53.3 \ + crate://crates.io/tokio-io-timeout/1.2.1 \ + crate://crates.io/tokio-macros/2.7.0 \ + crate://crates.io/tokio-rustls/0.26.6 \ + crate://crates.io/tokio-stream/0.1.19 \ + crate://crates.io/tokio-util/0.7.20 \ + crate://crates.io/toml_datetime/1.1.1+spec-1.1.0 \ + crate://crates.io/toml_edit/0.25.11+spec-1.1.0 \ + crate://crates.io/toml_parser/1.1.2+spec-1.1.0 \ + crate://crates.io/tonic/0.9.2 \ + crate://crates.io/tonic/0.14.9 \ + crate://crates.io/tonic-build/0.14.9 \ + crate://crates.io/tonic-prost/0.14.9 \ + crate://crates.io/tonic-prost-build/0.14.9 \ + crate://crates.io/tonic-reflection/0.14.9 \ + crate://crates.io/tower/0.4.13 \ + crate://crates.io/tower/0.5.3 \ + crate://crates.io/tower-http/0.6.8 \ + crate://crates.io/tower-layer/0.3.3 \ + crate://crates.io/tower-service/0.3.3 \ + crate://crates.io/tracing/0.1.44 \ + crate://crates.io/tracing-attributes/0.1.31 \ + crate://crates.io/tracing-core/0.1.36 \ + crate://crates.io/tracing-log/0.2.0 \ + crate://crates.io/tracing-serde/0.2.0 \ + crate://crates.io/tracing-subscriber/0.3.23 \ + crate://crates.io/try-lock/0.2.5 \ + crate://crates.io/twox-hash/2.1.5 \ + crate://crates.io/typenum/1.20.0 \ + crate://crates.io/ucd-trie/0.1.7 \ + crate://crates.io/unarray/0.1.4 \ + crate://crates.io/unicase/2.9.0 \ + crate://crates.io/unicode-bidi/0.3.18 \ + crate://crates.io/unicode-ident/1.0.24 \ + crate://crates.io/unicode-normalization/0.1.25 \ + crate://crates.io/unicode-properties/0.1.4 \ + crate://crates.io/unicode-segmentation/1.13.3 \ + crate://crates.io/unicode-width/0.2.2 \ + crate://crates.io/unicode-xid/0.2.6 \ + crate://crates.io/untrusted/0.9.0 \ + crate://crates.io/unty/0.0.4 \ + crate://crates.io/ureq/3.4.3 \ + crate://crates.io/ureq-proto/0.6.5 \ + crate://crates.io/url/2.5.8 \ + crate://crates.io/urlencoding/1.3.3 \ + crate://crates.io/utf8-zero/0.8.1 \ + crate://crates.io/utf8_iter/1.0.4 \ + crate://crates.io/utf8parse/0.2.2 \ + crate://crates.io/uuid/1.26.1 \ + crate://crates.io/valuable/0.1.1 \ + crate://crates.io/vcpkg/0.2.15 \ + crate://crates.io/version_check/0.9.5 \ + crate://crates.io/virtue/0.0.18 \ + crate://crates.io/wait-timeout/0.2.1 \ + crate://crates.io/walkdir/2.5.0 \ + crate://crates.io/want/0.3.1 \ + crate://crates.io/wasi/0.11.1+wasi-snapshot-preview1 \ + crate://crates.io/wasip2/1.0.3+wasi-0.2.9 \ + crate://crates.io/wasip3/0.4.0+wasi-0.3.0-rc-2026-01-06 \ + crate://crates.io/wasite/0.1.0 \ + crate://crates.io/wasm-bindgen/0.2.120 \ + crate://crates.io/wasm-bindgen-futures/0.4.70 \ + crate://crates.io/wasm-bindgen-macro/0.2.120 \ + crate://crates.io/wasm-bindgen-macro-support/0.2.120 \ + crate://crates.io/wasm-bindgen-shared/0.2.120 \ + crate://crates.io/wasm-encoder/0.244.0 \ + crate://crates.io/wasm-encoder/0.254.2 \ + crate://crates.io/wasm-metadata/0.244.0 \ + crate://crates.io/wasm-metadata/0.254.2 \ + crate://crates.io/wasm-streams/0.4.2 \ + crate://crates.io/wasm-streams/0.5.0 \ + crate://crates.io/wasmparser/0.244.0 \ + crate://crates.io/wasmparser/0.254.2 \ + crate://crates.io/wasmtime/48.0.8 \ + crate://crates.io/wasmtime-environ/48.0.8 \ + crate://crates.io/wasmtime-internal-component-macro/48.0.8 \ + crate://crates.io/wasmtime-internal-component-util/48.0.8 \ + crate://crates.io/wasmtime-internal-core/48.0.8 \ + crate://crates.io/wasmtime-internal-fiber/48.0.8 \ + crate://crates.io/wasmtime-internal-jit-debug/48.0.8 \ + crate://crates.io/wasmtime-internal-jit-icache-coherence/48.0.8 \ + crate://crates.io/wasmtime-internal-unwinder/48.0.8 \ + crate://crates.io/wasmtime-internal-versioned-export-macros/48.0.8 \ + crate://crates.io/wasmtime-internal-wit-bindgen/48.0.8 \ + crate://crates.io/wasmtime-wasi/48.0.8 \ + crate://crates.io/wasmtime-wasi-http/48.0.8 \ + crate://crates.io/wasmtime-wasi-io/48.0.8 \ + crate://crates.io/web-sys/0.3.97 \ + crate://crates.io/web-time/1.1.0 \ + crate://crates.io/webpki-root-certs/1.0.10 \ + crate://crates.io/webpki-roots/0.26.11 \ + crate://crates.io/webpki-roots/1.0.10 \ + crate://crates.io/whoami/1.6.1 \ + crate://crates.io/winapi/0.3.9 \ + crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi-util/0.1.11 \ + crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ + crate://crates.io/windows/0.62.2 \ + crate://crates.io/windows-collections/0.3.2 \ + crate://crates.io/windows-core/0.62.2 \ + crate://crates.io/windows-future/0.3.2 \ + crate://crates.io/windows-implement/0.60.2 \ + crate://crates.io/windows-interface/0.59.3 \ + crate://crates.io/windows-link/0.2.1 \ + crate://crates.io/windows-numerics/0.3.1 \ + crate://crates.io/windows-result/0.4.1 \ + crate://crates.io/windows-strings/0.5.1 \ + crate://crates.io/windows-sys/0.48.0 \ + crate://crates.io/windows-sys/0.52.0 \ + crate://crates.io/windows-sys/0.61.2 \ + crate://crates.io/windows-targets/0.48.5 \ + crate://crates.io/windows-targets/0.52.6 \ + crate://crates.io/windows-threading/0.2.1 \ + crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ + crate://crates.io/windows_aarch64_gnullvm/0.52.6 \ + crate://crates.io/windows_aarch64_msvc/0.48.5 \ + crate://crates.io/windows_aarch64_msvc/0.52.6 \ + crate://crates.io/windows_i686_gnu/0.48.5 \ + crate://crates.io/windows_i686_gnu/0.52.6 \ + crate://crates.io/windows_i686_gnullvm/0.52.6 \ + crate://crates.io/windows_i686_msvc/0.48.5 \ + crate://crates.io/windows_i686_msvc/0.52.6 \ + crate://crates.io/windows_x86_64_gnu/0.48.5 \ + crate://crates.io/windows_x86_64_gnu/0.52.6 \ + crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ + crate://crates.io/windows_x86_64_gnullvm/0.52.6 \ + crate://crates.io/windows_x86_64_msvc/0.48.5 \ + crate://crates.io/windows_x86_64_msvc/0.52.6 \ + crate://crates.io/winnow/0.6.26 \ + crate://crates.io/winnow/1.0.2 \ + crate://crates.io/winx/0.36.4 \ + crate://crates.io/wit-bindgen/0.51.0 \ + crate://crates.io/wit-bindgen/0.57.1 \ + crate://crates.io/wit-bindgen-core/0.51.0 \ + crate://crates.io/wit-bindgen-rust/0.51.0 \ + crate://crates.io/wit-bindgen-rust-macro/0.51.0 \ + crate://crates.io/wit-component/0.244.0 \ + crate://crates.io/wit-component/0.254.2 \ + crate://crates.io/wit-parser/0.244.0 \ + crate://crates.io/wit-parser/0.254.2 \ + crate://crates.io/writeable/0.6.3 \ + crate://crates.io/wyz/0.5.1 \ + crate://crates.io/yansi/1.0.1 \ + crate://crates.io/yasna/0.5.2 \ + crate://crates.io/yoke/0.8.2 \ + crate://crates.io/yoke-derive/0.8.2 \ + crate://crates.io/zerocopy/0.8.63 \ + crate://crates.io/zerocopy-derive/0.8.63 \ + crate://crates.io/zerofrom/0.1.7 \ + crate://crates.io/zerofrom-derive/0.1.7 \ + crate://crates.io/zeroize/1.8.2 \ + crate://crates.io/zerotrie/0.2.4 \ + crate://crates.io/zerovec/0.11.6 \ + crate://crates.io/zerovec-derive/0.11.3 \ + crate://crates.io/zlib-rs/0.6.8 \ + crate://crates.io/zmij/1.0.21 \ + crate://crates.io/zstd/0.13.4 \ + crate://crates.io/zstd/0.14.3 \ + crate://crates.io/zstd-safe/7.4.1 \ + crate://crates.io/zstd-safe/8.2.0 \ + crate://crates.io/zstd-sys/2.1.2+zstd.1.5.7 \ +" + +SRC_URI[addr2line-0.26.1.sha256sum] = "59317f77929f0e679d39364702289274de2f0f0b22cbf50b2b8cff2169a0b27a" +SRC_URI[adler2-2.0.1.sha256sum] = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" +SRC_URI[ahash-0.8.12.sha256sum] = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +SRC_URI[aho-corasick-1.1.4.sha256sum] = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +SRC_URI[alloc-no-stdlib-2.0.4.sha256sum] = "cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3" +SRC_URI[alloc-stdlib-0.2.2.sha256sum] = "94fb8275041c72129eb51b7d0322c29b8387a0386127718b096429201a5d6ece" +SRC_URI[alloca-0.4.0.sha256sum] = "e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4" +SRC_URI[allocator-api2-0.2.21.sha256sum] = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" +SRC_URI[allocator-api2-0.4.0.sha256sum] = "c880a97d28a3681c0267bd29cff89621202715b065127cd445fa0f0fe0aa2880" +SRC_URI[ambient-authority-0.0.2.sha256sum] = "e9d4ee0d472d1cd2e28c97dfa124b3d8d992e10eb0a035f33f5d12e3a177ba3b" +SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +SRC_URI[anes-0.1.6.sha256sum] = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" +SRC_URI[anstream-1.0.0.sha256sum] = "824a212faf96e9acacdbd09febd34438f8f711fb84e09a8916013cd7815ca28d" +SRC_URI[anstyle-1.0.14.sha256sum] = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" +SRC_URI[anstyle-parse-1.0.0.sha256sum] = "52ce7f38b242319f7cabaa6813055467063ecdc9d355bbb4ce0c68908cd8130e" +SRC_URI[anstyle-query-1.1.5.sha256sum] = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" +SRC_URI[anstyle-wincon-3.0.11.sha256sum] = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" +SRC_URI[anyhow-1.0.104.sha256sum] = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" +SRC_URI[ar_archive_writer-0.5.1.sha256sum] = "7eb93bbb63b9c227414f6eb3a0adfddca591a8ce1e9b60661bb08969b87e340b" +SRC_URI[arrayvec-0.7.6.sha256sum] = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" +SRC_URI[arrow-57.3.1.sha256sum] = "3bd47f2a6ddc39244bd722a27ee5da66c03369d087b9e024eafdb03e98b98ea7" +SRC_URI[arrow-arith-57.3.1.sha256sum] = "7c7bbd679c5418b8639b92be01f361d60013c4906574b578b77b63c78356594c" +SRC_URI[arrow-array-57.3.2.sha256sum] = "b67610949fd1bfd49b85d85acf24b3811838c7c2495368fdcbb53a2e43049c8b" +SRC_URI[arrow-buffer-57.3.2.sha256sum] = "d9d1f6c599fe82bc5bab08bcefaded604b6049e337195e0309e8da346c8ed725" +SRC_URI[arrow-cast-57.3.1.sha256sum] = "722b5c41dd1d14d0a879a1bce92c6fe33f546101bb2acce57a209825edd075b3" +SRC_URI[arrow-csv-57.3.1.sha256sum] = "27ddb80a4848e03b1655af496d5ac2563a779e5742fcb48f2ca2e089c9cd2197" +SRC_URI[arrow-data-57.3.2.sha256sum] = "c8ffe1898115a178cb3b39a34eb3038512da1d3a8421afb1a026d1174b1ec1af" +SRC_URI[arrow-flight-57.3.1.sha256sum] = "c7950df881e69c9c05b7d1775e770393c71925f871625debd3e3ed92c7f2ba94" +SRC_URI[arrow-ipc-57.3.2.sha256sum] = "28c5798660f7f231639c9713006d173a05123b2cdc4ad5c4508a55377f050184" +SRC_URI[arrow-json-57.3.1.sha256sum] = "a84a905f41fedfcd7679813c89a61dc369c0f932b27aa8dcc6aa051cc781a97d" +SRC_URI[arrow-ord-57.3.1.sha256sum] = "082342947d4e5a2bcccf029a0a0397e21cb3bb8421edd9571d34fb5dd2670256" +SRC_URI[arrow-row-57.3.1.sha256sum] = "e3a931b520a2a5e22033e01a6f2486b4cdc26f9106b759abeebc320f125e94d7" +SRC_URI[arrow-schema-57.3.2.sha256sum] = "aa4512df738ac4c7b03ac93f185fefa294e4548ec0f8561e5f733a4a93f82cec" +SRC_URI[arrow-select-57.3.2.sha256sum] = "b355b168599fd9f4653d5b2c50d559efbd855ad9971e76a76463e006f0275680" +SRC_URI[arrow-string-57.3.1.sha256sum] = "b493e99162e5764077e7823e50ba284858d365922631c7aaefe9487b1abd02c2" +SRC_URI[assert-json-diff-2.0.2.sha256sum] = "47e4f2b81832e72834d7518d8487a0396a28cc408186a2e8854c0f98011faf12" +SRC_URI[assert_cmd-2.2.2.sha256sum] = "2aa3a22042e45de04255c7bf3626e239f450200fd0493c1e382263544b20aea6" +SRC_URI[assert_matches-1.5.0.sha256sum] = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +SRC_URI[async-compression-0.4.43.sha256sum] = "3976abdc8fe7d1133d43d304afd42abdf5bc3e1319d263d223bde07b5efc4be8" +SRC_URI[async-trait-0.1.92.sha256sum] = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667" +SRC_URI[atoi-2.0.0.sha256sum] = "f28d99ec8bfea296261ca1af174f24225171fea9664ba9003cbebee704810528" +SRC_URI[atomic-waker-1.1.2.sha256sum] = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" +SRC_URI[autocfg-1.5.0.sha256sum] = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" +SRC_URI[axum-0.6.20.sha256sum] = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" +SRC_URI[axum-0.8.9.sha256sum] = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90" +SRC_URI[axum-core-0.3.4.sha256sum] = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" +SRC_URI[axum-core-0.5.6.sha256sum] = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1" +SRC_URI[backon-1.6.0.sha256sum] = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef" +SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" +SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +SRC_URI[base64-0.23.1.sha256sum] = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" +SRC_URI[base64ct-1.8.3.sha256sum] = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" +SRC_URI[bigdecimal-0.4.10.sha256sum] = "4d6867f1565b3aad85681f1015055b087fcfd840d6aeee6eee7f2da317603695" +SRC_URI[bimap-0.6.3.sha256sum] = "230c5f1ca6a325a32553f8640d31ac9b49f2411e901e427570154868b46da4f7" +SRC_URI[bincode-2.0.1.sha256sum] = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740" +SRC_URI[bincode_derive-2.0.1.sha256sum] = "bf95709a440f45e986983918d0e8a1f30a9b1df04918fc828670606804ac3c09" +SRC_URI[bit-set-0.8.0.sha256sum] = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" +SRC_URI[bit-vec-0.8.0.sha256sum] = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" +SRC_URI[bitcode-0.6.9.sha256sum] = "0a6ed1b54d8dc333e7be604d00fa9262f4635485ffea923647b6521a5fff045d" +SRC_URI[bitcode_derive-0.6.9.sha256sum] = "238b90427dfad9da4a9abd60f3ec1cdee6b80454bde49ed37f1781dd8e9dc7f9" +SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +SRC_URI[bitflags-2.11.1.sha256sum] = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" +SRC_URI[bitvec-1.1.1.sha256sum] = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" +SRC_URI[blake2-0.10.6.sha256sum] = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" +SRC_URI[blake3-1.8.7.sha256sum] = "6d9e454fc11f76977dc803893aff6304ed33d6a26efae8696573bea74baa27ae" +SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +SRC_URI[block-buffer-0.12.0.sha256sum] = "cdd35008169921d80bc60d3d0ab416eecb028c4cd653352907921d95084790be" +SRC_URI[bloom2-0.5.1.sha256sum] = "92ca28db4dacf55b7a764e73c12fc191ccbc0707a3804fc2e5da72fe22b14b47" +SRC_URI[borsh-1.6.1.sha256sum] = "cfd1e3f8955a5d7de9fab72fc8373fade9fb8a703968cb200ae3dc6cf08e185a" +SRC_URI[borsh-derive-1.6.1.sha256sum] = "bfcfdc083699101d5a7965e49925975f2f55060f94f9a05e7187be95d530ca59" +SRC_URI[brotli-8.0.2.sha256sum] = "4bd8b9603c7aa97359dbd97ecf258968c95f3adddd6db2f7e7a5bef101c84560" +SRC_URI[brotli-decompressor-5.0.0.sha256sum] = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" +SRC_URI[bs58-0.5.1.sha256sum] = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" +SRC_URI[bstr-1.12.1.sha256sum] = "63044e1ae8e69f3b5a92c736ca6269b8d12fa7efe39bf34ddb06d102cf0e2cab" +SRC_URI[bumpalo-3.20.2.sha256sum] = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" +SRC_URI[bytemuck-1.25.0.sha256sum] = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" +SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +SRC_URI[bytes-1.12.1.sha256sum] = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" +SRC_URI[bzip2-0.6.1.sha256sum] = "f3a53fac24f34a81bc9954b5d6cfce0c21e18ec6959f44f56e8e90e4bb7c346c" +SRC_URI[cap-primitives-4.0.3.sha256sum] = "8b5f74729fd2f44701d1a8eb47e906cdb3ccd9ec0f02baad85a744b791940b18" +SRC_URI[cast-0.3.0.sha256sum] = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" +SRC_URI[cc-1.2.61.sha256sum] = "d16d90359e986641506914ba71350897565610e87ce0ad9e6f28569db3dd5c6d" +SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +SRC_URI[cfg_aliases-0.2.1.sha256sum] = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" +SRC_URI[chacha20-0.10.2.sha256sum] = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06" +SRC_URI[chrono-0.4.45.sha256sum] = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" +SRC_URI[chrono-tz-0.10.4.sha256sum] = "a6139a8597ed92cf816dfb33f5dd6cf0bb93a6adc938f11039f371bc5bcd26c3" +SRC_URI[ciborium-0.2.2.sha256sum] = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" +SRC_URI[ciborium-io-0.2.2.sha256sum] = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" +SRC_URI[ciborium-ll-0.2.2.sha256sum] = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" +SRC_URI[clap-4.6.1.sha256sum] = "1ddb117e43bbf7dacf0a4190fef4d345b9bad68dfc649cb349e7d17d28428e51" +SRC_URI[clap_builder-4.6.0.sha256sum] = "714a53001bf66416adb0e2ef5ac857140e7dc3a0c48fb28b2f10762fc4b5069f" +SRC_URI[clap_derive-4.6.1.sha256sum] = "f2ce8604710f6733aa641a2b3731eaa1e8b3d9973d5e3565da11800813f997a9" +SRC_URI[clap_lex-1.1.0.sha256sum] = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" +SRC_URI[cobs-0.3.0.sha256sum] = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" +SRC_URI[colorchoice-1.0.5.sha256sum] = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" +SRC_URI[combine-4.6.7.sha256sum] = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" +SRC_URI[comfy-table-7.2.2.sha256sum] = "958c5d6ecf1f214b4c2bbbbf6ab9523a864bd136dcf71a7e8904799acfe1ad47" +SRC_URI[compression-codecs-0.4.38.sha256sum] = "ce2548391e9c1929c21bf6aa2680af86fe4c1b33e6cea9ac1cfeec0bd11218cf" +SRC_URI[compression-core-0.4.32.sha256sum] = "cc14f565cf027a105f7a44ccf9e5b424348421a1d8952a8fc9d499d313107789" +SRC_URI[console-0.16.3.sha256sum] = "d64e8af5551369d19cf50138de61f1c42074ab970f74e99be916646777f8fc87" +SRC_URI[console-api-0.5.0.sha256sum] = "c2895653b4d9f1538a83970077cb01dfc77a4810524e51a110944688e916b18e" +SRC_URI[console-subscriber-0.1.10.sha256sum] = "d4cf42660ac07fcebed809cfe561dd8730bcd35b075215e6479c516bcd0d11cb" +SRC_URI[const-oid-0.9.6.sha256sum] = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" +SRC_URI[const-oid-0.10.2.sha256sum] = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c" +SRC_URI[const-random-0.1.18.sha256sum] = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" +SRC_URI[const-random-macro-0.1.16.sha256sum] = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" +SRC_URI[constant_time_eq-0.4.2.sha256sum] = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" +SRC_URI[core-foundation-0.10.1.sha256sum] = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" +SRC_URI[core-foundation-sys-0.8.7.sha256sum] = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" +SRC_URI[cpp_demangle-0.5.1.sha256sum] = "0667304c32ea56cb4cd6d2d7c0cfe9a2f8041229db8c033af7f8d69492429def" +SRC_URI[cpufeatures-0.2.17.sha256sum] = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +SRC_URI[cpufeatures-0.3.0.sha256sum] = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201" +SRC_URI[cranelift-bforest-0.135.8.sha256sum] = "32a9ad33269057337a70db66950f426fbdce436a66fe8071f55851a13a2e40cd" +SRC_URI[cranelift-bitset-0.135.8.sha256sum] = "d322e6584efe3b229b1164b49edf55aec561553426f7fe3e228a45e80a15a190" +SRC_URI[cranelift-entity-0.135.8.sha256sum] = "ccbd0c43e96db753f44a84e44f680f9423ed0a475b81f301ba7c44b5db52c37b" +SRC_URI[crc-3.4.0.sha256sum] = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" +SRC_URI[crc-catalog-2.5.0.sha256sum] = "217698eaf96b4a3f0bc4f3662aaa55bdf913cd54d7204591faa790070c6d0853" +SRC_URI[crc32fast-1.5.5.sha256sum] = "2b929dd2a135771f40afabd1073f85eed59c800b7c61901e5c254270497dad64" +SRC_URI[criterion-0.5.1.sha256sum] = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" +SRC_URI[criterion-0.8.2.sha256sum] = "950046b2aa2492f9a536f5f4f9a3de7b9e2476e575e05bd6c333371add4d98f3" +SRC_URI[criterion-plot-0.5.0.sha256sum] = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" +SRC_URI[criterion-plot-0.8.2.sha256sum] = "d8d80a2f4f5b554395e47b5d8305bc3d27813bacb73493eb1001e8f76dae29ea" +SRC_URI[croaring-2.7.0.sha256sum] = "1923cfaba49fda0b2e27f16f3772e677b499621bdf016b9e40ffcb1ca0981d7e" +SRC_URI[croaring-sys-4.7.1.sha256sum] = "62bdd6feb27873ce157167bd66e14893a4c1c6b46256b1434c0e4754649b99f5" +SRC_URI[cron-0.15.0.sha256sum] = "5877d3fbf742507b66bc2a1945106bd30dd8504019d596901ddd012a4dd01740" +SRC_URI[crossbeam-channel-0.5.17.sha256sum] = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1" +SRC_URI[crossbeam-deque-0.8.6.sha256sum] = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +SRC_URI[crossbeam-epoch-0.9.20.sha256sum] = "2d6914041f254d6e9176c01941b21115dcfb7089e55135a35411081bd106ef3f" +SRC_URI[crossbeam-queue-0.3.12.sha256sum] = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115" +SRC_URI[crossbeam-utils-0.8.21.sha256sum] = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" +SRC_URI[crossterm-0.29.0.sha256sum] = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b" +SRC_URI[crossterm_winapi-0.9.1.sha256sum] = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" +SRC_URI[crunchy-0.2.4.sha256sum] = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" +SRC_URI[crypto-common-0.1.7.sha256sum] = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +SRC_URI[crypto-common-0.2.1.sha256sum] = "77727bb15fa921304124b128af125e7e3b968275d1b108b379190264f4423710" +SRC_URI[csv-1.4.0.sha256sum] = "52cd9d68cf7efc6ddfaaee42e7288d3a99d613d4b50f76ce9827ae0c6e14f938" +SRC_URI[csv-core-0.1.13.sha256sum] = "704a3c26996a80471189265814dbc2c257598b96b8a7feae2d31ace646bb9782" +SRC_URI[darling-0.23.0.sha256sum] = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d" +SRC_URI[darling_core-0.23.0.sha256sum] = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0" +SRC_URI[darling_macro-0.23.0.sha256sum] = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d" +SRC_URI[dashmap-6.2.1.sha256sum] = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" +SRC_URI[defmt-1.1.1.sha256sum] = "e2953bfe4f93bbd20cc71198842756f77d161884c99ebbabc41d80231ded88d1" +SRC_URI[defmt-macros-1.1.1.sha256sum] = "bad9c72e7ca2137e0dc3813245a0d282fd6daad32fd800af018306a9169b5fe8" +SRC_URI[defmt-parser-1.0.0.sha256sum] = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e" +SRC_URI[delegate-0.8.0.sha256sum] = "082a24a9967533dc5d743c602157637116fc1b52806d694a5a45e6f32567fcdd" +SRC_URI[der-0.7.10.sha256sum] = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +SRC_URI[deranged-0.5.8.sha256sum] = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c" +SRC_URI[diff-0.1.13.sha256sum] = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" +SRC_URI[difflib-0.4.0.sha256sum] = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" +SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +SRC_URI[digest-0.11.3.sha256sum] = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +SRC_URI[document-features-0.2.12.sha256sum] = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +SRC_URI[dotenvy-0.15.7.sha256sum] = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" +SRC_URI[downcast-0.11.0.sha256sum] = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" +SRC_URI[dyn-clone-1.0.20.sha256sum] = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" +SRC_URI[either-1.15.0.sha256sum] = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +SRC_URI[embedded-io-0.4.0.sha256sum] = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced" +SRC_URI[embedded-io-0.6.1.sha256sum] = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" +SRC_URI[encode_unicode-1.0.0.sha256sum] = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" +SRC_URI[encoding_rs-0.8.35.sha256sum] = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" +SRC_URI[env_filter-1.0.1.sha256sum] = "32e90c2accc4b07a8456ea0debdc2e7587bdd890680d71173a15d4ae604f6eef" +SRC_URI[env_logger-0.11.10.sha256sum] = "0621c04f2196ac3f488dd583365b9c09be011a4ab8b9f37248ffcc8f6198b56a" +SRC_URI[equivalent-1.0.2.sha256sum] = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" +SRC_URI[errno-0.3.14.sha256sum] = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +SRC_URI[etcetera-0.8.0.sha256sum] = "136d1b5283a1ab77bd9257427ffd09d8667ced0570b6f938942bc7568ed5b943" +SRC_URI[event-listener-5.4.2.sha256sum] = "5a23add41df1562121a9393cb065eab5146a1242410f23a644851e90cfd669d2" +SRC_URI[fastrand-2.4.1.sha256sum] = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" +SRC_URI[find-msvc-tools-0.1.9.sha256sum] = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" +SRC_URI[fixedbitset-0.5.7.sha256sum] = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" +SRC_URI[flatbuffers-25.12.19.sha256sum] = "35f6839d7b3b98adde531effaf34f0c2badc6f4735d26fe74709d8e513a96ef3" +SRC_URI[flate2-1.1.11.sha256sum] = "626d4928326b646e70f65ed36fc7cf9f206bdb68a0019ee7c6b4709da4e084c4" +SRC_URI[flume-0.11.1.sha256sum] = "da0e4dd2a88388a1f4ccc7c9ce104604dab68d9f408dc34cd45823d5a9069095" +SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +SRC_URI[foldhash-0.1.5.sha256sum] = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" +SRC_URI[foldhash-0.2.0.sha256sum] = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" +SRC_URI[form_urlencoded-1.2.2.sha256sum] = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" +SRC_URI[fragile-2.1.0.sha256sum] = "8878864ba14bb86e818a412bfd6f18f9eabd4ec0f008a28e8f7eb61db532fcf9" +SRC_URI[fs-set-times-0.20.3.sha256sum] = "94e7099f6313ecacbe1256e8ff9d617b75d1bcb16a6fddef94866d225a01a14a" +SRC_URI[funty-2.0.0.sha256sum] = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" +SRC_URI[futures-0.3.34.sha256sum] = "9a31d2a3fbaaeb2af2368bbdd904aa8e812d3c04a1ee10d3171f52d556e5d0a3" +SRC_URI[futures-channel-0.3.34.sha256sum] = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4" +SRC_URI[futures-concurrency-7.7.1.sha256sum] = "175cd8cca9e1d45b87f18ffa75088f2099e3c4fe5e2f83e42de112560bea8ea6" +SRC_URI[futures-core-0.3.34.sha256sum] = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" +SRC_URI[futures-executor-0.3.34.sha256sum] = "031b47cf1a3c6cc8bc2fc76cd437f521619387907d469316e7c0bc278f1f5432" +SRC_URI[futures-intrusive-0.5.0.sha256sum] = "1d930c203dd0b6ff06e0201a4a2fe9149b43c684fd4420555b26d21b1a02956f" +SRC_URI[futures-io-0.3.34.sha256sum] = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed" +SRC_URI[futures-lite-2.6.1.sha256sum] = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" +SRC_URI[futures-macro-0.3.34.sha256sum] = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44" +SRC_URI[futures-sink-0.3.34.sha256sum] = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d" +SRC_URI[futures-task-0.3.34.sha256sum] = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" +SRC_URI[futures-timer-3.0.3.sha256sum] = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" +SRC_URI[futures-util-0.3.34.sha256sum] = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +SRC_URI[getrandom-0.2.17.sha256sum] = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" +SRC_URI[getrandom-0.3.4.sha256sum] = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +SRC_URI[getrandom-0.4.2.sha256sum] = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" +SRC_URI[gimli-0.33.0.sha256sum] = "0bf7f043f89559805f8c7cacc432749b2fa0d0a0a9ee46ce47164ed5ba7f126c" +SRC_URI[glam-0.32.1.sha256sum] = "f70749695b063ecbf6b62949ccccde2e733ec3ecbbd71d467dca4e5c6c97cca0" +SRC_URI[glob-0.3.4.sha256sum] = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" +SRC_URI[gloo-timers-0.3.0.sha256sum] = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994" +SRC_URI[h2-0.3.27.sha256sum] = "0beca50380b1fc32983fc1cb4587bfa4bb9e78fc259aad4a0032d2080309222d" +SRC_URI[h2-0.4.16.sha256sum] = "a9f37a958b41b3b19ee2707c06439c0e9e547e847223eb791ecb0cb821c65e27" +SRC_URI[half-2.7.1.sha256sum] = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +SRC_URI[hashbrown-0.14.5.sha256sum] = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +SRC_URI[hashbrown-0.15.5.sha256sum] = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" +SRC_URI[hashbrown-0.16.1.sha256sum] = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +SRC_URI[hashbrown-0.17.0.sha256sum] = "4f467dd6dccf739c208452f8014c75c18bb8301b050ad1cfb27153803edb0f51" +SRC_URI[hashlink-0.10.0.sha256sum] = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" +SRC_URI[hdrhistogram-7.5.4.sha256sum] = "765c9198f173dd59ce26ff9f95ef0aafd0a0fe01fb9d72841bc5066a4c06511d" +SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +SRC_URI[hermit-abi-0.5.2.sha256sum] = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" +SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +SRC_URI[hkdf-0.12.4.sha256sum] = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +SRC_URI[hmac-0.12.1.sha256sum] = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +SRC_URI[home-0.5.12.sha256sum] = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" +SRC_URI[hostname-0.4.2.sha256sum] = "617aaa3557aef3810a6369d0a99fac8a080891b68bd9f9812a1eeda0c0730cbd" +SRC_URI[http-0.2.12.sha256sum] = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +SRC_URI[http-1.5.0.sha256sum] = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" +SRC_URI[http-body-0.4.6.sha256sum] = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +SRC_URI[http-body-1.1.0.sha256sum] = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c" +SRC_URI[http-body-util-0.1.5.sha256sum] = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c" +SRC_URI[httparse-1.10.1.sha256sum] = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" +SRC_URI[httpdate-1.0.3.sha256sum] = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" +SRC_URI[humantime-2.4.0.sha256sum] = "15cdd26707701c53297e2fa6afb323d55fbc1d0810c3aec078ae3ef0424c3c15" +SRC_URI[humantime-serde-1.1.1.sha256sum] = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c" +SRC_URI[hybrid-array-0.4.11.sha256sum] = "08d46837a0ed51fe95bd3b05de33cd64a1ee88fc797477ca48446872504507c5" +SRC_URI[hyper-0.14.32.sha256sum] = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" +SRC_URI[hyper-1.11.1.sha256sum] = "27b501faa50e7a26c3d3560ca625132f4078a17771f4810baf70475ae48cbe43" +SRC_URI[hyper-rustls-0.27.10.sha256sum] = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53" +SRC_URI[hyper-timeout-0.4.1.sha256sum] = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" +SRC_URI[hyper-timeout-0.5.2.sha256sum] = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0" +SRC_URI[hyper-util-0.1.21.sha256sum] = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff" +SRC_URI[iana-time-zone-0.1.65.sha256sum] = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" +SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +SRC_URI[icu_collections-2.2.0.sha256sum] = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c" +SRC_URI[icu_locale_core-2.2.0.sha256sum] = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29" +SRC_URI[icu_normalizer-2.2.0.sha256sum] = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4" +SRC_URI[icu_normalizer_data-2.2.0.sha256sum] = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38" +SRC_URI[icu_properties-2.2.0.sha256sum] = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de" +SRC_URI[icu_properties_data-2.2.0.sha256sum] = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14" +SRC_URI[icu_provider-2.2.0.sha256sum] = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421" +SRC_URI[id-arena-2.3.0.sha256sum] = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" +SRC_URI[ident_case-1.0.1.sha256sum] = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" +SRC_URI[idna-1.1.0.sha256sum] = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" +SRC_URI[idna_adapter-1.2.2.sha256sum] = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714" +SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +SRC_URI[indexmap-2.14.2.sha256sum] = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +SRC_URI[insta-1.48.0.sha256sum] = "86f0f8fee8c926415c58d6ae43a08523a26faccb2323f5e6b644fe7dd4ef6b82" +SRC_URI[integer-encoding-3.0.4.sha256sum] = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02" +SRC_URI[inventory-0.3.25.sha256sum] = "6928282826c822ad91bf1c9a1cb90a30ba1c26770749929b4656cd6be829cd7c" +SRC_URI[io-extras-0.19.0.sha256sum] = "20fd6de4ccfcc187e38bc21cfa543cb5a302cb86a8b114eb7f0bf0dc9f8ac00f" +SRC_URI[io-lifetimes-2.0.4.sha256sum] = "06432fb54d3be7964ecd3649233cddf80db2832f47fec34c01f65b3d9d774983" +SRC_URI[io-lifetimes-3.0.1.sha256sum] = "2f0fb0570afe1fed943c5c3d4102d5358592d8625fda6a0007fdbe65a92fba96" +SRC_URI[ipnet-2.12.0.sha256sum] = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" +SRC_URI[iri-string-0.7.12.sha256sum] = "25e659a4bb38e810ebc252e53b5814ff908a8c58c2a9ce2fae1bbec24cbf4e20" +SRC_URI[is-terminal-0.4.17.sha256sum] = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" +SRC_URI[is_terminal_polyfill-1.70.2.sha256sum] = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" +SRC_URI[itertools-0.10.5.sha256sum] = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +SRC_URI[itertools-0.12.1.sha256sum] = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +SRC_URI[itertools-0.13.0.sha256sum] = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +SRC_URI[itertools-0.14.0.sha256sum] = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" +SRC_URI[itoa-1.0.18.sha256sum] = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" +SRC_URI[jiff-0.2.35.sha256sum] = "668b7183bd07af9a4885f5c35b0cc5c83c4607a913c16b7e17291832910d2dcc" +SRC_URI[jiff-core-0.1.0.sha256sum] = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09" +SRC_URI[jiff-static-0.2.35.sha256sum] = "3a69dcb3a21cfb32ce1cd056169337ca284af0766dd766e7878819b251a49204" +SRC_URI[jiff-tzdb-0.1.8.sha256sum] = "142bd39932ad231f10513df9ab62661fead8719872150b7ad02a2df79f4e141e" +SRC_URI[jiff-tzdb-platform-0.1.3.sha256sum] = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" +SRC_URI[jni-0.22.4.sha256sum] = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498" +SRC_URI[jni-macros-0.22.4.sha256sum] = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3" +SRC_URI[jni-sys-0.4.1.sha256sum] = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +SRC_URI[jni-sys-macros-0.4.1.sha256sum] = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +SRC_URI[jobserver-0.1.34.sha256sum] = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +SRC_URI[js-sys-0.3.97.sha256sum] = "a1840c94c045fbcf8ba2812c95db44499f7c64910a912551aaaa541decebcacf" +SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +SRC_URI[leb128fmt-0.1.0.sha256sum] = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" +SRC_URI[lexical-core-1.0.6.sha256sum] = "7d8d125a277f807e55a77304455eb7b1cb52f2b18c143b60e766c120bd64a594" +SRC_URI[lexical-parse-float-1.0.6.sha256sum] = "52a9f232fbd6f550bc0137dcb5f99ab674071ac2d690ac69704593cb4abbea56" +SRC_URI[lexical-parse-integer-1.0.6.sha256sum] = "9a7a039f8fb9c19c996cd7b2fcce303c1b2874fe1aca544edc85c4a5f8489b34" +SRC_URI[lexical-util-1.0.7.sha256sum] = "2604dd126bb14f13fb5d1bd6a66155079cb9fa655b37f875b3a742c705dbed17" +SRC_URI[lexical-write-float-1.0.6.sha256sum] = "50c438c87c013188d415fbabbb1dceb44249ab81664efbd31b14ae55dabb6361" +SRC_URI[lexical-write-integer-1.0.6.sha256sum] = "409851a618475d2d5796377cad353802345cba92c867d9fbcde9cf4eac4e14df" +SRC_URI[libbz2-rs-sys-0.2.3.sha256sum] = "b3a6a8c165077efc8f3a971534c50ea6a1a18b329ef4a66e897a7e3a1494565f" +SRC_URI[libc-0.2.191.sha256sum] = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" +SRC_URI[liblzma-0.4.8.sha256sum] = "2fe0a34ca854fd4f20c07f696fc8675aec78f87d88d29f5e10257a7490a1b2e1" +SRC_URI[liblzma-sys-0.4.8.sha256sum] = "a0dad045e4b1b7b170be4b60b54b780cafb4490165461bac7d1cf7b703f61d5f" +SRC_URI[libm-0.2.16.sha256sum] = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" +SRC_URI[libredox-0.1.16.sha256sum] = "e02f3bb43d335493c96bf3fd3a321600bf6bd07ed34bc64118e9293bdffea46c" +SRC_URI[libsqlite3-sys-0.30.1.sha256sum] = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" +SRC_URI[linux-raw-sys-0.12.1.sha256sum] = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" +SRC_URI[litemap-0.8.2.sha256sum] = "92daf443525c4cce67b150400bc2316076100ce0b3686209eb8cf3c31612e6f0" +SRC_URI[litrs-1.0.0.sha256sum] = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" +SRC_URI[lock_api-0.4.14.sha256sum] = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +SRC_URI[log-0.4.35.sha256sum] = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c" +SRC_URI[lru-slab-0.1.2.sha256sum] = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" +SRC_URI[lz4_flex-0.12.1.sha256sum] = "98c23545df7ecf1b16c303910a69b079e8e251d60f7dd2cc9b4177f2afaf1746" +SRC_URI[mach2-0.6.0.sha256sum] = "dae608c151f68243f2b000364e1f7b186d9c29845f7d2d85bd31b9ad77ad552b" +SRC_URI[matchers-0.2.0.sha256sum] = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" +SRC_URI[matchit-0.7.3.sha256sum] = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" +SRC_URI[matchit-0.8.4.sha256sum] = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" +SRC_URI[maybe-owned-0.3.4.sha256sum] = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" +SRC_URI[md-5-0.10.6.sha256sum] = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" +SRC_URI[memchr-2.8.0.sha256sum] = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" +SRC_URI[memfd-0.6.5.sha256sum] = "ad38eb12aea514a0466ea40a80fd8cc83637065948eb4a426e4aa46261175227" +SRC_URI[mime-0.3.18.sha256sum] = "d5848f5a9e8117cf94f2f90faac24a87ff81600ff8628c1e3deaab572e76bfa1" +SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" +SRC_URI[miniz_oxide-0.9.1.sha256sum] = "b63fbc4a50860e98e7b2aa7804ded1db5cbc3aff9193adaff57a6931bf7c4b4c" +SRC_URI[mio-1.2.0.sha256sum] = "50b7e5b27aa02a74bac8c3f23f448f8d87ff11f92d3aac1a6ed369ee08cc56c1" +SRC_URI[mockall-0.13.1.sha256sum] = "39a6bfcc6c8c7eed5ee98b9c3e33adc726054389233e201c95dab2d41a3839d2" +SRC_URI[mockall_derive-0.13.1.sha256sum] = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" +SRC_URI[mockito-1.7.2.sha256sum] = "90820618712cab19cfc46b274c6c22546a82affcb3c3bdf0f29e3db8e1bb92c0" +SRC_URI[multer-3.1.0.sha256sum] = "83e87776546dc87511aa5ee218730c92b666d7264ab6ed41f9d215af9cd5224b" +SRC_URI[multimap-0.10.1.sha256sum] = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084" +SRC_URI[murmur3-0.5.2.sha256sum] = "9252111cf132ba0929b6f8e030cac2a24b507f3a4d6db6fb2896f27b354c714b" +SRC_URI[nix-0.30.1.sha256sum] = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" +SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" +SRC_URI[nom-8.0.0.sha256sum] = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405" +SRC_URI[non-empty-string-0.2.6.sha256sum] = "260010741d90def3ca7c4b5ec0bbe28c26d0c775d3c7d291b38642514136677a" +SRC_URI[ntapi-0.4.3.sha256sum] = "c3b335231dfd352ffb0f8017f3b6027a4917f7df785ea2143d8af2adc66980ae" +SRC_URI[nu-ansi-term-0.50.3.sha256sum] = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" +SRC_URI[num-0.4.3.sha256sum] = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" +SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +SRC_URI[num-bigint-dig-0.8.6.sha256sum] = "e661dda6640fad38e827a6d4a310ff4763082116fe217f279885c97f511bb0b7" +SRC_URI[num-complex-0.4.6.sha256sum] = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" +SRC_URI[num-conv-0.2.1.sha256sum] = "c6673768db2d862beb9b39a78fdcb1a69439615d5794a1be50caa9bc92c81967" +SRC_URI[num-integer-0.1.47.sha256sum] = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" +SRC_URI[num-iter-0.1.45.sha256sum] = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" +SRC_URI[num-rational-0.4.2.sha256sum] = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +SRC_URI[num_cpus-1.17.0.sha256sum] = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" +SRC_URI[objc2-core-foundation-0.3.2.sha256sum] = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +SRC_URI[objc2-io-kit-0.3.2.sha256sum] = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15" +SRC_URI[object-0.37.3.sha256sum] = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" +SRC_URI[object-0.39.1.sha256sum] = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b" +SRC_URI[once_cell-1.21.4.sha256sum] = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" +SRC_URI[once_cell_polyfill-1.70.2.sha256sum] = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" +SRC_URI[oorandom-11.1.5.sha256sum] = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" +SRC_URI[openssl-probe-0.2.1.sha256sum] = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" +SRC_URI[ordered-float-2.10.1.sha256sum] = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" +SRC_URI[ordered-float-3.9.2.sha256sum] = "f1e1c390732d15f1d48471625cd92d154e66db2c56645e29a9cd26f4699f72dc" +SRC_URI[ordered-float-5.5.1.sha256sum] = "7f59006ce1e204c30956638535b74d317bca99477b9356dfaec54c37f6f600ab" +SRC_URI[owo-colors-4.4.0.sha256sum] = "13c45bb4a6ae1280ec0803b1ef9d3455eb50f01efbbe1447ab020f1d54fba9d8" +SRC_URI[page_size-0.6.0.sha256sum] = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da" +SRC_URI[parking-2.2.1.sha256sum] = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" +SRC_URI[parking_lot-0.12.5.sha256sum] = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" +SRC_URI[parking_lot_core-0.9.12.sha256sum] = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" +SRC_URI[parquet-57.3.1.sha256sum] = "2e832c6aa20310fc6de7ea5a3f4e20d34fd83e3b43229d32b81ffe5c14d74692" +SRC_URI[paste-1.0.15.sha256sum] = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" +SRC_URI[pbjson-0.9.0.sha256sum] = "e8edd1efdd8ab23ba9cb9ace3d9987a72663d5d7c9f74fa00b51d6213645cf6c" +SRC_URI[pbjson-build-0.9.0.sha256sum] = "2ed4d5c6ae95e08ac768883c8401cf0e8deb4e6e1d6a4e1fd3d2ec4f0ec63200" +SRC_URI[pbjson-types-0.9.0.sha256sum] = "a14e2757d877c0f607a82ce1b8560e224370f159d66c5d52eb55ea187ef0350e" +SRC_URI[pem-3.0.6.sha256sum] = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" +SRC_URI[pem-rfc7468-0.7.0.sha256sum] = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +SRC_URI[percent-encoding-2.3.2.sha256sum] = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" +SRC_URI[pest-2.8.6.sha256sum] = "e0848c601009d37dfa3430c4666e147e49cdcf1b92ecd3e63657d8a5f19da662" +SRC_URI[pest_derive-2.8.6.sha256sum] = "11f486f1ea21e6c10ed15d5a7c77165d0ee443402f0780849d1768e7d9d6fe77" +SRC_URI[pest_generator-2.8.6.sha256sum] = "8040c4647b13b210a963c1ed407c1ff4fdfa01c31d6d2a098218702e6664f94f" +SRC_URI[pest_meta-2.8.6.sha256sum] = "89815c69d36021a140146f26659a81d6c2afa33d216d736dd4be5381a7362220" +SRC_URI[petgraph-0.8.3.sha256sum] = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455" +SRC_URI[phf-0.12.1.sha256sum] = "913273894cec178f401a31ec4b656318d95473527be05c0752cc41cdc32be8b7" +SRC_URI[phf_shared-0.12.1.sha256sum] = "06005508882fb681fd97892ecff4b7fd0fee13ef1aa569f8695dae7ab9099981" +SRC_URI[pin-project-1.1.13.sha256sum] = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" +SRC_URI[pin-project-internal-1.1.13.sha256sum] = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" +SRC_URI[pin-project-lite-0.2.17.sha256sum] = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" +SRC_URI[pkcs1-0.7.5.sha256sum] = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" +SRC_URI[pkcs8-0.10.2.sha256sum] = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +SRC_URI[pkg-config-0.3.33.sha256sum] = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e" +SRC_URI[plain-0.2.3.sha256sum] = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" +SRC_URI[plotters-0.3.7.sha256sum] = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747" +SRC_URI[plotters-backend-0.3.7.sha256sum] = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a" +SRC_URI[plotters-svg-0.3.7.sha256sum] = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670" +SRC_URI[portable-atomic-1.13.1.sha256sum] = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" +SRC_URI[portable-atomic-util-0.2.7.sha256sum] = "c2a106d1259c23fac8e543272398ae0e3c0b8d33c88ed73d0cc71b0f1d902618" +SRC_URI[postcard-1.1.3.sha256sum] = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24" +SRC_URI[potential_utf-0.1.5.sha256sum] = "0103b1cef7ec0cf76490e969665504990193874ea05c85ff9bab8b911d0a0564" +SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" +SRC_URI[ppv-lite86-0.2.21.sha256sum] = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +SRC_URI[predicates-3.1.4.sha256sum] = "ada8f2932f28a27ee7b70dd6c1c39ea0675c55a36879ab92f3a715eaa1e63cfe" +SRC_URI[predicates-core-1.0.10.sha256sum] = "cad38746f3166b4031b1a0d39ad9f954dd291e7854fcc0eed52ee41a0b50d144" +SRC_URI[predicates-tree-1.0.13.sha256sum] = "d0de1b847b39c8131db0467e9df1ff60e6d0562ab8e9a16e568ad0fdb372e2f2" +SRC_URI[pretty_assertions-1.4.1.sha256sum] = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" +SRC_URI[prettyplease-0.2.37.sha256sum] = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +SRC_URI[proc-macro-crate-3.5.0.sha256sum] = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" +SRC_URI[proc-macro2-1.0.107.sha256sum] = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +SRC_URI[prometheus-0.14.0.sha256sum] = "3ca5326d8d0b950a9acd87e6a3f94745394f62e4dae1b1ee22b2bc0c394af43a" +SRC_URI[prometheus-parse-0.2.5.sha256sum] = "811031bea65e5a401fb2e1f37d802cca6601e204ac463809a3189352d13b78a5" +SRC_URI[proptest-1.11.0.sha256sum] = "4b45fcc2344c680f5025fe57779faef368840d0bd1f42f216291f0dc4ace4744" +SRC_URI[prost-0.11.9.sha256sum] = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" +SRC_URI[prost-0.14.6.sha256sum] = "3ef0b569d1d907ab3a28596aee62cf1f61dacb0529a4bedcd8e7460e2d5228b4" +SRC_URI[prost-build-0.14.4.sha256sum] = "03da047801ff44bb6a4d407d4860c05fd70bb81714e6b2f3812603d5b145b042" +SRC_URI[prost-derive-0.11.9.sha256sum] = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" +SRC_URI[prost-derive-0.14.6.sha256sum] = "1ad9c5423459fa2f729b8d9235fab810aa29628b171467744fc86d21460ad70d" +SRC_URI[prost-types-0.11.9.sha256sum] = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" +SRC_URI[prost-types-0.14.6.sha256sum] = "f29a7c4c7a84cef41a53d338a2d10d4f1b043ea5c3dde26db22ee2c9c1b1c75b" +SRC_URI[psm-0.1.31.sha256sum] = "645dbe486e346d9b5de3ef16ede18c26e6c70ad97418f4874b8b1889d6e761ea" +SRC_URI[pulldown-cmark-0.13.6.sha256sum] = "3db2be46835f013dd3f4fa7f5f7402c537787b54ebb6fe2b94bbdd7e2669bb7b" +SRC_URI[pulldown-cmark-to-cmark-22.0.0.sha256sum] = "50793def1b900256624a709439404384204a5dc3a6ec580281bfaac35e882e90" +SRC_URI[pulley-interpreter-48.0.8.sha256sum] = "4e6d73adcf2f76b98d3de7a31831b6d6436fd2b6518e0ad4f7cc722a12ad4133" +SRC_URI[pulley-macros-48.0.8.sha256sum] = "5bde547f939ab9aa321a54c6694aef2e1e27741c2523c0627ff306677b3cbcff" +SRC_URI[pyo3-0.29.3.sha256sum] = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655" +SRC_URI[pyo3-build-config-0.29.3.sha256sum] = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb" +SRC_URI[pyo3-ffi-0.29.3.sha256sum] = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330" +SRC_URI[pyo3-macros-0.29.3.sha256sum] = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6" +SRC_URI[pyo3-macros-backend-0.29.3.sha256sum] = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3" +SRC_URI[quick-error-1.2.3.sha256sum] = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" +SRC_URI[quick-xml-0.41.0.sha256sum] = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" +SRC_URI[quinn-0.11.9.sha256sum] = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" +SRC_URI[quinn-proto-0.11.16.sha256sum] = "2f4bfc015262b9df63c8845072ce59068853ff5872180c2ce2f13038b970e560" +SRC_URI[quinn-udp-0.5.14.sha256sum] = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" +SRC_URI[quote-1.0.47.sha256sum] = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +SRC_URI[r-efi-5.3.0.sha256sum] = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" +SRC_URI[r-efi-6.0.0.sha256sum] = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" +SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" +SRC_URI[rand-0.8.8.sha256sum] = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +SRC_URI[rand-0.9.4.sha256sum] = "44c5af06bb1b7d3216d91932aed5265164bf384dc89cd6ba05cf59a35f5f76ea" +SRC_URI[rand-0.10.2.sha256sum] = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" +SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +SRC_URI[rand_chacha-0.9.0.sha256sum] = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +SRC_URI[rand_core-0.9.5.sha256sum] = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" +SRC_URI[rand_core-0.10.1.sha256sum] = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69" +SRC_URI[rand_pcg-0.10.2.sha256sum] = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a" +SRC_URI[rand_xorshift-0.4.0.sha256sum] = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" +SRC_URI[rayon-1.12.0.sha256sum] = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" +SRC_URI[rayon-core-1.13.0.sha256sum] = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +SRC_URI[rcgen-0.13.2.sha256sum] = "75e669e5202259b5314d1ea5397316ad400819437857b90861765f24c4cf80a2" +SRC_URI[recursive-0.1.1.sha256sum] = "0786a43debb760f491b1bc0269fe5e84155353c67482b9e60d0cfb596054b43e" +SRC_URI[recursive-proc-macro-impl-0.1.1.sha256sum] = "76009fbe0614077fc1a2ce255e3a1881a2e3a3527097d5dc6d8212c585e7e38b" +SRC_URI[redox_syscall-0.5.18.sha256sum] = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +SRC_URI[redox_syscall-0.7.4.sha256sum] = "f450ad9c3b1da563fb6948a8e0fb0fb9269711c9c73d9ea1de5058c79c8d643a" +SRC_URI[ref-cast-1.0.25.sha256sum] = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" +SRC_URI[ref-cast-impl-1.0.25.sha256sum] = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" +SRC_URI[regex-1.13.1.sha256sum] = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +SRC_URI[regex-automata-0.4.18.sha256sum] = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +SRC_URI[regex-syntax-0.8.11.sha256sum] = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" +SRC_URI[relative-path-1.9.3.sha256sum] = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2" +SRC_URI[reqwest-0.12.28.sha256sum] = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" +SRC_URI[reqwest-0.13.4.sha256sum] = "219c5811de6525e5416c7d5d53bb656d3afdbc6c5af816e0802bcfa42dbdc1c3" +SRC_URI[ring-0.17.14.sha256sum] = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +SRC_URI[rmp-0.8.15.sha256sum] = "4ba8be72d372b2c9b35542551678538b562e7cf86c3315773cae48dfbfe7790c" +SRC_URI[rmp-serde-1.3.1.sha256sum] = "72f81bee8c8ef9b577d1681a70ebbc962c232461e397b22c208c43c04b67a155" +SRC_URI[rsa-0.9.10.sha256sum] = "b8573f03f5883dcaebdfcf4725caa1ecb9c15b2ef50c43a07b816e06799bb12d" +SRC_URI[rstest-0.26.1.sha256sum] = "f5a3193c063baaa2a95a33f03035c8a72b83d97a54916055ba22d35ed3839d49" +SRC_URI[rstest_macros-0.26.1.sha256sum] = "9c845311f0ff7951c5506121a9ad75aec44d083c31583b2ea5a30bcb0b0abba0" +SRC_URI[rust_decimal-1.43.0.sha256sum] = "7653272e75dcac41dc199fbea6f5797633994fafd339943c06c9af16bf29cd3a" +SRC_URI[rustc-demangle-0.1.27.sha256sum] = "b50b8869d9fc858ce7266cce0194bd74df58b9d0e3f6df3a9fc8eb470d95c09d" +SRC_URI[rustc-hash-2.1.3.sha256sum] = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" +SRC_URI[rustc_version-0.4.1.sha256sum] = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +SRC_URI[rustix-1.1.5.sha256sum] = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" +SRC_URI[rustix-linux-procfs-0.1.1.sha256sum] = "2fc84bf7e9aa16c4f2c758f27412dc9841341e16aa682d9c7ac308fe3ee12056" +SRC_URI[rustls-0.23.46.sha256sum] = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf" +SRC_URI[rustls-native-certs-0.8.3.sha256sum] = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63" +SRC_URI[rustls-pemfile-2.2.0.sha256sum] = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" +SRC_URI[rustls-pki-types-1.14.1.sha256sum] = "30a7197ae7eb376e574fe940d068c30fe0462554a3ddbe4eca7838e049c937a9" +SRC_URI[rustls-platform-verifier-0.7.0.sha256sum] = "26d1e2536ce4f35f4846aa13bff16bd0ff40157cdb14cc056c7b14ba41233ba0" +SRC_URI[rustls-platform-verifier-android-0.1.1.sha256sum] = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" +SRC_URI[rustls-webpki-0.103.16.sha256sum] = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" +SRC_URI[rustversion-1.0.22.sha256sum] = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" +SRC_URI[rusty-fork-0.3.1.sha256sum] = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" +SRC_URI[ryu-1.0.23.sha256sum] = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" +SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +SRC_URI[schannel-0.1.29.sha256sum] = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939" +SRC_URI[schemars-0.9.0.sha256sum] = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +SRC_URI[schemars-1.2.1.sha256sum] = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc" +SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +SRC_URI[secrecy-0.8.0.sha256sum] = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" +SRC_URI[security-framework-3.7.0.sha256sum] = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d" +SRC_URI[security-framework-sys-2.17.0.sha256sum] = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3" +SRC_URI[semver-1.0.28.sha256sum] = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" +SRC_URI[seq-macro-0.3.6.sha256sum] = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc" +SRC_URI[serde-1.0.229.sha256sum] = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +SRC_URI[serde_core-1.0.229.sha256sum] = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +SRC_URI[serde_derive-1.0.229.sha256sum] = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +SRC_URI[serde_json-1.0.154.sha256sum] = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" +SRC_URI[serde_urlencoded-0.7.1.sha256sum] = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" +SRC_URI[serde_with-3.22.0.sha256sum] = "ee78f1fbe43ac4a0e47aadb3dbd357b69eb0d3793e948624cd03dd2750ab1c0a" +SRC_URI[serde_with_macros-3.22.0.sha256sum] = "8705578779c2b6bd90d84d66eb2e206b708b1a4d7b9f17641b293545bf1c7e46" +SRC_URI[sha1-0.10.6.sha256sum] = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +SRC_URI[sha2-0.10.9.sha256sum] = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +SRC_URI[sha2-0.11.0.sha256sum] = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +SRC_URI[sharded-slab-0.1.7.sha256sum] = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" +SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +SRC_URI[signal-hook-registry-1.4.8.sha256sum] = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" +SRC_URI[signature-2.2.0.sha256sum] = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +SRC_URI[simd-adler32-0.3.9.sha256sum] = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214" +SRC_URI[simd_cesu8-1.2.0.sha256sum] = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520" +SRC_URI[simdutf8-0.1.5.sha256sum] = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" +SRC_URI[similar-2.7.0.sha256sum] = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" +SRC_URI[siphasher-1.0.4.sha256sum] = "33f4fe9184a62d842c9ef383018f3306d8ba224fd9d836f56d7288308847c256" +SRC_URI[slab-0.4.12.sha256sum] = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" +SRC_URI[smallvec-1.16.5.sha256sum] = "149309498a5f7334b12ddae0cad8aba81ce785fe91755068867e017cf98fee46" +SRC_URI[snafu-0.8.9.sha256sum] = "6e84b3f4eacbf3a1ce05eac6763b4d629d60cbc94d632e4092c54ade71f1e1a2" +SRC_URI[snafu-0.9.2.sha256sum] = "e45cb604038abb7b926b679887b3226d8d0f23874b66623625a0454be425a4b7" +SRC_URI[snafu-derive-0.8.9.sha256sum] = "c1c97747dbf44bb1ca44a561ece23508e99cb592e862f22222dcf42f51d1e451" +SRC_URI[snafu-derive-0.9.2.sha256sum] = "287f59010008f0d7cf5e3b03196d666c1acc46c8d3e9cf34c28a1a7157601e72" +SRC_URI[snap-1.1.2.sha256sum] = "199905e6153d6405f9728fe44daace35f8f837bbf830bb6e85fbd5828709a886" +SRC_URI[socket2-0.5.10.sha256sum] = "e22376abed350d73dd1cd119b57ffccad95b4e585a7cda43e286245ce23c0678" +SRC_URI[socket2-0.6.5.sha256sum] = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" +SRC_URI[spin-0.9.9.sha256sum] = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e" +SRC_URI[spki-0.7.3.sha256sum] = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +SRC_URI[sqlparser-0.59.0.sha256sum] = "4591acadbcf52f0af60eafbb2c003232b2b4cd8de5f0e9437cb8b1b59046cc0f" +SRC_URI[sqlparser_derive-0.3.0.sha256sum] = "da5fc6819faabb412da764b99d3b713bb55083c11e7e0c00144d386cd6a1939c" +SRC_URI[sqlx-0.8.6.sha256sum] = "1fefb893899429669dcdd979aff487bd78f4064e5e7907e4269081e0ef7d97dc" +SRC_URI[sqlx-core-0.8.6.sha256sum] = "ee6798b1838b6a0f69c007c133b8df5866302197e404e8b6ee8ed3e3a5e68dc6" +SRC_URI[sqlx-macros-0.8.6.sha256sum] = "a2d452988ccaacfbf5e0bdbc348fb91d7c8af5bee192173ac3636b5fb6e6715d" +SRC_URI[sqlx-macros-core-0.8.6.sha256sum] = "19a9c1841124ac5a61741f96e1d9e2ec77424bf323962dd894bdb93f37d5219b" +SRC_URI[sqlx-mysql-0.8.6.sha256sum] = "aa003f0038df784eb8fecbbac13affe3da23b45194bd57dba231c8f48199c526" +SRC_URI[sqlx-postgres-0.8.6.sha256sum] = "db58fcd5a53cf07c184b154801ff91347e4c30d17a3562a635ff028ad5deda46" +SRC_URI[sqlx-sqlite-0.8.6.sha256sum] = "c2d12fe70b2c1b4401038055f90f151b78208de1f9f89a7dbfd41587a10c3eea" +SRC_URI[stable_deref_trait-1.2.1.sha256sum] = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" +SRC_URI[stacker-0.1.24.sha256sum] = "640c8cdd92b6b12f5bcb1803ca3bbf5ab96e5e6b6b96b9ab77dabe9e880b3190" +SRC_URI[stringprep-0.1.5.sha256sum] = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1" +SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" +SRC_URI[subtle-2.6.1.sha256sum] = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" +SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +SRC_URI[syn-2.0.119.sha256sum] = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +SRC_URI[syn-3.0.3.sha256sum] = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +SRC_URI[sync_wrapper-0.1.2.sha256sum] = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +SRC_URI[sync_wrapper-1.0.2.sha256sum] = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +SRC_URI[synchronized-writer-1.2.0.sha256sum] = "fb2e7af27c8bb8b0850e08fe331f08fc4b0763e95770a9b7f4be59dcc1fbb24c" +SRC_URI[synstructure-0.13.2.sha256sum] = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +SRC_URI[sysinfo-0.38.4.sha256sum] = "92ab6a2f8bfe508deb3c6406578252e491d299cbbf3bc0529ecc3313aee4a52f" +SRC_URI[sysinfo-0.39.5.sha256sum] = "2c8bd2130a9b60bee2581bf82cfe89ee836424d1f37dcfa4ce21509611684673" +SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" +SRC_URI[target-lexicon-0.13.5.sha256sum] = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" +SRC_URI[tempfile-3.27.0.sha256sum] = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" +SRC_URI[termtree-0.5.1.sha256sum] = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" +SRC_URI[test-log-0.2.21.sha256sum] = "9b9c218384242b5c89b68303ab6f6fc53a312d923f0c14dc6bb860c6aeee40f1" +SRC_URI[test-log-core-0.2.21.sha256sum] = "c26ef8b00e4d382e59f6a8ddb3cd790b3a5bb29f21a358a9a69ea2f29f13f27b" +SRC_URI[test-log-macros-0.2.21.sha256sum] = "944ad38adcbb71eaa682c56bceeb079e4ca82b4b3edc2a0fde5cb297b77dac8d" +SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +SRC_URI[thiserror-2.0.18.sha256sum] = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" +SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +SRC_URI[thiserror-impl-2.0.18.sha256sum] = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" +SRC_URI[thread_local-1.1.9.sha256sum] = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" +SRC_URI[threadpool-1.8.1.sha256sum] = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" +SRC_URI[thrift-0.17.0.sha256sum] = "7e54bc85fc7faa8bc175c4bab5b92ba8d9a3ce893d0e9f42cc455c8ab16a9e09" +SRC_URI[thrift-0.23.0.sha256sum] = "1f650151e44bb59950b3adf32de0064813d1148f34f4884b7f5b539f29596859" +SRC_URI[tikv-jemalloc-ctl-0.5.4.sha256sum] = "619bfed27d807b54f7f776b9430d4f8060e66ee138a28632ca898584d462c31c" +SRC_URI[tikv-jemalloc-sys-0.5.4+5.3.0-patched.sha256sum] = "9402443cb8fd499b6f327e40565234ff34dbda27460c5b47db0db77443dd85d1" +SRC_URI[tikv-jemallocator-0.5.4.sha256sum] = "965fe0c26be5c56c94e38ba547249074803efd52adfb66de62107d95aab3eaca" +SRC_URI[time-0.3.47.sha256sum] = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c" +SRC_URI[time-core-0.1.8.sha256sum] = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca" +SRC_URI[time-macros-0.2.27.sha256sum] = "2e70e4c5a0e0a8a4823ad65dfe1a6930e4f4d756dcd9dd7939022b5e8c501215" +SRC_URI[tiny-keccak-2.0.2.sha256sum] = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +SRC_URI[tinystr-0.8.3.sha256sum] = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d" +SRC_URI[tinytemplate-1.2.1.sha256sum] = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" +SRC_URI[tinyvec-1.11.0.sha256sum] = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3" +SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +SRC_URI[tokio-1.53.3.sha256sum] = "ce3335fa71841cda333a58d7615b03901380ecf09d59b3296d21f8bbac0dde4e" +SRC_URI[tokio-io-timeout-1.2.1.sha256sum] = "0bd86198d9ee903fedd2f9a2e72014287c0d9167e4ae43b5853007205dda1b76" +SRC_URI[tokio-macros-2.7.0.sha256sum] = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496" +SRC_URI[tokio-rustls-0.26.6.sha256sum] = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db" +SRC_URI[tokio-stream-0.1.19.sha256sum] = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b" +SRC_URI[tokio-util-0.7.20.sha256sum] = "e464cf451ba96ebfc6f9b6542f17ee8b8956e33f1e40d9690624e59d7a7f8a4b" +SRC_URI[toml_datetime-1.1.1+spec-1.1.0.sha256sum] = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" +SRC_URI[toml_edit-0.25.11+spec-1.1.0.sha256sum] = "0b59c4d22ed448339746c59b905d24568fcbb3ab65a500494f7b8c3e97739f2b" +SRC_URI[toml_parser-1.1.2+spec-1.1.0.sha256sum] = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" +SRC_URI[tonic-0.9.2.sha256sum] = "3082666a3a6433f7f511c7192923fa1fe07c69332d3c6a2e6bb040b569199d5a" +SRC_URI[tonic-0.14.9.sha256sum] = "e2cdfc673aabd30fe8fee92e65837b644c37c5d47f0f97ae6d5e0f1237d15e1b" +SRC_URI[tonic-build-0.14.9.sha256sum] = "ac6d916d206ed7bdda1778ddff9bda43303789c258877e7bc22fb44ee5c984b4" +SRC_URI[tonic-prost-0.14.9.sha256sum] = "eba464054e2226f182a34489b8b079bf4c6e3e7ab5fd7fc30e024f24aa92a484" +SRC_URI[tonic-prost-build-0.14.9.sha256sum] = "2ea216ddc448e08e7839ab09e20e60b06b6a1c32745ccb212c0ebd161c199f1b" +SRC_URI[tonic-reflection-0.14.9.sha256sum] = "7eb4700e220803efd45baf3babaa1958c79adc9e0fe6fbd4422f9188d1e57d26" +SRC_URI[tower-0.4.13.sha256sum] = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +SRC_URI[tower-0.5.3.sha256sum] = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" +SRC_URI[tower-http-0.6.8.sha256sum] = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" +SRC_URI[tower-layer-0.3.3.sha256sum] = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" +SRC_URI[tower-service-0.3.3.sha256sum] = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" +SRC_URI[tracing-0.1.44.sha256sum] = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" +SRC_URI[tracing-attributes-0.1.31.sha256sum] = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" +SRC_URI[tracing-core-0.1.36.sha256sum] = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" +SRC_URI[tracing-log-0.2.0.sha256sum] = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" +SRC_URI[tracing-serde-0.2.0.sha256sum] = "704b1aeb7be0d0a84fc9828cae51dab5970fee5088f83d1dd7ee6f6246fc6ff1" +SRC_URI[tracing-subscriber-0.3.23.sha256sum] = "cb7f578e5945fb242538965c2d0b04418d38ec25c79d160cd279bf0731c8d319" +SRC_URI[try-lock-0.2.5.sha256sum] = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" +SRC_URI[twox-hash-2.1.5.sha256sum] = "86a801b3cea342a06d468c8710662aa29e5e05e4f5c0d62f00bbb7f2ad7941c2" +SRC_URI[typenum-1.20.0.sha256sum] = "40ce102ab67701b8526c123c1bab5cbe42d7040ccfd0f64af1a385808d2f43de" +SRC_URI[ucd-trie-0.1.7.sha256sum] = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" +SRC_URI[unarray-0.1.4.sha256sum] = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" +SRC_URI[unicase-2.9.0.sha256sum] = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142" +SRC_URI[unicode-bidi-0.3.18.sha256sum] = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" +SRC_URI[unicode-ident-1.0.24.sha256sum] = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" +SRC_URI[unicode-normalization-0.1.25.sha256sum] = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" +SRC_URI[unicode-properties-0.1.4.sha256sum] = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d" +SRC_URI[unicode-segmentation-1.13.3.sha256sum] = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" +SRC_URI[unicode-width-0.2.2.sha256sum] = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" +SRC_URI[unicode-xid-0.2.6.sha256sum] = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" +SRC_URI[untrusted-0.9.0.sha256sum] = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" +SRC_URI[unty-0.0.4.sha256sum] = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae" +SRC_URI[ureq-3.4.3.sha256sum] = "71a613995874d87599dc425d9d6da30b237ec89044efa7845909f4755931ddfd" +SRC_URI[ureq-proto-0.6.5.sha256sum] = "841583fc36089d7d59419568ae157f43a5a03a2e5a81ba87c77d1596ef46e922" +SRC_URI[url-2.5.8.sha256sum] = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" +SRC_URI[urlencoding-1.3.3.sha256sum] = "5a1f0175e03a0973cf4afd476bef05c26e228520400eb1fd473ad417b1c00ffb" +SRC_URI[utf8-zero-0.8.1.sha256sum] = "b8c0a043c9540bae7c578c88f91dda8bd82e59ae27c21baca69c8b191aaf5a6e" +SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" +SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +SRC_URI[uuid-1.26.1.sha256sum] = "2ef6dac1e96601b4fb3acccccff2139741fcb757cb9a36089bf5be91cfb285ce" +SRC_URI[valuable-0.1.1.sha256sum] = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" +SRC_URI[vcpkg-0.2.15.sha256sum] = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" +SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +SRC_URI[virtue-0.0.18.sha256sum] = "051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1" +SRC_URI[wait-timeout-0.2.1.sha256sum] = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" +SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +SRC_URI[want-0.3.1.sha256sum] = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +SRC_URI[wasi-0.11.1+wasi-snapshot-preview1.sha256sum] = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" +SRC_URI[wasip2-1.0.3+wasi-0.2.9.sha256sum] = "20064672db26d7cdc89c7798c48a0fdfac8213434a1186e5ef29fd560ae223d6" +SRC_URI[wasip3-0.4.0+wasi-0.3.0-rc-2026-01-06.sha256sum] = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" +SRC_URI[wasite-0.1.0.sha256sum] = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" +SRC_URI[wasm-bindgen-0.2.120.sha256sum] = "df52b6d9b87e0c74c9edfa1eb2d9bf85e5d63515474513aa50fa181b3c4f5db1" +SRC_URI[wasm-bindgen-futures-0.4.70.sha256sum] = "af934872acec734c2d80e6617bbb5ff4f12b052dd8e6332b0817bce889516084" +SRC_URI[wasm-bindgen-macro-0.2.120.sha256sum] = "78b1041f495fb322e64aca85f5756b2172e35cd459376e67f2a6c9dffcedb103" +SRC_URI[wasm-bindgen-macro-support-0.2.120.sha256sum] = "9dcd0ff20416988a18ac686d4d4d0f6aae9ebf08a389ff5d29012b05af2a1b41" +SRC_URI[wasm-bindgen-shared-0.2.120.sha256sum] = "49757b3c82ebf16c57d69365a142940b384176c24df52a087fb748e2085359ea" +SRC_URI[wasm-encoder-0.244.0.sha256sum] = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" +SRC_URI[wasm-encoder-0.254.2.sha256sum] = "ebaca0b540bdb15d195ff34fb23074255948708b8916a11a339ba4513dc61906" +SRC_URI[wasm-metadata-0.244.0.sha256sum] = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" +SRC_URI[wasm-metadata-0.254.2.sha256sum] = "5d1880dd9a848aa68f387966256c34ad49abb4607e3cfa35720d2723d0591cd3" +SRC_URI[wasm-streams-0.4.2.sha256sum] = "15053d8d85c7eccdbefef60f06769760a563c7f0a9d6902a13d35c7800b0ad65" +SRC_URI[wasm-streams-0.5.0.sha256sum] = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +SRC_URI[wasmparser-0.244.0.sha256sum] = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" +SRC_URI[wasmparser-0.254.2.sha256sum] = "c5ff8685b587722894b6f25958fc608d315b93b8d23647bfb567664e7006d757" +SRC_URI[wasmtime-48.0.8.sha256sum] = "a2afcadb2e7d0417cb8f3f322c66eff49338b288f22290c0ca0bd3e9570732aa" +SRC_URI[wasmtime-environ-48.0.8.sha256sum] = "2de252f4aedfff6c2054ea5bea2454878a931c56e2553c6356b581e5e30a7e4e" +SRC_URI[wasmtime-internal-component-macro-48.0.8.sha256sum] = "14127b0c5d6e543fa0b90747df60b3f96af499df8570f829acb7b8e2a98faa85" +SRC_URI[wasmtime-internal-component-util-48.0.8.sha256sum] = "e5ad52499e6246d30bf8bf509506bd637248eee17c8dd623e0c7dbe43e7a1036" +SRC_URI[wasmtime-internal-core-48.0.8.sha256sum] = "d8838d7debfc98a69342d260a990ea6f64adf498184915fccfdbd6718bb40a9b" +SRC_URI[wasmtime-internal-fiber-48.0.8.sha256sum] = "96dce7a8ea302c0f1eb4154eb1756525c90c595bbabbc590abad64d4c5ff8bbb" +SRC_URI[wasmtime-internal-jit-debug-48.0.8.sha256sum] = "895f3231b24ce0c12c8a7bb129a9f6ddc6772ec78e59748e53af743dcdd733d1" +SRC_URI[wasmtime-internal-jit-icache-coherence-48.0.8.sha256sum] = "28b60a0c1f735da6b862679b763f8bab653caa477ccc603a25752488b795fec5" +SRC_URI[wasmtime-internal-unwinder-48.0.8.sha256sum] = "b97b2c29c8f458bdf1b948058bfbb8141aad0f7abcf0f7cb3479866f4316bf3c" +SRC_URI[wasmtime-internal-versioned-export-macros-48.0.8.sha256sum] = "32766b38d56927eca9a65858ea8c7b1803424db82562aafd69727aa970057561" +SRC_URI[wasmtime-internal-wit-bindgen-48.0.8.sha256sum] = "407a8c055545e5c4c6c942237d934c9906cd995639a17af89f3368f0a05534eb" +SRC_URI[wasmtime-wasi-48.0.8.sha256sum] = "a678afa77874a2d6eed071852f7777ccd77495e0bfbc30f7b8089e1d00b2485f" +SRC_URI[wasmtime-wasi-http-48.0.8.sha256sum] = "1ce402d792df4c6440de3a48b6fb34ebb06309584bd9777832d14ad7a486f762" +SRC_URI[wasmtime-wasi-io-48.0.8.sha256sum] = "0879bd441bddd61e1c15cc5f39ec297de8ee34ffc12f5459aad3b7ab6afcf510" +SRC_URI[web-sys-0.3.97.sha256sum] = "2eadbac71025cd7b0834f20d1fe8472e8495821b4e9801eb0a60bd1f19827602" +SRC_URI[web-time-1.1.0.sha256sum] = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +SRC_URI[webpki-root-certs-1.0.10.sha256sum] = "58ec80e73fd8baf57bf0d9615554c75348bda990d6d5bbeab964dd068319fecb" +SRC_URI[webpki-roots-0.26.11.sha256sum] = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" +SRC_URI[webpki-roots-1.0.10.sha256sum] = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9" +SRC_URI[whoami-1.6.1.sha256sum] = "5d4a4db5077702ca3015d3d02d74974948aba2ad9e12ab7df718ee64ccd7e97d" +SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +SRC_URI[winapi-util-0.1.11.sha256sum] = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +SRC_URI[windows-0.62.2.sha256sum] = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +SRC_URI[windows-collections-0.3.2.sha256sum] = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +SRC_URI[windows-core-0.62.2.sha256sum] = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +SRC_URI[windows-future-0.3.2.sha256sum] = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +SRC_URI[windows-implement-0.60.2.sha256sum] = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" +SRC_URI[windows-interface-0.59.3.sha256sum] = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +SRC_URI[windows-link-0.2.1.sha256sum] = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" +SRC_URI[windows-numerics-0.3.1.sha256sum] = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +SRC_URI[windows-result-0.4.1.sha256sum] = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +SRC_URI[windows-strings-0.5.1.sha256sum] = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +SRC_URI[windows-sys-0.61.2.sha256sum] = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +SRC_URI[windows-threading-0.2.1.sha256sum] = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +SRC_URI[winnow-0.6.26.sha256sum] = "1e90edd2ac1aa278a5c4599b1d89cf03074b610800f866d4026dc199d7929a28" +SRC_URI[winnow-1.0.2.sha256sum] = "2ee1708bef14716a11bae175f579062d4554d95be2c6829f518df847b7b3fdd0" +SRC_URI[winx-0.36.4.sha256sum] = "3f3fd376f71958b862e7afb20cfe5a22830e1963462f3a17f49d82a6c1d1f42d" +SRC_URI[wit-bindgen-0.51.0.sha256sum] = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" +SRC_URI[wit-bindgen-0.57.1.sha256sum] = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" +SRC_URI[wit-bindgen-core-0.51.0.sha256sum] = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" +SRC_URI[wit-bindgen-rust-0.51.0.sha256sum] = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" +SRC_URI[wit-bindgen-rust-macro-0.51.0.sha256sum] = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" +SRC_URI[wit-component-0.244.0.sha256sum] = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" +SRC_URI[wit-component-0.254.2.sha256sum] = "1c96b3cea6838dbea55173baa56991fcb087896c321b0a770db201e5a0bd3506" +SRC_URI[wit-parser-0.244.0.sha256sum] = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" +SRC_URI[wit-parser-0.254.2.sha256sum] = "22672d61bfb9df46a16b46ce38522293aee1cc4749fc84a3464ce4083b3d5fd6" +SRC_URI[writeable-0.6.3.sha256sum] = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4" +SRC_URI[wyz-0.5.1.sha256sum] = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +SRC_URI[yansi-1.0.1.sha256sum] = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" +SRC_URI[yasna-0.5.2.sha256sum] = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd" +SRC_URI[yoke-0.8.2.sha256sum] = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" +SRC_URI[yoke-derive-0.8.2.sha256sum] = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" +SRC_URI[zerocopy-0.8.63.sha256sum] = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8" +SRC_URI[zerocopy-derive-0.8.63.sha256sum] = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f" +SRC_URI[zerofrom-0.1.7.sha256sum] = "69faa1f2a1ea75661980b013019ed6687ed0e83d069bc1114e2cc74c6c04c4df" +SRC_URI[zerofrom-derive-0.1.7.sha256sum] = "11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1" +SRC_URI[zeroize-1.8.2.sha256sum] = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" +SRC_URI[zerotrie-0.2.4.sha256sum] = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf" +SRC_URI[zerovec-0.11.6.sha256sum] = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239" +SRC_URI[zerovec-derive-0.11.3.sha256sum] = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" +SRC_URI[zlib-rs-0.6.8.sha256sum] = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112" +SRC_URI[zmij-1.0.21.sha256sum] = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" +SRC_URI[zstd-0.13.4.sha256sum] = "cdb02c3132d251ab1606e9fc913a7da6c6ed08cc263df15edf082e1dc497d157" +SRC_URI[zstd-0.14.3.sha256sum] = "db3ae9bf90af6e40197bef767eeefc46ad6397420fe873830bd85e5fbbfb3c70" +SRC_URI[zstd-safe-7.4.1.sha256sum] = "498d94ad68720c89b4fbe41b9090850651e68cb2dd9210ce7ffbff3a94653819" +SRC_URI[zstd-safe-8.2.0.sha256sum] = "ded520f16b29e1a9b771c722221b2b0a0398c2316d9bb3c42b458a5414d7434b" +SRC_URI[zstd-sys-2.1.2+zstd.1.5.7.sha256sum] = "481ada9c543b2323cbb7bbdbb5249177fbf0188ed959ed2c15e4b22421c84ed3" diff --git a/meta-oe/recipes-dbs/influxdb3/influxdb3/0001-Use-pre-fetched-git-dependencies.patch b/meta-oe/recipes-dbs/influxdb3/influxdb3/0001-Use-pre-fetched-git-dependencies.patch new file mode 100644 index 0000000000..e4cb6f4875 --- /dev/null +++ b/meta-oe/recipes-dbs/influxdb3/influxdb3/0001-Use-pre-fetched-git-dependencies.patch @@ -0,0 +1,355 @@ +From 656202422ed06dcec8661c4b6e0382b15dd0521d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 07:52:38 -0800 +Subject: [PATCH 1/2] Use pre-fetched git dependencies + +Point the git dependencies (the influxdata forks of arrow-datafusion +and arrow-rs-object-store, and datafusion-udf-wasm) at local checkouts +fetched by the build system, and drop their git sources from Cargo.lock +so that cargo can build offline with --frozen. + +Upstream-Status: Inappropriate [oe specific] +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + Cargo.lock | 37 ------------------------------------- + Cargo.toml | 18 +++++++++--------- + 2 files changed, 9 insertions(+), 46 deletions(-) + +diff --git a/Cargo.lock b/Cargo.lock +index 7a42748..020bbc8 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -1655,7 +1655,6 @@ dependencies = [ + [[package]] + name = "datafusion" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "arrow-schema", +@@ -1709,7 +1708,6 @@ dependencies = [ + [[package]] + name = "datafusion-catalog" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "async-trait", +@@ -1733,7 +1731,6 @@ dependencies = [ + [[package]] + name = "datafusion-catalog-listing" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "async-trait", +@@ -1755,7 +1752,6 @@ dependencies = [ + [[package]] + name = "datafusion-common" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "ahash", + "arrow", +@@ -1778,7 +1774,6 @@ dependencies = [ + [[package]] + name = "datafusion-common-runtime" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "futures", + "log", +@@ -1788,7 +1783,6 @@ dependencies = [ + [[package]] + name = "datafusion-datasource" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "async-compression", +@@ -1822,7 +1816,6 @@ dependencies = [ + [[package]] + name = "datafusion-datasource-arrow" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "arrow-ipc", +@@ -1845,7 +1838,6 @@ dependencies = [ + [[package]] + name = "datafusion-datasource-csv" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "async-trait", +@@ -1867,7 +1859,6 @@ dependencies = [ + [[package]] + name = "datafusion-datasource-json" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "async-trait", +@@ -1888,7 +1879,6 @@ dependencies = [ + [[package]] + name = "datafusion-datasource-parquet" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "async-trait", +@@ -1917,12 +1907,10 @@ dependencies = [ + [[package]] + name = "datafusion-doc" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + + [[package]] + name = "datafusion-execution" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "async-trait", +@@ -1942,7 +1930,6 @@ dependencies = [ + [[package]] + name = "datafusion-expr" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "async-trait", +@@ -1964,7 +1951,6 @@ dependencies = [ + [[package]] + name = "datafusion-expr-common" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "datafusion-common", +@@ -1976,7 +1962,6 @@ dependencies = [ + [[package]] + name = "datafusion-functions" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "arrow-buffer", +@@ -2005,7 +1990,6 @@ dependencies = [ + [[package]] + name = "datafusion-functions-aggregate" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "ahash", + "arrow", +@@ -2025,7 +2009,6 @@ dependencies = [ + [[package]] + name = "datafusion-functions-aggregate-common" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "ahash", + "arrow", +@@ -2037,7 +2020,6 @@ dependencies = [ + [[package]] + name = "datafusion-functions-nested" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "arrow-ord", +@@ -2059,7 +2041,6 @@ dependencies = [ + [[package]] + name = "datafusion-functions-table" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "async-trait", +@@ -2074,7 +2055,6 @@ dependencies = [ + [[package]] + name = "datafusion-functions-window" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "datafusion-common", +@@ -2091,7 +2071,6 @@ dependencies = [ + [[package]] + name = "datafusion-functions-window-common" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "datafusion-common", + "datafusion-physical-expr-common", +@@ -2100,7 +2079,6 @@ dependencies = [ + [[package]] + name = "datafusion-macros" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "datafusion-doc", + "quote", +@@ -2110,7 +2088,6 @@ dependencies = [ + [[package]] + name = "datafusion-optimizer" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "chrono", +@@ -2129,7 +2106,6 @@ dependencies = [ + [[package]] + name = "datafusion-physical-expr" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "ahash", + "arrow", +@@ -2152,7 +2128,6 @@ dependencies = [ + [[package]] + name = "datafusion-physical-expr-adapter" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "datafusion-common", +@@ -2166,7 +2141,6 @@ dependencies = [ + [[package]] + name = "datafusion-physical-expr-common" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "ahash", + "arrow", +@@ -2182,7 +2156,6 @@ dependencies = [ + [[package]] + name = "datafusion-physical-optimizer" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "datafusion-common", +@@ -2200,7 +2173,6 @@ dependencies = [ + [[package]] + name = "datafusion-physical-plan" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "ahash", + "arrow", +@@ -2230,7 +2202,6 @@ dependencies = [ + [[package]] + name = "datafusion-proto" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "chrono", +@@ -2256,7 +2227,6 @@ dependencies = [ + [[package]] + name = "datafusion-proto-common" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "datafusion-common", +@@ -2266,7 +2236,6 @@ dependencies = [ + [[package]] + name = "datafusion-pruning" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "datafusion-common", +@@ -2282,7 +2251,6 @@ dependencies = [ + [[package]] + name = "datafusion-session" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "async-trait", + "datafusion-common", +@@ -2295,7 +2263,6 @@ dependencies = [ + [[package]] + name = "datafusion-sql" + version = "52.5.0" +-source = "git+https://github.com/influxdata/arrow-datafusion.git?rev=676dd338f8fe8464a861b5c74ec3c4de8325d382#676dd338f8fe8464a861b5c74ec3c4de8325d382" + dependencies = [ + "arrow", + "bigdecimal", +@@ -2312,7 +2279,6 @@ dependencies = [ + [[package]] + name = "datafusion-udf-wasm-arrow2bytes" + version = "0.1.0" +-source = "git+https://github.com/influxdata/datafusion-udf-wasm.git?rev=9186474d530904e787e8903b61f586c10e97e317#9186474d530904e787e8903b61f586c10e97e317" + dependencies = [ + "arrow", + ] +@@ -2320,7 +2286,6 @@ dependencies = [ + [[package]] + name = "datafusion-udf-wasm-host" + version = "0.1.0" +-source = "git+https://github.com/influxdata/datafusion-udf-wasm.git?rev=9186474d530904e787e8903b61f586c10e97e317#9186474d530904e787e8903b61f586c10e97e317" + dependencies = [ + "arrow", + "datafusion-common", +@@ -2348,7 +2313,6 @@ dependencies = [ + [[package]] + name = "datafusion-udf-wasm-query" + version = "0.1.0" +-source = "git+https://github.com/influxdata/datafusion-udf-wasm.git?rev=9186474d530904e787e8903b61f586c10e97e317#9186474d530904e787e8903b61f586c10e97e317" + dependencies = [ + "datafusion-common", + "datafusion-execution", +@@ -5598,7 +5562,6 @@ dependencies = [ + [[package]] + name = "object_store" + version = "0.12.5" +-source = "git+https://github.com/influxdata/arrow-rs-object-store.git?rev=36cca19484f8a7da8a7bbfb3410135791c8e929e#36cca19484f8a7da8a7bbfb3410135791c8e929e" + dependencies = [ + "async-trait", + "base64 0.22.1", +diff --git a/Cargo.toml b/Cargo.toml +index 46fee4e..bc6dacd 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -267,8 +267,8 @@ parquet_file = { path = "core/parquet_file" } + influxdb3_shutdown = { path = "influxdb3_shutdown" } + + # Datafusion UDF WASM hosting for the iox_query_udf crate: +-datafusion-udf-wasm-host = { git = "https://github.com/influxdata/datafusion-udf-wasm.git", rev = "9186474d530904e787e8903b61f586c10e97e317", default-features = false } +-datafusion-udf-wasm-query = { git = "https://github.com/influxdata/datafusion-udf-wasm.git", rev = "9186474d530904e787e8903b61f586c10e97e317" } ++datafusion-udf-wasm-host = { path = "../influxdb-git-deps/datafusion-udf-wasm/host", default-features = false } ++datafusion-udf-wasm-query = { path = "../influxdb-git-deps/datafusion-udf-wasm/query" } + + [workspace.lints.rust] + missing_copy_implementations = "deny" +@@ -329,7 +329,7 @@ debug = false + # base-object-store-0125) plus the directory-sync fixes of + # influxdata/arrow-rs-object-store#5 mirrored onto it (#9, merged as + # 36cca19). Drop when upgrading to object_store >= 0.14. +-object_store = { git = "https://github.com/influxdata/arrow-rs-object-store.git", rev = "36cca19484f8a7da8a7bbfb3410135791c8e929e" } ++object_store = { path = "../influxdb-git-deps/arrow-rs-object-store" } + # Use DataFusion fork + # Pinned to https://github.com/influxdata/arrow-datafusion/tree/upgrade-df-ver5250-d + # See for contents: +@@ -340,9 +340,9 @@ object_store = { git = "https://github.com/influxdata/arrow-rs-object-store.git" + # NOTE: This is an incomplete list of datafusion dependencies, but enough to get all dependencies to use our forked + # version. Should you ever encounter a `datafusion-*` crate that is duplicated (i.e. `Cargo.lock` lists both the + # crates.io release and our fork), just add it to this list here. +-datafusion = { git = "https://github.com/influxdata/arrow-datafusion.git", rev = "676dd338f8fe8464a861b5c74ec3c4de8325d382" } +-datafusion-common = { git = "https://github.com/influxdata/arrow-datafusion.git", rev = "676dd338f8fe8464a861b5c74ec3c4de8325d382" } +-datafusion-execution = { git = "https://github.com/influxdata/arrow-datafusion.git", rev = "676dd338f8fe8464a861b5c74ec3c4de8325d382" } +-datafusion-expr = { git = "https://github.com/influxdata/arrow-datafusion.git", rev = "676dd338f8fe8464a861b5c74ec3c4de8325d382" } +-datafusion-proto = { git = "https://github.com/influxdata/arrow-datafusion.git", rev = "676dd338f8fe8464a861b5c74ec3c4de8325d382" } +-datafusion-sql = { git = "https://github.com/influxdata/arrow-datafusion.git", rev = "676dd338f8fe8464a861b5c74ec3c4de8325d382" } ++datafusion = { path = "../influxdb-git-deps/arrow-datafusion/datafusion/core" } ++datafusion-common = { path = "../influxdb-git-deps/arrow-datafusion/datafusion/common" } ++datafusion-execution = { path = "../influxdb-git-deps/arrow-datafusion/datafusion/execution" } ++datafusion-expr = { path = "../influxdb-git-deps/arrow-datafusion/datafusion/expr" } ++datafusion-proto = { path = "../influxdb-git-deps/arrow-datafusion/datafusion/proto" } ++datafusion-sql = { path = "../influxdb-git-deps/arrow-datafusion/datafusion/sql" } diff --git a/meta-oe/recipes-dbs/influxdb3/influxdb3/0002-iox_query_udf-Allow-using-pre-downloaded-UDF-artifac.patch b/meta-oe/recipes-dbs/influxdb3/influxdb3/0002-iox_query_udf-Allow-using-pre-downloaded-UDF-artifac.patch new file mode 100644 index 0000000000..2a7b1cf4bc --- /dev/null +++ b/meta-oe/recipes-dbs/influxdb3/influxdb3/0002-iox_query_udf-Allow-using-pre-downloaded-UDF-artifac.patch @@ -0,0 +1,63 @@ +From 8b4198cb0bfe07667b7444a7df479c042c9cbee2 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 07:54:16 -0800 +Subject: [PATCH 2/2] iox_query_udf: Allow using pre-downloaded UDF artifacts + +The build script downloads the precompiled Python WASM UDF component +for the target triple from GitHub. Add IOX_QUERY_UDF_DOWNLOAD_DIR to +use artifacts that were fetched beforehand (offline builds), failing +instead of downloading when they are missing, and IOX_QUERY_UDF_TARGET +to select the artifact when the Rust target triple is a custom one. +The checksums are still verified. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + core/iox_query_udf/build.rs | 19 ++++++++++++++++++- + 1 file changed, 18 insertions(+), 1 deletion(-) + +diff --git a/core/iox_query_udf/build.rs b/core/iox_query_udf/build.rs +index 187d256..05979c1 100644 +--- a/core/iox_query_udf/build.rs ++++ b/core/iox_query_udf/build.rs +@@ -50,7 +50,11 @@ fn main() { + }) + .collect::>(); + +- let target = std::env::var("TARGET").unwrap(); ++ // Allow selecting the artifact for build systems using custom target triples. ++ println!("cargo:rerun-if-env-changed=IOX_QUERY_UDF_TARGET"); ++ let target = std::env::var("IOX_QUERY_UDF_TARGET") ++ .or_else(|_| std::env::var("TARGET")) ++ .unwrap(); + let elf_file = format!("datafusion_udf_wasm_python.release.{target}.elf"); + let Some(elf_file_checksum) = checksums.get(&elf_file) else { + panic!("no checksum found for {elf_file}") +@@ -67,6 +71,14 @@ fn fetch_artifact(name: &str, checksum: &str) -> PathBuf { + return target_file; + } + ++ // Offline builds provide the artifacts in IOX_QUERY_UDF_DOWNLOAD_DIR. ++ if std::env::var_os("IOX_QUERY_UDF_DOWNLOAD_DIR").is_some() { ++ panic!( ++ "{} is missing or does not match checksum {checksum}", ++ target_file.display() ++ ); ++ } ++ + // build timestamp in URL has a specific format: + // - the TZ offset is not included (it's always UTC anyways) + // - since `:` doesn't work in URLs, `-` is used +@@ -154,6 +166,11 @@ fn get_cargo_target_dir() -> Result PathBuf { ++ println!("cargo:rerun-if-env-changed=IOX_QUERY_UDF_DOWNLOAD_DIR"); ++ if let Some(dir) = std::env::var_os("IOX_QUERY_UDF_DOWNLOAD_DIR") { ++ return PathBuf::from(dir).join(name); ++ } ++ + let out_dir = get_cargo_target_dir().unwrap(); + let download_dir = out_dir + .join("cfg_independent_downloads") diff --git a/meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.conf b/meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.conf new file mode 100644 index 0000000000..cb26a3743c --- /dev/null +++ b/meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.conf @@ -0,0 +1,20 @@ +# Settings for 'influxdb3 serve', read by the systemd service and the init +# script. Any INFLUXDB3_* variable listed by 'influxdb3 serve --help' can be +# set here. + +# Identifier of this node, used as prefix in the object store. +INFLUXDB3_NODE_ID=node0 + +# Object store type and its directory for the 'file' store. +INFLUXDB3_OBJECT_STORE=file +INFLUXDB3_DATA_DIR=/var/lib/influxdb3/data + +# Directory of processing engine plugins; setting it enables the Python +# processing engine, which creates a virtual environment in it with pip. +#INFLUXDB3_PLUGIN_DIR=/var/lib/influxdb3/plugins + +# Address to serve HTTP and gRPC requests on. +#INFLUXDB3_HTTP_BIND_ADDR=0.0.0.0:8181 + +# Extra command line options for 'influxdb3 serve'. +INFLUXDB3_OPTS= diff --git a/meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.init b/meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.init new file mode 100644 index 0000000000..e51bd75af5 --- /dev/null +++ b/meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.init @@ -0,0 +1,107 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: influxdb3 +# Required-Start: $all +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start the InfluxDB 3 Core server +### END INIT INFO +# If you modify this, please make sure to also edit influxdb3.service + +NAME=influxdb3 +DAEMON=/usr/bin/influxdb3 +CONFIG=/etc/influxdb3/influxdb3.conf +PIDFILE=/run/influxdb3/influxdb3.pid +LOGFILE=/var/log/influxdb3/influxdb3.log +USER=influxdb3 +GROUP=influxdb3 +OPEN_FILE_LIMIT=65536 + +[ -x "$DAEMON" ] || exit 5 + +if [ ! -r "$CONFIG" ]; then + echo "config file $CONFIG doesn't exist (or you don't have permission to view)" + exit 4 +fi + +# Exported so that 'influxdb3 serve' picks up the remaining settings too. +set -a +. "$CONFIG" +set +a + +start() { + if [ -f "$PIDFILE" ] && kill -0 "$(cat "$PIDFILE")" 2>/dev/null; then + echo "$NAME is already running" + return 0 + fi + for dir in "$(dirname "$PIDFILE")" "$(dirname "$LOGFILE")" "$INFLUXDB3_DATA_DIR" "$INFLUXDB3_PLUGIN_DIR"; do + [ -n "$dir" ] || continue + mkdir -p "$dir" + chown "$USER:$GROUP" "$dir" + done + ulimit -n $OPEN_FILE_LIMIT + + echo "Starting $NAME..." + start-stop-daemon --start --quiet --background --make-pidfile \ + --pidfile "$PIDFILE" --chuid "$USER:$GROUP" \ + --startas /bin/sh -- -c "exec $DAEMON serve \ + --node-id '$INFLUXDB3_NODE_ID' \ + --object-store '$INFLUXDB3_OBJECT_STORE' \ + --data-dir '$INFLUXDB3_DATA_DIR' \ + $INFLUXDB3_OPTS >>'$LOGFILE' 2>&1" +} + +stop() { + if [ ! -f "$PIDFILE" ] || ! kill -0 "$(cat "$PIDFILE")" 2>/dev/null; then + echo "$NAME is already stopped" + rm -f "$PIDFILE" + return 0 + fi + echo "Stopping $NAME..." + PID="$(cat "$PIDFILE")" + kill -TERM "$PID" + n=0 + while kill -0 "$PID" 2>/dev/null; do + n=$((n + 1)) + if [ $n -gt 30 ]; then + echo "Timeout exceeded, sending SIGKILL..." + kill -KILL "$PID" + break + fi + sleep 1 + done + rm -f "$PIDFILE" +} + +status() { + if [ -f "$PIDFILE" ] && kill -0 "$(cat "$PIDFILE")" 2>/dev/null; then + echo "$NAME is running" + exit 0 + fi + echo "$NAME is not running" + exit 3 +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + start + ;; + status) + status + ;; + version) + $DAEMON --version + ;; + *) + echo "Usage: $0 {start|stop|restart|status|version}" + exit 2 + ;; +esac diff --git a/meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.service b/meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.service new file mode 100644 index 0000000000..c0402ce05b --- /dev/null +++ b/meta-oe/recipes-dbs/influxdb3/influxdb3/influxdb3.service @@ -0,0 +1,26 @@ +[Unit] +Description=InfluxDB 3 Core +Documentation=https://docs.influxdata.com/influxdb3/core/ +After=network-online.target +Wants=network-online.target + +[Service] +Type=simple +User=influxdb3 +Group=influxdb3 +EnvironmentFile=/etc/influxdb3/influxdb3.conf +ExecStart=/usr/bin/influxdb3 serve --node-id ${INFLUXDB3_NODE_ID} --object-store ${INFLUXDB3_OBJECT_STORE} --data-dir ${INFLUXDB3_DATA_DIR} $INFLUXDB3_OPTS +WorkingDirectory=/var/lib/influxdb3 +StateDirectory=influxdb3 +LogsDirectory=influxdb3 +Restart=on-failure +KillMode=control-group +LimitNOFILE=65536 +UMask=0027 +NoNewPrivileges=true +ProtectSystem=full +ProtectHome=true +PrivateTmp=true + +[Install] +WantedBy=multi-user.target diff --git a/meta-oe/recipes-dbs/influxdb3/influxdb3_3.12.3.bb b/meta-oe/recipes-dbs/influxdb3/influxdb3_3.12.3.bb new file mode 100644 index 0000000000..e051fc9f40 --- /dev/null +++ b/meta-oe/recipes-dbs/influxdb3/influxdb3_3.12.3.bb @@ -0,0 +1,116 @@ +SUMMARY = "InfluxDB 3 Core time series database" +DESCRIPTION = "InfluxDB 3 Core is a time series database built on Apache Arrow, \ +DataFusion and Parquet, with SQL and InfluxQL queries and an embedded Python \ +processing engine." +HOMEPAGE = "https://www.influxdata.com/products/influxdb/" + +# The prebuilt Python UDF component embeds CPython and its standard library +LICENSE = "PSF-2.0 AND (Apache-2.0 OR MIT)" +LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=4397d14116cc032eb68bf7b79ef60e79 \ + file://LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \ + file://${COMMON_LICENSE_DIR}/PSF-2.0;md5=76c1502273262a5ebefb50dfb20d7c4f" + +SRC_URI = "\ + git://github.com/influxdata/influxdb.git;protocol=https;branch=3.12;tag=v${PV};name=influxdb \ + git://github.com/influxdata/arrow-datafusion.git;protocol=https;nobranch=1;name=datafusion;subdir=${GIT_DEPS_DIR}/arrow-datafusion;type=git-dependency \ + git://github.com/influxdata/arrow-rs-object-store.git;protocol=https;nobranch=1;name=objectstore;subdir=${GIT_DEPS_DIR}/arrow-rs-object-store;type=git-dependency \ + git://github.com/influxdata/datafusion-udf-wasm.git;protocol=https;nobranch=1;name=udfwasm;subdir=${GIT_DEPS_DIR}/datafusion-udf-wasm;type=git-dependency \ + ${UDF_WASM_URL}/sha256sum.txt;downloadfilename=datafusion-udf-wasm-${UDF_WASM_COMMIT}-sha256sum.txt;name=udf-sums;subdir=udf-wasm \ + ${UDF_WASM_URL}/${UDF_WASM_ELF};downloadfilename=datafusion-udf-wasm-${UDF_WASM_COMMIT}-${UDF_WASM_ELF};name=udf-${TARGET_ARCH};subdir=udf-wasm \ + file://0001-Use-pre-fetched-git-dependencies.patch \ + file://0002-iox_query_udf-Allow-using-pre-downloaded-UDF-artifac.patch \ + file://influxdb3.init \ + file://influxdb3.service \ + file://influxdb3.conf \ +" +SRCREV_influxdb = "51f4ac865b8670e0d3555ae992639ec05ecc334e" +# Revisions pinned in Cargo.toml +SRCREV_datafusion = "676dd338f8fe8464a861b5c74ec3c4de8325d382" +SRCREV_objectstore = "36cca19484f8a7da8a7bbfb3410135791c8e929e" +SRCREV_udfwasm = "9186474d530904e787e8903b61f586c10e97e317" +SRCREV_FORMAT = "influxdb_datafusion_objectstore_udfwasm" + +# Path used by 0001-Use-pre-fetched-git-dependencies.patch +GIT_DEPS_DIR = "influxdb-git-deps" + +# Precompiled Python WASM UDF component, pinned in core/iox_query_udf/build.rs +UDF_WASM_COMMIT = "171fb4746619c95167162a89f289633e9891a3f9" +UDF_WASM_BUILD = "2026-08-24T15-37-49" +UDF_WASM_URL = "https://github.com/influxdata/datafusion-udf-wasm/releases/download/wasm-binaries/${UDF_WASM_BUILD}/${UDF_WASM_COMMIT}" +UDF_WASM_TARGET = "${TARGET_ARCH}-unknown-linux-gnu" +UDF_WASM_ELF = "datafusion_udf_wasm_python.release.${UDF_WASM_TARGET}.elf" +SRC_URI[udf-sums.sha256sum] = "a25fec27067332f63cd342e5a87967b0848d836124387a0d9f48f7b56fc99fd7" +SRC_URI[udf-aarch64.sha256sum] = "88b8daa5f2277d8fbbdaeb00ee759ae3bf3113c6143701d9c0576b0b9ce85eba" +SRC_URI[udf-x86_64.sha256sum] = "7f951ba7f55c0e6ecaa7ebffcf02debbb9e73eb5764f9d47db62c27b52eab299" + +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" + +require ${BPN}-crates.inc + +inherit cargo cargo-update-recipe-crates pkgconfig python3-dir siteinfo systemd update-rc.d useradd + +# The UDF component is only published for these architectures +COMPATIBLE_HOST = "(x86_64|aarch64)-.*-linux" + +DEPENDS = "protobuf-native python3 sqlite3 sqlite3-native xz zstd" + +export PROTOC = "${STAGING_BINDIR_NATIVE}/protoc" +export PROTOC_INCLUDE = "${STAGING_INCDIR_NATIVE}" +export GIT_HASH = "${SRCREV_influxdb}" +export IOX_QUERY_UDF_DOWNLOAD_DIR = "${B}/udf-wasm" +export IOX_QUERY_UDF_TARGET = "${UDF_WASM_TARGET}" +export PYO3_CROSS = "1" +export PYO3_CONFIG_FILE = "${WORKDIR}/pyo3.config" + +RUSTFLAGS:append = " --cfg tokio_unstable" + +do_configure:append() { + cat > ${WORKDIR}/pyo3.config < X-Patchwork-Id: 105924 Received: from mail-dy1-f175.google.com (mail-dy1-f175.google.com [74.125.82.175]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.10307.1795752931755217645 for ; Thu, 26 Nov 2026 20:15:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=p0s339yE; spf=pass (domain: gmail.com, ip: 74.125.82.175, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f175.google.com with SMTP id 5a478bee46e88-38431138772so9925677eec.1 for ; Thu, 26 Nov 2026 20:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795752931; x=1796357731; 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:content-type; bh=fC9pqkeYIjeie0SIUJGBBTrV/d+xmaLT3d5er4t+TOM=; b=p0s339yEOLus8DTJVBpTikSYz4zcPUDb4N5bvg69AzRjcyo5qz2ITj5FXQg1spGpeJ PkkTlM+Ux1IaPyP4bc56Rd3+0DtxR+0Dty7YqHu5KeYoZEDOYbmEfO8hQD8cppxhiYTq vXf9+63G7vHVCEv028cKFaOagApjC7S9IrwjIsL23U7m4lAVXITIkCdbjZS0PIpZmoo+ xV1+BNe2/JWU/sT3qVIxoFpbc/mdoLfHFvkrqwly8ks5XVtlQywzDsGcOLTQ0VlJzUq1 L1FnSptUu6k27A9goTrazA7Ejva7wk68HdpVkRXKd+bD/2VKmFGEfFHx9+Ee7bw9ssep Grcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795752931; x=1796357731; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=fC9pqkeYIjeie0SIUJGBBTrV/d+xmaLT3d5er4t+TOM=; b=ev1WZzU9k8Fi7yJ/mnp431rCuRT+vR/ZU6hs66AuL42Dt7nU8n0uOUvIiN4BHrkKdl f/XTW63m0b5wlRLVu7La8eEwsaNdoYDSqvZFxz12YtzAhzr3TTLsYjK/64eJbaFibVuS krU0p07GlL9s1Wy/pRqgeYp7wYxQ/aOvA4wRvZH+kvtXGZeBi7cTJPBLlFsxBCPmp7ZD bUyPep1VqKoLIHQXJFLW467byaezFqaB9L1oqjQv4QAza69tVfATYx33b1PsmRYBQsIB zEH5Sg8p8ktFypsaXWU1nWG0beWmbN98mN/2B9q54e9nC7TQBQBHKLKiqUY+5iAukLPw wF3Q== X-Gm-Message-State: APuU4Z9UQJzQhsKPzLtM20MSYrLBwTRRQitGzAxAgGygFzh77QGxBarQ Bdb/dj2QAd6iMcOpqA8QKIh+zU72kMRT3zI+wyweiiIcO/w04AYfn7E+WMGFMCBX X-Gm-Gg: AZFdTZeTMubwoh/z9y1rO6OglgYPELWITYCpnaqJvtp3/gnjlVihsusMTrc+eAA6Cel WEs2Lt2oSzO0SWANo0deaIGjujWYovFoEWZIhSBqqAasSq/cpu0ok2NCO9KH9nAed4I+Gz9QwuP 3t28Yv3k0dnVHTAin0sVekfkB8//AL4RBa6XQsVQPKi5hZS6JFW9QTj947rY0tXL3XG2Ej1gnIJ crqaPGksaSm2AAILeL5nmAJ+L8eYavlEzNDf24WYUN0VMs5Gsl5fqLyPnYn0k2wc94blpj/nG/l 0d3I18JsvF8WKbBzQ1YbV6iisJ8Wu4LhMzj4SNs0fNJpz6arPyvSBgxhBg5Nd1h3gEITLqJYB1v jeWjyYPcE6widM2eBTuyHmT6uKqJb/9iaFGKJIhRxo8CmSP59tw3j0psq0eI4bQflTKHX7+LZZ+ AADKM8+fasz3PwEscNaqL/JMAcDEiqXfpoS5+REy4i+U1uLgK3UkycmlGZUJAB/5/n8M8RPuvip /9SjZa978QHERK5cAQiKNKhQ/qYuH5FoWs6DIH6GZAGvfWAFfkVXyaXbkeqGxwuNaPTw1/N3GHz bt7cJH/e7WirkB6srWwoMNSDUAgsJ9To+Mc/gTzw8qOg1JNq0ceRdasZiopeHY7zpuVDSLrW1Ub FJNyS4JJOZE+qGz//J9TrXgy97Ht6a/OAfQ23BJwEQGIQzIlJISUzZY5y9SkTwOgFMTVl2AhFrO knCSw7Cb7YRa4JVz+7us5umigqn4wSGF2vhbfBY76DDbzQd+JEIxLylF2K2LyYqsV1/VBYusfoJ ZznUQaCqqioX8f4MV1pAtI/Or0IxlGhHaQAkVNK9rS4k3+xhAUG3BSyrR5e4twTM2U4KKFPikgA PGG08xo/k5RRU0oRt8Ufn98eVg== X-Received: by 2002:a05:7300:1c95:b0:385:8851:fa4a with SMTP id 5a478bee46e88-385885211c2mr23306459eec.6.1795752930606; Thu, 26 Nov 2026 20:15:30 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e7fc3sm60340062eec.8.2026.11.26.20.15.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 20:15:30 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 7/8] minifi-cpp: upgrade 0.99.2 -> 1.1.0 Date: Thu, 26 Nov 2026 20:15:16 -0800 Message-ID: <20261127041517.1773986-8-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> References: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 04:15:33 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133217 1.1.0 adds a stable C extension API (with optional Rust extensions) and LMDB repositories, removes the SYSTEM dependency source, the bundled mbedTLS, libuvc and expected-lite and the OpenCV extension, and always builds expression language. Rewrite 0001-Do-not-use-bundled-packages.patch to add a SYSTEM source to the cmake/Get*.cmake files used here, use upstream's BUILD_ROCKSDB=OFF path, and bump the FetchContent dependencies to the versions pinned in cmake/ with FETCHCONTENT_FULLY_DISCONNECTED set so nothing is downloaded at configure time. lz4 and zstd have no SYSTEM source any more and are dropped from DEPENDS. Patches fixed upstream are dropped and the rest refreshed. The new asset and Python venv directories move to /var/lib/minifi. License-Update: notices for the removed mbedTLS, libuvc, OpenCV (and its bundled libraries), cJSON and expected-lite bundles dropped from LICENSE AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...-Add-missing-include-for-malloc-free.patch | 38 -- .../0001-Do-not-use-bundled-packages.patch | 330 ++++++------------ .../files/0001-Fix-build-with-gcc-16.patch | 49 --- ...sh-set-BUILD_DATE-to-SOURCE_DATE_EPO.patch | 17 +- .../files/0002-Fix-osspuuid-build.patch | 22 +- .../files/0003-Fix-libsodium-build.patch | 13 +- .../files/0004-Pass-noline-flag-to-flex.patch | 21 +- ...erateVersion.sh-set-correct-buildrev.patch | 13 +- ...006-CMakeLists.txt-do-not-use-ccache.patch | 31 +- ...h-add-missing-cstdint-include-for-in.patch | 35 -- ...nifi-cpp_0.99.2.bb => minifi-cpp_1.1.0.bb} | 112 +++--- 11 files changed, 228 insertions(+), 453 deletions(-) delete mode 100644 meta-oe/recipes-extended/minifi-cpp/files/0001-Add-missing-include-for-malloc-free.patch delete mode 100644 meta-oe/recipes-extended/minifi-cpp/files/0001-Fix-build-with-gcc-16.patch delete mode 100644 meta-oe/recipes-extended/minifi-cpp/files/0007-StreamCallback.h-add-missing-cstdint-include-for-in.patch rename meta-oe/recipes-extended/minifi-cpp/{minifi-cpp_0.99.2.bb => minifi-cpp_1.1.0.bb} (77%) diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0001-Add-missing-include-for-malloc-free.patch b/meta-oe/recipes-extended/minifi-cpp/files/0001-Add-missing-include-for-malloc-free.patch deleted file mode 100644 index e844bf9b7d..0000000000 --- a/meta-oe/recipes-extended/minifi-cpp/files/0001-Add-missing-include-for-malloc-free.patch +++ /dev/null @@ -1,38 +0,0 @@ -From f01a1ae37d3e502a900b5a6cfa5be217003cf7d4 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 29 Aug 2025 21:46:26 -0700 -Subject: [PATCH] Add missing include for malloc/free - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - include/fmt/format.h | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/include/fmt/format.h b/include/fmt/format.h -index 287e7163..0412812f 100644 ---- a/include/fmt/format.h -+++ b/include/fmt/format.h -@@ -44,6 +44,7 @@ - # include // std::signbit - # include // std::byte - # include // uint32_t -+# include // std::malloc, std::free - # include // std::memcpy - # include // std::numeric_limits - # include // std::bad_alloc -@@ -744,12 +745,12 @@ template struct allocator { - - T* allocate(size_t n) { - FMT_ASSERT(n <= max_value() / sizeof(T), ""); -- T* p = static_cast(malloc(n * sizeof(T))); -+ T* p = static_cast(std::malloc(n * sizeof(T))); - if (!p) FMT_THROW(std::bad_alloc()); - return p; - } - -- void deallocate(T* p, size_t) { free(p); } -+ void deallocate(T* p, size_t) { std::free(p); } - }; - - } // namespace detail diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0001-Do-not-use-bundled-packages.patch b/meta-oe/recipes-extended/minifi-cpp/files/0001-Do-not-use-bundled-packages.patch index 98044877cd..e2f9c5b02a 100644 --- a/meta-oe/recipes-extended/minifi-cpp/files/0001-Do-not-use-bundled-packages.patch +++ b/meta-oe/recipes-extended/minifi-cpp/files/0001-Do-not-use-bundled-packages.patch @@ -1,10 +1,11 @@ -From ff886f41c471a4b7d97a5a4473727a8b1d8ba2bb Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Yi Zhao -Date: Tue, 19 Mar 2024 19:39:04 +0800 +Date: Mon, 23 Nov 2026 08:02:00 -0800 Subject: [PATCH] Do not use bundled packages -Use external dependencies for openssl, curl, bzip2, zlib, libarchive, -xz, yaml-cpp and libxml2. +Add a SYSTEM source option that uses find_package() for openssl, curl, +zlib, bzip2, xz, libarchive, yaml-cpp, pugixml and civetweb instead of +building them from downloaded sources. Upstream-Status: Inappropriate [embedded specific] @@ -13,232 +14,131 @@ Signed-off-by: Yi Zhao adapted the patch for context changes; added using external dependencies for pugixml.] Signed-off-by: Li Zhou +[kr: Rewritten for 1.1.0, which selects bundled or system dependencies +through MINIFI_*_SOURCE options.] +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +[kr: Rewritten for 1.1.0, which dropped the SYSTEM source option and +moved libarchive, xz and yaml-cpp handling to cmake/Get*.cmake.] +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj --- - CMakeLists.txt | 3 +-- - cmake/GetBZip2.cmake | 3 +++ - cmake/GetCatch2.cmake | 4 ++++ - cmake/GetCivetWeb.cmake | 3 +++ - cmake/GetFmt.cmake | 3 +++ - cmake/GetLibCURL.cmake | 3 +++ - cmake/GetLibXml2.cmake | 3 +++ - cmake/GetOpenSSL.cmake | 3 +++ - cmake/GetRocksDB.cmake | 4 ++++ - cmake/GetSpdlog.cmake | 4 ++++ - cmake/GetZLIB.cmake | 3 +++ - cmake/GetZstd.cmake | 4 ++++ - cmake/PugiXml.cmake | 20 ++++++++++++-------- - extensions/libarchive/CMakeLists.txt | 6 ++---- - 14 files changed, 52 insertions(+), 14 deletions(-) + cmake/GetBZip2.cmake | 3 +++ + cmake/GetCivetWeb.cmake | 3 +++ + cmake/GetLibArchive.cmake | 3 +++ + cmake/GetLibCURL.cmake | 3 +++ + cmake/GetLibLZMA.cmake | 3 +++ + cmake/GetOpenSSL.cmake | 3 +++ + cmake/GetPugiXml.cmake | 3 +++ + cmake/GetYamlCpp.cmake | 3 +++ + cmake/GetZLIB.cmake | 3 +++ + 9 files changed, 27 insertions(+) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5cf1c4e5f..36aee1508 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -285,8 +285,7 @@ include(GetSpdlog) - get_spdlog() - - # yaml-cpp --include(BundledYamlCpp) --use_bundled_yamlcpp(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) -+find_package(yaml-cpp REQUIRED) - - # concurrentqueue - add_library(concurrentqueue INTERFACE) diff --git a/cmake/GetBZip2.cmake b/cmake/GetBZip2.cmake -index 2a7d47e9e..754122895 100644 +index 7da1424d..40ce02c9 100644 --- a/cmake/GetBZip2.cmake +++ b/cmake/GetBZip2.cmake -@@ -23,5 +23,8 @@ function(get_bzip2 SOURCE_DIR BINARY_DIR) - message("Using CMake to build bzip2 from source") - include(BundledBZip2) - use_bundled_bzip2(${SOURCE_DIR} ${BINARY_DIR}) -+ elseif(MINIFI_BZIP2_SOURCE STREQUAL "SYSTEM") -+ message("Using bzip2 provided by system") -+ find_package(BZip2 REQUIRED) - endif() - endfunction(get_bzip2) -diff --git a/cmake/GetCatch2.cmake b/cmake/GetCatch2.cmake -index d6c1d6acc..ec11b0a77 100644 ---- a/cmake/GetCatch2.cmake -+++ b/cmake/GetCatch2.cmake -@@ -23,5 +23,9 @@ function(get_catch2) - elseif(MINIFI_CATCH2_SOURCE STREQUAL "BUILD") - message("Using CMake to build Catch2 from source") - include(Catch2) -+ elseif(MINIFI_CATCH2_SOURCE STREQUAL "SYSTEM") -+ message("Using Catch2 provided by system") -+ find_package(Catch2 REQUIRED) -+ add_library(Catch2WithMain ALIAS Catch2::Catch2WithMain) - endif() - endfunction(get_catch2) +@@ -22,4 +22,7 @@ elseif(MINIFI_BZIP2_SOURCE STREQUAL "BUILD") + message("Using CMake to build bzip2 from source") + include(BundledBZip2) + use_bundled_bzip2(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) ++elseif(MINIFI_BZIP2_SOURCE STREQUAL "SYSTEM") ++ message("Using bzip2 provided by system") ++ find_package(BZip2 REQUIRED) + endif() diff --git a/cmake/GetCivetWeb.cmake b/cmake/GetCivetWeb.cmake -index f30d22289..8fc39a0e2 100644 +index 6604e22c..77428b51 100644 --- a/cmake/GetCivetWeb.cmake +++ b/cmake/GetCivetWeb.cmake -@@ -22,5 +22,8 @@ function(get_civetweb) - elseif(MINIFI_CIVETWEB_SOURCE STREQUAL "BUILD") - message("Using CMake to build CivetWeb from source") - include(CivetWeb) -+ elseif(MINIFI_CIVETWEB_SOURCE STREQUAL "SYSTEM") -+ message("Using CivetWeb provided by system") -+ find_package(civetweb REQUIRED) - endif() - endfunction(get_civetweb) -diff --git a/cmake/GetFmt.cmake b/cmake/GetFmt.cmake -index f4f28458d..579a63897 100644 ---- a/cmake/GetFmt.cmake -+++ b/cmake/GetFmt.cmake -@@ -22,5 +22,8 @@ function(get_fmt) - elseif(MINIFI_FMT_SOURCE STREQUAL "BUILD") - message("Using CMake to build Fmt from source") - include(fmt) -+ elseif(MINIFI_FMT_SOURCE STREQUAL "SYSTEM") -+ message("Using Fmt provided by system") -+ find_package(fmt REQUIRED) - endif() - endfunction(get_fmt) +@@ -21,4 +21,7 @@ if(MINIFI_CIVETWEB_SOURCE STREQUAL "CONAN") + elseif(MINIFI_CIVETWEB_SOURCE STREQUAL "BUILD") + message("Using CMake to build CivetWeb from source") + include(CivetWeb) ++elseif(MINIFI_CIVETWEB_SOURCE STREQUAL "SYSTEM") ++ message("Using CivetWeb provided by system") ++ find_package(civetweb REQUIRED) + endif() +diff --git a/cmake/GetLibArchive.cmake b/cmake/GetLibArchive.cmake +index 0aa925fa..f8f53a20 100644 +--- a/cmake/GetLibArchive.cmake ++++ b/cmake/GetLibArchive.cmake +@@ -22,4 +22,7 @@ elseif(MINIFI_LIBARCHIVE_SOURCE STREQUAL "BUILD") + message("Using CMake to build LibArchive from source") + include(BundledLibArchive) + use_bundled_libarchive(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) ++elseif(MINIFI_LIBARCHIVE_SOURCE STREQUAL "SYSTEM") ++ message("Using LibArchive provided by system") ++ find_package(LibArchive REQUIRED) + endif() diff --git a/cmake/GetLibCURL.cmake b/cmake/GetLibCURL.cmake -index afd38f3c9..0eac59ec4 100644 +index a0654a10..5f800210 100644 --- a/cmake/GetLibCURL.cmake +++ b/cmake/GetLibCURL.cmake -@@ -23,5 +23,8 @@ function(get_curl SOURCE_DIR BINARY_DIR) - message("Using CMake to build libcurl from source") - include(BundledLibcURL) - use_bundled_curl(${SOURCE_DIR} ${BINARY_DIR}) -+ elseif(MINIFI_LIBCURL_SOURCE STREQUAL "SYSTEM") -+ message("Using libcurl provided by system") -+ find_package(CURL REQUIRED) - endif() - endfunction(get_curl SOURCE_DIR BINARY_DIR) -diff --git a/cmake/GetLibXml2.cmake b/cmake/GetLibXml2.cmake -index 2a6c618f6..093b57a4b 100644 ---- a/cmake/GetLibXml2.cmake -+++ b/cmake/GetLibXml2.cmake -@@ -22,5 +22,8 @@ function(get_libxml2 SOURCE_DIR BINARY_DIR) - elseif(MINIFI_LIBXML2_SOURCE STREQUAL "BUILD") - message("Using CMake to build libxml2 from source") - include(LibXml2) -+ elseif(MINIFI_LIBXML2_SOURCE STREQUAL "SYSTEM") -+ message("Using libxml2 provided by system") -+ find_package(libxml2 REQUIRED) - endif() - endfunction(get_libxml2) +@@ -21,4 +21,7 @@ if(MINIFI_LIBCURL_SOURCE STREQUAL "CONAN") + elseif(MINIFI_LIBCURL_SOURCE STREQUAL "BUILD") + message("Using CMake to build libcurl from source") + include(FetchLibcURL) ++elseif(MINIFI_LIBCURL_SOURCE STREQUAL "SYSTEM") ++ message("Using libcurl provided by system") ++ find_package(CURL REQUIRED) + endif() +diff --git a/cmake/GetLibLZMA.cmake b/cmake/GetLibLZMA.cmake +index d7f25867..22c14db0 100644 +--- a/cmake/GetLibLZMA.cmake ++++ b/cmake/GetLibLZMA.cmake +@@ -21,4 +21,7 @@ if(MINIFI_LIBLZMA_SOURCE STREQUAL "CONAN") + elseif(MINIFI_LIBLZMA_SOURCE STREQUAL "BUILD") + message("Using CMake to build LibLZMA from source") + include(LibLZMA) ++elseif(MINIFI_LIBLZMA_SOURCE STREQUAL "SYSTEM") ++ message("Using LibLZMA provided by system") ++ find_package(LibLZMA REQUIRED) + endif() diff --git a/cmake/GetOpenSSL.cmake b/cmake/GetOpenSSL.cmake -index 58132c6bf..2b142f94e 100644 +index 025ce48d..b565f6a4 100644 --- a/cmake/GetOpenSSL.cmake +++ b/cmake/GetOpenSSL.cmake -@@ -23,5 +23,8 @@ function(get_openssl SOURCE_DIR BINARY_DIR) - message("Using CMake to build OpenSSL from source") - include(BundledOpenSSL) - use_openssl(${SOURCE_DIR} ${BINARY_DIR}) -+ elseif(MINIFI_OPENSSL_SOURCE STREQUAL "SYSTEM") -+ message("Using OpenSSL provided by system") -+ find_package(OpenSSL REQUIRED) - endif() - endfunction(get_openssl) -diff --git a/cmake/GetRocksDB.cmake b/cmake/GetRocksDB.cmake -index 0968afc38..3ca1fe565 100644 ---- a/cmake/GetRocksDB.cmake -+++ b/cmake/GetRocksDB.cmake -@@ -30,5 +30,9 @@ function(get_rocksdb SOURCE_DIR BINARY_DIR) - list(APPEND CMAKE_MODULE_PATH "${SOURCE_DIR}/cmake/rocksdb/sys") - find_package(RocksDB REQUIRED) - endif() -+ elseif(MINIFI_ROCKSDB_SOURCE STREQUAL "SYSTEM") -+ message("Using RocksDB provided by system") -+ list(APPEND CMAKE_MODULE_PATH "${SOURCE_DIR}/cmake/rocksdb/sys") -+ find_package(RocksDB REQUIRED) - endif() - endfunction(get_rocksdb SOURCE_DIR BINARY_DIR) -diff --git a/cmake/GetSpdlog.cmake b/cmake/GetSpdlog.cmake -index 9fe3b9c46..60f5c01d7 100644 ---- a/cmake/GetSpdlog.cmake -+++ b/cmake/GetSpdlog.cmake -@@ -32,5 +32,9 @@ function(get_spdlog) - elseif(MINIFI_SPDLOG_SOURCE STREQUAL "BUILD") - message("Using CMake to build spdlog from source") - include(Spdlog) -+ elseif(MINIFI_SPDLOG_SOURCE STREQUAL "SYSTEM") -+ message("Using spdlog provided by system") -+ find_package(spdlog REQUIRED) -+ add_library(spdlog ALIAS spdlog::spdlog) - endif() - endfunction(get_spdlog) +@@ -79,4 +79,7 @@ elseif(MINIFI_OPENSSL_SOURCE STREQUAL "BUILD") + include(BundledOpenSSL) + use_openssl(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) + list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/ssl") ++elseif(MINIFI_OPENSSL_SOURCE STREQUAL "SYSTEM") ++ message("Using OpenSSL provided by system") ++ find_package(OpenSSL REQUIRED) + endif() +diff --git a/cmake/GetPugiXml.cmake b/cmake/GetPugiXml.cmake +index 1e784009..d31ef613 100644 +--- a/cmake/GetPugiXml.cmake ++++ b/cmake/GetPugiXml.cmake +@@ -21,4 +21,7 @@ if(MINIFI_PUGIXML_SOURCE STREQUAL "CONAN") + elseif(MINIFI_PUGIXML_SOURCE STREQUAL "BUILD") + message("Using CMake to build PugiXML from source") + include(PugiXml) ++elseif(MINIFI_PUGIXML_SOURCE STREQUAL "SYSTEM") ++ message("Using PugiXML provided by system") ++ find_package(pugixml REQUIRED) + endif() +diff --git a/cmake/GetYamlCpp.cmake b/cmake/GetYamlCpp.cmake +index bfae7ad0..4d4f77b9 100644 +--- a/cmake/GetYamlCpp.cmake ++++ b/cmake/GetYamlCpp.cmake +@@ -21,4 +21,7 @@ if(MINIFI_YAMLCPP_SOURCE STREQUAL "CONAN") + elseif(MINIFI_YAMLCPP_SOURCE STREQUAL "BUILD") + message("Using CMake to build yaml-cpp from source") + include(YamlCpp) ++elseif(MINIFI_YAMLCPP_SOURCE STREQUAL "SYSTEM") ++ message("Using yaml-cpp provided by system") ++ find_package(yaml-cpp REQUIRED) + endif() diff --git a/cmake/GetZLIB.cmake b/cmake/GetZLIB.cmake -index 6e7bea1e3..c15e2246a 100644 +index f8793c9c..1e0af57e 100644 --- a/cmake/GetZLIB.cmake +++ b/cmake/GetZLIB.cmake -@@ -23,5 +23,8 @@ function(get_zlib SOURCE_DIR BINARY_DIR) - message("Using CMake to build zlib from source") - include(BundledZLIB) - use_bundled_zlib(${SOURCE_DIR} ${BINARY_DIR}) -+ elseif(MINIFI_ZLIB_SOURCE STREQUAL "SYSTEM") -+ message("Using zlib provided by system") -+ find_package(ZLIB REQUIRED) - endif() - endfunction(get_zlib) -diff --git a/cmake/GetZstd.cmake b/cmake/GetZstd.cmake -index a0334b02d..0e7600c22 100644 ---- a/cmake/GetZstd.cmake -+++ b/cmake/GetZstd.cmake -@@ -23,5 +23,9 @@ function(get_zstd) - elseif(MINIFI_ZSTD_SOURCE STREQUAL "BUILD") - message("Using CMake to build zstd from source") - include(Zstd) -+ elseif(MINIFI_ZSTD_SOURCE STREQUAL "SYSTEM") -+ message("Using zstd provided by system") -+ find_package(zstd REQUIRED) -+ add_library(zstd::zstd ALIAS zstd::libzstd_static) - endif() - endfunction(get_zstd) -diff --git a/cmake/PugiXml.cmake b/cmake/PugiXml.cmake -index ba5a4df38..7a1a72b9b 100644 ---- a/cmake/PugiXml.cmake -+++ b/cmake/PugiXml.cmake -@@ -15,12 +15,16 @@ - # specific language governing permissions and limitations - # under the License. - include(FetchContent) -+if(MINIFI_PUGIXML_SOURCE STREQUAL "SYSTEM") -+ message("Using pugixml provided by system") -+ find_package(PUGIXML REQUIRED) -+else() -+ set(PUGIXML_BUILD_TESTS OFF CACHE BOOL "" FORCE) - --set(PUGIXML_BUILD_TESTS OFF CACHE BOOL "" FORCE) -- --FetchContent_Declare( -- pugixml -- URL https://github.com/zeux/pugixml/archive/refs/tags/v1.15.tar.gz -- URL_HASH SHA256=b39647064d9e28297a34278bfb897092bf33b7c487906ddfc094c9e8868bddcb --) --FetchContent_MakeAvailable(pugixml) -+ FetchContent_Declare( -+ pugixml -+ URL https://github.com/zeux/pugixml/archive/refs/tags/v1.15.tar.gz -+ URL_HASH SHA256=b39647064d9e28297a34278bfb897092bf33b7c487906ddfc094c9e8868bddcb -+ ) -+ FetchContent_MakeAvailable(pugixml) -+endif() -diff --git a/extensions/libarchive/CMakeLists.txt b/extensions/libarchive/CMakeLists.txt -index 14b75dcc2..ad2b13c25 100644 ---- a/extensions/libarchive/CMakeLists.txt -+++ b/extensions/libarchive/CMakeLists.txt -@@ -22,12 +22,10 @@ if (NOT ENABLE_LIBARCHIVE) +@@ -21,4 +21,7 @@ if(MINIFI_ZLIB_SOURCE STREQUAL "CONAN") + elseif(MINIFI_ZLIB_SOURCE STREQUAL "BUILD") + message("Using CMake to build zlib from source") + include(ZLIB) ++elseif(MINIFI_ZLIB_SOURCE STREQUAL "SYSTEM") ++ message("Using zlib provided by system") ++ find_package(ZLIB REQUIRED) endif() - - if (ENABLE_LZMA) -- include(LibLZMA) -- list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/liblzma/dummy") -+ find_package(LibLZMA REQUIRED) - endif() - --include(BundledLibArchive) --use_bundled_libarchive(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) -+find_package(LibArchive REQUIRED) - - include(${CMAKE_SOURCE_DIR}/extensions/ExtensionHeader.txt) - --- -2.34.1 - diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0001-Fix-build-with-gcc-16.patch b/meta-oe/recipes-extended/minifi-cpp/files/0001-Fix-build-with-gcc-16.patch deleted file mode 100644 index ca1b67783d..0000000000 --- a/meta-oe/recipes-extended/minifi-cpp/files/0001-Fix-build-with-gcc-16.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 950aea28ffefd88f230d6bd25fa0352e9ca157c9 Mon Sep 17 00:00:00 2001 -From: Mingli Yu -Date: Wed, 3 Jun 2026 02:12:01 -0700 -Subject: [PATCH] Fix build with gcc 16 - -Fixes: - extensions/systemd/libwrapper/LibWrapper.h:38:31: error: 'uint64_t' has not been declared - 38 | virtual int getRealtimeUsec(uint64_t* usec_out) noexcept = 0; - | ^~~~~~~~ - - minifi-api/include/minifi-cpp/core/RepositoryMetricsSource.h:29:5: error: 'uint64_t' does not name a type - | 29 | uint64_t table_readers_size{}; - | | ^~~~~~~~ - -Upstream-Status: Submitted [https://github.com/apache/nifi-minifi-cpp/pull/2194] - -Signed-off-by: Mingli Yu ---- - extensions/systemd/libwrapper/LibWrapper.h | 1 + - minifi-api/include/minifi-cpp/core/RepositoryMetricsSource.h | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/extensions/systemd/libwrapper/LibWrapper.h b/extensions/systemd/libwrapper/LibWrapper.h -index d7e7b7c..c8af00e 100644 ---- a/extensions/systemd/libwrapper/LibWrapper.h -+++ b/extensions/systemd/libwrapper/LibWrapper.h -@@ -19,6 +19,7 @@ - #pragma once - - #include -+#include - - #include "../Common.h" - #include "utils/gsl.h" -diff --git a/minifi-api/include/minifi-cpp/core/RepositoryMetricsSource.h b/minifi-api/include/minifi-cpp/core/RepositoryMetricsSource.h -index 6c933b7..f39fccf 100644 ---- a/minifi-api/include/minifi-cpp/core/RepositoryMetricsSource.h -+++ b/minifi-api/include/minifi-cpp/core/RepositoryMetricsSource.h -@@ -20,6 +20,7 @@ - - #include - #include -+#include - - namespace org::apache::nifi::minifi::core { - --- -2.49.0 - diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0001-generateVersion.sh-set-BUILD_DATE-to-SOURCE_DATE_EPO.patch b/meta-oe/recipes-extended/minifi-cpp/files/0001-generateVersion.sh-set-BUILD_DATE-to-SOURCE_DATE_EPO.patch index a61873e21a..2290f38159 100644 --- a/meta-oe/recipes-extended/minifi-cpp/files/0001-generateVersion.sh-set-BUILD_DATE-to-SOURCE_DATE_EPO.patch +++ b/meta-oe/recipes-extended/minifi-cpp/files/0001-generateVersion.sh-set-BUILD_DATE-to-SOURCE_DATE_EPO.patch @@ -1,6 +1,6 @@ -From ee9722731b3f9cfc3d8e338ab09bc0ad409a6941 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Yi Zhao -Date: Thu, 18 Sep 2025 14:43:11 +0000 +Date: Mon, 23 Nov 2026 08:02:54 -0800 Subject: [PATCH] generateVersion.sh: set BUILD_DATE to SOURCE_DATE_EPOCH Use SOURCE_DATE_EPOCH to set BUILD_DATE to improve reproducibility. @@ -13,12 +13,12 @@ Signed-off-by: Yi Zhao 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/generateVersion.sh b/generateVersion.sh -index 0b50a16..96cc3ae 100755 +index 5c614240..0af066fa 100755 --- a/generateVersion.sh +++ b/generateVersion.sh -@@ -25,7 +25,11 @@ flags=$6 - extensions=$7 - buildident=$8 +@@ -24,7 +24,11 @@ compiler_version=$5 + flags=$6 + buildident=$7 -date=$(date +%s) +if [ -n "${SOURCE_DATE_EPOCH}" ]; then @@ -28,7 +28,4 @@ index 0b50a16..96cc3ae 100755 +fi if [ -d "${src_dir}"/.git ]; then - buildrev=$(git -C "${src_dir}" log -1 --pretty=format:"%H") --- -2.48.1 - + buildrev=$(git log -1 --pretty=format:"%H") diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0002-Fix-osspuuid-build.patch b/meta-oe/recipes-extended/minifi-cpp/files/0002-Fix-osspuuid-build.patch index 537beb85d3..ba581dab70 100644 --- a/meta-oe/recipes-extended/minifi-cpp/files/0002-Fix-osspuuid-build.patch +++ b/meta-oe/recipes-extended/minifi-cpp/files/0002-Fix-osspuuid-build.patch @@ -1,6 +1,6 @@ -From 429b2b357e5142e2b845da95bdd38e8fc1229831 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Yi Zhao -Date: Tue, 19 Mar 2024 20:48:25 +0800 +Date: Mon, 23 Nov 2026 08:02:53 -0800 Subject: [PATCH] Fix osspuuid build * Specify correct configure options to fix osspuuid cross build. @@ -9,6 +9,9 @@ Subject: [PATCH] Fix osspuuid build Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao +[kr: Refreshed for minifi-cpp 1.1.0, which moved the ossp-uuid patches +to thirdparty/ossp-uuid/all/patches.] +Signed-off-by: Khem Raj --- cmake/BundledOSSPUUID.cmake | 10 +++++----- .../ossp-uuid/ossp-uuid-cross-compile-fix.patch | 13 +++++++++++++ @@ -16,13 +19,13 @@ Signed-off-by: Yi Zhao create mode 100644 thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch diff --git a/cmake/BundledOSSPUUID.cmake b/cmake/BundledOSSPUUID.cmake -index 747e52c27..fb6e2164d 100644 +index 218d4075..0a853974 100644 --- a/cmake/BundledOSSPUUID.cmake +++ b/cmake/BundledOSSPUUID.cmake @@ -23,10 +23,12 @@ function(use_bundled_osspuuid SOURCE_DIR BINARY_DIR) - set(PATCH_FILE1 "${SOURCE_DIR}/thirdparty/ossp-uuid/ossp-uuid-mac-fix.patch") - set(PATCH_FILE2 "${SOURCE_DIR}/thirdparty/ossp-uuid/ossp-uuid-no-prog.patch") - set(PATCH_FILE3 "${SOURCE_DIR}/thirdparty/ossp-uuid/ossp-uuid-update-config-guess.patch") + set(PATCH_FILE1 "${SOURCE_DIR}/thirdparty/ossp-uuid/all/patches/ossp-uuid-mac-fix.patch") + set(PATCH_FILE2 "${SOURCE_DIR}/thirdparty/ossp-uuid/all/patches/ossp-uuid-no-prog.patch") + set(PATCH_FILE3 "${SOURCE_DIR}/thirdparty/ossp-uuid/all/patches/ossp-uuid-update-config-guess.patch") + set(PATCH_FILE4 "${SOURCE_DIR}/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch") set(PC ${Bash_EXECUTABLE} -c "set -x &&\ (\"${Patch_EXECUTABLE}\" -p1 -R -s -f --dry-run -i \"${PATCH_FILE1}\" || \"${Patch_EXECUTABLE}\" -p1 -N -i \"${PATCH_FILE1}\") &&\ @@ -38,7 +41,7 @@ index 747e52c27..fb6e2164d 100644 string(APPEND ADDITIONAL_COMPILER_FLAGS "-isysroot ${CMAKE_OSX_SYSROOT} ") endif() - set(CONFIGURE_COMMAND ./configure "CC=${CMAKE_C_COMPILER}" "CXX=${CMAKE_CXX_COMPILER}" "CFLAGS=${PASSTHROUGH_CMAKE_C_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}" "CXXFLAGS=${PASSTHROUGH_CMAKE_CXX_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}" --enable-shared=no --with-cxx --without-perl --without-php --without-pgsql "--prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install") -+ set(CONFIGURE_COMMAND ac_cv_va_copy=C99 ./configure --host=${HOST_SYS} --build=${BUILD_SYS} "CC=${CMAKE_C_COMPILER}" "CXX=${CMAKE_CXX_COMPILER}" "CFLAGS=${PASSTHROUGH_CMAKE_C_FLAGS} -fPIC" "CXXFLAGS=${PASSTHROUGH_CMAKE_CXX_FLAGS} -fPIC" --enable-shared=no --with-cxx --without-perl --without-php --without-pgsql "--prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install") ++ set(CONFIGURE_COMMAND ac_cv_va_copy=C99 ./configure --host=${HOST_SYS} --build=${BUILD_SYS} "CC=${CMAKE_C_COMPILER}" "CXX=${CMAKE_CXX_COMPILER}" "CFLAGS=${PASSTHROUGH_CMAKE_C_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}" "CXXFLAGS=${PASSTHROUGH_CMAKE_CXX_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}" --enable-shared=no --with-cxx --without-perl --without-php --without-pgsql "--prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install") string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type) if(build_type MATCHES debug) @@ -56,7 +59,7 @@ index 747e52c27..fb6e2164d 100644 UPDATE_COMMAND "" diff --git a/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch b/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch new file mode 100644 -index 000000000..b8d7b0bba +index 00000000..b8d7b0bb --- /dev/null +++ b/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch @@ -0,0 +1,13 @@ @@ -73,6 +76,3 @@ index 000000000..b8d7b0bba + fi + if [ ".$opt_o" != . ]; then + if [ ".$opt_t" = .yes ]; then --- -2.34.1 - diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0003-Fix-libsodium-build.patch b/meta-oe/recipes-extended/minifi-cpp/files/0003-Fix-libsodium-build.patch index 9ce5600327..fe32cbdc4a 100644 --- a/meta-oe/recipes-extended/minifi-cpp/files/0003-Fix-libsodium-build.patch +++ b/meta-oe/recipes-extended/minifi-cpp/files/0003-Fix-libsodium-build.patch @@ -1,6 +1,6 @@ -From d48ababf341708885ecf687ebc46bb1d84ca868d Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Yi Zhao -Date: Tue, 19 Mar 2024 20:56:05 +0800 +Date: Mon, 23 Nov 2026 08:02:54 -0800 Subject: [PATCH] Fix libsodium build * Specify correct configure options to fix libsodium cross build. @@ -14,12 +14,14 @@ from 0.99.1 to 0.99.2; adapted the patch when upgrading libsodium from 1.0.19 to 1.0.20 because the top-level directory name inside the tarball changed from libsodium-stable to libsodium-1.0.20.] Signed-off-by: Li Zhou +[kr: Adapted for libsodium 1.0.22 used by minifi-cpp 1.1.0.] +Signed-off-by: Khem Raj --- cmake/BundledLibSodium.cmake | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cmake/BundledLibSodium.cmake b/cmake/BundledLibSodium.cmake -index 001a90dad..87a3244fd 100644 +index 4232ed3e..f2045723 100644 --- a/cmake/BundledLibSodium.cmake +++ b/cmake/BundledLibSodium.cmake @@ -60,14 +60,12 @@ function(use_bundled_libsodium SOURCE_DIR BINARY_DIR) @@ -35,10 +37,7 @@ index 001a90dad..87a3244fd 100644 - URL_HASH ${LIBSODIUM_URL_HASH} BUILD_IN_SOURCE true - SOURCE_DIR "${BINARY_DIR}/thirdparty/libsodium-src" -+ SOURCE_DIR "${SOURCE_DIR}/thirdparty/libsodium-1.0.20" ++ SOURCE_DIR "${SOURCE_DIR}/thirdparty/libsodium-1.0.22" BUILD_COMMAND make CMAKE_COMMAND "" UPDATE_COMMAND "" --- -2.34.1 - diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch b/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch index 344e8839e7..eb28122770 100644 --- a/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch +++ b/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch @@ -1,6 +1,6 @@ -From 229137659501ae51774dcb3249f94545bdd6e21f Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Yi Zhao -Date: Tue, 19 Mar 2024 21:00:59 +0800 +Date: Mon, 23 Nov 2026 08:03:07 -0800 Subject: [PATCH] Pass --noline flag to flex This ensures that line directive is not emitted into lexer output which @@ -10,22 +10,19 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao --- - extensions/expression-language/CMakeLists.txt | 2 +- + cmake/ExpressionLanguage.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/extensions/expression-language/CMakeLists.txt b/extensions/expression-language/CMakeLists.txt -index c179ab3ef..7f507b03a 100644 ---- a/extensions/expression-language/CMakeLists.txt -+++ b/extensions/expression-language/CMakeLists.txt -@@ -103,7 +103,7 @@ flex_target( +diff --git a/cmake/ExpressionLanguage.cmake b/cmake/ExpressionLanguage.cmake +index 4ce4e8f6..5a9f7a5e 100644 +--- a/cmake/ExpressionLanguage.cmake ++++ b/cmake/ExpressionLanguage.cmake +@@ -58,7 +58,7 @@ flex_target( el-scanner - ${CMAKE_CURRENT_SOURCE_DIR}/Scanner.ll + ${CMAKE_SOURCE_DIR}/libminifi/include/expression-language/Scanner.ll ${CMAKE_BINARY_DIR}/el-generated/Scanner.cpp - COMPILE_FLAGS --c++ + COMPILE_FLAGS "--c++ --noline" ) set(EL_GENERATED_INCLUDE_DIR ${CMAKE_BINARY_DIR}/el-generated) --- -2.34.1 - diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0005-generateVersion.sh-set-correct-buildrev.patch b/meta-oe/recipes-extended/minifi-cpp/files/0005-generateVersion.sh-set-correct-buildrev.patch index 2e78b1087e..d7477a0545 100644 --- a/meta-oe/recipes-extended/minifi-cpp/files/0005-generateVersion.sh-set-correct-buildrev.patch +++ b/meta-oe/recipes-extended/minifi-cpp/files/0005-generateVersion.sh-set-correct-buildrev.patch @@ -1,6 +1,6 @@ -From 1861170c6de3dd851324debf3a6eaeff4d8d8bce Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Yi Zhao -Date: Fri, 14 Mar 2025 20:26:38 +0800 +Date: Mon, 23 Nov 2026 08:02:55 -0800 Subject: [PATCH] generateVersion.sh: set correct buildrev Since this script is run outside the source directory, git log can not @@ -15,11 +15,11 @@ Signed-off-by: Yi Zhao 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generateVersion.sh b/generateVersion.sh -index ff25afba8..0b50a1693 100755 +index 0af066fa..7ca743e1 100755 --- a/generateVersion.sh +++ b/generateVersion.sh -@@ -28,7 +28,7 @@ buildident=$8 - date=$(date +%s) +@@ -31,7 +31,7 @@ else + fi if [ -d "${src_dir}"/.git ]; then - buildrev=$(git log -1 --pretty=format:"%H") @@ -27,6 +27,3 @@ index ff25afba8..0b50a1693 100755 else buildrev="Unknown" fi --- -2.34.1 - diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch b/meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch index 055a3e7b57..62d0a75f87 100644 --- a/meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch +++ b/meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch @@ -1,38 +1,43 @@ -From bbe5c95ef1755c4804c4561c03cafedeb004cb36 Mon Sep 17 00:00:00 2001 +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Yi Zhao -Date: Thu, 21 Mar 2024 10:18:39 +0800 +Date: Mon, 23 Nov 2026 08:03:07 -0800 Subject: [PATCH] CMakeLists.txt: do not use ccache Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Yi Zhao --- - CMakeLists.txt | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) + CMakeLists.txt | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index fc1718dfd..70c94c2ff 100644 +index f9c6474c..6932d1dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -84,12 +84,12 @@ if (MINIFI_USE_REAL_ODBC_TEST_DRIVER) +@@ -85,16 +85,16 @@ if (MINIFI_USE_REAL_ODBC_TEST_DRIVER) endif() # Use ccache if present -find_program(CCACHE_FOUND ccache) -if(CCACHE_FOUND) -- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) -- set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) +- if(NOT CMAKE_C_COMPILER_LAUNCHER) +- set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_FOUND}") +- endif() +- if(NOT CMAKE_CXX_COMPILER_LAUNCHER) +- set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_FOUND}") +- endif() - message("-- Found ccache: ${CCACHE_FOUND}") -endif(CCACHE_FOUND) +#find_program(CCACHE_FOUND ccache) +#if(CCACHE_FOUND) -+# set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) -+# set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) ++# if(NOT CMAKE_C_COMPILER_LAUNCHER) ++# set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_FOUND}") ++# endif() ++# if(NOT CMAKE_CXX_COMPILER_LAUNCHER) ++# set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_FOUND}") ++# endif() +# message("-- Found ccache: ${CCACHE_FOUND}") +#endif(CCACHE_FOUND) # Check for exec info before we enable the backtrace features. CHECK_INCLUDE_FILE("execinfo.h" HAS_EXECINFO) --- -2.34.1 - diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0007-StreamCallback.h-add-missing-cstdint-include-for-in.patch b/meta-oe/recipes-extended/minifi-cpp/files/0007-StreamCallback.h-add-missing-cstdint-include-for-in.patch deleted file mode 100644 index f19cea494c..0000000000 --- a/meta-oe/recipes-extended/minifi-cpp/files/0007-StreamCallback.h-add-missing-cstdint-include-for-in.patch +++ /dev/null @@ -1,35 +0,0 @@ -From: Khem Raj -Date: Tue, 29 Sep 2026 01:54:51 +0000 -Subject: [PATCH] StreamCallback.h: add missing include for - int64_t - -StreamCallback.h uses int64_t in ReadWriteResult and in the -InputStreamCallback/OutputStreamCallback std::function aliases, but -never includes itself. On glibc/libstdc++ this happens to -compile because some other transitively-included standard header -provides int64_t first, but musl's libc++ headers do not provide -this transitive declaration, so the header fails to parse with -"unknown type name 'int64_t'" (which then cascades into std::function -template errors). This is the same class of issue already fixed for -LibWrapper.h and RepositoryMetricsSource.h by -0001-Fix-build-with-gcc-16.patch; StreamCallback.h needs the same -treatment. - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - minifi-api/include/minifi-cpp/io/StreamCallback.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/minifi-api/include/minifi-cpp/io/StreamCallback.h b/minifi-api/include/minifi-cpp/io/StreamCallback.h -index 1111111..2222222 100644 ---- a/minifi-api/include/minifi-cpp/io/StreamCallback.h -+++ b/minifi-api/include/minifi-cpp/io/StreamCallback.h -@@ -16,6 +16,7 @@ - */ - #pragma once - -+#include - #include - #include - #include diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.99.2.bb b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_1.1.0.bb similarity index 77% rename from meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.99.2.bb rename to meta-oe/recipes-extended/minifi-cpp/minifi-cpp_1.1.0.bb index 5854483ba9..46b4a96d66 100644 --- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.99.2.bb +++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_1.1.0.bb @@ -5,69 +5,65 @@ management, focusing on the collection of data at the source of its creation." HOMEPAGE = "https://nifi.apache.org/minifi/index.html" SECTION = "console/network" LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND ISC AND MIT AND Zlib" -LIC_FILES_CHKSUM = "file://LICENSE;md5=cb72a6f151096df9e2f5f01b6bf9d735" - -SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git;protocol=https;branch=main \ - git://github.com/martinmoene/expected-lite.git;protocol=https;branch=master;name=expected-lite;destsuffix=${S}/thirdparty/expected-lite-src \ - git://github.com/ericniebler/range-v3.git;protocol=https;branch=master;name=range-v3;destsuffix=${S}/thirdparty/range-v3-src \ - git://github.com/Neargye/magic_enum.git;protocol=https;branch=master;name=magic-enum;destsuffix=${S}/thirdparty/magic-enum-src \ - git://github.com/p-ranav/argparse.git;protocol=https;branch=master;name=argparse;destsuffix=${S}/thirdparty/argparse-src \ - git://github.com/gsl-lite/gsl-lite.git;protocol=https;branch=master;name=gsl-lite;destsuffix=${S}/thirdparty/gsl-lite-src \ - git://github.com/HowardHinnant/date.git;protocol=https;branch=master;name=date;destsuffix=${S}/thirdparty/date-src \ - git://github.com/chriskohlhoff/asio.git;protocol=https;branch=master;name=asio;destsuffix=${S}/thirdparty/asio-src \ - git://github.com/fmtlib/fmt.git;protocol=https;branch=main;name=fmt;destsuffix=${S}/thirdparty/fmt-src \ - git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x;tag=v1.15.3;name=spdlog;destsuffix=${S}/thirdparty/spdlog-src \ - git://github.com/danielaparker/jsoncons.git;protocol=https;branch=master;name=jsoncons;destsuffix=${S}/thirdparty/jsoncons-src \ +LIC_FILES_CHKSUM = "file://LICENSE;md5=50c0151bf7c3999dcb7de9652ec6e3a6" + +SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git;protocol=https;branch=main;tag=rel/minifi-cpp-${PV} \ + git://github.com/ericniebler/range-v3.git;protocol=https;branch=master;tag=0.12.0;name=range-v3;destsuffix=${S}/thirdparty/range-v3-src \ + git://github.com/Neargye/magic_enum.git;protocol=https;branch=master;tag=v0.9.8;name=magic-enum;destsuffix=${S}/thirdparty/magic-enum-src \ + git://github.com/p-ranav/argparse.git;protocol=https;branch=master;tag=v3.2;name=argparse;destsuffix=${S}/thirdparty/argparse-src \ + git://github.com/gsl-lite/gsl-lite.git;protocol=https;branch=master;tag=v1.1.0;name=gsl-lite;destsuffix=${S}/thirdparty/gsl-lite-src \ + git://github.com/HowardHinnant/date.git;protocol=https;branch=master;tag=v3.0.4;name=date;destsuffix=${S}/thirdparty/date-src \ + git://github.com/chriskohlhoff/asio.git;protocol=https;branch=master;tag=asio-1-38-0;name=asio;destsuffix=${S}/thirdparty/asio-src \ + git://github.com/fmtlib/fmt.git;protocol=https;branch=main;tag=12.1.0;name=fmt;destsuffix=${S}/thirdparty/fmt-src \ + git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x;tag=v1.17.0;name=spdlog;destsuffix=${S}/thirdparty/spdlog-src \ + git://github.com/danielaparker/jsoncons.git;protocol=https;branch=master;tag=v1.7.0;name=jsoncons;destsuffix=${S}/thirdparty/jsoncons-src \ ${DEBIAN_MIRROR}/main/o/ossp-uuid/ossp-uuid_1.6.2.orig.tar.gz;name=ossp-uuid;subdir=${S}/thirdparty \ - https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz;name=libsodium;subdir=${S}/thirdparty \ + https://download.libsodium.org/libsodium/releases/libsodium-1.0.22.tar.gz;name=libsodium;subdir=${S}/thirdparty \ file://0001-Do-not-use-bundled-packages.patch \ file://0002-Fix-osspuuid-build.patch \ file://0003-Fix-libsodium-build.patch \ - file://0004-Pass-noline-flag-to-flex.patch \ + file://0001-generateVersion.sh-set-BUILD_DATE-to-SOURCE_DATE_EPO.patch \ file://0005-generateVersion.sh-set-correct-buildrev.patch \ + file://0004-Pass-noline-flag-to-flex.patch \ file://0006-CMakeLists.txt-do-not-use-ccache.patch \ - file://0001-Add-missing-include-for-malloc-free.patch;patchdir=thirdparty/fmt-src \ - file://0001-generateVersion.sh-set-BUILD_DATE-to-SOURCE_DATE_EPO.patch \ - file://0001-Fix-build-with-gcc-16.patch \ - file://0007-StreamCallback.h-add-missing-cstdint-include-for-in.patch \ file://systemd-volatile.conf \ file://sysvinit-volatile.conf \ " -# minifi-cpp: 0.99.2 -SRCREV = "92fb88dca9aaff75b5c6795d25d6e437649c1c77" -# expected-lite: 0.9.0 -SRCREV_expected-lite = "e45e8d5f295d54efe9cace331b9e9f5efa8a84c3" +# minifi-cpp: 1.1.0 +SRCREV = "1a4b84eb8b53eebcf7c92d83f6ae818f440e33ee" +# The third-party revisions below are the versions pinned in cmake/*.cmake # range-v3: 0.12.0 SRCREV_range-v3 = "a81477931a8aa2ad025c6bda0609f38e09e4d7ec" -# magic-enum: 0.9.6 -SRCREV_magic-enum = "dd6a39d0ba1852cf06907e0f0573a2a10d23c2ad" -# argparse: 3.0 -SRCREV_argparse = "af442b4da0cd7a07b56fa709bd16571889dc7fda" -# gsl-lite: 0.41.0 -SRCREV_gsl-lite = "755ba124b54914e672737acace6a9314f59e8d6f" -# date: 3.0.3 -SRCREV_date = "5bdb7e6f31fac909c090a46dbd9fea27b6e609a4" -# asio: 1.34.2 -SRCREV_asio = "ed6aa8a13d51dfc6c00ae453fc9fb7df5d6ea963" -# fmt: 11.2.0 -SRCREV_fmt = "40626af88bd7df9a5fb80be7b25ac85b122d6c21" -# spdlog: 1.15.3 -SRCREV_spdlog = "6fa36017cfd5731d617e1a934f0e5ea9c4445b13" -# jsoncons: 1.3.2 -SRCREV_jsoncons = "64b9da1e9f15eeff4ec9d6bc856538db542118f2" - -SRCREV_FORMAT .= "_expected-lite_range-v3_magic-enum_argparse_gsl-lite_date_asio_fmt_spdlog_jsoncons" +# magic-enum: 0.9.8 +SRCREV_magic-enum = "1384769c66bd16ec9bb1353f45fe8ec8ccc12dbd" +# argparse: 3.2 +SRCREV_argparse = "3eda91b2e1ce7d569f84ba295507c4cd8fd96910" +# gsl-lite: 1.1.0 +SRCREV_gsl-lite = "c767277c1cad4d4446ba30a13a48ed18ebf9754a" +# date: 3.0.4 +SRCREV_date = "f94b8f36c6180be0021876c4a397a054fe50c6f2" +# asio: 1.38.0 +SRCREV_asio = "03cf5f86a780dd102f1cdd3a59d1244d12143e46" +# fmt: 12.1.0 +SRCREV_fmt = "407c905e45ad75fc29bf0f9bb7c5c2fd3475976f" +# spdlog: 1.17.0 +SRCREV_spdlog = "79524ddd08a4ec981b7fea76afd08ee05f83755d" +# jsoncons: 1.7.0 +SRCREV_jsoncons = "cb54cdc3134a62634466bf7bcd24f1a906f4ef25" + +SRCREV_FORMAT .= "_range-v3_magic-enum_argparse_gsl-lite_date_asio_fmt_spdlog_jsoncons" # ossp-uuid: 1.6.2 SRC_URI[ossp-uuid.sha256sum] = "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0" -# libsodium: 1.0.20 -SRC_URI[libsodium.sha256sum] = "ebb65ef6ca439333c2bb41a0c1990587288da07f6c7fd07cb3a18cc18d30ce19" +# libsodium: 1.0.22 +SRC_URI[libsodium.sha256sum] = "adbdd8f16149e81ac6078a03aca6fc03b592b89ef7b5ed83841c086191be3349" +UPSTREAM_CHECK_GITTAGREGEX = "^rel/minifi-cpp-(?P\d+(\.\d+)+)$" inherit pkgconfig cmake systemd -DEPENDS = "virtual/crypt bison-native flex-native flex openssl curl zlib xz bzip2 yaml-cpp zstd lz4 pugixml" +DEPENDS = "virtual/crypt bison-native flex-native flex openssl curl zlib xz bzip2 yaml-cpp pugixml" OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" @@ -103,17 +99,17 @@ EXTRA_OECMAKE = " \ -DSKIP_TESTS=ON \ -DMINIFI_OPENSSL_SOURCE=SYSTEM \ -DMINIFI_LIBCURL_SOURCE=SYSTEM \ - -DMINIFI_ZSTD_SOURCE=SYSTEM \ - -DMINIFI_BZIP2_SOURCE=SYSTEM \ - -DMINIFI_LIBXML2_SOURCE=SYSTEM \ - -DMINIFI_CATCH2_SOURCE=SYSTEM \ -DMINIFI_ZLIB_SOURCE=SYSTEM \ + -DMINIFI_BZIP2_SOURCE=SYSTEM \ + -DMINIFI_LIBLZMA_SOURCE=SYSTEM \ + -DMINIFI_LIBARCHIVE_SOURCE=SYSTEM \ + -DMINIFI_YAMLCPP_SOURCE=SYSTEM \ -DMINIFI_PUGIXML_SOURCE=SYSTEM \ -DMINIFI_FMT_SOURCE=BUILD \ -DMINIFI_SPDLOG_SOURCE=BUILD \ + -DFETCHCONTENT_FULLY_DISCONNECTED=ON \ -DFETCHCONTENT_SOURCE_DIR_GSL-LITE=${S}/thirdparty/gsl-lite-src \ -DFETCHCONTENT_SOURCE_DIR_DATE_SRC=${S}/thirdparty/date-src \ - -DFETCHCONTENT_SOURCE_DIR_EXPECTED-LITE=${S}/thirdparty/expected-lite-src \ -DFETCHCONTENT_SOURCE_DIR_RANGE-V3_SRC=${S}/thirdparty/range-v3-src \ -DFETCHCONTENT_SOURCE_DIR_MAGIC_ENUM=${S}/thirdparty/magic-enum-src \ -DFETCHCONTENT_SOURCE_DIR_ASIO=${S}/thirdparty/asio-src \ @@ -122,19 +118,21 @@ EXTRA_OECMAKE = " \ -DFETCHCONTENT_SOURCE_DIR_SPDLOG=${S}/thirdparty/spdlog-src \ -DFETCHCONTENT_SOURCE_DIR_JSONCONS=${S}/thirdparty/jsoncons-src \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DENABLE_SYSTEMD=ON', '-DENABLE_SYSTEMD=OFF', d)} \ - -DBUILD_IDENTIFIER=${PV} \ + -DBUILD_IDENTIFIER=${MINIFI_BUILD_IDENTIFIER} \ " -PACKAGECONFIG ??= "libarchive expression-language" +# Used in the extension registration function name, so it must be an identifier +MINIFI_BUILD_IDENTIFIER = "${@d.getVar('PV').replace('.', '_')}" + +PACKAGECONFIG ??= "libarchive" # rocksdb is not compatible with libc-musl:powerpc & armv5 PACKAGECONFIG:remove:libc-musl:powerpc = "rocksdb" PACKAGECONFIG:remove:armv5 = "rocksdb" PACKAGECONFIG[libarchive] = "-DENABLE_LIBARCHIVE=ON,-DENABLE_LIBARCHIVE=OFF,libarchive" -PACKAGECONFIG[expression-language] = "-DENABLE_EXPRESSION_LANGUAGE=ON, -DENABLE_EXPRESSION_LANGUAGE=OFF" PACKAGECONFIG[civetweb] = "-DENABLE_CIVET=ON -DMINIFI_CIVETWEB_SOURCE=SYSTEM,-DENABLE_CIVET=OFF,civetweb" -PACKAGECONFIG[rocksdb] = "-DENABLE_ROCKSDB=ON -DBUILD_ROCKSDB=OFF -DMINIFI_ROCKSDB_SOURCE=SYSTEM,-DENABLE_ROCKSDB=OFF,rocksdb" +PACKAGECONFIG[rocksdb] = "-DENABLE_ROCKSDB=ON -DBUILD_ROCKSDB=OFF,-DENABLE_ROCKSDB=OFF,rocksdb" SYSTEMD_PACKAGES = "minifi-cpp" SYSTEMD_SERVICE:${PN} = "minifi.service" @@ -165,7 +163,7 @@ do_install() { for i in minifi-encrypt-config minifi minifi.sh minifi-controller; do install -m 755 ${WORKDIR}/minifi-install/usr/bin/${i} ${D}${MINIFI_BIN} done - for i in config.yml minifi-log.properties minifi.properties minifi-uid.properties; do + for i in minifi-log.properties minifi.properties minifi-uid.properties; do install -m 644 ${WORKDIR}/minifi-install/usr/conf/${i} ${D}${MINIFI_HOME}/conf done @@ -189,6 +187,10 @@ do_install() { ${D}${MINIFI_HOME}/conf/minifi.properties sed -i "s|nifi.database.content.repository.directory.default=.*|nifi.database.content.repository.directory.default=${MINIFI_RUN}/content_repository|g" \ ${D}${MINIFI_HOME}/conf/minifi.properties + sed -i "s|nifi.asset.directory=.*|nifi.asset.directory=${MINIFI_RUN}/asset|g" \ + ${D}${MINIFI_HOME}/conf/minifi.properties + sed -i "s|nifi.python.virtualenv.directory=.*|nifi.python.virtualenv.directory=${MINIFI_RUN}/minifi-python-env|g" \ + ${D}${MINIFI_HOME}/conf/minifi.properties sed -i "s|nifi.flow.configuration.file=.*|nifi.flow.configuration.file=${MINIFI_HOME}/conf/config.yml|g" \ ${D}${MINIFI_HOME}/conf/minifi.properties sed -i "s|nifi.python.processor.dir=.*|nifi.python.processor.dir=${libexecdir}/minifi-python|g" \ @@ -204,7 +206,7 @@ do_install() { install -m 755 -d ${D}${systemd_system_unitdir} install -m 644 ${WORKDIR}/minifi-install/usr/bin/minifi.service ${D}${systemd_system_unitdir} - sed -i -e "s|^Environment=.*|Environment=MINIFI_HOME=${MINIFI_HOME}|g" ${D}${systemd_system_unitdir}/minifi.service + sed -i -e "s|^Environment=MINIFI_HOME=.*|Environment=MINIFI_HOME=${MINIFI_HOME}|g" ${D}${systemd_system_unitdir}/minifi.service sed -i -e "s|^ExecStart=.*|ExecStart=${MINIFI_BIN}/minifi|g" ${D}${systemd_system_unitdir}/minifi.service fi From patchwork Fri Nov 27 04:15:17 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105919 Received: from mail-dy1-f173.google.com (mail-dy1-f173.google.com [74.125.82.173]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.10233.1795752932502176592 for ; Thu, 26 Nov 2026 20:15:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=skO2d8YX; spf=pass (domain: gmail.com, ip: 74.125.82.173, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f173.google.com with SMTP id 5a478bee46e88-38644aedba1so11340190eec.0 for ; Thu, 26 Nov 2026 20:15:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795752932; x=1796357732; 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:content-type; bh=WyZtp8RuG0Zvax8oIttYZyxpYazm3p/Cboa07xdTeio=; b=skO2d8YXQlTC6YK/32RIs+R8ozuspwz5pBM4JRYY9ELxwxyWL5LEb/ahGeccp+Cfu3 MHTesMJ2kFVN9I/lD/Imcks8ZpiuWoXkRhQ16PykzUG2t8bH3UQS9xBid0FyU7ekR2OI QYYYxRC2qxtxP6H7nn4ILp/Nh0OMEdriiZjgsLQWIlBlrnukRC/II2pwJQCuqZwTTsyz zFCEBX1HQvv9cmBtvA3JzndslHCq2CFoD4OiioqAn2cKg6kgbuHwd52YDwpQ2gZko/2l f+gaGgtClFr8JnpwF01hD2jl30t97cCOSzr0Eg5raRir6ykU9qH/5Y3X3WWcLAGX4Prl aGoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795752932; x=1796357732; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=WyZtp8RuG0Zvax8oIttYZyxpYazm3p/Cboa07xdTeio=; b=tsKmNnsrcWWuHsr0mRa1A7PhtIjFohb2qMT2DKzIfDPo2340Fch8gAvbl5bqJ+CsNh xjPBPxvyK91fuXqvZjLxCSLzhlD8XttbwV1vMNf7eQFbSr82egPOtsxi1A3omaQOCkGK JwE4MMd9tBDo71DMeOn77Ue34POGFHY2JONjP6+BC3UMaNIo9lq4UHFqZqbynAqS2X5M N4wwRUdpVA2j/Kc3aq3M5AKHEs+S5Pwzb2eNtuQFR297o4Om4tu5bLtlMD83cekvagbc yQXzk1YoBQosScKufPtgI6vnHy/TTEjsi3SgeOgX0geKCaKYiGoqWW4HZbS3wH/TpcZN CV/Q== X-Gm-Message-State: APuU4Z/L15jp2t1RhhDk7YY6LhzIcskDYRLG8xYAuq+VabD23K2mOo1m 9hmXIy2gkhdcAkoU/NsRQctZVEB1Nov2o82r90sn8EiWYQNe27+HkSCJ7noTzXuu X-Gm-Gg: AZFdTZccDBVhEnJNsmzjZyZDqql6YYvYSv6V0Y0Mrs1mi+uch2kvuwWYNC0fvOHQ/HZ oUwpnHzYj3JAK3ZwuNayRS9VG0YtgTcii0EzCJJ9fZMEwiR54pRUE06KnBF+Ve0rwx8qFj63lWe y1euK0icyj5n+TgquOLRe9ZpO8XY1gLbVwLZeHYYDQ9XgRlDLtHvNzW3uvztM87uE6o3r59oWak zThfMgTTJCjfSjJ2QqGs0norAh89+Rhs5WzuTBh6M6OVSslvDNxbxxPGyyHkVcMTTIQEE6BYgwF 28tmroEcnrZ446Kk5fgVUBtnSsdW1aKFe+Me8/EzYZHviKQO4z5CGDgnUkNqqOMywWDZ1L5Aute cJpmglUkDRM468zeunGwr5Zg3AmuEde57cbMSaYB2WOQAvJx6SvnodfyNVxzsy5EOVBKZXQqcms g9YCazrEQB5s2q1My5GMdKU8CJp7PelCCy3jBz4oYZ/8qvVhtVTQGGBAbptAPkEak+mkUKp8T/b AExezUH8aSrI6ncT6Gb6LWosSW3j+Vge09Xh0YZVVZEQmtvMiKyPl/gHVRPiwiJmQAm3eGLH5Z3 cNbARhLQS1mReuQT4nRUKKPc0aoCD0wrZecqfiPyFovLGQGlts5rUuRUhzYCkAyMooVsyiBWbo1 f6IFZg7PZnz8EBtIEqpevk6Oyy6uCbI0/ymqIy381q09hL2WPkkfpgmXr8hOyNSJNbHOvegGlWF B8CnS4LiJG6K3VLcQs+Lo27MF4DtNO/LVwsMy/TJ5ESWpFe8SoTC66Ps7GgdZ0NOMQbBhE9LpCr pWQzyLIQhqwoFm9cCD+i2QsTvVOFIIUuA40aW+DCEYelnRCif9VC4yz7DLgIVQ82NuB6a4lqxLP ZkCR X-Received: by 2002:a05:7301:d816:10b0:386:aa60:d560 with SMTP id 5a478bee46e88-386aa60de28mr15781029eec.8.1795752931784; Thu, 26 Nov 2026 20:15:31 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385666e7fc3sm60340062eec.8.2026.11.26.20.15.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 20:15:31 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 8/8] sysdig: upgrade 0.39.0 -> 0.41.4 Date: Thu, 26 Nov 2026 20:15:17 -0800 Message-ID: <20261127041517.1773986-9-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> References: <20261127041517.1773986-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 27 Nov 2026 04:15:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133218 0.40 and 0.41 move to falcosecurity/libs 0.21 (driver 8.1.0+driver), which no longer needs the gRPC, curl and OpenSSL based Kubernetes/Mesos client dependencies. sysdig now fetches the falco container plugin at configure time to provide container metadata. Bump falcosecurity-libs to 0.21.0 and the driver to 8.1.0+driver together, as sysdig pins them as a pair. Fetch all three by tag. The driver sources are now taken from the driver/ subdirectory of the libs checkout, which makes the driver_config.h generation workaround and the include path hack unnecessary. Use the bundled libs build explicitly (it defaulted on with USE_BUNDLED_DEPS) and drop MINIMAL_BUILD, which no longer exists. Drop libb64, c-ares, grpc, curl, openssl, protobuf and jq from DEPENDS as nothing uses them any more, and add re2. Drop the PROBE_NAME patch since the definition is not referenced by the sources any more. Add a patch that makes the prebuilt container plugin download optional and disable it, as it cannot be fetched in an offline build, so sysdig shows no container metadata. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...e-container-plugin-download-optional.patch | 33 +++++++++++++++ ...001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch | 32 --------------- .../{sysdig_0.39.0.bb => sysdig_0.41.4.bb} | 41 +++++++------------ 3 files changed, 47 insertions(+), 59 deletions(-) create mode 100644 meta-oe/recipes-extended/sysdig/sysdig/0001-cmake-Make-the-container-plugin-download-optional.patch delete mode 100644 meta-oe/recipes-extended/sysdig/sysdig/0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch rename meta-oe/recipes-extended/sysdig/{sysdig_0.39.0.bb => sysdig_0.41.4.bb} (72%) diff --git a/meta-oe/recipes-extended/sysdig/sysdig/0001-cmake-Make-the-container-plugin-download-optional.patch b/meta-oe/recipes-extended/sysdig/sysdig/0001-cmake-Make-the-container-plugin-download-optional.patch new file mode 100644 index 0000000000..19756909e1 --- /dev/null +++ b/meta-oe/recipes-extended/sysdig/sysdig/0001-cmake-Make-the-container-plugin-download-optional.patch @@ -0,0 +1,33 @@ +From 6bfcd5ea1c21bc521cc51070ab0cbff7938373d9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 25 Nov 2026 22:27:25 -0800 +Subject: [PATCH] cmake: Make the container plugin download optional + +The container plugin is a prebuilt binary which container_plugin.cmake +fetches from download.falco.org at configure time. That is not possible +in an offline build and the binary is not built for the target. Add an +option to skip it; sysdig only loads the plugin if it is installed. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + CMakeLists.txt | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 68344a3..ea6de77 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -163,7 +163,10 @@ endif() + include(falcosecurity-libs) + include(yaml-cpp) + include(nlohmann-json) +-include(container_plugin) ++option(ENABLE_CONTAINER_PLUGIN "Download and install the prebuilt container plugin" ON) ++if(ENABLE_CONTAINER_PLUGIN) ++ include(container_plugin) ++endif() + + if(CMAKE_SYSTEM_NAME MATCHES "Linux") + if(NOT DEFINED DRIVER_VERSION) diff --git a/meta-oe/recipes-extended/sysdig/sysdig/0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch b/meta-oe/recipes-extended/sysdig/sysdig/0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch deleted file mode 100644 index bcf5da4f2c..0000000000 --- a/meta-oe/recipes-extended/sysdig/sysdig/0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6ff4114dcbb87f34751064249967aa96c7b8b030 Mon Sep 17 00:00:00 2001 -From: Liu Yiding -Date: Wed, 4 Mar 2026 10:02:10 +0000 -Subject: [PATCH] cmake: Pass PROBE_NAME via CFLAGS - -This helps compliation of driver code where its calling modprobe on the -given kernel module via system() API - -Upstream-Status: Pending -Signed-off-by: Khem Raj - -Update for 0.39.0 -Signed-off-by: Liu Yiding ---- - CMakeLists.txt | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8e8850dbe..c6d725c05 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -174,6 +174,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux") - if(NOT DEFINED DRIVER_NAME) - set(DRIVER_NAME "scap") - endif() -+ add_definitions(-DPROBE_NAME="${PROBE_NAME}") - - set(DRIVERS_REPO "https://download.sysdig.com/scap-drivers") - --- -2.43.0 - diff --git a/meta-oe/recipes-extended/sysdig/sysdig_0.39.0.bb b/meta-oe/recipes-extended/sysdig/sysdig_0.41.4.bb similarity index 72% rename from meta-oe/recipes-extended/sysdig/sysdig_0.39.0.bb rename to meta-oe/recipes-extended/sysdig/sysdig_0.41.4.bb index 7741bdf86a..0c19ee9f93 100644 --- a/meta-oe/recipes-extended/sysdig/sysdig_0.39.0.bb +++ b/meta-oe/recipes-extended/sysdig/sysdig_0.41.4.bb @@ -18,44 +18,35 @@ JIT:powerpc = "" JIT:powerpc64le = "" JIT:powerpc64 = "" -DEPENDS += "libb64 lua${JIT} zlib c-ares grpc-native grpc curl ncurses jsoncpp \ - tbb jq openssl elfutils protobuf protobuf-native jq-native valijson \ +DEPENDS += "lua${JIT} zlib ncurses jsoncpp tbb elfutils re2 valijson \ uthash libbpf clang-native bpftool-native yaml-cpp nlohmann-json" RDEPENDS:${PN} = "bash" -SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sysdig \ - git://github.com/falcosecurity/libs;protocol=https;branch=release/0.18.x;name=falco;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/falcosecurity-libs \ - git://github.com/falcosecurity/libs;protocol=https;branch=release/0.18.x;name=driver;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/driver \ - file://0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \ +SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;tag=${PV};name=sysdig \ + git://github.com/falcosecurity/libs;protocol=https;branch=release/0.21.x;tag=0.21.0;name=falco;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/falcosecurity-libs \ + git://github.com/falcosecurity/libs;protocol=https;branch=release/0.21.x;tag=8.1.0+driver;name=driver;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/driver \ + file://0001-cmake-Make-the-container-plugin-download-optional.patch \ file://0001-Avoid-duplicate-operations-of-add_library.patch;patchdir=./falcosecurity-libs \ " -SRCREV_sysdig = "6ef29110cf1add746e10ab5b38957e22730b7349" -SRCREV_falco = "e1999d079880d10800c57e004fca794a03cd060a" -SRCREV_driver = "d4efc80ece48174a71c1a420cb52d233fa94f946" +SRCREV_sysdig = "7f09646f010f257f3854bc7a6cfbf432c85897d3" +SRCREV_falco = "1dcb369c20625db51f6cdca3e62435f61449eacb" +SRCREV_driver = "bd2b9aa2d7ddd9f65158fd8c95ea4bbc10eae9a0" SRCREV_FORMAT = "sysdig_falco" UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$" -#Add this function to generate driver_config.h -do_configure:prepend() { - mkdir -p ${WORKDIR}/driver_Make - cd ${WORKDIR}/driver_Make - cmake ${S}/driver -DMINIMAL_BUILD=ON -DCREATE_TEST_TARGETS=OFF - cd - -} -do_configure[cleandirs] = "${WORKDIR}/driver_Make" - EXTRA_OECMAKE = "\ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DBUILD_DRIVER=OFF \ - -DMINIMAL_BUILD=ON \ + -DUSE_BUNDLED_FALCOSECURITY_LIBS=ON \ + -DENABLE_CONTAINER_PLUGIN=OFF \ -DUSE_BUNDLED_DEPS=OFF \ -DCREATE_TEST_TARGETS=OFF \ -DDIR_ETC=${sysconfdir} \ -DLUA_INCLUDE_DIR=${STAGING_INCDIR}/luajit-2.1 \ -DFALCOSECURITY_LIBS_SOURCE_DIR=${S}/falcosecurity-libs \ - -DDRIVER_SOURCE_DIR=${S}/driver \ + -DDRIVER_SOURCE_DIR=${S}/driver/driver \ -DVALIJSON_INCLUDE=${STAGING_INCDIR}/valijson \ -DUSE_BUNDLED_RE2=OFF \ -DUSE_BUNDLED_TBB=OFF \ @@ -80,18 +71,14 @@ EXTRA_OECMAKE = "\ # include_directories(${CURSES_INCLUDE_DIR}), placing it ahead of the LuaJIT # include dir. Pin Curses to the target sysroot so the native dir (and its stray # lua.h) never reaches the target build; lua.h then resolves via LUAJIT_INCLUDE. -#Add include dir to find driver_config.h -CXXFLAGS:append = " -I${STAGING_INCDIR}/luajit-2.1 -I${WORKDIR}/driver_Make/driver/src" -CFLAGS:append = " -I${STAGING_INCDIR}/luajit-2.1 -I${WORKDIR}/driver_Make/driver/src" +CXXFLAGS:append = " -I${STAGING_INCDIR}/luajit-2.1" +CFLAGS:append = " -I${STAGING_INCDIR}/luajit-2.1" #To fix do_package QA Issue do_compile:append() { sed -i -e "s,${WORKDIR},,g" ${B}/libsinsp/libsinsp.pc - sed -i -e "s,${WORKDIR},,g" ${B}/driver/libscap/libscap.pc - mkdir -p ${B}/driver/libsinsp - cp ${B}/libsinsp/libsinsp.pc ${B}/driver/libsinsp/ + sed -i -e "s,${WORKDIR},,g" ${B}/libscap/libscap.pc } -do_compile[cleandirs] = "${B}/driver/libsinsp" #CMAKE_VERBOSE = "VERBOSE=1"