From patchwork Sat Oct 25 03:40:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73016 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B092CCF9E0 for ; Sat, 25 Oct 2025 03:40:24 +0000 (UTC) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mx.groups.io with SMTP id smtpd.web11.954.1761363621644780985 for ; Fri, 24 Oct 2025 20:40:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=X3AHRdmo; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-76e2ea933b7so2765709b3a.1 for ; Fri, 24 Oct 2025 20:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363621; x=1761968421; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UaFgB4UZBqFxQjTGNeT4yw9ViDwEvXa23t6S4HYEuI4=; b=X3AHRdmoiqM5jdkY6kQhwKGRj5CvIzY1oLDy2yTAox0m10JJQHX++L/xk7jeh6PGhd E+js0JloGeqH037QHbvnf70fJ585q4Q5XqksdARfxj3abeMWjz96ytsfhidSLOWs/pj+ fntb/A0sJvZI3sU/RRVXXzt3wVegZI7i1EJmlk64FPGQke1rNLqztweQGEmDsQlBnW+t 6ho3t7MksWgmg0dt/PNX8bBaND0J4OdF+BgIUA6iVG6xpV3luTgkwehHuZFbxy+6dDSg 7Px5buPCrfl6FGFHsk60scsJNeAlP24k+SX2OXzHCDSEXHPgUv192mktUnl9Bmhgg0JY DJuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363621; x=1761968421; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UaFgB4UZBqFxQjTGNeT4yw9ViDwEvXa23t6S4HYEuI4=; b=TEqjn3yujmVN41BIB5+4Zs/piBz8IGX/SSUDcRI+rYKxbUI2ImZieXb9918TT1jx/r cetRs8ybehSWE2uRx6AWJZ6QXbDhFfdjktrVG+hfRI+vOAHiZBFXtgJ25nf3JJsYetEY jh78esljTzmLD0TAy0Y6eusnTIVEBjDwH21vNUrJoWqMLmALLPJf31gdJJLhBl6hqXKw ljNgDcReYYTxA3V0GRk4Ape5wkC+bUwPco9RzL4ICHtW8lnSvgY1RMy+Y/KJzG8uHjJ0 mbezoOquSxqgpWV26rNjjQaal3ePeJ1bOF8HLmPbauGXLwykA2bPpNoCA2bPfX7SocTv pSQA== X-Gm-Message-State: AOJu0Yxlx/ZgFS++Yxdam4LBgq00lofGxvR7JselDzfiKE4X+bI2SMuK IeGxxGb8qdKUHwgLakIevFQOOHsx6SwYvkzLFE+Kbd0oTl+AqqjEkAI94/e3IbIZ X-Gm-Gg: ASbGnct5XvKm5jUg8xKAs2ZGOZ5v+wwNpZ6WHHK/Bmu8Q+LUvGI9K+0A7oK1QidLXlE xyBmHKylXSxDdTe/x/iNx/VpRmdmq4uZO0J1ZwC6m35S2EiNNeAu1SvmH5DT0AEXH65g3Y9c44H HsyivS4zZinnjIpf5xAK9E45ruQ4JeM/sj8xLbUMdDc9qZAh2xWe0dvN8ZseSa0sUIFHADIYxOx 9z2BKkIwPPYtIzZol2JI1NSQcmW1CKKsNXoueegK3mRvf2obZkIMfhoh7CzoPh3VisHHtrbxFQq hKZsmU+WwV/JvSyq9wWEaAL8qc1+SdqNoMUA8SA/oknniJpjYnsA6mCQDJj996TbH6Il4dFc98I z6bgNOhhutO2TGM6GVj8rPxNLjVx3ixz2ASaO1eFkMeZgzqGtJe+JLXb20CFNAug9nSiC6TFlox e0BboTupcvaRBXC6z4GsBZLdTrUFLJTS1ly/oNR79PBrLOVf30pGXv9FdWVUm33q1j9FTYjmQl X-Google-Smtp-Source: AGHT+IG3twFFfJc6tMZhyMPNt1e6UqtVli+X579ZHJhM9K0oK+PK1rSXoCxEuxpSNfmE88mL7YoA6Q== X-Received: by 2002:a05:6a00:14c7:b0:77e:d2f7:f307 with SMTP id d2e1a72fcca58-7a284dbb2b3mr5979992b3a.9.1761363620601; Fri, 24 Oct 2025 20:40:20 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:20 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 01/11] botan: Upgrade to 3.9.0 Date: Fri, 24 Oct 2025 20:40:06 -0700 Message-ID: <20251025034017.2071643-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120985 Drop unsupported configure options Fix reproducible builds Signed-off-by: Khem Raj --- .../botan/{botan_3.7.1.bb => botan_3.9.0.bb} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename meta-oe/recipes-crypto/botan/{botan_3.7.1.bb => botan_3.9.0.bb} (86%) diff --git a/meta-oe/recipes-crypto/botan/botan_3.7.1.bb b/meta-oe/recipes-crypto/botan/botan_3.9.0.bb similarity index 86% rename from meta-oe/recipes-crypto/botan/botan_3.7.1.bb rename to meta-oe/recipes-crypto/botan/botan_3.9.0.bb index 74f895cf3c..77bd0d007f 100644 --- a/meta-oe/recipes-crypto/botan/botan_3.7.1.bb +++ b/meta-oe/recipes-crypto/botan/botan_3.9.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://license.txt;md5=3f911cecfc74a2d9f1ead9a07bd92a6e" SECTION = "libs" SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz" -SRC_URI[sha256sum] = "fc0620463461caaea8e60f06711d7e437a3ad1eebd6de4ac29c14bbd901ccd1b" +SRC_URI[sha256sum] = "8c3f284b58ddd42e8e43e9fa86a7129d87ea7c3f776a80d3da63ec20722b0883" S = "${UNPACKDIR}/Botan-${PV}" @@ -24,8 +24,6 @@ do_configure() { --cc-bin="${CXX}" \ --cxxflags="${CXXFLAGS}" \ --ldflags="${LDFLAGS}" \ - --with-endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ - ${@bb.utils.contains("TUNE_FEATURES","neon","","--disable-neon",d)} \ --with-sysroot-dir=${STAGING_DIR_HOST} \ --with-build-dir="${B}" \ --optimize-for-size \ @@ -36,12 +34,14 @@ do_configure() { } do_compile() { + sed -i -e 's|${WORKDIR}||g' ${B}/build/target_info.h oe_runmake } + do_install() { oe_runmake DESTDIR=${D} install sed -i -e 's|${WORKDIR}||g' ${D}${includedir}/botan-3/botan/build.h - + # Add botan binary and test tool install -d ${D}${bindir} install -d ${D}${datadir}/${PN}/tests/data From patchwork Sat Oct 25 03:40:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73017 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BFA2CCF9E3 for ; Sat, 25 Oct 2025 03:40:24 +0000 (UTC) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web10.953.1761363622838770185 for ; Fri, 24 Oct 2025 20:40:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kID+WYmY; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-781ea2cee3fso2691789b3a.0 for ; Fri, 24 Oct 2025 20:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363622; x=1761968422; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FUlkcl5vKL77zSpOaol1ZuUjETxQBz4VrvjcFLEjtqA=; b=kID+WYmYJNRBSCEUTcqOX86bXnbWZxH4klWNsU8ZULJLTQWlIgfF72s2xG5zqUDcYk vP2IzfYFFKRQyEzzQ5L53Wu3sxWqEu6csJzYXnQYfryJH+2RP101lYLPNv4s9/ozngD5 S+1SsWA++AVY5yGrCNexG7kS9HjnF3jiKU6fDEc7yJ9yi5cpAf8Ui+hVouybNxdPQI+g EaGCIjxXnAETbZNvoZaoNcviVqHICPLe7+QMaSDid04kqjsa5IMp5MbM94W8namXvjCE DaveoqlkYfDEW6LNOCV6s2e69xU1TQLXBDiFcydm5fa++D+II7ZcgDCGx7ROYXTmrwtl IEEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363622; x=1761968422; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FUlkcl5vKL77zSpOaol1ZuUjETxQBz4VrvjcFLEjtqA=; b=JIfA5kGywRbUZoCfI70lGT3YKAfnpvs2/0TflgaU6yItch/5pHaLZrEEOGqOEDi84N ChXPTRwtTLhutsfIwnGy2eimTizxTdevWQvvivNqVI6MkEOBs8iQYOseJ+t9IFB0oNF+ UxVjHfNPOes06jLRYvsQkHYkww/BU7j3acEVhd4CAkdHCLDv+CJ/oi/XruoljX3j37nW 0zkA92BqnJS2LPIQm6pmahzxUmEKr4gGHfnK+1EclmIfjzrh9ee3P0QTK1vkYBP6wvih R+oJjFYLrgz5fo9ub3yTwW9G48r6auXsIQEEhVEWRIDUecVCOKuhklLDHABTGKSJD3Eb IbUQ== X-Gm-Message-State: AOJu0Yw5gVPdXgi5KdozHegHL1htNLZvStVao1oxfpeOzZMzOZwrVuW3 QTPM0EUV8d9ijCQh2kPhNkISG+mMhN9cnFJw0ZtUgtTv2kzfZ2bI8Moz1KKPdy/H X-Gm-Gg: ASbGncsanU9esdg7sWwcL2aWb9GXXC+bFDFaSr116KIhpfWHh5AKFN6EJlVJCdOM6mI 75ItMQIJPppgI48zGyQXBEx1d6RpWSqt22CVwvVl3i5gerPHSpLnZNI6Dc1VnR3Bke/Dx9kp0zJ ggbHB+4gCXyXCtkkHCKXyrupkeq3TdQjV+ejQRq274coKJV6UwYDEyB0ZXRQwl9m2tsRDhCZcQR zltt1GlZjyYVwc55+pVwSK607Io3/qCbMjlsW39hcELtxBZ2k/Qwo/t/mA9OUP5zQhyq7OUW1Zh btMCKMkfLSiSgR8wyLbnbNok6Jm4oMGkpm0ZvW7QFl+5daLmi3N6I0gER4KYRb34vNDb+JUMa7h XEuIgiPHOVUByee7+uqTbjJAnU5T1t4tzriCg7SWEldOtrA3mrt5CsEBm9yEnAOEeweX/+4/da8 ouRrwCRyeKYJvnTn3gCNfN8VgbxTUflG3Woem4oHCCxlbBF8a9htdOEChAUxrkPzMmTHOaDwi1 X-Google-Smtp-Source: AGHT+IGjUSoEJ1LCpqUbg9tV8o+7C343mbDhY+UDOueIJkKJvNieEcarGotZse4nXzpivEIUuOj7/g== X-Received: by 2002:a05:6a00:1702:b0:7a2:50c5:64e8 with SMTP id d2e1a72fcca58-7a28685edcamr4408512b3a.23.1761363621653; Fri, 24 Oct 2025 20:40:21 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:20 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH 02/11] libcamera: Detect platform/toolchain defaults for C++ library Date: Fri, 24 Oct 2025 20:40:07 -0700 Message-ID: <20251025034017.2071643-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120986 This ensures that meson does not detect it and automatically link to it when using clang with gnu runtime Signed-off-by: Khem Raj --- ...camera-Do-not-assume-libc-with-clang.patch | 68 +++++++++++++++++++ .../libcamera/libcamera_0.5.2.bb | 1 + 2 files changed, 69 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch b/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch new file mode 100644 index 0000000000..7495205041 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch @@ -0,0 +1,68 @@ +From 82e9d391d312d65e7a62252e9e153b93c06ad37b Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 24 Oct 2025 11:10:59 -0700 +Subject: [PATCH] libcamera: Do not assume libc++ with clang + +Clang on linux can be defaulting to use libstdc++, it +should be using default platform C++ runtime library which the +toolchain should be configured to do the right thing + +Add logic in meson file to detect C++ runtime used by toolchain +and defile -stdlib= parameter accordingly + +Upstream-Status: Submitted [https://lists.libcamera.org/pipermail/libcamera-devel/2025-October/054151.html] +Signed-off-by: Khem Raj +--- + meson.build | 32 +++++++++++++++++++++----------- + 1 file changed, 21 insertions(+), 11 deletions(-) + +diff --git a/meson.build b/meson.build +index fd508fd7..5707f850 100644 +--- a/meson.build ++++ b/meson.build +@@ -118,7 +118,24 @@ cpp_arguments = [ + '-Wnon-virtual-dtor', + ] + +-cxx_stdlib = 'libstdc++' ++# Try to detect libc++ ++libcxx_ver = cxx.get_define('_LIBCPP_VERSION', ++ prefix: '#include \n') ++ ++# Try to detect libstdc++ ++glibcxx_ver = cxx.get_define('__GLIBCXX__', ++ prefix: '#include \n') ++ ++stdlib_msg = 'unknown' ++ ++if libcxx_ver != '' ++ cxx_stdlib = 'libc++' ++elif glibcxx_ver != '' ++ # __GLIBCXX__ is usually a yyyymmdd date code ++ cxx_stdlib = 'libstdc++' ++endif ++ ++message('Detected C++ standard library: ' + cxx_stdlib) + + if cc.get_id() == 'clang' + if cc.version().version_compare('<9') +@@ -138,16 +155,9 @@ if cc.get_id() == 'clang' + ] + endif + endif +- +- # Use libc++ by default if available instead of libstdc++ when compiling +- # with clang. +- if cc.find_library('c++', required : false).found() +- cpp_arguments += [ +- '-stdlib=libc++', +- ] +- cxx_stdlib = 'libc++' +- endif +- ++ cpp_arguments += [ ++ '-stdlib=' + cxx_stdlib, ++ ] + cpp_arguments += [ + '-Wextra-semi', + '-Wthread-safety', diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb index 88fe9cf39c..8b8d6815c5 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb @@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "\ SRC_URI = " \ git://git.libcamera.org/libcamera/libcamera.git;protocol=https;branch=master;tag=v${PV} \ + file://0001-libcamera-Do-not-assume-libc-with-clang.patch \ " SRCREV = "096c50ca881f72d858aca19757a5e73b4775a7cc" From patchwork Sat Oct 25 03:40:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73018 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43DAACCD1BF for ; Sat, 25 Oct 2025 03:40:24 +0000 (UTC) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mx.groups.io with SMTP id smtpd.web11.955.1761363623442427288 for ; Fri, 24 Oct 2025 20:40:23 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=F7o795Kq; spf=pass (domain: gmail.com, ip: 209.85.215.172, mailfrom: raj.khem@gmail.com) Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-b6a73db16efso2502025a12.3 for ; Fri, 24 Oct 2025 20:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363622; x=1761968422; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WquMLdq+/LOsaJSQyfYoI8mwBYiR9IEErOA8F9FoSV0=; b=F7o795KqabAQfRtEj2DAsVjKVjaNNqJiObYI4tqeU31gPIW18i6yA+Sx17mW6toLXk ekukG+SelJQUyxSWF0MKTH+Hb4xbiFfgjOlZba2YB53zdoU1m3ywYel6XQDLgwamzfxU URSMWpO2HwFJvYakmvn+HCMv7VOFbwH9SUtUTu0q6NGWAph8YXEbkU9YmaQyp1yHGuyp Kz/e9tD0ny5o3QuPvZ92BjEiroJ4T84QHQWscUdOVd+cwlPye2knvf8+ER3yv846p0ld Jy09UeMqJtXjRmn2c6Px91kMM6C8GUWa2U/T6EXEhRoZDFvgeu/qiom21FqFRIzvuLgZ V3IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363622; x=1761968422; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WquMLdq+/LOsaJSQyfYoI8mwBYiR9IEErOA8F9FoSV0=; b=PZ0YIyDBgLaJpFx9LBdELUbPDgZqCunihlxpuG2WsB5UsiXdDUF0VfIF8ku088d+rJ VUXNrus+bZpvWnIyiJtp4ljTBxwoB0QOKdKEW8DmDbGNmN5dX/Q9IMT6yZ26zKWs6krW AJeWAJvytuo579SMHcY1MttEiHgY1+VjWdrBLMebLUc4oUI+FlisDkvodH0fNoWH/RZR QWnwXp6JhLBRILIhDRYH+VP7HToClWrh5ZTYhLTzIYoj9a2v4rM8R8++FqqF+1JOhHfQ K51M7VrTW6zzemvLu+UvRJaqePHIPdThgIgqE4hKmF/hNAFzqFmRy1iSaZS4J/2WJ6r7 +EjA== X-Gm-Message-State: AOJu0YzAs48Jj219ofvT0iqT1SxQUuXnc2FFGKh9xb274pw6qgpK5orN wLDqKx84UAMsTEjOcoWkigj3L6IEpUUlzQeGySEeFqqlPEtnzLCgBHYRuCkiWgNz X-Gm-Gg: ASbGncut4hwYL6dDoO3KriHznDtjL+HFoc9oQ9Jz8bfr4hlhYvShJaazGixvFvkfjq+ w/+qQS/U6Z27xWLnuSXDJYDzdJBp9PIW+PNt5OW904mM95jMzyuO4G336MGHdAgh87VonNEOYKM O7iMdbpQP6Q5IkiJdHEdZLjR7AbwLwH7vmcj3tN85lWDZLBfQIeo7EL8+/oEr7thfRCchFGzLI7 GP8EnfugjvaQ+z6HlG5fwRiIhPd9HI0p8zLVnIOXSc9zJjfnpA3qCrjkOIOrs+bsUap59k3+DxT WdWn7n5gzzUFgR1S3ehZrgKW4BQuIszp5LlcLZYIDfutauUwy/gS3ZQUoW3Xg0v5Nu/d/FkHvbN ypWrSGBgxDBYmUk1rqxcXE7oO9TGVY7j7lbbRs/4IgaqwWWVcMejyD12xLBYBsN51Yz0tuCgDYx YP+q7J4MidFwgAUQDp3uEq5mTS60xo4+kn9rnCxBPJZ/m4QFFR9pbmOcULPjVwhg== X-Google-Smtp-Source: AGHT+IEBuble6zKix8NgW8KcPnyAtKdqd3xAgELKdXkbZBwYR0sPWrRwrjop0NJiakQLbWzIye95iQ== X-Received: by 2002:a17:902:cec7:b0:272:f9c3:31f7 with SMTP id d9443c01a7336-2948ba5b3bamr55412185ad.50.1761363622454; Fri, 24 Oct 2025 20:40:22 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:22 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 03/11] rocksdb: stdint.h needs to included in transaction_db_mutex.h Date: Fri, 24 Oct 2025 20:40:08 -0700 Message-ID: <20251025034017.2071643-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120987 It uses int64_t type Signed-off-by: Khem Raj --- ...eckpoint.h-Add-missing-includes-cstdint.patch | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch index a872be5b54..9950be4c90 100644 --- a/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch +++ b/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch @@ -27,10 +27,8 @@ Signed-off-by: mark.yang include/rocksdb/utilities/checkpoint.h | 1 + 1 file changed, 1 insertion(+) -Index: git/include/rocksdb/utilities/checkpoint.h -=================================================================== ---- git.orig/include/rocksdb/utilities/checkpoint.h -+++ git/include/rocksdb/utilities/checkpoint.h +--- a/include/rocksdb/utilities/checkpoint.h ++++ b/include/rocksdb/utilities/checkpoint.h @@ -7,6 +7,7 @@ #pragma once @@ -39,3 +37,13 @@ Index: git/include/rocksdb/utilities/checkpoint.h #include #include +--- a/include/rocksdb/utilities/transaction_db_mutex.h ++++ b/include/rocksdb/utilities/transaction_db_mutex.h +@@ -5,6 +5,7 @@ + + #pragma once + ++#include + #include + + #include "rocksdb/status.h" From patchwork Sat Oct 25 03:40:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73019 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 203F1CCD1BF for ; Sat, 25 Oct 2025 03:40:34 +0000 (UTC) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web11.956.1761363624412757785 for ; Fri, 24 Oct 2025 20:40:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XwZvblln; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-7a28226dd13so1740244b3a.3 for ; Fri, 24 Oct 2025 20:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363623; x=1761968423; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4/tQKAfvBl4RKpenk43bL5NNS/D0ixXJOKI9cRBj9Pk=; b=XwZvbllnASTWmuwXnUQuS0efx+8z3UEV4SjV8lqSnBXxqFj1XPp91IRUjkL4S3Fdk1 aV94RWz1lzvhHQW6fwcb314FUMVTI1ke9TY3OEHRNKWdXniJeBFqR58RNTuQWgtVQTwC jhSsSScvZueTdIe0tbl2b1YBE/wJ8ijXjp0/Hgxuz2RUkvQdomMlcQLxoBH8mnqZUjqx 97EV313qAuWHTzYi3LrPIyup44cck678ZuSv6xmZOLpgldGBdccmS42tHdFFtmiTa7Wu TC1lN4llWg5SgAJ6in7PuKWqP7eFe/a5PXzLqvU5p+Vh0MPrUXQVZDL05Boz0j8HaAa3 Pa6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363623; x=1761968423; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4/tQKAfvBl4RKpenk43bL5NNS/D0ixXJOKI9cRBj9Pk=; b=RuYcqy2Z8dnjj8viZ0TGP8tp4ywlsfkRNWKxDVRhQBN1NPKl++wcEcY5KdcM+DNH4p oZQvzEpiZiI6jvuMU1oJn6BUBsedlb9uBXMqv+Yv2+uZQMQj8J7DTkACF1xkD+DLdS62 JEjKG17LMexslyLLQyiZM+ofTNBUeb/+Svt3hRmBB4IpnruQXmBeZ9iQOL278yXa+O8k zZ+hyV73zbXgHIN5UgVXVwP4YObdcXvFk2b5GJq4RKUvwOtP90/BBc7dPcZed4lAzwRh qY+3ZB0g3uxi8TTFpBZgj2I0LIh6O8j7MRrq+G4PIlh/YLkrhmGtn1YUgqgn/meln8XL CQxg== X-Gm-Message-State: AOJu0YxsHcGPVYaxoyayuW0wV2HzMjeRj+dcGH47N/JqoAnIWG6TVDCw 6AZYPW0nHgoWOIGzgwnxd/+LyWXLGGu6o40CamFZC9Z1k4yoaR2V/SraN3ZV6d8y X-Gm-Gg: ASbGncumprHXiKJvWpawq6vu2HkjrYwVeV+rFxM2BKBpeTO+Xdoss4rTg3CKt5d+n/b mqALlm4jo4eZYqgThSFeMjay0xOQNSy5DKnDT8+5iUG+cFlckTUrSr+ETAeAc1/6fyE5Br4ETLo YIoKrM5NJfaGJX0lkT8Ygca+LAdvvZPJWG9awJ2PbE9hmEVXId0VJ5/97wUoUYX9pOrjUrO61lZ g1URhHi6TyJmnakCM2yUQgIsd/eyOxiCd8Otsx66ykQfr1bXN6weAB1Mg/ndfjkHCLfcpmYm4to CFPRQLn6pEKnOT7mDuI63mpG/rdk2EVMIrfWx1BFAYZnGKU2xdJVCNL76pkRYZlC776bZlyLlUa HqMGExmjOsoKGEbVGfGenWFV2ReQfiFRKlta4xOqheCSSe5n714SAEtOVZreol5GXcVIZeqTHmw ZwwfioRXlR8yInwpzRhQpl9Af147+/5yWz8X4vUQmOvSaK/6m7fDV6tPNHvFBQgw== X-Google-Smtp-Source: AGHT+IGyhboJ9hlPDjMufdDN4hMxe2UlE2pB60n8V5YZK5/LK3LFTL6XavRNVgmwV7pGIevQ8YQNsQ== X-Received: by 2002:a05:6a00:2e18:b0:7a2:89a0:92bc with SMTP id d2e1a72fcca58-7a289a09a00mr4921499b3a.31.1761363623446; Fri, 24 Oct 2025 20:40:23 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:22 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 04/11] rocksdb: Link with libatomic on x86 when using clang/libgcc Date: Fri, 24 Oct 2025 20:40:09 -0700 Message-ID: <20251025034017.2071643-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120988 Fixes | i686-yoe-linux-ld.lld: error: undefined reference: __atomic_compare_exchange | >>> referenced by librocksdb.so.9.10.0 (disallowed by --no-allow-shlib-undefined) | i686-yoe-linux-clang++: error: linker command failed with exit code 1 (use -v to see invocation) | ninja: build stopped: subcommand failed. Signed-off-by: Khem Raj --- meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb b/meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb index 4b15f538ff..c6d5a0ec7f 100644 --- a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb +++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb @@ -29,6 +29,7 @@ SRC_URI:append:mips = " file://0001-replace-old-sync-with-new-atomic-builtin-equ SRC_URI:append:powerpc = " file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch" SRC_URI:remove:toolchain-clang:riscv32 = "file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch" +LDFLAGS:append:toolchain-clang:x86 = "${@bb.utils.contains_any("TC_CXX_RUNTIME", "gnu", " -latomic", "", d)}" inherit cmake ptest From patchwork Sat Oct 25 03:40:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41D40CCF9ED for ; Sat, 25 Oct 2025 03:40:34 +0000 (UTC) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mx.groups.io with SMTP id smtpd.web11.958.1761363625514082462 for ; Fri, 24 Oct 2025 20:40:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HAM2XWVE; spf=pass (domain: gmail.com, ip: 209.85.210.182, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-7a27bf4fbcbso2208191b3a.1 for ; Fri, 24 Oct 2025 20:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363625; x=1761968425; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+4E6ocKA+RbXQSoe/BqL03tmsLjCpbpo+IT5c8r604c=; b=HAM2XWVES1tIvyz2rrOVABNBPbauU5ycyhrJevQy8co/ZFwNPNilNuO7ZIWuNbRSd9 trUGsRqkSxDrQOF7XHfO3JBZH6gooUJRneNFW6VL1m1yOFNHzXw0oH3Sm/XlOMOimro4 vsLaIEccOOsfXdlZgwnbJ0mN1kga2xV1B4QjzWMpTiemcmh5gYC9Zm2oQDWgdNL2FJ0B 6iY4Fk773zUzDd33awv69Sj7YU6NwEOzP7BOqUT150uTK6Wna8058jCPdGcSBl7/ogYd GRuco1k/EwHw9S97ZmUN1qlSaeVm+YZvwxqRFUluyji8fO2eRrA1Z1EQjpoK+EB6CdTH sMfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363625; x=1761968425; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+4E6ocKA+RbXQSoe/BqL03tmsLjCpbpo+IT5c8r604c=; b=YCY5AhCye42imBliIJB+Ox53tFgtp0lVYXgUjVE+JcAZwkvS+MG0H6XvLl3PlXnbj6 q0ukyN2txmS1DMDo6WoiFRIviLeYWk0XCv59yOrwjOk7PsgS432gfwIgkFLLID07e78H UUi6MoCtcPK15GnHtc527wagafT8O7EP1i6LOrtMz8dng+05Xchn3goz9rIfNWHBWM99 Teyxxp0nWlsvddBC69AMLB3cqAVnG8w3cNNbxsXUPuLPOaA0vimvbCWoPXFbZSetf1Ox iRqNoychHaZQD6cflfqlXySQS8MHPTMVNbhp0+8+ZQxOr6bb6/J/6TFDTHJgJmB0oOL+ NkBQ== X-Gm-Message-State: AOJu0Yw9aEwfg+dFLpKwkx/6RV8XPHSFch2/kXAaJk9agtE7U3iQThsH lPHFkbKygxL+fKlLML0QHGe7Vq1D4lLmjr8Up77wDwspyp3lQo/o+AGsCYT2PhB2 X-Gm-Gg: ASbGncuwujPVEm9kHi1KmokHBS2xfG0VhJqyFk9mKhsY2i3nbTsiISgPMYVWRTRDQLR D0D1oqvdQJzhsGwKTp1u8/O+KvU3Qr7/jHAnSjJ2rpq6PwoWghdCcRIEqInJUWFpQ0SSexe3Tdb bAdv3v8kxzDXCSWvktwVfyj88xODepat7iUGOd94P157v7+ChL/7vehAzL0coyTr5DMkyVM4+D4 wygshObwxx3BDGcyVR6a70ZlZ5brkYrHljhMUyvnMGFqac/+wPzZCyfRQA+kTc4GBCUlzHdTsnv 71vFXvEpO76Aon58Xv9VH3H2+i3T6oxil2tm0+bU3qrnoPxoHAC7LHjJNl3ydE/zFo1zqySVPIw yYQcY9Aovr9huw+bXxhiMzjo6yCeqDmwM3j0UcNVl9btzUTI1iM5gkzGoxSzhvNc8H/8bguPIMO N/Lu9ZwDEun+DtdhgGQKxxkjr9PtbQPXZR3kpMOYb+wx62VdaqbkriAfRwWgHDEbfTgQqggshY X-Google-Smtp-Source: AGHT+IFZmOaEULiqorZljBZO0keczJyw4H/lQ5cRI5IzIEfl23XDHA0jiST5VrGsOzMpFPev0GchpQ== X-Received: by 2002:a05:6a20:5493:b0:340:db9b:cfe8 with SMTP id adf61e73a8af0-340db9bd2a9mr2598552637.12.1761363624567; Fri, 24 Oct 2025 20:40:24 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:23 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 05/11] libtorrent: Upgrade to 0.16.1 Date: Fri, 24 Oct 2025 20:40:10 -0700 Message-ID: <20251025034017.2071643-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120989 Fix a m4 script bug Drop CVE_STATUS since this is only needed for < 0.14 release Enable using posix_fallocate when creating a new file to avoid fragmentation Signed-off-by: Khem Raj --- ...mmon.m4-Insert-spaces-in-shell-lists.patch | 45 +++++++++++++++++++ ...torrent_0.14.0.bb => libtorrent_0.16.1.bb} | 12 +++-- 2 files changed, 50 insertions(+), 7 deletions(-) create mode 100644 meta-oe/recipes-connectivity/libtorrent/libtorrent/0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch rename meta-oe/recipes-connectivity/libtorrent/{libtorrent_0.14.0.bb => libtorrent_0.16.1.bb} (76%) diff --git a/meta-oe/recipes-connectivity/libtorrent/libtorrent/0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch b/meta-oe/recipes-connectivity/libtorrent/libtorrent/0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch new file mode 100644 index 0000000000..1740b0f478 --- /dev/null +++ b/meta-oe/recipes-connectivity/libtorrent/libtorrent/0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch @@ -0,0 +1,45 @@ +From 9df2559d55c454c7128b65103456c2f88b3bf2f5 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 24 Oct 2025 08:45:02 -0700 +Subject: [PATCH] scripts/common.m4: Insert spaces in shell lists +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +$1=$(echo "$result" | tr -d '\n') + +removes all newlines without inserting spaces +That usually isn’t what we want for shell lists. +It should typically be space-separated output. + +Fixes a bug seen with yocto where compiler is not a single word +but a string e.g. + +ccache aarch64-yoe-linux-musl-clang++ -mcpu=cortex-a72+crc+nocrypto --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux-musl/libtorrent/0.16.1/recipe-sysroot + +It changes it to + +ccacheaarch64-yoe-linux-musl-clang++-mcpu=cortex-a72+crc+nocrypto--dyld-prefix=/usr-fstack-protector-strong-O2-D_FORTIFY_SOURCE=2-Wformat-Wformat-security-Werror=format-security--sysroot=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux-musl/libtorrent/0.16.1/recipe-sysroot + +When doing c++17 checks on compiler, resulting in failure + +Upstream-Status: Submitted [https://github.com/rakshasa/libtorrent/pull/583] +Signed-off-by: Khem Raj +--- + scripts/common.m4 | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/scripts/common.m4 b/scripts/common.m4 +index 74b99e6a..44a5fe65 100644 +--- a/scripts/common.m4 ++++ b/scripts/common.m4 +@@ -30,7 +30,8 @@ AC_DEFUN([TORRENT_REMOVE_UNWANTED], + $1="$2" + else + result=`echo "${values_to_check}" | $GREP -Fvx -- "${unwanted_values}" | $GREP -v '^$'` +- $1=$(echo "$result" | tr -d '\n') ++ # join with spaces, squeeze repeats, and trim trailing space ++ $1=$(printf '%s\n' "$result" | tr '\n' ' ' | sed 's/ */ /g; s/ *$//') + fi + ]) + diff --git a/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.14.0.bb b/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.16.1.bb similarity index 76% rename from meta-oe/recipes-connectivity/libtorrent/libtorrent_0.14.0.bb rename to meta-oe/recipes-connectivity/libtorrent/libtorrent_0.16.1.bb index 220bb62c64..4a8a68aa15 100644 --- a/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.14.0.bb +++ b/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.16.1.bb @@ -4,16 +4,14 @@ HOMEPAGE = "http://libtorrent.rakshasa.no/" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" -DEPENDS = "zlib libsigc++-2.0 openssl cppunit" +DEPENDS = "zlib curl libsigc++-2.0 openssl cppunit" -SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https" -SRCREV = "08fb6635ba249665cb08a4de1b955288d25c21e1" +SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https;tag=v${PV} \ + file://0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch" +SRCREV = "919d23923ad0a483fa24441093eda1c12cea4c0b" UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" -CVE_STATUS[CVE-2009-1760] = "backported-patch: patched in our product" - - CVE_PRODUCT = "" PACKAGECONFIG ??= "instrumentation aligned" @@ -27,4 +25,4 @@ PACKAGECONFIG[aligned] = "--enable-aligned,--disable-aligned," inherit autotools pkgconfig -EXTRA_OECONF = "--with-zlib=${STAGING_EXECPREFIXDIR}" +EXTRA_OECONF = "--with-posix-fallocate" From patchwork Sat Oct 25 03:40:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DB27CCF9EE for ; Sat, 25 Oct 2025 03:40:34 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mx.groups.io with SMTP id smtpd.web10.954.1761363626671117990 for ; Fri, 24 Oct 2025 20:40:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QgcFmVa0; spf=pass (domain: gmail.com, ip: 209.85.210.181, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-78af743c232so2649379b3a.1 for ; Fri, 24 Oct 2025 20:40:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363626; x=1761968426; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=i9IPhjAXReuNUKGPra4kyLhrLde5ArY7FRqZrK1C2r0=; b=QgcFmVa0vLMkOEnlW9S8FbXlNWVBN1Ppv41zRrFcU01UL37rmDJIc0FlqYSuK2Oskc 7+V4wAEXxCVAGzbiN2pCdTF8AKktSU+U4VKCeOlbY2fZa+IDKZbS7HOn+uiaWpejCWbd r6JxIinqs6SEj65IZO/KiGmHlIi7OoLyDdraJtUOEZxdaYe2G0hpLXXzUdeepvJXnQV/ Eef2oeF5e6EtgGQ01w5uSGHNW1LPNbRS0ssh5V/z3YXUQ1NbbnKiaHg3Bh4657deWHDV KXtZMgwq2FSh8SH4khA4zJfx+huLVfa8F+VynxZUFwaMi1+2BkYLlBBocJ80a+ZAmkXE KqCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363626; x=1761968426; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=i9IPhjAXReuNUKGPra4kyLhrLde5ArY7FRqZrK1C2r0=; b=wRBwuodfyu0pbmoCTP2gNaE/W+HAODsfzPqYmgHKgZkDK7XZuM0uFH8+i0BvkAANvH SQFjUCKGGXH1X2werqr/aHAWe4RIKlXhSoSRopGykN52k66xAojffY5ob9+qL9+QoVhx +ZU5JIovXdYG4yYgfmjHRX2QE63YRtPJQSdHEPqZ/ibvzoNlxadwF+GDQTQPtWSc1JGo vDpK/eiyQeITGLFKoMIF7pZCkFFb5ekpppqubmO/GSH0iZzueIBQyQX22l0gsqFwZ757 I3Fw0B2lmhsS6dCJSD1lvR8sjPnuXSzXWuOc44ZRd4bJzJgPXb79AGVntGAjSftTfRpP LuzA== X-Gm-Message-State: AOJu0YxJJQnBgQf8VvjKbLFMYbEcwDP0K8VsW7AkFpq1jQBgbf2ddQvI ArepWZjjv6iA/6JLVfoy9Dd5QNfdnifl9GrdNbJMVaL3vRuv2IpO2HXkZJmT8O3y X-Gm-Gg: ASbGnctihwG2YQ4+dYBqEKLtmmrxC1TbsxbPEweSM8Vsb/pH76p9xnvFPjU7XbUTWMu /Ptfx8cp/7lv+3YsXkwLeM5d3ZGQdX/OpS5jwfPU3ioZPaw2GtQbVNmoSVu/+Zsjd0o29PTZadq zi4QjJPLUgoOGcLv+l4ZYu/peVqRxpX+9Q1YCl6dZnFHiR30L/241hlSuG+UqPHEp979RSMs4x6 ewNJVDoNMqQ932I0q+kMM9fEmxcU89nObWTEp3/dfEV4LktAyOXo37qBbRZhmRhy0lUptfspGlF vJ9/XI0xJd8Hl4E9Bhmyd8mZEVpSxh+ZLt1/MYjawMq0FCAX4rRbAypKFlKnVK7UktZU7yPgPF/ uVLTggcM2hZm+jA5+ofC32t7ahrgIqhTTVojRT+ssH/LEyexDLGjh/nPXir/VsPS7s3wVcztQif /7AuElI09HYFFfhl6rwoviNN/NHhuPq14RTwgIJFD5R4TetWD0TEIbcbeyXH1dnSXYmVJ9cHVt X-Google-Smtp-Source: AGHT+IGDk0Vigif8oq7RuhkA7q0QbpL5oDUPQWiMZ3Hv/RZKhIp10RRFlznN5Vm55YQR8extuZjQYA== X-Received: by 2002:a05:6a21:3290:b0:334:84e4:d4cc with SMTP id adf61e73a8af0-33de9099b2bmr6580048637.6.1761363625817; Fri, 24 Oct 2025 20:40:25 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:24 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 06/11] python3-ukkonen: Update to latest from git repo Date: Fri, 24 Oct 2025 20:40:11 -0700 Message-ID: <20251025034017.2071643-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120990 It has no releases in past 4 years but git repo is getting updates there are fixes needed to build with newer python and gcc-15 accumulated over time. Switch URI to use git fetcher until next release comes out Signed-off-by: Khem Raj --- .../{python3-ukkonen_1.0.1.bb => python3-ukkonen_git.bb} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-ukkonen_1.0.1.bb => python3-ukkonen_git.bb} (63%) diff --git a/meta-python/recipes-devtools/python/python3-ukkonen_1.0.1.bb b/meta-python/recipes-devtools/python/python3-ukkonen_git.bb similarity index 63% rename from meta-python/recipes-devtools/python/python3-ukkonen_1.0.1.bb rename to meta-python/recipes-devtools/python/python3-ukkonen_git.bb index f1f35ecceb..b9e85e78be 100644 --- a/meta-python/recipes-devtools/python/python3-ukkonen_1.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-ukkonen_git.bb @@ -4,9 +4,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7e49a187324d5a1a6c4ba2b9c3fd4033" PYPI_PACKAGE = "ukkonen" -inherit pypi setuptools3 -SRC_URI[sha256sum] = "976ad9a991c9cb99a7c318695a5f6b46236bbd4c33c5b55273fa241dfca8e0fa" +inherit setuptools3 +PV = "1.0.1+git" +SRC_URI += "git://github.com/asottile/ukkonen;protocol=https;branch=main" +SRCREV = "ad108a16e8203867f4860287b61149e0bdd838ca" DEPENDS += " \ python3-pip-native \ python3-cffi-native \ From patchwork Sat Oct 25 03:40:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50954CCF9F0 for ; Sat, 25 Oct 2025 03:40:34 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.web10.955.1761363628040983866 for ; Fri, 24 Oct 2025 20:40:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=i2ssHF7H; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-7a27bf4fbcbso2208224b3a.1 for ; Fri, 24 Oct 2025 20:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363627; x=1761968427; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7a375od6yz0lHQMjZnEHdCKyHyI9NstHz1PgFxh5yLM=; b=i2ssHF7HoDKX76E53Id8dCyVHyUyqWceeuqnSfWaGE2nLqmK6aYoxhrGNTWPjj5ePU Esal5lhfe468xEHUe9pKCp0VFQqb5x1/WyDtW0T3+PlFmLHuSMArowkDzewmCYQRbS6J vm6ADmn47fa5za021+flkQMTihim0VZZ6nZI7QI6V0isMteiQPoVPLqbY7jeT42/iJTn FRmWtccHj0pjTBqT9pD+JpdHo8LX0PFCifsMGBM5pSTZUORsKcTB1kU6eeDpl1Cnzx98 8g+naIsYoLyGPUTlfjMBgsEHRGx3D99j0xjFaNsxlIihQqoUhmUu9JReo2rilDRyM55y 9N/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363627; x=1761968427; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7a375od6yz0lHQMjZnEHdCKyHyI9NstHz1PgFxh5yLM=; b=F88/Ht9i8dIQzoHoZqZjwJs94D0EZEjamz0Uwa4FkHtGVQkocQ6HHyFqBLb00W7WyG eRSGbYqmVnTSzHL2256t2xR82eYdJLO1Dgw9H6zHCrbvA491g88I1LPopSHAn1qUECLa UXHLqW+wS+3j49/qFruXTo/54e5w3PP6gS5BpeU34nbMnJRCIgYKVQLC2U2+a/udqV4V T5JIxVhof54FR56jm9NqifvkGHzmZ1SBDwN9D8jhwt13rrqZJMbPnuROweFcWAB9IaIz YKUH67tCSl+fsvaqorC3cxpX7dUbbVDDyZbRydmd1A302yh2FyGf1iEirYoGzLSyM/Qs jvtg== X-Gm-Message-State: AOJu0Yw+nNaI1IUnrovtYqQjfLFEzoCcUOPvAk3X5kyNCKGzpDTVltWA UnMVVs3s9O8JGmpfVEwICpSmI4fyk4R/VuYK5Buh2ngOUjRsYUovANzoDZWmxs+H X-Gm-Gg: ASbGnct9jGO3iyjyiq2hJ0wwqzBCFdRpumqiis+yyvIjYDPU9bM1ZcqeramJVwPKEE6 JqCosLhXn6/pbt0PA1ntJspmwjxad79v2U5RbTiThU6hCVnB9A+Ni2mGy2+V6cJ/K2cD6YnEuc3 /IjRSW+QmI4AiUdy77ljGnBZ6e3+9ppzzeHGFfGvuXejm3DNtv/0yLzL6gKfedR5RCOyD6wAwJy 8p17ElQkW7mkfchwbc43Vnw7wWcD9WpxmCGki2o2GefRRB3wHpuQ/wiGXHP0bM8uKOZR9HQrvaK V3IKKMgyIKqHJDC+YEgvZ1rlspMwYHdvxFfdUXJrTOF4Rd+hEZiyYJtPX7oYJMC1ubtcNoC1lht MOySozjBuXJ2jgCl8j0x7sxfCMtwIhp0FNXo4F5pyR3N932JJqpJVsIp6KfZknXyQZFoVshK7/P 0dVHUTVK6REr0L/ZXqFqA4cSDZoh5wi+vpilg2OR6ptULzRaKsAKUd+p8S3oxR+A== X-Google-Smtp-Source: AGHT+IG6RRlSEzfiFEy6YkScnOC+tw4hwGii9HFxIcNCch5keGeieTQAJAvwT8CP10kZo5CgvcjD+Q== X-Received: by 2002:a05:6a00:a87:b0:77e:f03b:d49a with SMTP id d2e1a72fcca58-7a220a995bfmr34652904b3a.19.1761363626849; Fri, 24 Oct 2025 20:40:26 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:26 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 07/11] avro-c,avro-c++: Upgrade to 1.12.1 release Date: Fri, 24 Oct 2025 20:40:12 -0700 Message-ID: <20251025034017.2071643-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120991 The patches are no longer needed Signed-off-by: Khem Raj --- ...0001-Remove-cpp-unittest-compilation.patch | 99 ------------------- ...1-cmake-Port-to-work-with-boost-1.89.patch | 49 --------- ...0002-Add-package-configuration-files.patch | 90 ----------------- .../{avro-c++_1.12.bb => avro-c++_1.12.1.bb} | 16 ++- .../{avro-c_1.12.0.bb => avro-c_1.12.1.bb} | 2 +- 5 files changed, 8 insertions(+), 248 deletions(-) delete mode 100644 meta-oe/recipes-support/avro/avro-c++/0001-Remove-cpp-unittest-compilation.patch delete mode 100644 meta-oe/recipes-support/avro/avro-c++/0001-cmake-Port-to-work-with-boost-1.89.patch delete mode 100644 meta-oe/recipes-support/avro/avro-c++/0002-Add-package-configuration-files.patch rename meta-oe/recipes-support/avro/{avro-c++_1.12.bb => avro-c++_1.12.1.bb} (75%) rename meta-oe/recipes-support/avro/{avro-c_1.12.0.bb => avro-c_1.12.1.bb} (88%) diff --git a/meta-oe/recipes-support/avro/avro-c++/0001-Remove-cpp-unittest-compilation.patch b/meta-oe/recipes-support/avro/avro-c++/0001-Remove-cpp-unittest-compilation.patch deleted file mode 100644 index f33c653069..0000000000 --- a/meta-oe/recipes-support/avro/avro-c++/0001-Remove-cpp-unittest-compilation.patch +++ /dev/null @@ -1,99 +0,0 @@ -From d75f0c5e7a51c9874edad0ea60957e006fb6def5 Mon Sep 17 00:00:00 2001 -From: Rui Costa -Date: Mon, 7 Jul 2025 16:58:30 +0300 -Subject: [PATCH] Remove cpp unittest compilation - -Upstream-Status: Inappropriate [oe-specific] - -Signed-off-by: Rui Costa -Signed-off-by: Alper Ak ---- - lang/c++/CMakeLists.txt | 65 ----------------------------------------- - 1 file changed, 65 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 19059a41b..1f5f98c83 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -149,39 +149,6 @@ set_target_properties (avrocpp_s PROPERTIES - target_link_libraries (avrocpp ${Boost_LIBRARIES} ${SNAPPY_LIBRARIES} fmt::fmt-header-only) - target_include_directories(avrocpp PRIVATE ${SNAPPY_INCLUDE_DIR}) - --add_executable (precompile test/precompile.cc) -- --target_link_libraries (precompile avrocpp_s) -- --macro (gen file ns) -- add_custom_command (OUTPUT ${file}.hh -- COMMAND avrogencpp -- -p - -- -i ${CMAKE_CURRENT_SOURCE_DIR}/jsonschemas/${file} -- -o ${file}.hh -n ${ns} -- DEPENDS avrogencpp ${CMAKE_CURRENT_SOURCE_DIR}/jsonschemas/${file}) -- add_custom_target (${file}_hh DEPENDS ${file}.hh) --endmacro (gen) -- --gen (empty_record empty) --gen (bigrecord testgen) --gen (bigrecord_r testgen_r) --gen (bigrecord2 testgen2) --gen (tweet testgen3) --gen (union_array_union uau) --gen (union_map_union umu) --gen (union_conflict uc) --gen (union_empty_record uer) --gen (recursive rec) --gen (reuse ru) --gen (circulardep cd) --gen (tree1 tr1) --gen (tree2 tr2) --gen (crossref cr) --gen (primitivetypes pt) --gen (cpp_reserved_words cppres) --gen (cpp_reserved_words_union_typedef cppres_union) -- - add_executable (avrogencpp impl/avrogencpp.cc) - target_link_libraries (avrogencpp avrocpp_s) - -@@ -194,38 +161,6 @@ target_include_directories(avrocpp PUBLIC - $ - ) - --enable_testing() -- --macro (unittest name) -- add_executable (${name} test/${name}.cc) -- target_link_libraries (${name} avrocpp ${Boost_LIBRARIES} ${SNAPPY_LIBRARIES}) -- add_test (NAME ${name} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} -- COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${name}) --endmacro (unittest) -- --unittest (buffertest) --unittest (unittest) --unittest (SchemaTests) --unittest (LargeSchemaTests) --unittest (CodecTests) --unittest (StreamTests) --unittest (SpecificTests) --unittest (DataFileTests) --unittest (JsonTests) --unittest (AvrogencppTests) --unittest (CompilerTests) --unittest (AvrogencppTestReservedWords) --unittest (CommonsSchemasTests) -- --add_dependencies (AvrogencppTestReservedWords cpp_reserved_words_hh) -- --add_dependencies (AvrogencppTests bigrecord_hh bigrecord_r_hh bigrecord2_hh -- tweet_hh -- union_array_union_hh union_map_union_hh union_conflict_hh -- recursive_hh reuse_hh circulardep_hh tree1_hh tree2_hh crossref_hh -- primitivetypes_hh empty_record_hh cpp_reserved_words_union_typedef_hh -- union_empty_record_hh) -- - include (InstallRequiredSystemLibraries) - - set (CPACK_PACKAGE_FILE_NAME "avrocpp-${AVRO_VERSION_MAJOR}") --- -2.43.0 - diff --git a/meta-oe/recipes-support/avro/avro-c++/0001-cmake-Port-to-work-with-boost-1.89.patch b/meta-oe/recipes-support/avro/avro-c++/0001-cmake-Port-to-work-with-boost-1.89.patch deleted file mode 100644 index 0411f2fded..0000000000 --- a/meta-oe/recipes-support/avro/avro-c++/0001-cmake-Port-to-work-with-boost-1.89.patch +++ /dev/null @@ -1,49 +0,0 @@ -From f7c76ff3d693e6df5693fcd2864101b9913b1a44 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 30 Aug 2025 18:16:10 -0700 -Subject: [PATCH] cmake: Port to work with boost 1.89+ - -boost 1.88 does not have boost system libs anymore - -Upstream-Status: Pending -Signed-off-by: Khem Raj ---- - CMakeLists.txt | 25 ++++++++++++++----------- - 1 file changed, 14 insertions(+), 11 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 73596a6..42f4225 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -80,17 +80,20 @@ endif () - - - find_package (Boost 1.38 REQUIRED -- COMPONENTS filesystem iostreams program_options regex system) -- --include(FetchContent) --FetchContent_Declare( -- fmt -- GIT_REPOSITORY https://github.com/fmtlib/fmt.git -- GIT_TAG 10.2.1 -- GIT_PROGRESS TRUE -- USES_TERMINAL_DOWNLOAD TRUE --) --FetchContent_MakeAvailable(fmt) -+ COMPONENTS filesystem iostreams program_options regex) -+ -+find_package(fmt) -+if (NOT fmt_FOUND) -+ include(FetchContent) -+ FetchContent_Declare( -+ fmt -+ GIT_REPOSITORY https://github.com/fmtlib/fmt.git -+ GIT_TAG 10.2.1 -+ GIT_PROGRESS TRUE -+ USES_TERMINAL_DOWNLOAD TRUE -+ ) -+ FetchContent_MakeAvailable(fmt) -+endif (NOT fmt_FOUND) - - find_package(Snappy) - if (SNAPPY_FOUND) diff --git a/meta-oe/recipes-support/avro/avro-c++/0002-Add-package-configuration-files.patch b/meta-oe/recipes-support/avro/avro-c++/0002-Add-package-configuration-files.patch deleted file mode 100644 index 982e37d5b8..0000000000 --- a/meta-oe/recipes-support/avro/avro-c++/0002-Add-package-configuration-files.patch +++ /dev/null @@ -1,90 +0,0 @@ -From 01a29c294c898cf6e13fb500b8514e9982982e1f Mon Sep 17 00:00:00 2001 -From: Rui Costa -Date: Mon, 7 Jul 2025 18:16:35 +0300 -Subject: [PATCH] Add package configuration files - -Upstream-Status: Pending - -Signed-off-by: Rui Costa -Signed-off-by: Alper Ak ---- - lang/c++/CMakeLists.txt | 46 ++++++++++++++++++++++++------ - lang/c++/cmake/AvroCppConfig.cmake | 5 ++++ - 2 files changed, 43 insertions(+), 8 deletions(-) - create mode 100644 lang/c++/cmake/AvroCppConfig.cmake - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1f5f98c83..73596a6cf 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -167,18 +167,48 @@ set (CPACK_PACKAGE_FILE_NAME "avrocpp-${AVRO_VERSION_MAJOR}") - - include (CPack) - --install (TARGETS avrocpp avrocpp_s -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib -- RUNTIME DESTINATION lib) -- --install (TARGETS avrogencpp RUNTIME DESTINATION bin) -- --install (DIRECTORY include/avro DESTINATION include -+install(TARGETS avrocpp -+ EXPORT AvroCppTargets -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) -+ -+install(TARGETS avrogencpp -+ EXPORT AvroCppTargets -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) -+ -+install(DIRECTORY include/avro DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} - FILES_MATCHING PATTERN *.hh) - -+ - if (NOT CMAKE_BUILD_TYPE) - set (CMAKE_BUILD_TYPE Release CACHE STRING - "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." - FORCE) - endif (NOT CMAKE_BUILD_TYPE) -+ -+# Create cmake config files -+include(CMakePackageConfigHelpers) -+write_basic_package_version_file( -+ "${CMAKE_CURRENT_BINARY_DIR}/AvroCppConfigVersion.cmake" -+ VERSION ${AVRO_VERSION_MAJOR}.${AVRO_VERSION_MINOR}.${AVRO_VERSION_PATCH} -+ COMPATIBILITY AnyNewerVersion -+) -+ -+configure_file(cmake/AvroCppConfig.cmake -+ "${CMAKE_CURRENT_BINARY_DIR}/AvroCppConfig.cmake" -+ COPYONLY -+) -+ -+set(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/avrocpp) -+install(EXPORT AvroCppTargets -+ FILE AvroCppTargets.cmake -+ NAMESPACE AvroCpp:: -+ DESTINATION ${ConfigPackageLocation} -+) -+install(FILES -+ "cmake/AvroCppConfig.cmake" -+ "${CMAKE_CURRENT_BINARY_DIR}/AvroCppConfigVersion.cmake" -+ DESTINATION ${ConfigPackageLocation} -+ COMPONENT Devel) -diff --git a/lang/c++/cmake/AvroCppConfig.cmake b/lang/c++/cmake/AvroCppConfig.cmake -new file mode 100644 -index 000000000..deb8aaa31 ---- /dev/null -+++ b/cmake/AvroCppConfig.cmake -@@ -0,0 +1,5 @@ -+include(CMakeFindDependencyMacro) -+find_dependency(Boost 1.38 REQUIRED -+ COMPONENTS filesystem iostreams program_options regex system) -+ -+include("${CMAKE_CURRENT_LIST_DIR}/AvroCppTargets.cmake") --- -2.43.0 - diff --git a/meta-oe/recipes-support/avro/avro-c++_1.12.bb b/meta-oe/recipes-support/avro/avro-c++_1.12.1.bb similarity index 75% rename from meta-oe/recipes-support/avro/avro-c++_1.12.bb rename to meta-oe/recipes-support/avro/avro-c++_1.12.1.bb index a07ddbfe52..729763d133 100644 --- a/meta-oe/recipes-support/avro/avro-c++_1.12.bb +++ b/meta-oe/recipes-support/avro/avro-c++_1.12.1.bb @@ -7,15 +7,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=34cb96edab958a981837bf6f44bf654d" DEPENDS = "boost" -SRC_URI = "git://github.com/apache/avro.git;branch=branch-1.12;protocol=https;name=avro-c++ \ - git://github.com/fmtlib/fmt.git;branch=10.x;protocol=https;name=fmt;destsuffix=_deps/fmt-src \ - file://0001-Remove-cpp-unittest-compilation.patch \ - file://0002-Add-package-configuration-files.patch \ - file://0001-cmake-Port-to-work-with-boost-1.89.patch \ - " - -SRCREV_FORMAT = "avro-c++ fmt" -SRCREV_avro-c++ = "8c27801dc8d42ccc00997f25c0b8f45f8d4a233e" +SRC_URI = "git://github.com/apache/avro.git;branch=branch-1.12;protocol=https;name=avro-c++;tag=release-${PV} \ + git://github.com/fmtlib/fmt.git;branch=10.x;protocol=https;name=fmt;destsuffix=_deps/fmt-src \ + " + +SRCREV_FORMAT = "avro-c++_fmt" +SRCREV_avro-c++ = "9110c693767c1dde2665b2b57939333478b12036" # Tag 10.2.1 SRCREV_fmt = "e69e5f977d458f2650bb346dadf2ad30c5320281" @@ -23,6 +20,7 @@ S = "${UNPACKDIR}/${BP}/lang/c++" inherit cmake pkgconfig +EXTRA_OECMAKE += "-DAVRO_BUILD_TESTS=OFF" do_configure:prepend() { install -d ${B}/_deps cp -r ${UNPACKDIR}/_deps/fmt-src ${B}/_deps/ diff --git a/meta-oe/recipes-support/avro/avro-c_1.12.0.bb b/meta-oe/recipes-support/avro/avro-c_1.12.1.bb similarity index 88% rename from meta-oe/recipes-support/avro/avro-c_1.12.0.bb rename to meta-oe/recipes-support/avro/avro-c_1.12.1.bb index 3876f5e308..aa3677684a 100644 --- a/meta-oe/recipes-support/avro/avro-c_1.12.0.bb +++ b/meta-oe/recipes-support/avro/avro-c_1.12.1.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6d502b41f76179fc84e536236f359cae" DEPENDS = "jansson zlib xz" BRANCH = "branch-1.12" -SRCREV = "8c27801dc8d42ccc00997f25c0b8f45f8d4a233e" +SRCREV = "9110c693767c1dde2665b2b57939333478b12036" SRC_URI = " \ git://github.com/apache/avro;branch=${BRANCH};protocol=https;tag=release-${PV} \ " From patchwork Sat Oct 25 03:40:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73023 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AC5DCCF9E3 for ; Sat, 25 Oct 2025 03:40:34 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mx.groups.io with SMTP id smtpd.web11.959.1761363628566379946 for ; Fri, 24 Oct 2025 20:40:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PvZkBEXB; spf=pass (domain: gmail.com, ip: 209.85.210.172, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-7a2754a7f6aso3428161b3a.1 for ; Fri, 24 Oct 2025 20:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363628; x=1761968428; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=gHouysLw2ysBMKOY8yOHa4zUJM7H+b9pk8KNhjFS7Lg=; b=PvZkBEXBMBg4PPS0CkIxB4hfDI5Op+4ngFI6QW50PAtoqQUG9VnxtrS/MeTK8u7/km yip0LKZtayPXRCaLslyj2LURdICBU+JZkr13t9BNzpJHkXLoj9MRGFH2jO3BvC0He3iN lFbq0o6SJPZZpApiYbnJ01WiDBmfvdX2As33u5g/l2CGMuTQknrifHg2ve5uCP5dXFT0 bVNMoHGJKac1ni/+swPjRpdv/GWjKQ6dtksgISuz+P1Hz5F3H6/wKPctJseQPhiqIZi7 7qY2Iee/donvCcWDraenvabtJOOHtyVBGErM6wGsbXI3/ebf8xtUZCpQqBVgQouIkOmn MS2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363628; x=1761968428; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gHouysLw2ysBMKOY8yOHa4zUJM7H+b9pk8KNhjFS7Lg=; b=imk2qGEdZ/hRqkAtZLL+WQBgxuL28jhR5aLpF3rBfzvGh9n0aitI/9dbMcLuUoJh+A y7ZpVkqU+WHBvQ1CsIGu8c8zfsskOpW/SsMfA8v/hzFCjMf1zlCCK1kzinanS5JeOej8 b5RUCvsWAWcIoq3k/scEx9N/ghnvH57i018zIc5c2wgrxLdvCu21+cmxZ9I0roxXZzf9 VpjGRyfrHCy36R6s216HME2yEMn/OKFMnmeYXiSzUv/pO6eCI8exi3HCeXvJp2yJONmh Y7wXcw/C9VZIqJ3Dl4WM4eaD67zsSp4og6iWOsfsLNXsXRkIHQzfofZLfuZK2/A7Jxwg uWwQ== X-Gm-Message-State: AOJu0YyzZY8gtywM208dPhnDlHsjF1WcCtWCdbmxiKIdebsQqBN7STvO k9L8D5jlHBWOD+AWHOsOzhIBbRDJoDpDwgtkHzW9IQerj/RfAcGSXu+ZFiQXBvWx X-Gm-Gg: ASbGncuQGJ2U0a4Ebp33Qck1WNFpSdVsZxeiHio6Yje4aPR2/LX67i7WDjkSBHMiCOq 4Q0v/mXbBg9R39TW/H4SMauPRyCHKuOoKh+yW6zrj1Bah1QHR8fZWdrNglEfBkxaOkOUrO/fn4b uxWPr81gQO/9z4+C5XqxaP5MDZtvFFib5eF52WBhqnTa/fA8sz284dWBkc21Mh5I8UmBkO/FfpR VHLBhzM/rHW7296dK3xiVihsXsVQu5VnXjCA6Ol/q+RaJ3pC0DaGVxWKT55BLEjBn8TnMKYZ9mF HjhJpZo+ZCX6QIbpYLLgUQvvcHlNDBuaG2qrpmmCPNWNUPAreYz4prS5+8vM2eLSMLEbC3b6PHj BvYb7yTWQnE1XVPfbX3J4GzvHHbJfT3N2xfeJQcXCtmmN4WAVfEKO5l4r3hd9wT+6s+zSzS8FmM gL5eAhjGbY1SMpjDUbyhtQbpX/mfiJHwrDx2WrIQNzEbPMOrFrtLpNeXWUtIroSPTi/H2zpkyK X-Google-Smtp-Source: AGHT+IFvav4b/+1FixSLFxaR617Hg4bDdViYQeNmTprSRVEoD/rMGvWq9JtMWCKr+QqNjZ5qP7AqFg== X-Received: by 2002:a05:6a00:3a05:b0:781:d98e:ebda with SMTP id d2e1a72fcca58-7a220d2fbddmr35485614b3a.30.1761363627654; Fri, 24 Oct 2025 20:40:27 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:27 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 08/11] mariadb: Fix build with musl/gcc-15 Date: Fri, 24 Oct 2025 20:40:13 -0700 Message-ID: <20251025034017.2071643-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120992 Add cstdint for uint_64_t for more files Signed-off-by: Khem Raj --- ...-missing-includes-cstdint-and-cstdio.patch | 40 ++++++++++++++----- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch index bc1b992919..4bbdd8c7eb 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch @@ -17,8 +17,6 @@ Signed-off-by: Mingli Yu storage/rocksdb/rocksdb/util/string_util.h | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) -diff --git a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h -index 7fb9d489..f7b4e6f0 100644 --- a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h +++ b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h @@ -8,6 +8,7 @@ @@ -29,8 +27,6 @@ index 7fb9d489..f7b4e6f0 100644 #include #include #include "rocksdb/status.h" -diff --git a/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h b/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h -index f356395f..32152217 100644 --- a/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h +++ b/storage/rocksdb/rocksdb/table/block_based/data_block_hash_index.h @@ -5,6 +5,7 @@ @@ -41,8 +37,6 @@ index f356395f..32152217 100644 #include #include -diff --git a/storage/rocksdb/rocksdb/util/slice.cc b/storage/rocksdb/rocksdb/util/slice.cc -index 3c3656de..b18d7f5d 100644 --- a/storage/rocksdb/rocksdb/util/slice.cc +++ b/storage/rocksdb/rocksdb/util/slice.cc @@ -12,7 +12,7 @@ @@ -54,8 +48,6 @@ index 3c3656de..b18d7f5d 100644 #include "rocksdb/convenience.h" #include "rocksdb/slice_transform.h" #include "rocksdb/utilities/object_registry.h" -diff --git a/storage/rocksdb/rocksdb/util/string_util.h b/storage/rocksdb/rocksdb/util/string_util.h -index 7794dbb0..b480177e 100644 --- a/storage/rocksdb/rocksdb/util/string_util.h +++ b/storage/rocksdb/rocksdb/util/string_util.h @@ -6,6 +6,7 @@ @@ -66,5 +58,33 @@ index 7794dbb0..b480177e 100644 #include #include #include --- -2.40.0 +--- a/storage/rocksdb/rocksdb/include/rocksdb/trace_record.h ++++ b/storage/rocksdb/rocksdb/include/rocksdb/trace_record.h +@@ -5,6 +5,7 @@ + + #pragma once + ++#include + #include + #include + #include +--- a/storage/rocksdb/rocksdb/db/blob/blob_file_meta.h ++++ b/storage/rocksdb/rocksdb/db/blob/blob_file_meta.h +@@ -6,6 +6,7 @@ + #pragma once + + #include ++#include + #include + #include + #include +--- a/storage/rocksdb/rocksdb/include/rocksdb/utilities/transaction_db_mutex.h ++++ b/storage/rocksdb/rocksdb/include/rocksdb/utilities/transaction_db_mutex.h +@@ -6,6 +6,7 @@ + #pragma once + #ifndef ROCKSDB_LITE + ++#include + #include + + #include "rocksdb/status.h" From patchwork Sat Oct 25 03:40:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73020 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20434CCF9E0 for ; Sat, 25 Oct 2025 03:40:34 +0000 (UTC) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mx.groups.io with SMTP id smtpd.web10.956.1761363629680900257 for ; Fri, 24 Oct 2025 20:40:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BuAlffb2; spf=pass (domain: gmail.com, ip: 209.85.210.180, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-7a27053843bso3859424b3a.1 for ; Fri, 24 Oct 2025 20:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363629; x=1761968429; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HRGxzbn/GGxK8z6HAIHgzAjlSB4nqaNVl0G8va6HhFY=; b=BuAlffb2cHVCPNV2Ii59n4bIemvkFjxqmCllCMxtN+r5NB/4e5YlyTGz51VvvcO5Uw W8Os1KvztzCZB+fr+u1x9kV3hbxJJRrjstzOoa+cR4xocG7YeS2qOe3bmLb/pJt4Te1n JJwrhRUjxaNUS249WNy/JiXbtSJZ8IErXJOYgrhbCzevuSKwZslHC+vbPvDM1Xwqlq7w 7lZjQunx0iOiTu0dJxi/7uOh0Y4Nnb4ij/mwLdCLBztEWGlwg8sdQbwLo/YX/meeWkn2 amsmRBqPQccr5hp6cWZW+xkO+aXz4bOPGW2wqcwo+2J0bDTBlglS2TOAvEy9uYNZNPzJ /LPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363629; x=1761968429; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HRGxzbn/GGxK8z6HAIHgzAjlSB4nqaNVl0G8va6HhFY=; b=pUc6ig5eg5Fy25NuNJtH+tD8Tf9pPenshNUgeA5eCdcVHb2wYdjRQTDlIH/8Ai28yu D7kVHNBM2Ft9CzhhGrG3x4rUM2ttPVNSA9W1Ux2MqYzul93yCOSyVIqpTN3ctk6X0sJX obw7oC8Zof9v7nSPotNtc0ZwQzY09JN1kQuqlt7Buse8Ac4cHvAtqIcRISJyrSXGNBeI h4t+KFdnYunUwxeAZlD/vofX4iFFZub2Fy05XMXpHGNhqt5aRZUhpf86mjBFSmUCVl1g HpE41kY5R4B6PxkG/pY7abTBWhJLLnyXuNESA4yMJEK0pG9XSH5ABuLDcj9XWiljF+9m HrbQ== X-Gm-Message-State: AOJu0Yzz5QyOfYj2q9p7TSmoJGOQHMa1zMP+87qqe6bJSSiSC26fJ2np 1qxrakhIYCy6rpKF3F6Mt2Y3JYFnjf/AcpFrnoUxr7b7UVD7PZow08hffX9OTtbs X-Gm-Gg: ASbGnctkU6mga/Xa/1wzeGBWV3XK9bB53dQ55vfnsR/A7BvDDj8in2GZTcOf9F2Xz9f vtk34t48PkoAezFL8t3zFUkdFDwFpYsJeNu3DHq29Mez80M98vNKHhJ10xIVHXK9WCEAqVeXKRO FS0imGqEoE+O5ihVQWQrvNo8tUJ777sk7GkP7bl4m7mYMlLnb4nozrFcZ2TCLUUgHngijhWlYFR 7jhYGuKQxRCwDoGUPXaJoseBOrpDmk+eBMw6aXSyvMuYFNQcAAue12TKBrP/K66vtQLXri1Xllr VDvdl+sIQf9aRuGjAAE3QJa6e9FT8swu5i7iff69U69+naKe0QNCTmP3necIDtVzMfcl68Iwp2e V5e9l8xfZYj4hj92yN0SMsSlH+EQuyafKgOpCuTRqhI9tHU4ZLOaTU4c9WRXjoweja6bqx9x/Fi 15DMAUFyvQvnPiLZqk3X4/QWMO5spWMEpB5qaGtgzxoKCp1a9cqyNgHX+tPxliznBGUpG56oL/ X-Google-Smtp-Source: AGHT+IHM8sibFJ4K1C7JPrxHuJU4vvVqbQxW3i4JarvfXp3X66doVaBDRvUP1ERXLMH9SS2VjFX3oA== X-Received: by 2002:a05:6a00:2e85:b0:77f:50df:df36 with SMTP id d2e1a72fcca58-7a286803147mr5465870b3a.18.1761363628788; Fri, 24 Oct 2025 20:40:28 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:28 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-python][PATCH 09/11] python3-pybase64: Switch to PEP-517 build backend Date: Fri, 24 Oct 2025 20:40:14 -0700 Message-ID: <20251025034017.2071643-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120993 The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend. Fixes WARNING: python3-pybase64-1.4.2-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend] Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pybase64_1.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-pybase64_1.4.2.bb b/meta-python/recipes-devtools/python/python3-pybase64_1.4.2.bb index a551034168..2246f93e8c 100644 --- a/meta-python/recipes-devtools/python/python3-pybase64_1.4.2.bb +++ b/meta-python/recipes-devtools/python/python3-pybase64_1.4.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/mayeut/pybase64" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=84b11fa55a5d83cf6fa202fd3b49c7e8" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "46cdefd283ed9643315d952fe44de80dc9b9a811ce6e3ec97fd1827af97692d0" From patchwork Sat Oct 25 03:40:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73021 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29F79CCF9EB for ; Sat, 25 Oct 2025 03:40:34 +0000 (UTC) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mx.groups.io with SMTP id smtpd.web10.957.1761363630622196323 for ; Fri, 24 Oct 2025 20:40:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DgKuKSjy; spf=pass (domain: gmail.com, ip: 209.85.210.170, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-7a26ea3bf76so3722250b3a.2 for ; Fri, 24 Oct 2025 20:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363630; x=1761968430; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rNDHYI9bDd/DTqYN11D1obTSQFFkiNrI+XWB81LqjJk=; b=DgKuKSjyNcwTJxau/7oCBYhi9xehiJmAWOecDYa2YAhLS7mK0Osf1O2Iz/c1OY5/fk DFLmNymfOe5rplUZrE2qgpLsPFCwtsMAvovMIl6h7LCm6BptSBWJOygEUsN8l9LpOejG rOyab5YOqT/0AOT3TY1KDkM0etqgew8TOJzSjQxofnpOAI1o4HMnLhDvEmbSjjc9fC4v erzNKb2qaLl+K3/KVsVtwwl4BVaLehMVvd2YR7LPHpnJvyhStgQH0hYp3Bhr6Tti8tyh z4QBQ7q8aYnyVAjHzWDs1N0vnOy0utI0NkOyqaCVEyWgyxus8LK07m+t/Q/6Ali5P+fK QuYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363630; x=1761968430; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rNDHYI9bDd/DTqYN11D1obTSQFFkiNrI+XWB81LqjJk=; b=Ct+h2+b7rhT8aPHWXEoGP9GsYrrlX0b0kOqTuB1NKiNGtSv54dSH3/aKcWclHyD6/q UBn2cQVj2WFRZBAwyGfmOjdId+wQbIZhirvDJhkqS1GMT1N9/OVOTzInrhgVQvdtapo4 C/tyNfTG7KEp6tVB3qvn/07TZgLLg9qgAkeMliZKdj9VhM/89IS4V9/q5FBAQErectXn cB+CcDYcdotOOsxjrRbs6uFENl+V5PEboG+V8fYFUiTREHK/8tasQ4D4Bt5yb5y/YFpf oiRKWh0+/Kf/Ied9tT9BvqENE2DIe/welEVv2a0Mg1vZZR9DGotZBDuqqOCcsteRSZVY UjEg== X-Gm-Message-State: AOJu0Yw9QM4uk1EzVfQ4RBQfbfguvidMeEhALo1tJF3Q117M5HjClYsH b5dNBsRf7BgaQIkRjum1LcC71iSirMkVZaN6v1rHLDqp+9gMac487C2Z3jOxBSJv X-Gm-Gg: ASbGncu2bw+/4lkq34n7omA4V5kCoiN+Vyqynq/Evsm4+B124v35Ji8nUZz31hgmVbM ObdrWH4uyvK3EBkGf66FyB7vtUex/EsdDNA5+Y2ipc9AIbypFHwJ2vl3EDdvqALras6n6YZ+Lok jjLIl0TUPXNDhyZ3JavcPuGGkb9GiQZszgDxf+rQ/8eWiOtnu89QdXggHfIei5vRIMklVKpd7It 4lrkuhpqmimw4YCX+Z7ftd92KIVhYX1xIPdDx11umUNkdQ9oOpXQzms5d48PjI1HjfPLB6qYYgq bkvNrq/zAi5LprgLarC1QExBohbJxNRvBdNzYntFOxG6kKSvNmwXNylLn71ssO5EbArD7Z1YxvO dEABxsHqkQKciyoIKCRW9y90PR0kLN8v6mkcMTQEooy9iKeJTsO8Ri9Lnaf+5CYPYt4wD9MuGzp bkK7t1+I5MRhdlPcB6rCfUOPUUMgD/0kwaj+Ih/CbFtIcLD9AK/UjtBFO34RAFl31E81everWhl AUM73ScdZY= X-Google-Smtp-Source: AGHT+IFoU6ughT3W/NpMinfQAFvB/jldrr+t/Y0UUP4mO1WkdHNdUFZs9kqQ7BKjcWmeXgjFu1ytJg== X-Received: by 2002:a05:6a20:7d8b:b0:33a:f317:58ac with SMTP id adf61e73a8af0-33dece2b1ecmr5673827637.59.1761363629731; Fri, 24 Oct 2025 20:40:29 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:29 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 10/11] poco: Link with libatomic on x86 Date: Fri, 24 Oct 2025 20:40:15 -0700 Message-ID: <20251025034017.2071643-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120994 It does not have compiler intrinsics for 64bit atomics Fixes i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_compare_exchange Signed-off-by: Khem Raj --- meta-oe/recipes-support/poco/poco_1.14.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-support/poco/poco_1.14.2.bb b/meta-oe/recipes-support/poco/poco_1.14.2.bb index 8f81fac77b..8cdcf3649c 100644 --- a/meta-oe/recipes-support/poco/poco_1.14.2.bb +++ b/meta-oe/recipes-support/poco/poco_1.14.2.bb @@ -77,6 +77,7 @@ EXTRA_OECMAKE:append = " -DCMAKE_SKIP_RPATH=ON" LDFLAGS:append:riscv32 = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}" LDFLAGS:append:mips = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}" LDFLAGS:append:powerpc = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}" +LDFLAGS:append:x86 = "${@bb.utils.contains('PACKAGECONFIG', 'Prometheus', ' -Wl,--no-as-needed -latomic -Wl,--as-needed', '', d)}" python populate_packages:prepend () { poco_libdir = d.expand('${libdir}') From patchwork Sat Oct 25 03:40:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 73022 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EC0DCCF9EC for ; Sat, 25 Oct 2025 03:40:34 +0000 (UTC) Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by mx.groups.io with SMTP id smtpd.web10.958.1761363631821942474 for ; Fri, 24 Oct 2025 20:40:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GLjVKxDF; spf=pass (domain: gmail.com, ip: 209.85.210.174, mailfrom: raj.khem@gmail.com) Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-7a4176547bfso53228b3a.2 for ; Fri, 24 Oct 2025 20:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761363631; x=1761968431; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pWR0OKPVCeDBqgUlGR0uOX2frpfEZvJWI2fzXqqz2Dk=; b=GLjVKxDFI8N8CYqy58mCtQm9yWHE2VBCAL7/na749cUMb7XtoCKCjFVkYr/dUrJo4v a13acZhsQ6JYeDlJnEFG0vLWTIm8nDPSu9K1Apb06t4pUNfuRhgHX0Vp4nm10Px3rH1s TjmEeYoA0LxwPF6X4wUJ1IKXsfLfV49GmYawZWchnWHHxIQ4cWfecY8pBZctiaLoLXja HOlmU65JBTJEZ2aFAylMh4jMPajfUCe5HyIpGdE3YagSAIRjQF9kVLLpTTOgaslxNMfm PPQoW2HBCjO47jL3V6TT+VDaxWN5fdZp7uivtmVxlUb4gzI3qE5vIY3s3c1tCn7m+ORe pdxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761363631; x=1761968431; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pWR0OKPVCeDBqgUlGR0uOX2frpfEZvJWI2fzXqqz2Dk=; b=fsr4AHDKqm4KWLbcchcOBC+6FF4UaHAZIryF9beqAUBz9mJlu6fjf1n+l+TuggvFZZ tIEjBojlhT63jyohQxBEYobNAIC4UEtsds5+fOxQb7I+L/GnWgGyKkqPAW7pVT39af/f YQxa8vViVJmBdUUmve7QHrFdm4qwD9u3df6aTNF+zahvzERwX7uafr4mXEOttrl8qUBF sksezrLdoGS/CQjsS2+XGkiC2nJ7dZkm+kkUkd4iEl90yvlmlKnfa/43INmNnz8JLTqT 6dS+Q/qJUkVzWiV6rNDwr104rpvN26aZLeqBgHoh40RsS1zexZFvdhlXtoCeS408Ts/E GlOg== X-Gm-Message-State: AOJu0YzIopwmzkgOPvRCg1al09eThMa6IEOKWUQ96/ZF28WsxfUpCApo Aim0VlPVR278nXg0GYiZE1SFWudocr27JQxQJVZmodu3t2c55W3f50iXnWUVzrfB X-Gm-Gg: ASbGncs4PlxYg0IWd49KYQngz/kk+D/C9O76e7KMlQmG8IqZthUk3pyiHU6ZBxMThgn bCvxmOfEGDiYCTzW39sdTgrVvzdvU03fUdVSacc/WP6IumJCiV+3+9M5zZOn0ZzNbmiW/68SfmZ DxjCnr15uoSic7RmFuos7vp2epf0DCh3xO5DVyuRxm88CfIL1QXp+6Ou3duBvdi1A2ILElv0mxH Amt0gMqEP9KQl920Mldq2qQ3SPsl1wpXgwBr+OU2dTzRlzWGmhdsJIpINC/9bwj2Hw5NWFOEYGp ywMNhKg0Ft7gj/iWo9nm38mg4aI2f5wqZn4Xr+UQc5X06De1SCS5WaWcybN2D8RHh6/ltVP/W6W 9qjnBhTZOzAqPmz8DsjicP1X1qeS5G89fjKFFtF4dDirraWdGPYqhiYehxW5ABIAo0OTyOHnSPI /vEGXxe2sLqjYCP2Sda8QTUz2v7vutY815g7krq6WgB3JbLRw/9ZegieMdMt+1j5ZG7RJUxgNo X-Google-Smtp-Source: AGHT+IEkZCosq+TXyj5eTaE/xrsEWBicE7g2EBH0PqVN45puY96AJql+v4+t2vXN+mzljr9TWTMY7g== X-Received: by 2002:a05:6a00:2d28:b0:7a2:6fce:19bf with SMTP id d2e1a72fcca58-7a28682370emr7372772b3a.17.1761363630816; Fri, 24 Oct 2025 20:40:30 -0700 (PDT) Received: from apollo.tail3ccdd3.ts.net ([2601:646:8201:fd20::9dbe]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7a414012bf4sm808487b3a.1.2025.10.24.20.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Oct 2025 20:40:30 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 11/11] rtorrent: Upgrade to 0.16.1 Date: Fri, 24 Oct 2025 20:40:16 -0700 Message-ID: <20251025034017.2071643-11-raj.khem@gmail.com> X-Mailer: git-send-email 2.51.1 In-Reply-To: <20251025034017.2071643-1-raj.khem@gmail.com> References: <20251025034017.2071643-1-raj.khem@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 25 Oct 2025 03:40:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120995 Add a patch for m4 macros Disable execinfo on musl as it does not support it Signed-off-by: Khem Raj --- ...mmon.m4-Insert-spaces-in-shell-lists.patch | 45 +++++++++++++++++++ ...{rtorrent_0.10.0.bb => rtorrent_0.16.1.bb} | 15 +++---- 2 files changed, 50 insertions(+), 10 deletions(-) create mode 100644 meta-oe/recipes-connectivity/rtorrent/rtorrent/0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch rename meta-oe/recipes-connectivity/rtorrent/{rtorrent_0.10.0.bb => rtorrent_0.16.1.bb} (57%) diff --git a/meta-oe/recipes-connectivity/rtorrent/rtorrent/0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch b/meta-oe/recipes-connectivity/rtorrent/rtorrent/0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch new file mode 100644 index 0000000000..bd075c0b21 --- /dev/null +++ b/meta-oe/recipes-connectivity/rtorrent/rtorrent/0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch @@ -0,0 +1,45 @@ +From da3687c276078e8ad1df3c972bd1d5deaffb3dc5 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 24 Oct 2025 08:45:02 -0700 +Subject: [PATCH] scripts/common.m4: Insert spaces in shell lists +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +$1=$(echo "$result" | tr -d '\n') + +removes all newlines without inserting spaces +That usually isn’t what we want for shell lists. +It should typically be space-separated output. + +Fixes a bug seen with yocto where compiler is not a single word +but a string e.g. + +ccache aarch64-yoe-linux-musl-clang++ -mcpu=cortex-a72+crc+nocrypto --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux-musl/libtorrent/0.16.1/recipe-sysroot + +It changes it to + +ccacheaarch64-yoe-linux-musl-clang++-mcpu=cortex-a72+crc+nocrypto--dyld-prefix=/usr-fstack-protector-strong-O2-D_FORTIFY_SOURCE=2-Wformat-Wformat-security-Werror=format-security--sysroot=/mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux-musl/libtorrent/0.16.1/recipe-sysroot + +When doing c++17 checks on compiler, resulting in failure + +Upstream-Status: Submitted [https://github.com/rakshasa/rtorrent/pull/1620] +Signed-off-by: Khem Raj +--- + scripts/common.m4 | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/scripts/common.m4 b/scripts/common.m4 +index 7129204..d8ee019 100644 +--- a/scripts/common.m4 ++++ b/scripts/common.m4 +@@ -30,7 +30,8 @@ AC_DEFUN([TORRENT_REMOVE_UNWANTED], + $1="$2" + else + result=`echo "${values_to_check}" | $GREP -Fvx -- "${unwanted_values}" | $GREP -v '^$'` +- $1=$(echo "$result" | tr -d '\n') ++ # join with spaces, squeeze repeats, and trim trailing space ++ $1=$(printf '%s\n' "$result" | tr '\n' ' ' | sed 's/ */ /g; s/ *$//') + fi + ]) + diff --git a/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.10.0.bb b/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.16.1.bb similarity index 57% rename from meta-oe/recipes-connectivity/rtorrent/rtorrent_0.10.0.bb rename to meta-oe/recipes-connectivity/rtorrent/rtorrent_0.16.1.bb index 02a97cd6e3..0030b7593d 100644 --- a/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.10.0.bb +++ b/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.16.1.bb @@ -5,16 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "autoconf-archive libsigc++-2.0 curl cppunit libtool libtorrent ncurses" -SRC_URI = "git://github.com/rakshasa/rtorrent;branch=master;protocol=https" -SRCREV = "a88cab6d2e764e22cac232ef8d5af039d41b8280" - - -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" - -PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," +SRC_URI = "git://github.com/rakshasa/rtorrent;branch=master;protocol=https;tag=v${PV} \ + file://0001-scripts-common.m4-Insert-spaces-in-shell-lists.patch \ + " +SRCREV = "b38f80e59795dc6728b2c31ac3eab564651ce46d" inherit autotools pkgconfig -EXTRA_AUTORECONF += "--exclude=aclocal" - -CXXFLAGS += "-std=gnu++14" +EXTRA_OECONF:append:libc-musl = " --disable-execinfo"