From patchwork Wed Nov 25 08:06: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: 105565 Received: from mail-dy1-f181.google.com (mail-dy1-f181.google.com [74.125.82.181]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37920.1795594059303599435 for ; Wed, 25 Nov 2026 00:07:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=f8ikKTVT; spf=pass (domain: gmail.com, ip: 74.125.82.181, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f181.google.com with SMTP id 5a478bee46e88-3866a784546so7289645eec.0 for ; Wed, 25 Nov 2026 00:07:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594059; x=1796198859; 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:content-type; bh=6Q+Ka/ck9/KrVfkUSL2Hg1llaUhH+EtV7D0bPUdIofk=; b=f8ikKTVTTZM/5dCpHX5+joCeBjUuQcDhPsyRzcibUSic3goWBoO13gXLznFPs01hLC EW/F+IIxDpTI/RV787lwp3nGgCqQL+BHTXx7gsWdeVF+SwkLF0NXE+BnLUA1AT3t64Ku 1S+31rho/d4MgCQnY9GB9HJQmwj23WNbSGLkvoT2AuEe1A9syJ6O9/gkJmEDSsDAQNFs 6FS+LBPRpOPHO9J1f+tHHhLdKELGIJ0hpfsuZTBApgJg54uGBug6jYXgRalUx44K7O0V tR+HVqTNs4kePMRqj+60g+AJeHSBnLe5tbvItngiWRzQuPY5WgAdA5S4YrYXFSnu8qCJ AsmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594059; x=1796198859; h=content-transfer-encoding:mime-version: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=6Q+Ka/ck9/KrVfkUSL2Hg1llaUhH+EtV7D0bPUdIofk=; b=bGSZ8C0QuaPLzalkIuchUQCtGWyPKRoFr1J6BtsFM89kH2cnufD2bgv6sIJ+gGkUQT aXRVcJ6ECFiPUHENPlQSOGDetTnx5THs0o8fdlF8qQpfKk/kEkjH7kxxalmUHWn1L7Dq oHj74C5TFGJvQtSuS95YVQJAMJ/9zZqy+MeAhCvdGzDNH9kascD3z5CDiNS7uazVqx78 i45ndaFa68fpjm7TF5ig+wSjOg5GZkZpiA1iAEbd7TzLna6TsFhpWNUOzUdA31aGKzd6 ZrOoH0rq/Sr2Gqnp6Z4CwjSPRcDGAaUS6c6IanlmhP7oCE4xKW09bIfHUOs/xB2N4WS3 ly2Q== X-Gm-Message-State: APuU4Z+OmHEwY0Mv8nTBfXxH4I+v4sG66RJqI/V0foQxY04V/EyDySI/ I6++ToDOL69fHJgWSF4upUR73XvhERe0d/+INR728pvgUoCbJXhKJjRJOdsja7/9 X-Gm-Gg: AZFdTZdJrJqmDU1KfJ7o1QmRlau9KVzvfW6IJ5ansIlCOVqAwyf/pm9CwrfHNENq9bf SF8TduNisrWOEWiVLyc4POgsrtlEFf3LHd9laZOvm5mQH+fT7QMsz9EXFZMIvBeA0IjOl+hfyT4 M4d2Md+eFVbp6BxYEiVh8Lv8JsJFfvvKnO88mRu9yZYk5pKdodK3vHBYaczhcOFfVmVOzT046Gt Qolj+nHODrAe8OOPsQdsgXUxSYus+xCglj7xHBydhqpgc5IOr/7mouT7Qghb5e9D3xHMgcR7ZND tibh7zkKjhhHzZoij6rIIgZTqDMrUBlUsGIcOOdte9SylFiNNaukYHZSPWsHRq+6AztLhVSXWM6 ChVGWJRXBT4vPPg4RQh/aDWLwQmnhx2Aj3Sm9Sz/rlv8UfwQL4aUjBRLjvgWBsyWfCReWEP4IXh HfdeAzsPGn4up8lL7nHTLYdjCYJ33L/NVFxkTt2TR9VXO5rLhYJhtOgl8//03GdtwzP1lUvVZp5 qIHTXdU8R0iccI4a3fBcU2mDSk3ru446+4Z37drVGTchTkoWzcXaRz7L4iwWn1QQL8tu9umVbLt YbKb50Y9FrW7Yr0pF2xXlTtxRSVHC8ragObgFLFegNN1lYBCZ3m6ZhNFyQmwGgLFOE9LHpQFLEM OizDP0K+snZLUl8SghTUUZ1aY/OxIUcsVayOdfRBtrE0pygERDu7hEktVZ6Sjt0onCrMkNFoFg9 MlIKIfCUaOSBqjNinPzfY6s7njpvt2RraiP6ixqpaV/N1akBZPfBUXYVRKXsoQhMIwQtWgVUEd0 U+fOByIbUai5CTEmDVK22+n9j6CpyFaB8dANcm9J4oMLxA4LdiCmqkvIiAXM1wlnT56gi2m587/ 3z6N X-Received: by 2002:a05:693c:60d4:b0:369:fe81:a575 with SMTP id 5a478bee46e88-3857111f203mr21409751eec.35.1795594058459; Wed, 25 Nov 2026 00:07:38 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:37 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-multimedia][PATCH] clightd: Port ALS sensor to libiio 1.0 Date: Wed, 25 Nov 2026 00:06:11 -0800 Message-ID: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 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 ; Wed, 25 Nov 2026 08:07:40 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/132998 libiio 1.0 replaced the 0.x API used by the ALS iio buffer capture (iio_create_local_context, iio_device_create_buffer, iio_buffer_refill, iio_channel_enable without a mask) and moved the header to , so clightd no longer compiles. Upstream has no port yet; add a patch that uses the "local:" context, a channels mask and a one-block iio_stream, and frees everything on error paths. Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...1-sensors-als-Port-to-libiio-1.0-API.patch | 165 ++++++++++++++++++ .../recipes-multimedia/clight/clightd_5.9.bb | 2 + 2 files changed, 167 insertions(+) create mode 100644 meta-multimedia/recipes-multimedia/clight/clightd/0001-sensors-als-Port-to-libiio-1.0-API.patch diff --git a/meta-multimedia/recipes-multimedia/clight/clightd/0001-sensors-als-Port-to-libiio-1.0-API.patch b/meta-multimedia/recipes-multimedia/clight/clightd/0001-sensors-als-Port-to-libiio-1.0-API.patch new file mode 100644 index 0000000000..59b1c016bf --- /dev/null +++ b/meta-multimedia/recipes-multimedia/clight/clightd/0001-sensors-als-Port-to-libiio-1.0-API.patch @@ -0,0 +1,165 @@ +From 3b4827e17401ec026a2d82e1632d3c456a5191c8 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 22 Nov 2026 23:35:34 -0800 +Subject: [PATCH] sensors/als: Port to libiio 1.0 API + +libiio 1.0 breaks the 0.x API: the header moved to , +iio_create_local_context() is gone (use iio_create_context() with the +"local:" URI), channels are enabled in an iio_channels_mask, and +buffers are read through an iio_stream instead of +iio_device_create_buffer()/iio_buffer_refill(). Functions returning +pointers now report errors with pointer-encoded error codes. + +Use a stream with a single one-sample block, which waits for a fresh +sample on every capture like the old refill did, and release the +context, mask and stream on every exit path. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + src/modules/sensors/als.c | 74 ++++++++++++++++++++++++++------------- + 1 file changed, 49 insertions(+), 25 deletions(-) + +diff --git a/src/modules/sensors/als.c b/src/modules/sensors/als.c +index eee98e6..8bb67ee 100644 +--- a/src/modules/sensors/als.c ++++ b/src/modules/sensors/als.c +@@ -1,6 +1,6 @@ + #include + #include +-#include ++#include + #include + #include "als.h" + +@@ -67,17 +67,21 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int + INFO("[IIO-BUF] Start capture: '%s' sysname.\n", sysname); + + ++ struct iio_channels_mask *mask = NULL; ++ struct iio_stream *stream = NULL; ++ + /* Getting local iio device context */ +- struct iio_context *local_ctx = iio_create_local_context(); +- if (!local_ctx) { +- fprintf(stderr, "Failed to create local iio ctx.\n"); ++ struct iio_context *local_ctx = iio_create_context(NULL, "local:"); ++ int err = iio_err(local_ctx); ++ if (err) { ++ fprintf(stderr, "Failed to create local iio ctx: %s\n", strerror(-err)); + return ctr; + } + + const struct iio_device *dev = iio_context_find_device(local_ctx, sysname); + if (!dev) { +- fprintf(stderr, "Couldn't find device '%s': %m\n", sysname); +- return ctr; ++ fprintf(stderr, "Couldn't find device '%s'.\n", sysname); ++ goto out; + } + + INFO("[IIO-BUF] Found device.\n"); +@@ -91,32 +95,45 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int + + INFO("[IIO-BUF] Channel name: '%s'.\n", channel_name); + +- struct iio_channel *ch = iio_device_find_channel(dev, channel_name, false); ++ const struct iio_channel *ch = iio_device_find_channel(dev, channel_name, false); + if (!ch) { +- fprintf(stderr, "Failed to fetch '%s' channel: %m\n", channel_name); +- return ctr; ++ fprintf(stderr, "Failed to fetch '%s' channel.\n", channel_name); ++ goto out; + } + + if (iio_channel_is_output(ch)) { + fprintf(stderr, "Wrong output channel selected.\n"); +- return ctr; ++ goto out; + } + if (!iio_channel_is_scan_element(ch)) { + fprintf(stderr, "Channel is not a scan element.\n"); +- return ctr; ++ goto out; + } + +- iio_channel_enable(ch); +- if (!iio_channel_is_enabled(ch)) { ++ mask = iio_create_channels_mask(iio_device_get_channels_count(dev)); ++ if (!mask) { ++ fprintf(stderr, "Failed to create channels mask.\n"); ++ goto out; ++ } ++ iio_channel_enable(ch, mask); ++ if (!iio_channel_is_enabled(ch, mask)) { + fprintf(stderr, "Failed to enable channel '%s'!\n", channel_name); +- return ctr; ++ goto out; + } + + INFO("[IIO-BUF] Creating buffer.\n"); +- struct iio_buffer *rxbuf = iio_device_create_buffer(dev, 1, false); ++ struct iio_buffer *rxbuf = iio_device_get_buffer(dev, 0); + if (!rxbuf) { +- fprintf(stderr, "Failed to allocated buffer: %m\n"); +- return ctr; ++ fprintf(stderr, "Device has no buffer.\n"); ++ goto out; ++ } ++ /* A single block of a single sample: each capture waits for a fresh sample */ ++ stream = iio_buffer_create_stream(rxbuf, 1, 1, mask); ++ err = iio_err(stream); ++ if (err) { ++ stream = NULL; ++ fprintf(stderr, "Failed to allocated buffer: %s\n", strerror(-err)); ++ goto out; + } + + // Load scale +@@ -124,7 +141,7 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int + const struct iio_data_format *fmt = iio_channel_get_data_format(ch); + if (!fmt) { + fprintf(stderr, "Failed to fetch channel format.\n"); +- return ctr; ++ goto out; + } + if (fmt->with_scale) { + scale = fmt->scale; +@@ -133,14 +150,14 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int + INFO("[IIO-BUF] Data fmt: bits: %d | signed: %d | len: %d | rep: %d | scale: %f | has_scale: %d | shift: %d.\n", + fmt->bits, fmt->is_signed, fmt->length, fmt->repeat, fmt->scale, fmt->with_scale, fmt->shift); + +- const size_t read_size = fmt->bits / 8; + for (int i = 0; i < num_captures; i++) { +- int ret = iio_buffer_refill(rxbuf); +- INFO("[IIO-BUF] Refill ret: %d/%ld\n", ret, read_size); +- if (ret == read_size) { ++ const struct iio_block *block = iio_stream_get_next_block(stream); ++ err = iio_err(block); ++ INFO("[IIO-BUF] Refill ret: %d\n", err); ++ if (!err) { + int64_t val = 0; +- if (ret == read_size) { +- iio_channel_read(ch, rxbuf, &val, read_size); ++ size_t ret = iio_channel_read(ch, block, &val, sizeof(val), false); ++ if (ret > 0) { + INFO("[IIO-BUF] Read %ld\n", val); + double illuminance = (double)val * scale; + ctr++; +@@ -150,7 +167,14 @@ static double iio_buffer_capture(struct als_device *als, double *pct, const int + } + usleep(interval * 1000); + } +- iio_buffer_destroy(rxbuf); ++ ++out: ++ if (stream) { ++ iio_stream_destroy(stream); ++ } ++ if (mask) { ++ iio_channels_mask_destroy(mask); ++ } + iio_context_destroy(local_ctx); + return ctr; + } diff --git a/meta-multimedia/recipes-multimedia/clight/clightd_5.9.bb b/meta-multimedia/recipes-multimedia/clight/clightd_5.9.bb index 037b94c3a2..57782ba537 100644 --- a/meta-multimedia/recipes-multimedia/clight/clightd_5.9.bb +++ b/meta-multimedia/recipes-multimedia/clight/clightd_5.9.bb @@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRCREV = "d4e88b1d351d61151c99a399abd526d9b7dda12d" SRC_URI = "git://github.com/FedeDP/${BPN};protocol=https;branch=master;tag=${PV} \ + file://0001-sensors-als-Port-to-libiio-1.0-API.patch \ " +UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$" inherit cmake pkgconfig systemd features_check From patchwork Wed Nov 25 08:06:18 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105568 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37927.1795594067869408690 for ; Wed, 25 Nov 2026 00:07:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=nPU5VWxt; spf=pass (domain: gmail.com, ip: 74.125.82.172, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-385c497bf94so2109330eec.1 for ; Wed, 25 Nov 2026 00:07:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594067; x=1796198867; 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=JlmlC3QkoGdxHwKk4sM+gaSW+lf3wLcgrnbAEFvTdI0=; b=nPU5VWxtMtYPK08/9w4cVx6lQKhz1BdcaNBYA+/XUUMRrbHzQA8GS4equmbveZFgYT J/ghI55gcVFXFKLu9A94QmYjCtQ5scUWWJw2Tpm/tBH7FUIKOYWEx3sbZPrx1ke5mUX4 M6Tpc4i12dnw9zwtNrmF7gVAzpPXp5fb2cyKSKI5mjt2pNBpWf8e16gTNrzUpSYqRxJq l0rV4+PlC4w53y3EPRjcRQ6YyojVf3jUPK4pzYRmj+fsFjhfljpTe5gsTV/J2XlHQDbS wP4MFPK+DjeR4pzr1LA33CroQqReGu2d+BRAK2J9kEk8OZy313XMkoJ9WCNnbjXbYhfT Secg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594067; x=1796198867; 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=JlmlC3QkoGdxHwKk4sM+gaSW+lf3wLcgrnbAEFvTdI0=; b=ZnRVUGfnGEit3D8OCfSjL10WIJRDZXgDd4S3qwKSGDUT3jl84JYa4rl/G5SG1djW3k Tl+I52sGT2+smj0ue4DdquNT3tRTvfT6aAajfiKAK7LGYk76CgJf+48gjPn6jv8sSJoh zSFnsNxW+1+wr4lliULXLRZLt9lE4J9aWZbcsrzcNHJ8N2Knu/TKT+KQvzBqYS737BqV cCC2nUDZzCOyWqLsAzr8FO2VODok6we0Eejg3MxoTGb6MBiZi4x8QmNwX3uCq8MJtr0O w90JcdKz4JpckhL9XctoNsG1ZzhUFrj+ZLuPXS/0OfzPUXH/+4yCIKEFPxdQUCjCzrQL z+Rg== X-Gm-Message-State: APuU4Z+dDOXV2lSd3DvI2FzEVjsl8CXOZ8kbsS7c6pvfOhDYh2Mirl5Q kpRLnV4tn1zbmHFyx8IrT+U1Q2HJ+GhcEqkRmS+RhABZ/dZ83w57xMMTgVdFb7aN X-Gm-Gg: AZFdTZe+PTKSeXx3ZA/1ihMqAF4L21lowuUfMmgK5V5jioKGYpGPZwkgDH0N/8PsHNF 9/0B3TBwJGasmDVgzk137kkEZy7qpYmveTlK6mzzLj//K/+3D1dAPVlMPw+APS4OdgsPRpvmKi1 vs+o6wf6zfnKyx2zBIIzEeSm/Vok/kyMS3HF+LO0YuaHQPM7DwArEzRXgB0hv2wKrBI2mD0j5dK TywqzBNtny2JrKQ6hlYxisqssUQGzEYZUn96Co+agFb60n20oLsmV3sJPusAgleQ+TqxdEzM59A xJaHFDCXAsPMFD85RKJup7sg5PCStHLPXBVck4Lvar0LUUOr6z+3VjK+ncdcG83nQx7kwSkIXNW b3ZbBUvX0Yg0FcDcrF8EN3h5JMHO7QxWmyWx1+71eaRRfm3G8CqxSd1MqgK7HOUedXm4TFdZnyU 9pvtlvl7X+lepegcl3juDxXyxpyfj/SidM/nuqlaek/4dPeZjdh938bcMpRqRcZFpcmJNuXpKKB IZo1ooBE/DmZxeUPz+tRY955+XzRMwXWK8hhvNOA86SwCLNPob9FuYXygfwtvMczln2Dxvo9d94 Niugj3T5SHb6AnjRWqaqY2y9rd3pxouXrHHAorUt2w7LuMh6N2JSXPLW45ZKtkJ/Uu07ugBQsZi awmvqXG0gx6p2QfE/nwmlO785RrgmNr7wkapQPFQdhno3Hp+DInJzea6DDCGkdRg69RhU85qNVS 3rkPYE7tUSPOispZ7Ghg90kZZR0vpPWb4oBcfsj3sG5MyDqt//xWFlGVzBb7ZU6239AMtGmE+x4 cOxXHibsauIUZRVJ545oqvOfmvaD2RD/6E9OsEQ/OcWD1/fGUUWca1YpZF1M8E56qHsu8T4z3eO e7od X-Received: by 2002:a05:7300:8188:b0:382:61d0:f375 with SMTP id 5a478bee46e88-3856e63b050mr26432293eec.7.1795594067148; Wed, 25 Nov 2026 00:07:47 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:46 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 02/55] libgpiod: Fix intermittent gpiocli monitor ptest failure Date: Wed, 25 Nov 2026 00:06:18 -0800 Message-ID: <20261125080732.2419614-8-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:07:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133005 test_monitor_all_lines_on_request toggles line 1 twice, with line 4 in between, before reading any event. gpio-sim delivers both changes of line 1 as one interrupt when they happen before it is handled, so the rising edge is lost: ASSERT: '41610700648 falling "foo" 41610665414 rising 4' did not match '[0-9]+ rising\s+"foo"' Wait for each event before triggering the next one. In a qemux86-64 guest this took the test from 12 of 20 runs failing to none. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...for-each-event-in-test_monitor_all_l.patch | 53 +++++++++++++++++++ .../libgpiod/libgpiod_2.3.2.bb | 1 + 2 files changed, 54 insertions(+) create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch new file mode 100644 index 0000000000..f3eac65455 --- /dev/null +++ b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch @@ -0,0 +1,53 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 28 Oct 2026 07:55:33 -0700 +Subject: [PATCH] dbus: tests: wait for each event in + test_monitor_all_lines_on_request + +The test pulls line 1 up, line 4 up and line 1 down again in quick +succession and only then reads the monitor output. gpio-sim raises the +line interrupts through irq_sim, so two changes of the same line that +happen before the interrupt is handled are delivered as one interrupt, +and as edge detection is set to both edges the kernel derives the edge +type from the line value read in the handler. The rising edge on line 1 +is then lost and only a falling edge is reported, timestamped after the +rising edge on line 4: + + ASSERT: '41610700648 falling "foo" 41610665414 rising 4' did not + match '[0-9]+ rising\s+"foo"' + +This fails intermittently, in 12 of 20 runs in a qemux86-64 guest. + +Wait for each event before triggering the next one, like the gpiomon +tests in gpio-tools-test.bash do. + +Upstream-Status: Submitted [https://lore.kernel.org/linux-gpio/20261125080045.2410076-1-raj.khem@gmail.com/] +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + dbus/client/gpiocli-test.bash | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/dbus/client/gpiocli-test.bash b/dbus/client/gpiocli-test.bash +index 5160f57..ede69c9 100755 +--- a/dbus/client/gpiocli-test.bash ++++ b/dbus/client/gpiocli-test.bash +@@ -1421,13 +1421,13 @@ test_monitor_all_lines_on_request() { + dut_run gpiocli monitor -r "$request" + + gpiosim_set_pull sim0 1 pull-up ++ dut_regex_match "[0-9]+ rising\\s+\"foo\"" ++ + gpiosim_set_pull sim0 4 pull-up +- gpiosim_set_pull sim0 1 pull-down ++ dut_regex_match "[0-9]+ rising\\s+4" + +- dut_read +- output_regex_match "[0-9]+ rising\\s+\"foo\"" +- output_regex_match "[0-9]+ rising\\s+4" +- output_regex_match "[0-9]+ falling\\s+\"foo\"" ++ gpiosim_set_pull sim0 1 pull-down ++ dut_regex_match "[0-9]+ falling\\s+\"foo\"" + + gpiodbus_release_request "$request" + } diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb index eb1c454f8c..b77ca581a9 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb @@ -25,6 +25,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:" SRC_URI += " \ file://gpio-manager.init \ + file://0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch \ " SRC_URI[sha256sum] = "dc48fb87cd72019745acb201599caf559556b5d913844df0ed011067d19e9a6b" From patchwork Wed Nov 25 08:06:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105569 Received: from mail-dy1-f174.google.com (mail-dy1-f174.google.com [74.125.82.174]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37928.1795594069485453720 for ; Wed, 25 Nov 2026 00:07:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=B9M8TyxE; spf=pass (domain: gmail.com, ip: 74.125.82.174, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f174.google.com with SMTP id 5a478bee46e88-380c28f9e35so6623381eec.1 for ; Wed, 25 Nov 2026 00:07:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594069; x=1796198869; 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=qvGHb8TovePELMOdHtEsJ08RygzS3Bxnanea15ccBCo=; b=B9M8TyxEy4upIMNy+xJHhe/JgLODerJ+Q9sa0UAL1LduNXKxDzebAzGS7UFOQqk/to YHmlKq+wrGI9uQQ+UhkDHDq2e8+E02/XQ/hiFDWcU3iXqJQAVUL9j2i7auwTL+ZDlK36 KC9FByUY4Wv7AlXVY4QbWfvmoTMBVVvrCqBsjzTQEcrl/6Q5COevvHXHmcK0Hkq4eUui tbRMmV2Zku3uRNHGccQ4Lctf1U87ksoD8DqFMijdbumXmeaY7WMh7eUyX9VoM7/VAEOe 8Ybzf4RCQ4IFcyFHbCXil7veqC5PLR1E+K4eITsIwgDcgjpqnElgYid6NYnT6YAXREzG 96eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594069; x=1796198869; 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=qvGHb8TovePELMOdHtEsJ08RygzS3Bxnanea15ccBCo=; b=cdLoX1GM257RnaAh/fuJEcC7WGzqfuGhSG0iUmUZ98dmh7raHLEqFCCGx4ZHArxmYN KI0fP4+z+t8GDmiXaxZzBA6jeyHxxBD4SkTlxATs6621vdA4jfPPQz/5+9wt5QioRF3m X03C2jipIjhDgw68sc0uWhJLw1QmtN+bJAbQkvMBM0xjrYLTx/Rno+VsdLJJB1UkhtOB vvDXcXnNLDBBHgxA4cn1OOb282iutX9IlOyL+amjTHMNqPX+i7WQVKnQ+hvNbmp+xbSX xUSbXsIaqJ47EyrnO7T76+ZPbTRdwK91a9d8seb/ekZDaMNJ/zJVYeOBJCXE20TX0x4o UieA== X-Gm-Message-State: APuU4Z/RXy5nqTsnM2mFkO9Jtmtmg1AEtFushgtZ6zaNb5RZ3xA8YfjL p4SI/XSXB9y/qhkTXKYbZn1qgczgFOQDV8LQWJnYtVOARM2fyasW5VCbK/aOQjo/ X-Gm-Gg: AZFdTZf83o+NgiZ2wm+I3E39dsaWLAI5UDoypI6htCRRPhJAGOCt+2kkm8/ho0D3xIs HnPQxYMNvxCs3WoahMeDSsaiTCCBzMQeauFJU+3WLSuD+a3WFkjGf4duMBi7yb/bNg6siyx6yyb kywWN9/uqsLwVlEgSiHDjcskQR/umtxFhk98lodCREY7ajELWnFo4QYgUJjK2GVxN8quri0tqzN aW0Dsyau+KS701iqts6xk8rwHtsbi42sQXLdsrMSfxEx8L3QIO/+p1I1JCFfaDfgr3RoLIreGU6 b/8Xh877nem7XkP0BNYpKKv+qldcTDcHe/FXCRXPW9oiN98pTFdSpeRdTMWQ9LBP53pvHgVKL1n CGvxKFi2AsqKDMIJcSK5uB0iXrWqMeHBbaBc2d2CKv4L7E5cZUzV+y7zpL24ubYyJdkVg845vLw uHJaLieq/joQ9IoSMbiUIUZpwVp1l9hBPq76bZSygYM5BHgRCbLy9N4imM7uVmZEiLv/THHc0W9 nZhZzXDE6a9Q3df8FHo9mugc5Dwp7zCsDwDiQr4/FORYNE7B4Qh/c7wSxQo6Wu9iaAn05XUZcb8 2hi4feCcyyMp+ac5bEv4/SQcGZlXHGLGNkAnbxp94V0+xP+07/yRmM3vC1J1EVMNG9YBmYx44Pp aW08Oz758fyUMIBZYQtJ6dwqUO7KXK6b3D8Aw14Ae+/QgGzXgIzvXchiNnGtZgdUWflA84M2+pY 0C5Joth90GtvgSlyFuuBdZdLXIcIWodBN0HCXX/Y+YFvhJJIdcHKnHVo1theoFJsYvMCePJ6/ad RtZHvvZl1tLHantzIkmi6Q4UZncHkqxxN5AS7RybGG1sMI/LjAVma9luLAZfrs3dVuNOJ9mmGL6 xcgVTQ== X-Received: by 2002:a05:7300:a9c:b0:386:c453:dfd8 with SMTP id 5a478bee46e88-386c453e1demr3832130eec.14.1795594068510; Wed, 25 Nov 2026 00:07:48 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:47 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 03/55] libgpiod: Fix intermittent gpiocli multiple lines monitor ptest failure Date: Wed, 25 Nov 2026 00:06:19 -0800 Message-ID: <20261125080732.2419614-9-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:07:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133006 test_monitor_multiple_lines_by_name has the same race which was fixed in test_monitor_all_lines_on_request: it toggles line foo twice, with line xyz in between, before reading any event. gpio-sim delivers both changes of foo as one interrupt when they happen before it is handled, so the rising edge is lost: ASSERT: '45056166795 falling "foo" 45056147828 rising "xyz"' did not match '[0-9]+ rising\s+"foo"' Wait for each event before triggering the next one. In a qemux86-64 guest this took the test from 13 of 20 runs failing to none, and ptest-runner libgpiod passed 12 of 12 runs on the rebuilt image. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...for-each-event-in-test_monitor_multi.patch | 55 +++++++++++++++++++ .../libgpiod/libgpiod_2.3.2.bb | 1 + 2 files changed, 56 insertions(+) create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-2.x/0002-dbus-tests-wait-for-each-event-in-test_monitor_multi.patch diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0002-dbus-tests-wait-for-each-event-in-test_monitor_multi.patch b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0002-dbus-tests-wait-for-each-event-in-test_monitor_multi.patch new file mode 100644 index 0000000000..f38859d354 --- /dev/null +++ b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0002-dbus-tests-wait-for-each-event-in-test_monitor_multi.patch @@ -0,0 +1,55 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 1 Nov 2026 03:45:13 +0000 +Subject: [PATCH] dbus: tests: wait for each event in + test_monitor_multiple_lines_by_name + +The test pulls line foo up, line xyz up and line foo down again in quick +succession and only then reads the monitor output, which is the same +race test_monitor_all_lines_on_request had. Two changes of the same line +that happen before the gpio-sim interrupt is handled are delivered as +one interrupt, and as edge detection is set to both edges the kernel +derives the edge type from the line value read in the handler. The +rising edge on foo is then lost and only a falling edge is reported, +timestamped after the rising edge on xyz: + + ASSERT: '45056166795 falling "foo" 45056147828 rising "xyz"' did not + match '[0-9]+ rising\s+"foo"' + +This fails intermittently, in 13 of 20 runs in a qemux86-64 guest. + +Wait for each event before triggering the next one. Matching the next +line of output instead of searching all of it also makes the test +verify that the change of line bar, which is not monitored, is ignored. + +Upstream-Status: Submitted [https://lore.kernel.org/linux-gpio/20261125080045.2410076-2-raj.khem@gmail.com/] +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + dbus/client/gpiocli-test.bash | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/dbus/client/gpiocli-test.bash b/dbus/client/gpiocli-test.bash +index ede69c9..ebddcbf 100755 +--- a/dbus/client/gpiocli-test.bash ++++ b/dbus/client/gpiocli-test.bash +@@ -1376,14 +1376,14 @@ test_monitor_multiple_lines_by_name() { + dut_run gpiocli monitor foo xyz + + gpiosim_set_pull sim0 1 pull-up ++ dut_regex_match "[0-9]+ rising\\s+\"foo\"" ++ + gpiosim_set_pull sim0 5 pull-up # This should be ignored + gpiosim_set_pull sim0 11 pull-up +- gpiosim_set_pull sim0 1 pull-down ++ dut_regex_match "[0-9]+ rising\\s+\"xyz\"" + +- dut_read +- output_regex_match "[0-9]+ rising\\s+\"foo\"" +- output_regex_match "[0-9]+ rising\\s+\"xyz\"" +- output_regex_match "[0-9]+ falling\\s+\"foo\"" ++ gpiosim_set_pull sim0 1 pull-down ++ dut_regex_match "[0-9]+ falling\\s+\"foo\"" + + gpiodbus_release_request "$request" + } diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb index b77ca581a9..2cf1b0f563 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.3.2.bb @@ -26,6 +26,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:" SRC_URI += " \ file://gpio-manager.init \ file://0001-dbus-tests-wait-for-each-event-in-test_monitor_all_l.patch \ + file://0002-dbus-tests-wait-for-each-event-in-test_monitor_multi.patch \ " SRC_URI[sha256sum] = "dc48fb87cd72019745acb201599caf559556b5d913844df0ed011067d19e9a6b" From patchwork Wed Nov 25 08:06:20 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105570 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.37929.1795594070372762094 for ; Wed, 25 Nov 2026 00:07:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=0g66VZvS; 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-38190551625so10923962eec.1 for ; Wed, 25 Nov 2026 00:07:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594070; x=1796198870; 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=5JWoer/PlOxrXrtE+uW+RP/mljaUtzoNWAW88crQl9M=; b=0g66VZvSRKE1XGzeUE07i2zaV1pp9LT99I/MRx9op/KZ0dS/5HpSLKobPLT3UxzUjY W+n6VIvz6NPyaej1AIg5mvpevwcb84aD8y/qsRL6tcPX2VqoAtK810PXz/0tJTIPknz8 LRSPjLr91c+BPGbrBBNDjVS8XNN8hsUg5YNeigSS89YG+Z9HcNTojIuUf60LSmytjfFY 8o6GHtnyfQ4YVmX4hCSD0QhJcUtGXuzDv91t9TjVtV6aP90qZPtK7srhGaVydpra1O2k jG9xB1Qt8tmepJvFC7xQM3ZH0paSkExPeYOq8c6zYHj34AmJLxTe7dhXLsYz7y/NiKlk mZsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594070; x=1796198870; 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=5JWoer/PlOxrXrtE+uW+RP/mljaUtzoNWAW88crQl9M=; b=lnq/8Ibgca8hFIsAW6EMSGvVk48h/2sVrBQqQoeXFFZTNmL4DQKS2Qa67AlJvla66Y BfJVyvJKUZuiMqXvKmqjr8yb0bMZh6qmjh/cQbFiEu0pGqvmZC0VygUefzW9821kKl18 yefz5BVHTV/ZSPnorPzUnmIDWegNDKm+amgp8BgWaAUdru6xcDvniQEKD7ln6eOrWX1H wNZBIf/zj/k00eM0adI+H69LesronxPk0MPCnvPTBix3dB0OBeGoQbxoBzBHRZXcn80f R2xgjD3ndQl7MBXCr1I3rBkOyIA1QiUVcVjvGL4afvBwtf7qnKWsirO+QzDrC2j91qwz TBig== X-Gm-Message-State: APuU4Z/L2ftGZY3g85tHwu3ptMxQ4uKcQQQgCJ7Ehb1mF1ZuCsmi1Mzk gnjs5gBc6x8xFWjF4n6rYVKr7vq2+b5PLObv7Zl3RiR2A3J2+DLTvNUXWKxYv28x X-Gm-Gg: AZFdTZc3tq59R288UotIYRS0qlgyGSsoKH6A/Ked1B/I+TA1TO1bI/YStPDq3B1mJhi 4FqgwZmsDkXsyQ1VWmrpilzn2qe2h0Zi4vF8lyP2Q43jwtD79a7uDWBJ4Fv8mFOj8aOQlDNtqrE ncZONsVji9FufkBo0nLMFVWwJIj5aWcrUTo9WT9YJ1I0TgVBbjQ3Kd08HuLNRS53rDMM2veUzpx 87cfohwv2M6jevFADcvLUHRBBSJrXNxNnBueKba25eFbDxL3xcZfNl98UXz8oVlosUV+zEMAmRD 9HxGuHkJ8fe9lCwZyJqqJ64wvaSjcGz6jylzVt9Kxv48kO4361OTGTS4KOLzuyOsyU3QuWhYb4z I7UncedLJkrZ0VV4ljr4gp4VWRZfbzqPT/zc+Dnc+aGj4OHuhR9SazP6uJN7rGv3EuZbi5aOHl7 TrXyY+ef5e87wyceqMeytkJYRsBQ5tk/D4v6mzjkcaS/MuWNhCJGTeYEggwIAsmdzEleYfxZ6Xk XlQ3uUpwrFsodZyUUcxq0GeObABkdRE0Y0NN1ZPxRu/aNBiCFITJGSYg9PXEcvFON5mOHogTU6Y xJWz0opjbVlel94/pTW8/ES3VLjv61Kg0KGnHiriDY/nwS6PwCyMRXkZ7XmJmgFyHbREz2HMViG KdJNaubUap1gl2Z3vW9lnXLg+quhqcd38pEUpUsbQdzxLm0guMu+Yz45G8G8JBnOLeuKWY9JiXo 6UTnlre1C2HOu0MsgNjDfXJFb0VCB4x2pVGEGMhwr29P2Xm4SfBHWtrf90ULbmD/cnxNROydsPR 4AYl6SEngG+3pFI3fiMc/GVBX4aTuphhnEF1S6+CHQqrbgi97tASNuz+9uB5mNnK+SldBR1C3tj 8z5j X-Received: by 2002:a05:693c:8209:b0:383:e7af:c28d with SMTP id 5a478bee46e88-3856f14d5b2mr17842890eec.9.1795594069654; Wed, 25 Nov 2026 00:07:49 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:49 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 04/55] snapper: upgrade 0.13.1 -> 0.13.2 Date: Wed, 25 Nov 2026 00:06:20 -0800 Message-ID: <20261125080732.2419614-10-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:07:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133007 - Add snapper-sync script and service to synchronize the highest snapshot number, and allow disabling all-time unique snapshot numbers - snbk: new meta-parse command validates info.xml checksums using libcrypto, so OpenSSL is now a build dependency; libsnapper soversion bumped to 8.2.0 - Improve error handling when snapperd is disconnected from D-Bus or the client uid cannot be detected; service files now depend on dbus - Fix LVM device name parsing with escaped hyphens, CRLF handling in config files and a memory leak on error paths - Hardening: validate STOMP content-length before reading frames, validate unsigned JSON config values in the zypp plugin, handle NULL D-Bus connections in pam_snapper Add openssl to DEPENDS for the libcrypto check, and point CAT_BIN at the target cat, which the new snbk tool would otherwise take from the build host. Add an upstream check that skips the yast-snapper tags in the same repository. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../snapper/{snapper_0.13.1.bb => snapper_0.13.2.bb} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) rename meta-oe/recipes-support/snapper/{snapper_0.13.1.bb => snapper_0.13.2.bb} (86%) diff --git a/meta-oe/recipes-support/snapper/snapper_0.13.1.bb b/meta-oe/recipes-support/snapper/snapper_0.13.2.bb similarity index 86% rename from meta-oe/recipes-support/snapper/snapper_0.13.1.bb rename to meta-oe/recipes-support/snapper/snapper_0.13.2.bb index aa8547b33d..920a4fb274 100644 --- a/meta-oe/recipes-support/snapper/snapper_0.13.1.bb +++ b/meta-oe/recipes-support/snapper/snapper_0.13.2.bb @@ -3,13 +3,16 @@ HOMEPAGE = "https://github.com/openSUSE/snapper" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -DEPENDS = "acl boost btrfs-tools dbus e2fsprogs json-c libxml2 lvm2 ncurses zlib" +DEPENDS = "acl boost btrfs-tools dbus e2fsprogs json-c libxml2 lvm2 ncurses openssl zlib" # Build separation is slightly broken inherit autotools-brokensep pkgconfig gettext manpages -SRC_URI = "git://github.com/openSUSE/snapper.git;protocol=https;branch=master" -SRCREV = "8cfc33817b91dbf7194d7fd043dc378026d01db5" +SRC_URI = "git://github.com/openSUSE/snapper.git;protocol=https;branch=master;tag=v${PV}" +SRCREV = "43475845a712bc2327cec2ed641063df406705de" + +# The repository also carries yast-snapper tags +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" EXTRA_OECONF += "--disable-zypp" @@ -24,6 +27,7 @@ export RM_BIN = "${bindir}/rm" export RMDIR_BIN = "${bindir}/rmdir" export MKDIR_BIN = "${bindir}/mkdir" export TOUCH_BIN = "${bindir}/touch" +export CAT_BIN = "${bindir}/cat" export CP_BIN = "${bindir}/cp" export REALPATH_BIN = "${bindir}/realpath" export SHA256SUM_BIN = "${bindir}/sha256sum" From patchwork Wed Nov 25 08:06:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105574 Received: from mail-dy1-f174.google.com (mail-dy1-f174.google.com [74.125.82.174]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37920.1795594065727019032 for ; Wed, 25 Nov 2026 00:07:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=WcP/t1Ry; spf=pass (domain: gmail.com, ip: 74.125.82.174, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f174.google.com with SMTP id 5a478bee46e88-385d8a00598so8057105eec.1 for ; Wed, 25 Nov 2026 00:07:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594065; x=1796198865; 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=/yboKrqF7raK1okFPovraAMFYBuL+UcTdGpR1njIBAY=; b=WcP/t1Rys8t0YXRl77k2DXf1CF5c3GnzbX/pd1jr00YOc/IgCCCa8mGLsi+1sLfztN XAEFVlEhSF9c0XDld5/QqEMNZIivzCZrov0M3oWVtCoubWkhSS00DrLrb4AElkB/0alo KrmmuxyfECDhViUuXnUyvDejAw3T8OngiprrJqLdTmSUKqfdIIwHPu0wxqew9yKOSmlw klqXv0nsRtQIRoMPlvvBD0HQXE9OieO47q1qzlyOMRpEDIgFiQ78aimv8IqptiNvLRH6 /J8I2muH3CRDg2KDdv5U9sMakPd5PMUhCopEQFaUbDYnxF616ODJ4Jp3So40TXAlajCh s9nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594065; x=1796198865; 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=/yboKrqF7raK1okFPovraAMFYBuL+UcTdGpR1njIBAY=; b=QHxRLWYPyeTL8bpmMR7D+u/LzaJzzwsHn0TzR+nFrYQKFkVoZYdfwueAbiE7OKW3yW O+k9pGdO4XgDHkl2JMFdyON5CQR8s6AoLaPY5wGk6OM3phBlGFkOfWeF2vZ0FuUveXjL BorEq+OZsfNAPOuTMaPASBwx4GHk3ekP6npgs3LjMaHVayppyLo5z8KvqWOv3tHhYfO/ eN9mdsNgMrTl5a8uffQQwsInAyiHTxKvSpCtGBIODqviDzbaocuwlMrJ+4dZPlL57LP2 vH0LP/e7HJIZoKPnI2tfa1IjPJxRaBOhOd4FNPdzHrHXVBV4lMMq0rjRsuhRXBQbLdUn eRSw== X-Gm-Message-State: APuU4Z8vSfaJOdQK4NXW5Ae8pA0nDs7OhKRzvb27ehtfgokRaCIKQkG/ 11miwG/CQb+U0M765+9FmDLf6mYxy1D2ZXT6C5cepnxLWN6OVyFyoYVKqr1hZ6sv X-Gm-Gg: AZFdTZe0LzUJlZ5iD2ILSnDTr+svQ3/9Rtlvv06j6HD4TijslMoQk2mVXFVMdocZ0VG 7EDgQpSib5dfHH+clxaH+ejDxHwg+tDBs0Vhprr1ENo3EZdwSOj0+8BXneZ4BXKdwLuVA74JkOt HPK3UOSMxTOgVfouUCMV+N4ifJhs1f6NKxAloJ2Bju2/h/vuLCyWDSJs5al+vdMJsRhv5egkjyO /4mrAAwsg01VdWtjbOkr6gmxditR9KJVT1rBztJszLDD1P5b5uFGqUtT/HEGb0qZQKcJd4kW16M R/Id6hNcpmLd8NgM7YtxcqWeWgd6J952XFewobZXuzR+kS8eoVsZlLfzncOyRlZMrSqMWpQTl50 1MuF0pZZL+y8bOCElKkh4FNBz0CaLam+kzr9zFv4+P0kTB9Qj4Ylb7nMOt0MB3EiNmgQSpZSRlc L0yE1Cxu4HWCmhmGKBX6ODCgdBuqZxyQwXv/aBVxz9cKFOG3hOoKJ4tfNjwTOQw5F4WusUYr8cz sbey4ziRkdILMhNANQwvr62tMmvxQX0J5KT9NnisKN+g/DApEY+sRyZMWXZzsKGRUrXB6/HaJKf xL111JXQf0c1lKLg8kPrHiq3EgE25nvN5pk5jE0d+fS+4Yx/0pdZ4C7XAV1Ec73ORFqWBhM+t/H pJP6K56JJLM/zwKOMxQV5NhuUtp+LZ9Gxh0lNE7KetXvS/cfotZ4cnFPFPAKu8D167OS+wgYrax NHLXa6HohcUv99e10b4wkcqhw3rZOFLfUnk+pRSc7GIWXmBR12zMT0MpUX4m6fFjXUQBqW+Jgpm w0AFSeovFpQJDouprVYuBUQRMElDIuyGliB3FXOu60I8ahnUFVQQcvd9Wwcz4agtbQvsA7LEyyR siWQ X-Received: by 2002:a05:693c:8948:20b0:386:b08e:4b7b with SMTP id 5a478bee46e88-386b08e4e93mr8649576eec.29.1795594064740; Wed, 25 Nov 2026 00:07:44 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:44 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-networking][PATCH 5/5] vlan: Fix upstream version check Date: Wed, 25 Nov 2026 00:06:16 -0800 Message-ID: <20261125080732.2419614-6-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:07:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133003 vlan.sourcearchive.com now serves an unrelated site, so the check finds nothing. SRC_URI already fetches from Ubuntu's Launchpad archive; check the Launchpad source package page instead, which links each release as vlan/-. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-networking/recipes-connectivity/vlan/vlan_1.9.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb index 845c3cf53c..d4793cf457 100644 --- a/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb +++ b/meta-networking/recipes-connectivity/vlan/vlan_1.9.bb @@ -12,8 +12,8 @@ SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/vlan/1.9-3 SRC_URI[md5sum] = "5f0c6060b33956fb16e11a15467dd394" SRC_URI[sha256sum] = "3b8f0a1bf0d3642764e5f646e1f3bbc8b1eeec474a77392d9aeb4868842b4cca" -UPSTREAM_CHECK_URI = "http://vlan.sourcearchive.com/" -UPSTREAM_CHECK_REGEX = "/(?P\d+(\.\d+)+)/" +UPSTREAM_CHECK_URI = "https://launchpad.net/ubuntu/+source/vlan" +UPSTREAM_CHECK_REGEX = "vlan/(?P\d+(\.\d+)+)-" S = "${UNPACKDIR}/${BPN}" From patchwork Wed Nov 25 08:06:22 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105581 Received: from mail-dy1-f176.google.com (mail-dy1-f176.google.com [74.125.82.176]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37921.1795594072273662385 for ; Wed, 25 Nov 2026 00:07:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=nAgEQCVs; 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-385d8a00598so8057211eec.1 for ; Wed, 25 Nov 2026 00:07:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594072; x=1796198872; 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=bt/VeeJ90euMLeM+y04VGaw4lip10+GeEHdtP3RdICo=; b=nAgEQCVsDaqBPs5JMGF8ykZc52xdFSu8EF+NNAKZlYFgC+puwgKgn1ZgSva12/D2c7 Gagt5waqhJEeCUcoo+JOoggpuU1fWpt8jmtVvmsC8lmZNlz0ZmCCRBi2UlDC7flrEgly 0x1XCnNfXvvBJq2DJg6uZz/+DHS4rD8KBWGZ3wPWuWOqZkfOnP/NeOVBuMk8BQMfdbJC 0H1aAsaaWbwPjc2o0waxMTflTVYlRAPwYRu+bu2nNPYKVE+vTn3pXA/GYI4clY+0rbQc dFb/SzezXhv2QVseaqlEmurMb0iZ68SeyULKBy1+eXh8rsYNFZ6Qj4NMkfkIMNlvYjhe BWbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594072; x=1796198872; 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=bt/VeeJ90euMLeM+y04VGaw4lip10+GeEHdtP3RdICo=; b=MsuBJwP9ht0gGrVXHyFF7voi597STg0RAF9+cAXMGGM9eoY2vm3l9QbKPm7CkFaSnw tI/jloPbooLHte2XzmuOYLcaClIuJzrztOZXCDAxk7Cf6HjT+NeFy4rk/SyxSIIUAjzX g6nb/iBR/7zPuY1PGtnk6p9HUUsmd223qt61Nqqd/7lJ05XHpnY5cvmepFzxYKxIYUZh yhJmXtaY8CDBn9motpfTsyO199S98eEUO4citLA8LoCOO7PJANLExf4mr7Ll1MIoYZnW djV4lOSTYSdIa9IIWSFGfMSzNbD1WacG6cQiUKNOIB2WsawwOgGxve5og29aCDc9e5Jp 4zUQ== X-Gm-Message-State: APuU4Z9znEeJJd7SLbCmiCXeuCQ9kAAf9m4lsPhym3Wu2Tp/l8UGXc/4 jtGI1Nojk1hg8wa0c4Qap/EDiHtPbGggq3Zlk9FE+eieaWAdLb2JIGhEwWUMhDrJ X-Gm-Gg: AZFdTZccajemZJpvBdYg8Y6serY8b+ZjC2QUrGmQzV8yeRnfcZJECsj4D+aMyHb+qxy dPmQznZFBnZpJpjDzgtMIavOmiqhpWY3NLqt4Zr8u8nRXZRhcsbjId2YQbGOKJL1v0ZnBL4zQbl sAz6FmtrZKKKFd2p5iHe8Lgn9jz7Pkaikankfik5StckYIS2xM9nDX9x+6UTbfA+SguwS1JMqvS h1/bcfx9SjebS6B6iCuYxW4O/rZgXPHTDM7bSn4mnR9zCiH6UoyDB2JugibcqGxCpqW0Sz+ZnPw P0XifAum4pqEOJgS215vdv1HlzQ/VcfsXV7AveLy86uQLbYVDAgFIUlSoijhEsnQZM/v+KfbQ7g 506/69c2CwaackflHH8h+vYY2JXBaEeovdXEQv6gxbrIBG6QEeTcqiLbPAQoCd7lmmy1mXZkd1S l6AZ8SET6aPNIwILA+SzZNmw/4USMoQ+n5z/hE3RpGYcnfIO3jF+FdTQ3l6SCV1bzsqCui7Yi7j Qv/W52x4jkuKaW7CQvPYEDoRq7VuWFXUcuvhef/FdOgfe0R0sESZk8xdJE/a8YVtqAIojFt5z7j Wr3tVM2Zoiv4RZgC8o8x3OVWTWn2TR7fbDhw8UpHJbiFYyTFeFlKpUQ5MkrHyJjLIPV+MSdgpLt EwUf75qg30Nefv1aSIrGZxz1vCco6ohnLYM82Fz7A1wUXyfI8TiAme6v27THPZAvJ3wQYB/CJhD 5ULldp7Imsa+6NugapLAfp0Cox8mdDDvQfYXBZtMUHg4eDX0sgJUZ10UTwYbYUIKHmUpGkYq0iy ArYZugABUPUoqGRul7kUm+Ruvg8uowmXofyUsZT0Y82QITcm6kBPUxEtNiQ7wFnDLPRBtv5yjpj eoJv X-Received: by 2002:a05:7300:d941:b0:385:4b9:18e9 with SMTP id 5a478bee46e88-3856f94f874mr18433978eec.18.1795594071587; Wed, 25 Nov 2026 00:07:51 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:51 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 06/55] pam-plugin-ldapdb: upgrade 1.3.1 -> 2.0.0 Date: Wed, 25 Nov 2026 00:06:22 -0800 Message-ID: <20261125080732.2419614-12-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133009 - Security: reject usernames containing DN metacharacters so they cannot alter the generated binddn, and disable LDAP referral chasing so credentials are not sent to referred hosts - Use LDAPv3 explicitly and ldap_sasl_bind_s instead of the deprecated ldap_simple_bind_s - New timeout= option for connection and bind timeouts (default 10 s); unknown, duplicate or malformed module arguments are logged - Behavior change: uri and binddn are required, binddn must contain %s, and directory errors return PAM_AUTHINFO_UNAVAIL - Fix LDAP handle and file-descriptor leaks per authentication, range- check minimum_uid/maximum_uid, and stop exceptions crossing the PAM C interface - Makefile honors CXXFLAGS, adds hardening flags and detects the PAM module directory The project moved to github.com/smackysnacks/pam_ldapdb. Fetch the v2.0.0 tag and add an upstream check. 2.0.0 uses struct timeval without including , which breaks the musl build; add a patch for it. Anchor UPSTREAM_CHECK_GITTAGREGEX to release tags. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...nclude-sys-time.h-for-struct-timeval.patch | 32 +++++++++++++++++++ .../pam/pam-plugin-ldapdb_1.3.1.bb | 21 ------------ .../pam/pam-plugin-ldapdb_2.0.0.bb | 25 +++++++++++++++ 3 files changed, 57 insertions(+), 21 deletions(-) create mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-Include-sys-time.h-for-struct-timeval.patch delete mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb create mode 100644 meta-oe/recipes-extended/pam/pam-plugin-ldapdb_2.0.0.bb diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-Include-sys-time.h-for-struct-timeval.patch b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-Include-sys-time.h-for-struct-timeval.patch new file mode 100644 index 0000000000..8d0025e0e7 --- /dev/null +++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb/0001-Include-sys-time.h-for-struct-timeval.patch @@ -0,0 +1,32 @@ +From ac86beda314368dead44083a99cece306e72fed7 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 01:10:11 -0800 +Subject: [PATCH] Include sys/time.h for struct timeval + +pam_ldapdb.cpp uses struct timeval for the LDAP network timeout. +glibc headers pull in indirectly, musl does not, so +the build fails with: + + pam_ldapdb.cpp:55:20: error: variable has incomplete type 'struct timeval' + +Include it explicitly. + +Upstream-Status: Submitted [https://github.com/smackysnacks/pam_ldapdb/pull/15] +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + pam_ldapdb.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pam_ldapdb.cpp b/pam_ldapdb.cpp +index 6b73ca5..cccc33b 100644 +--- a/pam_ldapdb.cpp ++++ b/pam_ldapdb.cpp +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include + #include + #include + diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb deleted file mode 100644 index 2886137b7d..0000000000 --- a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "PAM searchless LDAP authentication module" -HOMEPAGE = "https://github.com/rmbreak/pam_ldapdb" -BUGTRACKER = "https://github.com/rmbreak/pam_ldapdb/issues" -SECTION = "libs" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=41ab94182d94be9bb35e2a8b933f1e7d" - -DEPENDS = "libpam openldap" - -inherit features_check -REQUIRED_DISTRO_FEATURES = "pam" - -SRCREV = "3e026863cad1fd45c760ee1bc93ef4f0606cc852" -SRC_URI = "git://github.com/rmbreak/pam_ldapdb;branch=master;protocol=https" - - -do_install () { - oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security -} - -FILES:${PN} += "${base_libdir}/security/pam_ldapdb.so" diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_2.0.0.bb b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_2.0.0.bb new file mode 100644 index 0000000000..709d798133 --- /dev/null +++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_2.0.0.bb @@ -0,0 +1,25 @@ +SUMMARY = "PAM searchless LDAP authentication module" +HOMEPAGE = "https://github.com/smackysnacks/pam_ldapdb" +BUGTRACKER = "https://github.com/smackysnacks/pam_ldapdb/issues" +SECTION = "libs" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=41ab94182d94be9bb35e2a8b933f1e7d" + +DEPENDS = "libpam openldap" + +inherit features_check +REQUIRED_DISTRO_FEATURES = "pam" + +SRCREV = "f8ad9921f94d683d9cd40566694709308a12ae71" +SRC_URI = "git://github.com/smackysnacks/pam_ldapdb;branch=master;protocol=https;tag=v${PV} \ + file://0001-Include-sys-time.h-for-struct-timeval.patch \ + " + +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" + + +do_install () { + oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security +} + +FILES:${PN} += "${base_libdir}/security/pam_ldapdb.so" From patchwork Wed Nov 25 08:06:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105582 Received: from mail-dy1-f176.google.com (mail-dy1-f176.google.com [74.125.82.176]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37922.1795594073524767546 for ; Wed, 25 Nov 2026 00:07:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=dxuMdw4B; 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-386d1859e1cso270507eec.0 for ; Wed, 25 Nov 2026 00:07:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594073; x=1796198873; 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=14k7AhaVHAVrliD493zRXQ1fkD4TshJOaLvutq7cxFg=; b=dxuMdw4BnHeOVtiPa9qpKgGxFm7NPHiBAEHq7mCjdC46xPXHiLdB09ucgohmPgDbKT RA4DttAAtuoizcu+ulwH5BJjgt+UrosicEgcoxKU5ry5Gn+nw2Zsy/Yrsnkvqah1ipbX kmylA3zZpFAq9webiodxnSNfFXSEhgthxtEvGJP3Ea0tSeHMEiUeqceHCQF08tB4sZK1 ZLnpebXA09tLegtUcrISIJRmJLT08irdTAKSuWYkXZy8Y/EXRZ26EAG/2TmSv7sMVWXo ZobWUwH3b4RBDv4xk79jy+E+OwcIwTn+tpgfej/VK1xMfUdrDgS6+BAKDyW3HnaslkFp O8EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594073; x=1796198873; 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=14k7AhaVHAVrliD493zRXQ1fkD4TshJOaLvutq7cxFg=; b=iicVwmMUdEDtDkuC0Dp0a0uusTpJQfYUF2tdg2BE5Uw1nBn/HP85b6QiJDOh+UwnfP X4Q8WE4068NK0gNTWbxjv9x68uLmIrjbhtYHBAJTjlO5WamMaimEEp1k904l74SqtbEE 8DVVjwRrXZXcJEH2Rnl2LTyqFbIRf9Nnjtn/J0XYO9cTxh6zb/CHIkVA/rHrU6Ib5rVj fqxUkFYjyhEmT6pw5zPZMzEZumEGYPyZcQk/1Tkw6Emh+fdZamilutJbVjKjxHIOXwoE 1oWgwtXlR3MxnKYeVCKvpSuvMaItqk3Q/QWFvxYM4wODH13Bovr5jXpIgQNQb5nRFLWF KMaw== X-Gm-Message-State: APuU4Z/7yZSLuMGHAeyb/3TW0HEUAWUi2Ad62LOPfUOADG5W8zu/v1fR VCSU1fMZSjT4Bn17xMO9ziGKjKwYQ7evKi0qFTLn4Weor2+egZ47S+6KjEoQN/Gw X-Gm-Gg: AZFdTZfK7mWGDl7vFJN9ShzX/Nia9r9zk1IpgJ1rrrvIVW1DqxV4ATEU1nGxSyKEs64 q4Id5af20o+Iak3YjhPwAh8xGOzjvj6Bv4+MwD/A8V8qMjJCSIbVAga0tzR0Q5j5NYI0cB/r7+d Akea3+r0pQli0yuTMIkvNFHe+N1eCiuLoWtAPRnhFDtnLVcZV8t+xr7UtTvyXPUDOGYyTKh8y1a atXlGkUbiM0tBDS4kpp3bMZ27jt3JuxSQe1imcjUuqWqnTUuwXzGgXWSIwE6m80P88ykaxHy4Ov vpIAWxqzN1b9XyZkYm1Rkgu23cMf0gV8Ib3RcWNEQ+X7uwBIbLS+zCVIsaoBT9DIrWiOkcqbXA4 ScNzCaVkvj+0Iq+s0LesronWwONI4AfzU2a+zBtnUVVhDk6+rgVgRihMpWdiJ//ykiyDn1DF4VT XQaO5LYih2Tk0LaYsW6suQVNKhAvIAiDBx3qzwAJyZdpGsz9uEWEZvGcCzaho2VfWrbauHwBRvU 1yORRd9ok3yQmQchMD3PMj81dgBR5Oae104vjoy8ZxZO2xyCEjLBdcxHFJnL+oY0m7Wb26JjaUd F9O6DwZ2R5kkcXe0tS+oxTviyf99gNcxKCJrFNpP8WW4hAHCiJN+ub3AuCk1qJf9QbNqzccIr2K vo9EyYWr8UDOXLz6U/Y2f0SwXI03J+kGgq1PTmjLmCMw9U8d01cjPAndXGk0AMOrWF0cURbn+zL orU0LYUC7QiFKPYvCyJt3SFWS0yzryguHUTg2JMoFMtPURY2t+rpHI2QHdUe1o0574XFhfM6DrT fTDcKUWVEjCC/5gReOJyLOvNgdzIGJBzlkmTFaiMuG+xfsLzdfegKPATDluyhO/zYCGDBoZLqdC 5xql757BepGEYrhh6BiJSyg8UA== X-Received: by 2002:a05:7301:4283:b0:386:96fb:28c with SMTP id 5a478bee46e88-38696fb2022mr16456142eec.18.1795594072765; Wed, 25 Nov 2026 00:07:52 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:52 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 07/55] breakpad: upgrade 2023.06.01 -> 2024.02.16 Date: Wed, 25 Nov 2026 00:06:23 -0800 Message-ID: <20261125080732.2419614-13-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133010 - Fix integer overflows in the processor's map/range code and a buffer overflow in symbol serialization caused by an integer overflow - dump_syms: support zstd-compressed ELF sections (--enable-zstd), capture inline info in DW_TAG_lexical_block, and add a switch to report DWARF warnings - Linux: always map ELF files from offset 0 and handle ARMEABI binaries on ARM64 kernels in the ptrace dumper - Processor: read extended x86 contexts, recognise new SEGV_* codes and fix ARM64 stack walking (illegal downcast) and StackwalkerAddressList - Helper scripts are ported to Python 3 Drop the std::find_if include patch, which is upstream. Fetch the release tag and add an upstream check. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...ixed-missing-include-for-std-find_if.patch | 31 ------------------- ...d_2023.06.01.bb => breakpad_2024.02.16.bb} | 7 +++-- 2 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644 meta-oe/recipes-devtools/breakpad/breakpad/0001-Fixed-missing-include-for-std-find_if.patch rename meta-oe/recipes-devtools/breakpad/{breakpad_2023.06.01.bb => breakpad_2024.02.16.bb} (98%) diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/0001-Fixed-missing-include-for-std-find_if.patch b/meta-oe/recipes-devtools/breakpad/breakpad/0001-Fixed-missing-include-for-std-find_if.patch deleted file mode 100644 index 943daf4d00..0000000000 --- a/meta-oe/recipes-devtools/breakpad/breakpad/0001-Fixed-missing-include-for-std-find_if.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 45ea097e864e566771d756c92619e984815acd1e Mon Sep 17 00:00:00 2001 -From: Nathan Moinvaziri -Date: Tue, 19 Dec 2023 14:35:05 -0800 -Subject: [PATCH] Fixed missing include for std::find_if. - -Throws an error when compiling on Windows. - -Upstream-Status: Backport [https://github.com/google/breakpad/commit/898a997855168c0e6a689072fefba89246271a5d] -Change-Id: Ieb34c00cf199aaa1b45a440086c48b8ed363b3c7 -Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5137658 -Reviewed-by: Ivan Penkov -Signed-off-by: Khem Raj ---- - src/common/module.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/common/module.cc b/src/common/module.cc -index 0eb5aad8..b6f5da7e 100644 ---- a/src/common/module.cc -+++ b/src/common/module.cc -@@ -42,6 +42,7 @@ - #include - #include - -+#include - #include - #include - #include --- -2.43.0 - diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb b/meta-oe/recipes-devtools/breakpad/breakpad_2024.02.16.bb similarity index 98% rename from meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb rename to meta-oe/recipes-devtools/breakpad/breakpad_2024.02.16.bb index 26f6ab9195..cbf6e458dc 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb +++ b/meta-oe/recipes-devtools/breakpad/breakpad_2024.02.16.bb @@ -20,13 +20,15 @@ PE = "2" SRCREV_FORMAT = "breakpad_gtest_protobuf_lss" -SRCREV_breakpad = "8988364bcddd9b194b0bf931c10bc125987330ed" +SRCREV_breakpad = "f80f2888031b0570783011476a5e862fb7d848a1" #v1.11.0 SRCREV_gtest = "e2239ee6043f73722e7aa812a459f54a28552929" SRCREV_protobuf = "cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac" SRCREV_lss = "9719c1e1e676814c456b55f5f070eabad6709d31" -SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=https \ +UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" + +SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=https;tag=v${PV} \ git://github.com/google/googletest.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/testing/gtest;name=gtest;branch=main;protocol=https \ git://github.com/protocolbuffers/protobuf.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/third_party/protobuf/protobuf;name=protobuf;branch=main;protocol=https \ git://chromium.googlesource.com/linux-syscall-support;protocol=https;branch=main;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/third_party/lss;name=lss \ @@ -37,7 +39,6 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=h file://0004-elf_reader.cc-include-sys-reg.h-to-get-__WORDSIZE-on.patch \ file://mcontext.patch \ file://0001-Remove-HAVE_GETCONTEXT-check-to-add-local-implementa.patch \ - file://0001-Fixed-missing-include-for-std-find_if.patch \ file://0001-module_factory-move-CreateModule-out-of-line-to-fix-.patch \ file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \ file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \ From patchwork Wed Nov 25 08:06:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105583 Received: from mail-dy1-f181.google.com (mail-dy1-f181.google.com [74.125.82.181]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37923.1795594074741361207 for ; Wed, 25 Nov 2026 00:07:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=aR98Tj2Y; spf=pass (domain: gmail.com, ip: 74.125.82.181, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f181.google.com with SMTP id 5a478bee46e88-3866a784546so7289869eec.0 for ; Wed, 25 Nov 2026 00:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594074; x=1796198874; 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=zY6MId5f8NfFMlZaUv8GH1cB/A3TTz3u4zJDK7bcJVM=; b=aR98Tj2YoFGp3rEvYLUowy4/S23LsHOPmgkf8xKmwQWRkvVxh5tJfo8vihKvBUYqkB y9UicpROqLrK4ygTIZf5DG4jw2cqSOQOZsHshKlSefU5sCFjt9oXOBCAFy6lc/4aLY3X 4pGSpCk6fYsZuq1hibCFNhyBq0fvO9oUptIi4xXnk9c2oScMglz+EI9zLEmydBxw+k44 YkIaAbaiavWGFiDkcDFVwoRDBw2kXFXIye9FGDx/8+DwSqB70DdBk8R8mqbDSLHoM+9G qrV3tVdy3tFLD+g8VicVEvX/YSNyQs6gbFoHb8QS80ub6dFdisWZP7sQg7Ewn4EBMf2m K4bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594074; x=1796198874; 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=zY6MId5f8NfFMlZaUv8GH1cB/A3TTz3u4zJDK7bcJVM=; b=v38eTDSXHWWbQU9h26Fo/bxiXKaUVShMz6HFr2xLQQtQEG3MEmPW4J5gdzSIz83QHw lC159YmxKlPYLneZPeJtJpQlrENKRnmyqUmZHfNItxo0mn5M/VVcfmG+YPtvnI7XPjWu DuHngxyxzi0tX6Lmo5U/zH133S3w29azInvmGT6+7PZz56xAe+cLUjtAAeHAKi3Vq93u qtsCc1kHZwwDvbuz4r+ijJSymuI3iwmWDLUmXzz1TngJO84019o2ypwGncRPSHwToR/i 6jIhPnZbhlWRLva+ul8Ksga0OM2ia6RZMMrVBFqSvDBk00BROM65GfLvnvqJqQky+CS1 60dQ== X-Gm-Message-State: APuU4Z/dsDRT1jLe83AC+P1yzk1twB4lZDTMDPN5I+W3tcd7YN0h1EgY +du34K1oRcFCdUf4IZAUQhrprsuANkqrvbn46wpIZiRqVjHXajy77qupXs6GJUaj X-Gm-Gg: AZFdTZc+W7EuzocP7ODPQeRn32btxbNPiEmSn02ZxFhV4uqCW82ctNSG2IyQB0ysLUQ bABenpoGOWWsckflvoiHxnG9Xg1YBZT4IZQB3RzoVJCl14pUZR8bdZrHYwrZbJCrj64yfUgZVZV fREo2+3nlsVTkrgLrIMz/0PkOYhuAqfF7PLcijOUal5xR4L0hd9nkq3p4ioGxezjd18wMNLpsp2 BnZi44W3MjFHfnLhCgQQ1I/OdPyKYNRfqwPBflWVvCSA5hScyEKnwnebVtT/ezPmGWCbOwWhfiy 8Vt21HHoY9IZjak3H9698NTVrU8vHFupA2Whddu8RQATslEtZCfiH2dLRu6yFyf24OreDF8oXjV IFxs3ASPE9s2GhAhJNJEfDjRm3prhUWJJrJV5ITODdINFOePJc5bXwVjEgw2HHzCxMAsVwo3OMs XY4B1VHFuVh+UvqUdD2teuOpUdUbHDSj97pzgTxug2TYG6rv61wCi9+tyzUD7POJC2KHvrYgzqg YyAAbYXkRPcrCO/edtBIMQH/XUjkV9RRY6N2FIRnU1oJ8MbaR+RSkwNWtc5lmPFlo7cHH1dUN8P ibPD0KrC/hIPgxQQn7O6UOmekGPm5cHrGdnWIu6pHBEtYkF/SuQF4xnyrwIlWM4wj8MQQZnZoRg S/7N4Q38E60To7IGKdDlWow/lYALStDcrsSiB14DoyCiFfpafwoUOXrvIV06Qe5CoJ58IQPgi8E wihC1JP+TnbFLb1mYUUMleBj9DXDnRo2bY5WM/Mw6zmEkLljB1wEhJQkNPLeSiz0F71DPR/YWEY tTHUA2oGJYNey0b5BEl8sEDHL2HCLWEXred77O3oKy4MZbvhols9LV9vOx24yL3g1XckA64tDBp zF2y X-Received: by 2002:a05:7301:6405:b0:381:a3bb:f945 with SMTP id 5a478bee46e88-38570254ec3mr20514636eec.22.1795594073857; Wed, 25 Nov 2026 00:07:53 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:53 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 08/55] assimp: upgrade 6.0.x snapshot -> 6.0.6 Date: Wed, 25 Nov 2026 00:06:24 -0800 Message-ID: <20261125080732.2419614-14-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133011 - Large hardening pass across importers (OBJ, PLY, FBX, glTF2, MD2/MDL/MDL7, MDC, Q3BSP, Q3D, IQM, LWO, X3D, COB, Blender, STEP, OpenGEX and more): many out-of-bounds reads/writes, integer overflows, null dereferences and leaks found by fuzzing are fixed - New safe allocator and stricter bounds validation in parser and allocation paths - glTF2: fix normalized skin weights, KHR_texture_transform mapping and sparse accessors; exporter gains unsigned short indices and KHR_texture_basisu metadata fixes - DXF gains POINT entity support; fix binary STL import on big-endian hosts - Windows ARM64 support; PyAssimp drops Python 2 and gains tests; tests can be installed via CMake Use the v6.0.6 release tag instead of a master snapshot labelled 5.x, which already carried 6.0 code. Drop the CVE-2026-117608 patch, which is part of v6.0.6, and add an upstream check. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../assimp/assimp/CVE-2026-117608.patch | 62 ------------------- .../assimp/{assimp_git.bb => assimp_6.0.6.bb} | 8 +-- 2 files changed, 3 insertions(+), 67 deletions(-) delete mode 100644 meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch rename meta-oe/recipes-graphics/assimp/{assimp_git.bb => assimp_6.0.6.bb} (88%) diff --git a/meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch b/meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch deleted file mode 100644 index 2a388cb147..0000000000 --- a/meta-oe/recipes-graphics/assimp/assimp/CVE-2026-117608.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 9b9c149237ff7bf7f71db8eba7b6cc707e00e0bc Mon Sep 17 00:00:00 2001 -From: venkatchalla06 <111296179+venkatchalla06@users.noreply.github.com> -Date: Sun, 25 Oct 2026 19:48:47 +0530 -Subject: [PATCH] MD2: compute the frame-table bounds check in 64-bit (integer - overflow) (#6963) - -The header validation rejects out-of-file offsets with - offsetFrames + numFrames * frameSize >= fileSize -but numFrames is an attacker-controlled uint32 and frameSize is an unsigned -int that grows with numVertices (another uint32 field), so the product is a -32-bit multiply that can wrap. The AI_MAX_ALLOC guards above bound numFrames -only against sizeof(MD2::Frame) (~44 bytes, ceiling ~48M), while frameSize can -be far larger (e.g. numVertices=1014 -> 4096), so numFrames ~= 2^20 already -wraps numFrames*frameSize to a small value and the check passes. The frame -vertices are then read out of bounds (heap OOB read / info leak). - -Compute frameSize and the four offset+count*size checks in 64-bit so the -products cannot wrap. Reachable from Assimp::Importer::ReadFile() on a crafted -.md2 (MD2 is default-enabled). Confirmed with AddressSanitizer -(heap-buffer-overflow READ in InternReadFile); valid .md2 files -(dolphin/horse/flag/faerie) still load unchanged. - -Co-authored-by: Claude Opus 4.8 -Co-authored-by: Kim Kulling -(cherry picked from commit 7dbc85d9218fae017d4fad70269e7569f7b0c870) - -CVE: CVE-2026-117608 -Upstream-Status: Backport [https://github.com/assimp/assimp/commit/7dbc85d9218fae017d4fad70269e7569f7b0c870] -Signed-off-by: Ankur Tyagi ---- - code/AssetLib/MD2/MD2Loader.cpp | 18 +++++++++++------- - 1 file changed, 11 insertions(+), 7 deletions(-) - -diff --git a/code/AssetLib/MD2/MD2Loader.cpp b/code/AssetLib/MD2/MD2Loader.cpp -index f7101560d..adce318f8 100644 ---- a/code/AssetLib/MD2/MD2Loader.cpp -+++ b/code/AssetLib/MD2/MD2Loader.cpp -@@ -171,13 +171,17 @@ void MD2Importer::ValidateHeader( ) - } - - // -1 because Frame already contains one -- unsigned int frameSize = sizeof (MD2::Frame) + (m_pcHeader->numVertices - 1) * sizeof(MD2::Vertex); -- -- if (m_pcHeader->offsetSkins + m_pcHeader->numSkins * sizeof (MD2::Skin) >= fileSize || -- m_pcHeader->offsetTexCoords + m_pcHeader->numTexCoords * sizeof (MD2::TexCoord) >= fileSize || -- m_pcHeader->offsetTriangles + m_pcHeader->numTriangles * sizeof (MD2::Triangle) >= fileSize || -- m_pcHeader->offsetFrames + m_pcHeader->numFrames * frameSize >= fileSize || -- m_pcHeader->offsetEnd > fileSize) -+ // Compute in 64-bit: numVertices/numFrames are attacker-controlled uint32 header -+ // fields, so numFrames * frameSize (frameSize itself grows with numVertices) overflows -+ // a 32-bit product and can wrap past the file-size check below. The AI_MAX_ALLOC guards -+ // above only bound each count against sizeof(element), not against this product. -+ const uint64_t frameSize = (uint64_t)sizeof(MD2::Frame) + (uint64_t)(m_pcHeader->numVertices - 1) * sizeof(MD2::Vertex); -+ -+ if ((uint64_t)m_pcHeader->offsetSkins + (uint64_t)m_pcHeader->numSkins * sizeof(MD2::Skin) >= fileSize || -+ (uint64_t)m_pcHeader->offsetTexCoords + (uint64_t)m_pcHeader->numTexCoords * sizeof(MD2::TexCoord) >= fileSize || -+ (uint64_t)m_pcHeader->offsetTriangles + (uint64_t)m_pcHeader->numTriangles * sizeof(MD2::Triangle) >= fileSize || -+ (uint64_t)m_pcHeader->offsetFrames + (uint64_t)m_pcHeader->numFrames * frameSize >= fileSize || -+ m_pcHeader->offsetEnd > fileSize) - { - throw DeadlyImportError("Invalid MD2 header: Some offsets are outside the file"); - } diff --git a/meta-oe/recipes-graphics/assimp/assimp_git.bb b/meta-oe/recipes-graphics/assimp/assimp_6.0.6.bb similarity index 88% rename from meta-oe/recipes-graphics/assimp/assimp_git.bb rename to meta-oe/recipes-graphics/assimp/assimp_6.0.6.bb index 5fd56f719d..b21bf16574 100644 --- a/meta-oe/recipes-graphics/assimp/assimp_git.bb +++ b/meta-oe/recipes-graphics/assimp/assimp_6.0.6.bb @@ -9,13 +9,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f2d38c9e0d63058b051065fb7b1102a8" DEPENDS = "zlib" -SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master \ - file://CVE-2026-117608.patch \ -" +SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master;tag=v${PV}" -SRCREV = "fe1965b3e73f7c241265e8e5b3015764936a6ce5" +SRCREV = "a79ff6bbce54d3e01186a918dc6374ed55317426" -PV = "5.x+git${SRCPV}" +UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" inherit cmake From patchwork Wed Nov 25 08:06:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105584 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37931.1795594075757882529 for ; Wed, 25 Nov 2026 00:07:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=o2hFd4tD; spf=pass (domain: gmail.com, ip: 74.125.82.172, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-386d1859e1cso270550eec.0 for ; Wed, 25 Nov 2026 00:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594075; x=1796198875; 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=ka6wPd3v+b819Gp/7nI78JD+sCdci9FTDTfe/CCfiD4=; b=o2hFd4tDdGTTnNTxZwYTYK2ITks4gK6rB8DLk/Pxrlri44DDbSUnvEbM4RBf/rMguR PXgNcoyK5xE1dvZmrC8kEeDM60Mzwq+EDZ4UVKpBH8PZKa9KdvqfScoS99gPXKV89yaF 6eak+PzR5XqZmbHcLEuweFA3F+v6NevdTs0jtI0EJmtHIx8UKg9gBCvxFffqxeNz9liT MUrDb/di2O4sBb1TiLKdovBrzV2DWSGrYWMBHuUXNqVjzRRrgXtcbGAhkU4numC4Nkzn JktSYd+0vk42QPLniVUgKBjm7e3igpxEfFwFJ/2cYsenN4T7w2KyipAz0IR54puox06n VplQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594075; x=1796198875; 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=ka6wPd3v+b819Gp/7nI78JD+sCdci9FTDTfe/CCfiD4=; b=Ovgs2XS+N4kVImNr9+YMP/XkW38G6oDKM0qx1ki0gUI9e/eQJafEoxnq5+RsRMpRaA 6wOnEc8MlthALGJ1TqP/WR1Cy4X80xu2olIzo/iEzDSpQsRkT0P614iS4tsG9q/DCh7/ APn9+4aBS+zlWSC1vCWptpPYkg917zzZV4hg7/ZnGK1QS94PsJF0m8Vrs5CvIZdqwgn5 Y3ekXNBjGowyyaHmSMM9i4vAXNuu0zJJR2CCQv2ToYWIySPN2A+NRi4w83RPSbPFOwz+ viVXQ37Sa7g3PoPrYxWQ45cJQs8/DlQv9P1r/NhRXu3NytxQUFbe4EqYmB2SffcUgSOL uqmw== X-Gm-Message-State: APuU4Z8uR7ShCgKnJG8w6nt/Z4GOFuHihD5ybAZfGumoI72QBDhgAP5x C5bnuaTQxRGLXyY/D31v3NzrDURVCgvrVsHQC11d0UB594eCbsySBFduLvgTWUyu X-Gm-Gg: AZFdTZcrmqCtT7mvTL3M8HB0kIKBSthEYkXBB+DkFt2n8A/NNKx914QsOU++p3IL54x WOwN6vS41qI0k4QdG+OiSIGcNe/Ep+vsymD7pc2i2MTbDkH92yE8IhJJuTYBbiqxPDEr8E8SAI4 x9hHMa2jbaIyASb91fAqmnPg/eZeX5+64b/9BZelhj0C4iAQRFI77NqNNGIgBchITgQVfWB3s8+ uQ7N8SpU5P4RbwHD8uAwvZ2qvZjaliFpEQJg/IXK3S3iYLeeG8kLuUTyluxcmw+OG6doLFM0FZs lWDx2ETX2GdmQvj+9qL3nR6VyYbMCvCODJQk7+eevd1XHuXHNKhnZXi8NUhEZn0e3PGjAlpT3p9 WNQnc0wlu8GjZkj6CRUqDjvSbyFU4OHnOOeciwoY5+dJgzwgECnH91i/W4BtVMrrZQdYdO0dQnl xlsPMg8Ir3swdrJEwwb3fAEifR2sTtWPJMH8CKAe4VWN+wLLmbHZA8xKgzNUHxibdA1wdxmMNKU VFHhLeiXQ+oTdAeYPiGudY3diy6vind6WBGpzkPTWJDonORmFMvXUdkEApzO0ecY5onRW+1xO/S F6tiBJJQNzEgnj+75m2U6kkcAm/MUcHgUTwGvFpN2TKgXpoW6Jpzb7aYfY4HB49y4iMncb62Oua OcPLw0xlv9Q/bin9/DfRSEVuWaqTlAqsfkn376ReQnpbAELI06gPQrw6Q4l7Q/3aDgXV66ig5/r r9QervSfTMjqYot+UMQmdMBEdmrQ+M7lnOPldjXkpYM6nma9q+kO6ypjtdTetLkC8OALxSMtjl1 BmeGihTlm+RGvH4G3KTsECBoXhuTj3jwwXFBCpx1dhPlONIr6r8/65HbhnobXKUgV9rZlHqV6es oSif X-Received: by 2002:a05:7301:fd07:b0:36d:be15:2dd6 with SMTP id 5a478bee46e88-38570844f7cmr17603779eec.11.1795594074939; Wed, 25 Nov 2026 00:07:54 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:54 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 09/55] glm: upgrade 0.9.9.8 -> 1.0.3 Date: Wed, 25 Nov 2026 00:06:25 -0800 Message-ID: <20261125080732.2419614-15-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133012 - 1.0.0 adds GLM_EXT_scalar/vector_reciprocal, GLM_EXT_matrix_integer, iround/uround and constexpr dot/cross, and fixes decompose, quaternion pow/euler conversion, adjugate and angle sign - 1.0.1 adds C++17 [[nodiscard]] support and aligned vec3 SIMD, and fixes shear and smoothstep SIMD - 1.0.2 adds packed/aligned quaternion types, GLM_GTX_structured_bindings, GLM_GTX_iteration and infinitePerspectiveRH/LH; unit tests are no longer built by default (GLM_BUILD_TESTS) - 1.0.3 adds reflection matrices, reverts the quaternion rotate direction change and fixes vec4 to vec3 conversion and swizzles with GLM_FORCE_SIZE_T_LENGTH - GLM 1.1 will require C++17 1.0.3 is tagged on the 1.0 branch. Drop both patches: the quaternion fix is upstream and the rest only touched the test suite, which is not built by default anymore. Add an upstream check. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../0001-Do-not-use-Werror-with-clang.patch | 32 ---- .../glm/glm/0001-Silence-clang-warnings.patch | 145 ------------------ .../glm/{glm_0.9.9.8.bb => glm_1.0.3.bb} | 9 +- 3 files changed, 4 insertions(+), 182 deletions(-) delete mode 100644 meta-oe/recipes-graphics/glm/glm/0001-Do-not-use-Werror-with-clang.patch delete mode 100644 meta-oe/recipes-graphics/glm/glm/0001-Silence-clang-warnings.patch rename meta-oe/recipes-graphics/glm/{glm_0.9.9.8.bb => glm_1.0.3.bb} (85%) diff --git a/meta-oe/recipes-graphics/glm/glm/0001-Do-not-use-Werror-with-clang.patch b/meta-oe/recipes-graphics/glm/glm/0001-Do-not-use-Werror-with-clang.patch deleted file mode 100644 index dee2749898..0000000000 --- a/meta-oe/recipes-graphics/glm/glm/0001-Do-not-use-Werror-with-clang.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ee405855bca7d6399ff1a1aef952010056c84ff6 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 1 Mar 2023 21:08:09 -0800 -Subject: [PATCH] Do not use -Werror with clang - -Too many warnings to handle for a distro build - -Signed-off-by: Khem Raj ---- -Upstream-Status: Pending - - test/CMakeLists.txt | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt -index e7f85f19..0b6fd980 100644 ---- a/test/CMakeLists.txt -+++ b/test/CMakeLists.txt -@@ -197,10 +197,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") - message("GLM: Clang - ${CMAKE_CXX_COMPILER_ID} compiler") - endif() - -- add_compile_options(-Werror -Weverything) -- add_compile_options(-Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-c++11-long-long -Wno-padded -Wno-gnu-anonymous-struct -Wno-nested-anon-types) -- add_compile_options(-Wno-undefined-reinterpret-cast -Wno-sign-conversion -Wno-unused-variable -Wno-missing-prototypes -Wno-unreachable-code -Wno-missing-variable-declarations -Wno-sign-compare -Wno-global-constructors -Wno-unused-macros -Wno-format-nonliteral) -- - elseif(CMAKE_CXX_COMPILER_ID MATCHES "GNU") - if(NOT GLM_QUIET) - message("GLM: GCC - ${CMAKE_CXX_COMPILER_ID} compiler") --- -2.39.2 - diff --git a/meta-oe/recipes-graphics/glm/glm/0001-Silence-clang-warnings.patch b/meta-oe/recipes-graphics/glm/glm/0001-Silence-clang-warnings.patch deleted file mode 100644 index 10692dd423..0000000000 --- a/meta-oe/recipes-graphics/glm/glm/0001-Silence-clang-warnings.patch +++ /dev/null @@ -1,145 +0,0 @@ -From bd9b5060bc3b9581090d44f15b4e236566ea86a6 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 4 Jun 2021 12:57:57 -0700 -Subject: [PATCH] Silence clang warnings - -Fixes -glm/gtc/random.inl:25:17: error: implicit conversion loses integer precision: 'int' to 'unsigned char' [-Werror,-Wimplicit-int-conversion] -| std::rand() % std::numeric_limits::max()); -| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -glm/gtc/../ext/quaternion_common.inl:76:87: error: unused parameter 'k' [-Werror,-Wunused-parameter] - GLM_FUNC_QUALIFIER qua slerp(qua const& x, qua const& y, T a, S k) - ^ - -and - -test/gtx/gtx_fast_trigonometry.cpp:135:9: error: variable 'result' set but not used [-Werror,-Wunused-but-set-variable] -| float result = 0.f; -| ^ - -Upstream-Status: Submitted [https://github.com/g-truc/glm/pull/1055] -Signed-off-by: Khem Raj ---- - glm/ext/quaternion_common.inl | 2 +- - glm/gtc/random.inl | 2 +- - test/gtx/gtx_fast_trigonometry.cpp | 30 ++++++++++++------------------ - 3 files changed, 14 insertions(+), 20 deletions(-) - ---- a/glm/ext/quaternion_common.inl -+++ b/glm/ext/quaternion_common.inl -@@ -104,7 +104,7 @@ namespace glm - { - // Graphics Gems III, page 96 - T angle = acos(cosTheta); -- T phi = angle + k * glm::pi(); -+ T phi = angle + static_cast(k) * glm::pi(); - return (sin(angle - a * phi)* x + sin(a * phi) * z) / sin(angle); - } - } ---- a/test/gtx/gtx_fast_trigonometry.cpp -+++ b/test/gtx/gtx_fast_trigonometry.cpp -@@ -19,15 +19,14 @@ namespace fastCos - { - const float begin = -glm::pi(); - const float end = glm::pi(); -- float result = 0.f; - - const std::clock_t timestamp1 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::fastCos(i); -+ glm::fastCos(i); - - const std::clock_t timestamp2 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::cos(i); -+ glm::cos(i); - - const std::clock_t timestamp3 = std::clock(); - const std::clock_t time_fast = timestamp2 - timestamp1; -@@ -53,15 +52,14 @@ namespace fastSin - { - const float begin = -glm::pi(); - const float end = glm::pi(); -- float result = 0.f; - - const std::clock_t timestamp1 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::fastSin(i); -+ glm::fastSin(i); - - const std::clock_t timestamp2 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::sin(i); -+ glm::sin(i); - - const std::clock_t timestamp3 = std::clock(); - const std::clock_t time_fast = timestamp2 - timestamp1; -@@ -79,15 +77,14 @@ namespace fastTan - { - const float begin = -glm::pi(); - const float end = glm::pi(); -- float result = 0.f; - - const std::clock_t timestamp1 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::fastTan(i); -+ glm::fastTan(i); - - const std::clock_t timestamp2 = std::clock(); - for (float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::tan(i); -+ glm::tan(i); - - const std::clock_t timestamp3 = std::clock(); - const std::clock_t time_fast = timestamp2 - timestamp1; -@@ -105,15 +102,14 @@ namespace fastAcos - { - const float begin = -glm::pi(); - const float end = glm::pi(); -- float result = 0.f; - - const std::clock_t timestamp1 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::fastAcos(i); -+ glm::fastAcos(i); - - const std::clock_t timestamp2 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::acos(i); -+ glm::acos(i); - - const std::clock_t timestamp3 = std::clock(); - const std::clock_t time_fast = timestamp2 - timestamp1; -@@ -132,13 +128,12 @@ namespace fastAsin - { - const float begin = -glm::pi(); - const float end = glm::pi(); -- float result = 0.f; - const std::clock_t timestamp1 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::fastAsin(i); -+ glm::fastAsin(i); - const std::clock_t timestamp2 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::asin(i); -+ glm::asin(i); - const std::clock_t timestamp3 = std::clock(); - const std::clock_t time_fast = timestamp2 - timestamp1; - const std::clock_t time_default = timestamp3 - timestamp2; -@@ -155,13 +150,12 @@ namespace fastAtan - { - const float begin = -glm::pi(); - const float end = glm::pi(); -- float result = 0.f; - const std::clock_t timestamp1 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::fastAtan(i); -+ glm::fastAtan(i); - const std::clock_t timestamp2 = std::clock(); - for(float i = begin; i < end; i = NextFloat ? glm::nextFloat(i) : i += 0.1f) -- result = glm::atan(i); -+ glm::atan(i); - const std::clock_t timestamp3 = std::clock(); - const std::clock_t time_fast = timestamp2 - timestamp1; - const std::clock_t time_default = timestamp3 - timestamp2; diff --git a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb b/meta-oe/recipes-graphics/glm/glm_1.0.3.bb similarity index 85% rename from meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb rename to meta-oe/recipes-graphics/glm/glm_1.0.3.bb index 7f29c1fab9..0c6d72ebd3 100644 --- a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb +++ b/meta-oe/recipes-graphics/glm/glm_1.0.3.bb @@ -9,16 +9,15 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://copying.txt;md5=462e4b97f73ef12f8171c3c546ce4e8d" SRC_URI = " \ - git://github.com/g-truc/glm;branch=master;protocol=https \ - file://0001-Silence-clang-warnings.patch \ - file://0001-Do-not-use-Werror-with-clang.patch \ + git://github.com/g-truc/glm;branch=1.0;protocol=https;tag=${PV} \ file://glmConfig.cmake.in \ file://glmConfigVersion.cmake.in \ file://glm.pc.in \ file://glmTargets.cmake \ " -SRCREV = "efec5db081e3aad807d0731e172ac597f6a39447" -PV .= "+0.9.9.9+git" +SRCREV = "8d1fd52e5ab5590e2c81768ace50c72bae28f2ed" + +UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)" inherit cmake From patchwork Wed Nov 25 08:06:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105576 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37925.1795594076447349926 for ; Wed, 25 Nov 2026 00:07:56 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=e1n5mmvE; 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-386cf1041cdso943596eec.0 for ; Wed, 25 Nov 2026 00:07:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594076; x=1796198876; 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=UPJeVQAov1bm0wEo8L3M0VWuQhGOOf4+FV6cO1w1ujk=; b=e1n5mmvEPnSuawbfa8beA/quqk8jZfijhQPuiVAzDC427yzbMv90McPqvGx3d2nZJS 0NcWNx+FIM4Vazdnrl9w6MAoY3mkJ5kLVCCFjmMnzn0A9LuwY/8RUJQraH658bYmAjoR Czl8+wiq38inwH/A2G5RpW/Rv7Lr6Z4NVzykmvFJSfwGcfPRsdcyZX4y007r9lS5hojR SmSKfDwz5DJuU2zQFX5DEsBhFgKVDp84Lsx/hfu1qKnYmO+2nGXWVBi12KGLdrTPfnyr j7VD0VWhlZsvFBjzoUXxt9j4R2AaDhP66m6nHCSEiThX2Q7gi1woy+O7zvcsO32Um5dW GWrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594076; x=1796198876; 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=UPJeVQAov1bm0wEo8L3M0VWuQhGOOf4+FV6cO1w1ujk=; b=eV8ynyNTFoSZ2uhPRVofDppobsAp+hUN5OPPlkJj+iP16rMH/W16d67k6mA9aPELrY iJod5y5gCZMFFNsfznvpjgS6uK1vD7Qc1vziZD/LOUUHUJzR2/y0kFWs+ldUqPj7pLJi uw3e7Ou+cSx+S4b/CRzaeka46nXBKmCF+ebbFxeMzX4RzVIvcNculS9IIKHDSx+T/5wJ yaLGxyBL+IBR3+cviUrjdUl27DoynzFsINJqfieOL0fneVtUEjqXQjJMecyTNC4ug0Bu oAXztII9l0FW1YGI/Ybpg02f/b9K9cWynBWcbY9woqR4gFl32NiWUdsuHa2iieSJr7Yz yKIQ== X-Gm-Message-State: APuU4Z/1Hgmb8K8QuV8yx6OqfDQftTCO8x2eC7jh44jfN0XlRCEnkN1W 0SEUC+uhONgk+AHzvfFT35+SsLny3di/rm5w3PY+rmd+u6BRRRnSFLUYRGckhm05 X-Gm-Gg: AZFdTZen/Vm1/0bjWZgjxjgjbqFTA8FRmzCQh+gmZxrkm26Rr4CxnKak4HwJ8qtstkF ehL/MAJ1bzRvABe7vtJthJKnSp5g6lxTgdQMocZIbD93GKrUxGi6fr2sHq7jHJRoMpNM2pfN0e+ bm7PrIIO/scn0g1saisJKYzYvoWUd6qKUHLJkaLIPMdJ/qLgB4sZXQKwlxy4BLIYO3pmC5HW8HG UBljYbUKB9IcyRARQa2PE4KBVDVcLwBduySOjQezARVBC5Rb+HcqRtR1PYsozGfo9CxwYyX4kGV K1SeUKtQpLiOMUZtf8Auk//5WWjzThlU4UP5q5Nt8fNfOTeZaALzJ1UYNZA9GBbz9UuVhMSBhvi /KQ6cR/z2oUuSpuPfcFr8LyLpPHh9NzOZeX4RpwW0mclN9ZMAQq6Sebw7gyrzQfJ6ZM7eCFPsbG Zn9JVCreCxj4/hgfsK0UVP8Ap/Ic5EdtmIqlwbU2BrZn22fzbuJKl9yqTWcU77k/Q/nWLwPXZTd i5pTGJFutDKaPwn7xCSK/TuioT5pASVTIgD21stVc7ETvZpQTczS+aFAz/XgedrDs3QjWXRgFkM b+Q1DjGUrwX9Aouqi+/UUsSiURiDEn0YzUSC24gbapbWIKva5MwfCKzTnJrzu70EizUsLGHtQwr 6p75zex8mdnQa+bMDmvqStHSCjRXQS2Oierx2S4az4RqqPrAUBPGTOEX1Be9T3NnKFGgXGB2Cy2 3wwPTkrW+H8e4cfTmEFsrWnWf20ARdz3cHq15hhsQlWPMUyxAhqQF/4B9SnF3GBHD2rMsnjGuFF Ek/EQaHq6Vg/2eqnQZBLmifBFNuAZevlEsvbfhihzbJ7u80vptoFu24Cg+UVAfkcAAgnH8mOvJi VzVy X-Received: by 2002:a05:693c:8947:20b0:386:9ef2:8e01 with SMTP id 5a478bee46e88-3869ef28fe2mr11205881eec.0.1795594075848; Wed, 25 Nov 2026 00:07:55 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:55 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 10/55] cjose: upgrade 0.6.2.8 -> 0.8.1 Date: Wed, 25 Nov 2026 00:06:26 -0800 Message-ID: <20261125080732.2419614-16-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133013 - Switch from the OpenIDC 0.6.2.x fork back to upstream cisco/cjose, which merged the fork's security fixes and adds a CMake build next to autotools; the libcjose.so.0 ABI is kept - 0.6.3: many security fixes, including a heap overflow in AES key unwrap, a pre-auth DoS via OPENSSL_cleanse after failed RSA decrypt, minimum 2048-bit RSA and HMAC key lengths, critical header and alg/key-type checks - 0.7.0: A128GCM/A192GCM content encryption and caller-supplied IV APIs; RSA1_5 key encryption is now a build-time opt-in, off by default - 0.8.0: RSA-OAEP-256, ECDH-ES+A*KW, ES256K/secp256k1 and OKP keys with Ed25519/Ed448 signing; OpenSSL types removed from public headers; fix HMAC over non-oct keys - 0.8.1: refuse valueless private JWK members, multi-prime RSA keys, private epk members and non-disjoint JWE header names, which may reject input 0.8.0 accepted Switch from the OpenIDC 0.6.2.x fork to the 0.8.x branch of the original cisco/cjose project, which is maintained again. Add an upstream check; the tags have no v prefix. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../cjose/{cjose_0.6.2.8.bb => cjose_0.8.1.bb} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename meta-oe/recipes-support/cjose/{cjose_0.6.2.8.bb => cjose_0.8.1.bb} (51%) diff --git a/meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb b/meta-oe/recipes-support/cjose/cjose_0.8.1.bb similarity index 51% rename from meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb rename to meta-oe/recipes-support/cjose/cjose_0.8.1.bb index 492ee0d143..07a91face3 100644 --- a/meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb +++ b/meta-oe/recipes-support/cjose/cjose_0.8.1.bb @@ -1,11 +1,13 @@ SUMMARY = "C library implementing the Javascript Object Signing and Encryption (JOSE)" -HOMEPAGE = "https://github.com/OpenIDC/cjose" +HOMEPAGE = "https://github.com/cisco/cjose" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=7249e2f9437adfb8c88d870438042f0e" -SRC_URI = "git://github.com/OpenIDC/cjose;protocol=https;branch=version-0.6.2.x;tag=v${PV}" +SRC_URI = "git://github.com/cisco/cjose;protocol=https;branch=0.8.x;tag=${PV}" -SRCREV = "e787ace6a203d483038a793fd58f958a2f9b48c1" +SRCREV = "6fdb5fe75a86acb9cd34ca2eb13d9e090a6df588" + +UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$" DEPENDS = "openssl libcheck jansson" From patchwork Wed Nov 25 08:06:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105577 Received: from mail-dy1-f180.google.com (mail-dy1-f180.google.com [74.125.82.180]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37933.1795594077918812140 for ; Wed, 25 Nov 2026 00:07:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=aCxoaXr3; 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-386c4d2e2ccso2524346eec.0 for ; Wed, 25 Nov 2026 00:07:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594077; x=1796198877; 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=1UWQSZhZj2D30drYMfI4lCxGjS3QmBpW0rWlChPRpxA=; b=aCxoaXr3aDueqB1Lonxqf6SH9jqVELlw8MmQ/W3aq8OMFGAtKRGxwmmoUpXhvCz3g8 HXl3MKMLfjuLkhfStHOfWJ3jiRhNCIDu3HEUfw22gpPFerbf2nW5KpYC6cKGWhG9/f6s nk64oc4Y1gjmulduA6Wocp0QbZ0uzHlM6x5CWVW48RlRHqYmcnUmf6RhcZWzBcVCmmwh 7KXbTyrvOCUuj7EXrSMMejJ0OcToTvfTYjDKAL6PcsQ2SEDjxNkpBrFPyAK21EPHcyxz ynpdUeVQr/L/afq3TBa1HMNKz79YRUAVh2t0Mq56QA2qAn4bfUpKrhL8hxmHyQrde0I0 h2RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594077; x=1796198877; 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=1UWQSZhZj2D30drYMfI4lCxGjS3QmBpW0rWlChPRpxA=; b=JiJpw9ysPQVLVQYcCxXOoz04WVrIPIohoQ7VTGyCGlrJrT0AjRy54uU3sXCR9V+PvX eDZF2lmMHUtRmA6ffJ33SVTynPqH1uhjptKkrvpi14GC02YSxP2Txe6bAW2UTJuV5X83 hDNS8uHsXTy173xc8sf5y7I2KO4FSPco5NORebREqhAJbduLu8W2wJLOaqifJVva3CFS OIsur2GWdnXAuuZRx/avSniW+rFPbFmXZSl5No8sNPfnjFKDZH3YN42AU6o00Buzb1tO Jfi8VbkBsMsNbc6URBznNWvhFE5ymuKdlUWrdwIeDyCfh1v1BenAIi9Qlo0ri9c0V6TO Cz9g== X-Gm-Message-State: APuU4Z+7s6BBldtk2b5Zd4uC8vWD0uWlenw+VFf2NdnDA9ceLylk3s23 iQkRsY9Pj/6iUThxvC75GhCK1d0jNDDP745Vz0z/44LdOPyxdRNB+fV9Qk4F0okX X-Gm-Gg: AZFdTZdX7RF8JNulfMVBRgWsJI5Q+BbZ+OVyx8OF8ad/QJlR63K+efqI1PKA80vnsdz DV17c5oAxtbIwRFSH1n0DSpNNTgVF9iTiZoWaYTn3GvwErF3qnffcHLzR1Ll7/Xjv83sBvq620J onz6WL6kYRg9pRv7PUw2IeQ/68fFv79CSABGEiY9hwcuOobP5we10Z5AnQe/rHgfO/31Cppyt7L 2Ra9hpHgc9Ad7yEquoJwp8QXCAxRfIJenjvk4J4nIeJfe57U1cfNXnfJUs5bGWA536IkQSumOQX DMnOBmdaIcQrTQiHyL8J0RFcQypAtC9/MEyHGZuCn6GmE7p4PDyFoFEe4c9+evjtct1no17OD8n ip4Yy1N9do7vBnMeuylfB/IhxoZgfipN/jHDyH4BUteXVorkaQcMk+Q+RvE0zcIwpwHNCkfyTKi cGYKgmJ1nHDfzUVck05J9uRvBu+2U4WgsjKP98fKkK/Op+s2pB4eQM7FkiWzWW7/FTPsDQGB5j1 Cyn0+JwBgHvsxtRcFR69jTXIl7I2yP/gapWCqKE/Xhkjyw6pOyXI/PJUtW4jA0V9cGnkQFrIF39 bgb+LpPtCxf818FWeLkq2zGn2BLBPQ+aARfjyghw4YfVaDsgKw8Iwkv5OQFlXpRtkv/wqNTdi1h XOjR+qxR+71JlNvqTbWdRtZ+oA+7YNuPnaYK4AaX7zlPHIco1l0F5igMarioZAQPL8gpqc6vTVU SeDJxBN7R+hY8YQFc+zsGIdyaD6xCuM79GyJq2eGVylCCXuZKvTnTQJW/CNdxhV+h3lt/wirYVQ FMnAJoV4iFDrIsZ9gUUIP/x7xs58HnPnWXCUuEQsw8DFlJWW6pNo1mP0NLrDnKQb8pydy0E0pxo tLyh X-Received: by 2002:a05:693c:60d4:b0:37e:fac6:7ef1 with SMTP id 5a478bee46e88-38571120627mr17849686eec.39.1795594077204; Wed, 25 Nov 2026 00:07:57 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:56 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 11/55] zabbix: upgrade 7.4.16 -> 8.0.0 Date: Wed, 25 Nov 2026 00:06:27 -0800 Message-ID: <20261125080732.2419614-17-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133014 - New major LTS release: OpenTelemetry-based application performance monitoring (traces, metrics, logs) with ClickHouse as history and telemetry backend; OpenTelemetry collector on the proxy - Complex event processing, a JSON item value type, an MCP server for AI agents, a mobile app, dashboard export/import and Elasticsearch 8.x/9.x support - Removed: deprecated macros, host/template massupdate and hostinterface.replacehostinterfaces API methods, HTTP agent JSON/XML validation and pre-1.6 agent support - Breaking: changed API access defaults, SAML signing enabled by default, TLS verification for HTTP-based templates and media types, extended UnsafeUserParameters, read-only built-ins in JavaScript preprocessing - Raised minimum PHP and database versions (Elasticsearch now needs 8.0 or newer) Derive the download directory from PV and add an upstream check against the tags of the GitHub mirror. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../zabbix/{zabbix_7.4.16.bb => zabbix_8.0.0.bb} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) rename meta-oe/recipes-connectivity/zabbix/{zabbix_7.4.16.bb => zabbix_8.0.0.bb} (90%) diff --git a/meta-oe/recipes-connectivity/zabbix/zabbix_7.4.16.bb b/meta-oe/recipes-connectivity/zabbix/zabbix_8.0.0.bb similarity index 90% rename from meta-oe/recipes-connectivity/zabbix/zabbix_7.4.16.bb rename to meta-oe/recipes-connectivity/zabbix/zabbix_8.0.0.bb index 568235e698..b66967b71d 100644 --- a/meta-oe/recipes-connectivity/zabbix/zabbix_7.4.16.bb +++ b/meta-oe/recipes-connectivity/zabbix/zabbix_8.0.0.bb @@ -23,11 +23,14 @@ DEPENDS = "libevent libpcre2 openldap virtual/libiconv zlib" PACKAGE_ARCH = "${MACHINE_ARCH}" -SRC_URI = "https://cdn.zabbix.com/zabbix/sources/stable/7.4/${BPN}-${PV}.tar.gz \ +SRC_URI = "https://cdn.zabbix.com/zabbix/sources/stable/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-${PV}.tar.gz \ file://0001-Fix-configure.ac.patch \ file://zabbix-agent.service \ " -SRC_URI[sha256sum] = "0e2c391dc184acce8e34250e7326a51e19c8bcee31e67b8497f5526247ecd261" +SRC_URI[sha256sum] = "55469ac599fd1443370ecf4288655d4d62109ad3a686711c4f3e0d428338ca77" + +UPSTREAM_CHECK_URI = "https://github.com/zabbix/zabbix/tags" +UPSTREAM_CHECK_REGEX = "releases/tag/(?P\d+(\.\d+)+)$" inherit autotools-brokensep pkgconfig systemd useradd From patchwork Wed Nov 25 08:06:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105578 Received: from mail-dy1-f182.google.com (mail-dy1-f182.google.com [74.125.82.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37926.1795594078821994496 for ; Wed, 25 Nov 2026 00:07:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=cqZT/vQh; spf=pass (domain: gmail.com, ip: 74.125.82.182, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f182.google.com with SMTP id 5a478bee46e88-3863db981d4so7616110eec.0 for ; Wed, 25 Nov 2026 00:07:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594078; x=1796198878; 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=VLn5SbK4ZToimZwyMnVe8NU6BajfhjsidM/j4osLTRU=; b=cqZT/vQhbHsiFuWXXmMMSqdFcoztiSfEkan4SptFrBMIpRNsHu6bcCI1VGD1hhWjGL w1+og4hTb2XlaQYdRFVW8uYHw55VZOEViPZCCeAZvUOS8A7i2wHhH8KKSjeKe6s4W2DQ huKZkU0niY9bQw5qa7dvEZgNEoV1Hbhl8POzCtxXTnq362u359f+RaAXpLwOw+4i9Pfa 8Ft7A+BQOzYtTxpS+eUjqE9VLJEvjCZAYoZYMABbpaWYdQuFzvtB15F/WVF5s0SYyetc W+ZYgExAcHbBuBa2w5LWGappUZB9bjs0WsZemGDmPYAURtSSrl3Ll2FYpuPw/9CTDo3C DjDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594078; x=1796198878; 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=VLn5SbK4ZToimZwyMnVe8NU6BajfhjsidM/j4osLTRU=; b=eJEBgIU9SzYnvyex/9nL4Xh/GTNIXZovwFPw5xD736AeiyCxjgp0k3ZGK9BKrcjYvs BF1qCqiuLaX5LJ9wy51syT8vDPrv3KbwLl3NUNFVbmKUHKo6pFRSNwkhd56Jijz3hXG4 mA4VziyiGm1rbIQN4Pu+OAFn9mTO4uNoy9em5GxSJsVzIXZMvO0tkNFsnil1feVN8Hvj 3dbIuL6C0sBzPvrYcQs664koYaK7pPnQstaXSjJ1B8aPg3izS+AFxxHBfb2JNpQnm7lc ba3XW0MEcoGXae7q7m2Tz5+tbv1BytGHRPw+VD4mo+fHMeCetk+7ahXyGxUqVqwiM+WR LJOw== X-Gm-Message-State: APuU4Z9rS8dcRZnX3DRJJF1IqsMIxj/MAYcPOXkktFYMWxpeNwpTC4MO BnjgB9mOQotT8EMcGIFJsG60TpAfygkR8Lo9djE4NhRnUUxmwYyAaDvZSQz+lVi5 X-Gm-Gg: AZFdTZe/TF6hnXPL3JXBihlf76YghKmNoCkFH0ZjOsn7kPCZg/YkunP2HYqHX5G6K8h WEmpyp2b4b2gZcySCof5Na7coGk6VLWmSRF7fjOEGkZxOHhbIGh3u5bRh7ofMGs04EM2wzYpQQq 4km2n9jlTh6xBaJgeOEGsZFqoSH4UbxnqEUv4y5BlLQsBQXTvab2qY5J7/0XxrzSUK4Kslkha6m 4Mg7NdUHeX8s7vTImk9RZ1zEnAJD6mri4NlvoRTHbpItTJb2LcmoTBxXmqz9SvDorrX4OL+UQpD i9oQu/dhvrlavozKRdAU6vnaLxtakydMepj0uOuUmakbE59g4nqlGPQPnyXfznfTqhTWNr4hW5L NCw051RjmTxPqpgDUYVEmL5JadGb/0wLhL8bKwE3A/ZvdExC1mycHIDIdIOCgTjdBaDLkmo3EQu uYRJ1QmE2gC1L7bwQlD3l4vdUX7Tddc9lQ8XK9FqDSVX/CIkWPzRkspCa25D+XpliaS6CLu5x+X ZhUL3k0kKxsoNMa24GU45tcihlbh6q8NmKQfgvIGgSYP6TzbhPG3mLMjCiOuyB0D+nl4n/4JQWw C2hp4lI4QlKe/IvhjMTdBlPXjMGGie767uMSxKnjSQuCA0fZCvPdgqs3+blwCfs0OS7QCcyJLDA LLrlO2/U8jcWXH2Q86IhAEzfEliMzt+IX9MUMpSB98ooSxAb7HKbbjq4TNGOJk9zQDpMPZYuZjW 4y9P+Z6+byCi+D7VpZ4PSSZShRtcjXG6aeNqPAgU1PL8dbjdtaiEeGIlOKTODOKZjsckIacMtFf uir8ezMWxtq4UBNUZWVuuiI3IeGpKeLqvCh+3AQG/QJk4HlFHPtOCL5SR91d3IU5Fv7BD52538L XXda X-Received: by 2002:a05:7301:6181:10b0:386:b2ac:1f17 with SMTP id 5a478bee46e88-386b2ac2832mr8584511eec.7.1795594078221; Wed, 25 Nov 2026 00:07:58 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:57 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 12/55] lmdb: upgrade 0.9.35 -> 0.9.36 Date: Wed, 25 Nov 2026 00:06:28 -0800 Message-ID: <20261125080732.2419614-18-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133015 - Reject zero-length values in DUPSORT databases and add more input validation for MDB_MULTIPLE puts - Fix writes of 2GB values, limit sub-page growth when re-adding existing data and fix mdb_stat page counts for DUPSORT databases - Platform fixes: metapage sync and SIGPIPE in mdb_copy on macOS, no fdatasync on FreeBSD 11.0 and older, large writes on Windows Stay on the 0.9 series: 1.0 changes the on-disk format, so existing 0.9 databases cannot be opened without a dump and load. Restrict the upstream check to 0.9 releases. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-dbs/lmdb/{lmdb_0.9.35.bb => lmdb_0.9.36.bb} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename meta-oe/recipes-dbs/lmdb/{lmdb_0.9.35.bb => lmdb_0.9.36.bb} (89%) diff --git a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.35.bb b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.36.bb similarity index 89% rename from meta-oe/recipes-dbs/lmdb/lmdb_0.9.35.bb rename to meta-oe/recipes-dbs/lmdb/lmdb_0.9.36.bb index 36f2056914..8ed1853500 100644 --- a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.35.bb +++ b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.36.bb @@ -14,7 +14,10 @@ SRC_URI = "git://github.com/LMDB/lmdb.git;nobranch=1;protocol=https;tag=LMDB_${P file://0001-make-set-soname-on-liblmdb.patch;patchdir=../.. \ " -SRCREV = "69087ced3cb6082f7dcfb4fc2dcaa3b68a7e2e8c" +SRCREV = "028f61b6832032174f893484719ed4848d8d60db" + +# Stay on 0.9: 1.0 changes the on-disk format +UPSTREAM_CHECK_GITTAGREGEX = "LMDB_(?P0\.9(\.\d+)+)" inherit ptest From patchwork Wed Nov 25 08:06:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105579 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37927.1795594079935985918 for ; Wed, 25 Nov 2026 00:07:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=wT3Xk8pi; 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-3863db981d4so7616151eec.0 for ; Wed, 25 Nov 2026 00:07:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594079; x=1796198879; 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=PmwW99nFS8f7ah2f37miKa2k+ZkDXQj+1VufwbfMEkA=; b=wT3Xk8pi4kO6OC0rSm7nEQghGHyvDNjBS0OEiE5fR1s1h4hBTYTAP0z459DsgiYqOc NgULj4k4c7UnihRbwMUla8FzgriHvg0PATLfq0rEWhhL3cRuZl03jC9dyvmqjJAUuLX1 yfg5KnDLMWubcacu1zWQATOeod0E3NsW4L1rcYyEUQaRg8G5BJBf/FIoeJS+Zt8gXNLu XK11Mffwg3WZhrbdaIQvpJ1Tn0awfhESKaoULuMjKSMzmUEFFPGG+bYKVJWAd0+UM3IV JTdfzEGXuaKSjUnTsKRW5NsB+dcLVnFxgSKB2sq0CXbaVV3CEiFT/1lWQoDbcgfMYF6J R/PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594079; x=1796198879; 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=PmwW99nFS8f7ah2f37miKa2k+ZkDXQj+1VufwbfMEkA=; b=tdUpfdiQhivvMLOmruKbMXF+rzSkiWHsQBo03C7zWN5EJAR3+h0eHneU+3wDnpaw9M wMar/gRnlf8zWRo/RVWtmjShI4r+HmwtWLqxzuE1K9U4cyjV7m6vjFNyEArSij16dEvN cFh5uHnh4JaVxI3UFJc8XzSp7RGtuHmsL+U3CE+G3NsCRJpSOKUtWI/fFO/ZOfYkUNzA V+Daw8bpWdI3MPsPDQGcBjv4lSIF11ASXMlCmnOveXbCwHPhSeOmrYzLdJzir1OziITz pIVNDZMNR/wk4VRbp/xMxvU1jXUd07ZF6hn2TKnkQlTN6++F5aKxyuRVT4EIOD5s5oI+ llxQ== X-Gm-Message-State: APuU4Z8nNSJliGwjymI5AgKACVHWDG9xbaSFPzHudIrEwq8OGY7ecYMj 0TQ0GQ+ga6PPwEQBakiEV5wz+FEfxVe450pW1S5Vr9mWlGtYNfYeHH/a/EahYFyz X-Gm-Gg: AZFdTZc5oLd7CimFJtfe7IoOUapXZai7xYFHyL7wH8Nhz1pz+85w0YWIPcwmsdrlFl8 Ha6qJjaCX7Eai14uqjMdnF7BozKfGV/nBfxWLO/O5AZz82E9vl4sRjaPCyfoD7E6ZraGhMxoCE9 naWZZZngnmohUoIhIpiIJ2NCW9t7sNMvp6nXllnl5y/NtIFxMNRPcHWIV0wFD+kPP6F9HqwmcO/ TMg67sk/VZnbTiPLdYVCa7xiihW6BbA12ihliHaG0Gn3/2dfM9DnlKyYxPOg28uHzKbU6ST+9kF tQHLoAVxrv5JMSzE6QwcZPsWx4B5diLhXudPB3DjHnUxPjaqUO8Fz6VKxf1DrmlYQu3YSJ/6AQ1 gHVvTEfp+Z1bC/c82KjJCdbFDKx07h2WfZDgRruyZyJCSwXyl5u3pz8BGY7YTKXL+VQUMEjw6gV LLDZRcwsUMhwr+Y1fFmrXhPeWZfPCwmFrTmaO68v6m7wPh2ad8U0y6F0ALf4N2h3JEPrteLojAP IlQk/Tw4EZYGBihrboBHsZiDH4F2QhkQfVSD8pRM+SZblcIKz3sWUoVyZgTzjUKBkR35ZZZn251 SzlLLMuK+2iF0ncRbz2SBDoieu/1gFo721iQdCmMXg+65mGE1FvN4RhIR4/6ppaQRG+bmaUwaQi Z3ylqLOcazVWFDa23+AgYK++dK6SEKtzfAuBcbCYRAR6pT5Z/xDEV8JTELIGajE9MHzWh9H+VVb odt4kIJexL8xNkAlEP+xaxqQQH5woSyJCvqYoDoY1L4y/l0kSOF1VINq2G+wvamhBnUxHtf8kaI LOi3gxS+bCcYsYA+Dkf20ce4u8fqj3BD4xl19MH/OMUtAwxMN7wAQKt6g6HtjkqPi7k2pvfhShc 2xKn X-Received: by 2002:a05:693c:8953:20b0:386:a70b:75dc with SMTP id 5a478bee46e88-386a70b7837mr10567399eec.11.1795594079227; Wed, 25 Nov 2026 00:07:59 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:58 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 13/55] adw-gtk3: upgrade 5.10 -> 6.5 Date: Wed, 25 Nov 2026 00:06:29 -0800 Message-ID: <20261125080732.2419614-19-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133016 - 6.0 brings message dialogs closer to libadwaita, makes libhandy viewswitcher buttons look like normal buttons and tweaks colors - Later releases adopt libadwaita's classic notebook style, adjust titlebuttons and OSD/column header styling and add focus-ring transitions - 6.4: the GTK4 theme requires GTK 4.20 or later, since it uses CSS @media queries for the dark variant - 6.5 targets GNOME 50 and replaces deprecated sass usage Since 6.0 the theme is built with Dart Sass, which OE does not provide, and its SCSS no longer compiles with sassc. Install the CSS from the upstream release tarball instead and add an upstream check for the releases. License-Update: the release tarball has no LICENSE file; use the common LGPL-2.1-only text AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../gnome-themes/adw-gtk3_5.10.bb | 15 ------------ .../gnome-themes/adw-gtk3_6.5.bb | 24 +++++++++++++++++++ 2 files changed, 24 insertions(+), 15 deletions(-) delete mode 100644 meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.10.bb create mode 100644 meta-oe/recipes-gnome/gnome-themes/adw-gtk3_6.5.bb diff --git a/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.10.bb b/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.10.bb deleted file mode 100644 index 70da55c137..0000000000 --- a/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.10.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "An unofficial GTK3 port of libadwaita." -HOMEPAGE = "http://github.com/lassekongo83/adw-gtk3" -SECTION = "graphics" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" - -DEPENDS = "sassc-native" - -inherit meson - -SRC_URI = "git://github.com/lassekongo83/adw-gtk3.git;protocol=https;branch=main;tag=v${PV}" - -SRCREV = "c2e74c9d2a5c3895b8025ac1d4b9e4cced71fbe9" - -FILES:${PN} = "${datadir}/themes" diff --git a/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_6.5.bb b/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_6.5.bb new file mode 100644 index 0000000000..1bbdd1abf9 --- /dev/null +++ b/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_6.5.bb @@ -0,0 +1,24 @@ +SUMMARY = "An unofficial GTK3 port of libadwaita." +HOMEPAGE = "https://github.com/lassekongo83/adw-gtk3" +SECTION = "graphics" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780" + +# Building needs Dart Sass, which OE lacks, so install upstream's prebuilt CSS +SRC_URI = "https://github.com/lassekongo83/adw-gtk3/releases/download/v${PV}/adw-gtk3v${PV}.tar.xz;subdir=${BP}" +SRC_URI[sha256sum] = "a81780fadfc432be0fc3d89c4ebb41aa28e4f032d42c36f9789c57dd10cfa41c" + +UPSTREAM_CHECK_URI = "https://github.com/lassekongo83/adw-gtk3/releases" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P\d+(\.\d+)+)" + +inherit allarch + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + install -d ${D}${datadir}/themes + cp -R --no-preserve=ownership ${S}/adw-gtk3 ${S}/adw-gtk3-dark ${D}${datadir}/themes/ +} + +FILES:${PN} = "${datadir}/themes" From patchwork Wed Nov 25 08:06:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105580 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37928.1795594081329563779 for ; Wed, 25 Nov 2026 00:08:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=DQkcWRWg; spf=pass (domain: gmail.com, ip: 74.125.82.172, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-386ab9ab619so6449165eec.1 for ; Wed, 25 Nov 2026 00:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594081; x=1796198881; 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=ZrGs/CezG/m63QLkBT2LpcTcrG8C/cCeay4RD7m92W4=; b=DQkcWRWgwwHeOCDiyZp56rWJE7p1AHDfV4SyessT1HkYPySmE/3ZvI6bqCYQPS88QW A0xQgm6VXKGnJu9LyXzyxXO+FHLoS55vdg7WOXGc88a6w+59vWmmweG90eh2v9QzSG9y AAKLnzOhbtGCj44L/dqzAm898kBGcOYGM6KvS+uoXFjUVR0Qncu7QEGglmYA6A+dFgYd rZkHAPutibISqFOr3zgAFaNj1MRb/DQshBsFGZbR3AtN+bNAz0WGvFiG6DNgudviLId7 5gKETe4s6uWwF+Zvg1Jwp+/g4w4kZj0uZ+pCg8z3+iP+uDghwjEEUqHBW8C8vp+srvra FozA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594081; x=1796198881; 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=ZrGs/CezG/m63QLkBT2LpcTcrG8C/cCeay4RD7m92W4=; b=j5Cx4WOAvzwoT8+voZdGH647gaWAaQKoDjkcskG2QHk5fV6S8S8RKNqf7wD3Nngmc6 ZZlDhDU70DZAi9E50vAzMUWYIBFFq5r+IXonqGMPxpKgZIdJiukQTDMy+a5adqG7qHO6 ZVdqyPfunLyFbK5vZqYdz68VQaRFxL/0eyKA+R/MbVfUbhsfPGpuyhlh5Ra+3c0tzSyr pehHrlhmTz2I419EWcdOZEJNlb03pZoJUAQZPT0awctYEk6cDgCtgGA90TVzERP1aSIn kXI9dUZBlabjsuHphmMok0O9/K2tNbI/eZ//7xLBmPWVPQGg+b3XIkm6fczw6vnnrvfw h75A== X-Gm-Message-State: APuU4Z+Gy1Zcl72k7o/1akGP8q6C901HsKqZ5IIN/ZFGcFXRFFU99W+s bwEuqSLyVE1Nm9DDXPrp46K5yAp+Hc6rPTz9RDZipj5m7wcog0iFbNZ5au21U3Df X-Gm-Gg: AZFdTZccSIWXOZEZqIe4shsxaInLQ+vwnnAPD7Cj4jLhdBrVXqPEna58UR5mXrZ527D muWyq0vBfZ7tSfQfFq7Mh4NgCuZ8aO6+J5forBH+uFqvVFKN6NZdurEatc5sQ67TU1pZzqZIx5M Je1HdJNXoaRf+QS2OMqLn6ydjO8SoteaUgXbJTNIe1i1N85HrOAnhm7+B1OXx3B4Treiz4aBA26 n2iFYuMImzZrN9s+BsO4khmMMcg75FCvhOPELw66kPJiXozQWogOP5Jhdy2/EZc8qKwpwmcqpjT z3tZen4/fgBrB/fz2I8/C5gQVJuTmSzuZOdb7HNYx5S+/qHS1vibOaVbhDWvJBinhLdiibRzrWy 9DX3vK5R3apFEG2ENB1lppPhuFTmk9D+FY8AuuIzmTdxBu2CUVpVPe7bYUMt8Ibg6a1CGDsT2y2 Ky+wRz9g9GIhRi1fLunhIv+fliiW9KIKKzsBrXpPkuaf61U8vyMMBYgx62nIhbIVroSqkR0ej9z tclxam1JVWalNJL3zqFYBfwtZ4TKK2tVGIIhLXRbDfd2PWa0a3kLfhcUmxHW0OP6xFtJN87B508 Xg5Wo3BhsrbsltIPD/+4cElFN/kSsoZ1Fc+cq0VXDPjroK7eKyrZbrPXsnehhFHueLsWEaB30x3 GgBicRy4pYPkAiRCBixiFW+xZ/u6+Vku9Lvtvvy9KABsYsvveneSqWgdZBb2yTyq+XShOuvnHre sjjyq5YzMqxrONkDgQoovbAonhjklzlAHUl9b6HgLL5M+SuVRp4DE07gKRN/rOR+cNJxdkHUX3z QJvz3g+hiLOYh9Cyq3eVCDY4pRDa98aLXCQz7tHLkZoFHtfm+vaMB5L2vsI4tymopjJ1k8rBVuZ m0fq X-Received: by 2002:a05:7301:78d:b0:385:bc4e:dbbf with SMTP id 5a478bee46e88-385bc4ee6c2mr16307632eec.37.1795594080618; Wed, 25 Nov 2026 00:08:00 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:07:59 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 14/55] wxwidgets: upgrade 3.2.11 -> 3.2.12 Date: Wed, 25 Nov 2026 00:06:30 -0800 Message-ID: <20261125080732.2419614-20-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133017 - API and ABI compatible bug-fix release in the 3.2 stable branch - Security: fix buffer overflow with invalid cached help books and handling of TGA files with invalid size - wxGTK: implement wxTaskBarIcon using AppIndicator, use wxApp::SetClassName() as the Wayland app-id, fix a possible wxWebRequestCURL hang and a wxWebView memory leak - Several wxHTML fixes (image maps, printing background, file types) and updated Unicode mapping tables - Add wxPATH_RMDIR_PARENTS flag to wxFileName::Rmdir() Stay on the 3.2 stable series; 3.3 is the development branch. Restrict the upstream check to the stable (even) minor versions. License-Update: docs/licence.txt replaces the FSF postal address with a link to gnu.org; terms unchanged AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../wxwidgets/{wxwidgets_3.2.11.bb => wxwidgets_3.2.12.bb} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename meta-oe/recipes-extended/wxwidgets/{wxwidgets_3.2.11.bb => wxwidgets_3.2.12.bb} (95%) diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.11.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.12.bb similarity index 95% rename from meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.11.bb rename to meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.12.bb index 51f3fdb39d..d6a8de6bdb 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.11.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.12.bb @@ -7,7 +7,7 @@ BUGTRACKER = "https://trac.wxwidgets.org/" # distributing the sources of an application using the library even in the # case of static linking. LICENSE = "LGPL-2.0-or-later WITH WxWindows-exception-3.1" -LIC_FILES_CHKSUM = "file://docs/licence.txt;md5=981f50a934828620b08f44d75db557c6" +LIC_FILES_CHKSUM = "file://docs/licence.txt;md5=7971b9ce85ba3665488582c8e9ec6188" inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt', 'cmake_qt5', 'cmake', d)} inherit lib_package binconfig pkgconfig @@ -25,9 +25,10 @@ SRC_URI = "gitsm://github.com/wxWidgets/wxWidgets.git;branch=3.2;protocol=https; file://0006-Fix-locale-on-musl.patch \ file://0007-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch \ " -SRCREV = "749625e0ea4d70d1f75494aa52231d835531a618" +SRCREV = "3b7c7fc839093ad28146bd17555af2565c792c96" -UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" +# Even minor versions are the stable series +UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+\.\d*[02468]\.\d+)$" # These can be either 'builtin' or 'sys' and builtin means cloned soures are # build. So these cannot be PACKAGECONFIGs and let's use libs where we can (see From patchwork Wed Nov 25 08:06:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105590 Received: from mail-dl1-f45.google.com (mail-dl1-f45.google.com [74.125.82.45]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37935.1795594082740323560 for ; Wed, 25 Nov 2026 00:08:02 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=sHqPZG4z; 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-15ea896ddc8so9153163c88.0 for ; Wed, 25 Nov 2026 00:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594082; x=1796198882; 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=dVaxF50N0/1bWt5CHjefTO5ZJgap84UxqviqGUqL22A=; b=sHqPZG4zeom0o1HOVh4awQKA/Biz8K5rqQaWQVMf0Mq0xJ2k0a50sr63joWiayBYIZ kAcepuFaMXAM3VsT44os7mCpMoqoO+c0zgu+DjJv3md8YPQVBCQLCLp0tI5shcjdtEX3 9fUuS6vM3zpdWyO1JjxYpfeFACPJDmEREjSVRHqDlR13mLTY4rWbXKtIpW49XUZY4uoz RYfr/QAjfC55Lg+SVgglOZjx8aD+TQYMjZmA7dpd72y3rjlRaXcZtQ+0pue/nt5DCOog 7DnSeD6gFQ8aHHTvVxcnXsOxv7EOP8VRIIhKG9B+frSy8CFjG6hIDcxoh2gtwDyw2Go+ LVwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594082; x=1796198882; 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=dVaxF50N0/1bWt5CHjefTO5ZJgap84UxqviqGUqL22A=; b=SBmGVXp/pZjku6imGYjXut80TFxF0r0bfX7FiUwFeE+Gh88wygMghUd2Nz3mHTGXgM i2XUiIVG08CGEkFCOwoOC8gPKREaHKJclzy7PhAPKnsCoGWLuR6FXbzABxy2U00+bioA p2spv5HwM07I3B0fEiC+o1xjyxiz9K0titDCF6yjI+Gh5wlrahxJTTPWLxrYpT+cvEnR o5T4epk3LPN9wRieCbPjKkL2QedbYeXU95YvjsTIBimw5fcjWmrjC+Ijp4XR2AiBNhvr PV7/AHgyu5Z+44WUcE2iy1pVSLRm3LO+UGMCvMwKPocRy7BophTI/YiPD5i13OkwX4kn Dipg== X-Gm-Message-State: APuU4Z8Nzc9UYOsugmBXE9T92BkEA7N2JP4YXerfJu7l1dknGah0/pIH fN9BiZbfA54YWWDk5IYrQCOErKuEPpiiVoFuvTAJiDqV6S4EpfeDoGLmNtWyPnMY X-Gm-Gg: AZFdTZeph39TXEH7DhkLZw/xevp83m2fMa8yk1VtQzaNdiqb1zvsKzwTtsb9mTgV12s 8b46LDUiLRkdd8Qs+F++01ZK+sw5yJdQ37mRE4D/681r8MF3IjH+cA9EaXgwK64VxK9smDr5n+X atqX9mhcNIHBruWXOinLBCPESZLjP0cpqmze/WruMIObswqQP4LI8+e0f7uEQHt6m7V+1Ldc1FI OddwwQMtG2qMH4V5rfF7yznaUuC/fSSE/Q3VcABYav8criVaMGMYInAM8tTq4t9MQcUWl5gFF3P SkTajYrNsez2G0V0gqmoZQm2wV31IrcpFY1ANqDemtmTXJznTDoOqeB4Vy6+FmzJ/p1YBC57reO k/Mrfd7bHIYgx+frSE+UI6CGUt4EP9FgcX91Sd70sKmJl7qXdvg0RbBfnm9S6cG/5v2fPDlfI8B 5j/5VryzGo0wB1drVsl7V3/dxt8aNIl3MxSUGnxXzU6p1Qf/uwENB6qer3FL7jootKKlrHCjXEU Q6qH4dSBbyIpFY2JdwapviyzpHrIGeHAn6AhPWpeZXHaXlpuJFvZ+52YPtalQy7rhB9PlEiB4+P 5Ehqn3yUBb4Z+laLNZIOuO8wkI171BDyA2cqVO+iQg7CK+TJ0cGvenLkbxeU6K+DCD4XPsZbw8h 58MomcydVgFVMqpRLWahMgFZ65/DnPYiWGS//NlaDe/RnpE/4eg6bFmSCsg51m9fuvxtbsfhCBy t741ZDX0AXLsk1Ov1qOa8HfiQwHnrG3cx1n/Lvv/33i5S8+hh9mZXJLdnbplfxiFdzxp12a9kQ8 aZqYR3oNT7W0C+MC5FBf68cSx1dzWhRBvljwR8hO/fIdnAlGtd0N9pf0U4tRn6jlfteBej8DlGp EADG X-Received: by 2002:a05:7301:6184:20b0:386:b006:c8 with SMTP id 5a478bee46e88-386b0060806mr9007860eec.35.1795594081750; Wed, 25 Nov 2026 00:08:01 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:01 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 15/55] pstack: upgrade 2.18.4 -> 2.19.1 Date: Wed, 25 Nov 2026 00:06:31 -0800 Message-ID: <20261125080732.2419614-21-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133018 - Add Go goroutine support - pyrdb prints many more Python value types (float, complex, bytearray, slice, range, set, ...) and handles Python 3.12 integers; updated offsets for Python 3.12 and 3.14 and 32-bit fixes - Robustness: bounds-check reader operations, tolerate broken program headers in debug images and use PT_DYNAMIC for symbol hash tables - Don't deliver SIGTRAP to a process while waiting to attach; less scanning of core notes pstack_2.18.4.bb was copied from the tk recipe when it was added and never built pstack. Replace it and pstack_git.bb (2.11) with one recipe using pstack.inc. Use the upstream install rules, which also install the soname links the hand-written do_install missed, skip the install RPATH and package the unversioned libhdbg.so LD_PRELOAD library separately. Drop the cross-compile test patch, which is upstream, and add an upstream check. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...e-issue-of-cross-compilation-failure.patch | 28 --------------- meta-oe/recipes-devtools/pstack/pstack.inc | 28 ++++----------- .../recipes-devtools/pstack/pstack_2.18.4.bb | 35 ------------------- .../{pstack_git.bb => pstack_2.19.1.bb} | 9 +++-- 4 files changed, 11 insertions(+), 89 deletions(-) delete mode 100644 meta-oe/recipes-devtools/pstack/files/0001-tests-fix-the-issue-of-cross-compilation-failure.patch delete mode 100644 meta-oe/recipes-devtools/pstack/pstack_2.18.4.bb rename meta-oe/recipes-devtools/pstack/{pstack_git.bb => pstack_2.19.1.bb} (52%) diff --git a/meta-oe/recipes-devtools/pstack/files/0001-tests-fix-the-issue-of-cross-compilation-failure.patch b/meta-oe/recipes-devtools/pstack/files/0001-tests-fix-the-issue-of-cross-compilation-failure.patch deleted file mode 100644 index 2b54750e7a..0000000000 --- a/meta-oe/recipes-devtools/pstack/files/0001-tests-fix-the-issue-of-cross-compilation-failure.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a8c3996d3f8d9b8f3a2888b7062c1139263c5aba Mon Sep 17 00:00:00 2001 -From: Wen Yang -Date: Mon, 23 Jun 2025 02:06:53 +0800 -Subject: [PATCH] tests: fix the issue of cross compilation failure - -By replacing objcopy with MAKE_OBJCOPY, pstack could support both -native and cross compilation. - -Upstream-Status: Backport [https://github.com/peadar/pstack/pull/38] ---- - tests/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt -index 71a62a7..bf11a04 100644 ---- a/tests/CMakeLists.txt -+++ b/tests/CMakeLists.txt -@@ -38,7 +38,7 @@ SET_TARGET_PROPERTIES(noreturn PROPERTIES COMPILE_FLAGS "-O2 -g") - - add_custom_command( - OUTPUT basic-no-unwind-gen -- COMMAND objcopy --strip-debug --remove-section .eh_frame basic basic-no-unwind -+ COMMAND ${CMAKE_OBJCOPY} --strip-debug --remove-section .eh_frame basic basic-no-unwind - VERBATIM ) - - add_custom_target(basic-no-unwind ALL DEPENDS basic basic-no-unwind-gen) --- -2.25.1 diff --git a/meta-oe/recipes-devtools/pstack/pstack.inc b/meta-oe/recipes-devtools/pstack/pstack.inc index 778438a272..e2b255873a 100644 --- a/meta-oe/recipes-devtools/pstack/pstack.inc +++ b/meta-oe/recipes-devtools/pstack/pstack.inc @@ -15,27 +15,13 @@ DEPENDS += "zlib xz libunwind elfutils" RDEPENDS:${PN} += "elfutils" -do_install() { - install -d ${D}${bindir} - install -m 0755 ${B}/pstack ${D}${bindir}/pstack - - install -d ${D}${libdir} - install -m 0755 ${B}/libprocman.so.${PV} ${D}${libdir}/libprocman.so.${PV} - ln -sf libprocman.so.${PV} ${D}${libdir}/libprocman.so - install -m 0755 ${B}/libdwelf.so.${PV} ${D}${libdir}/libdwelf.so.${PV} - ln -sf libdwelf.so.${PV} ${D}${libdir}/libdwelf.so -} - -PACKAGES = "${PN}" -FILES:${PN} = "${bindir}/pstack" -FILES:${PN} += "${libdir}/libprocman.so.${PV}" -FILES:${PN} += "${libdir}/libdwelf.so.${PV}" - -PACKAGES += "${PN}-dbg" -FILES:${PN}-dbg += "${base_bindir}/.debug ${base_sbindir}/.debug ${bindir}/.debug ${sbindir}/.debug" - -PACKAGES += "${PN}-dev" -FILES:${PN}-dev += "${base_libdir}/*.so" +EXTRA_OECMAKE += "-DCMAKE_SKIP_INSTALL_RPATH=ON" + +# libhdbg.so is an unversioned LD_PRELOAD heap debugging library +PACKAGES =+ "${PN}-hdbg" +FILES:${PN}-hdbg = "${libdir}/libhdbg.so" + +FILES:${PN} += "${datadir}/pstack" TOOLCHAIN = "gcc" diff --git a/meta-oe/recipes-devtools/pstack/pstack_2.18.4.bb b/meta-oe/recipes-devtools/pstack/pstack_2.18.4.bb deleted file mode 100644 index 8a1e1c6664..0000000000 --- a/meta-oe/recipes-devtools/pstack/pstack_2.18.4.bb +++ /dev/null @@ -1,35 +0,0 @@ -SUMMARY = "A from-scratch implementation of pstack using DWARF debugging \ -and unwind information. Works for C/C++, Go, Rust, and Python." - -HOMEPAGE = "https://github.com/peadar/pstack" -SECTION = "devel/pstack" - -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=671019a96ba80415b696240ed2ca5e80" - -DEPENDS = "tcl virtual/libx11 libxt zip-native" - -SRC_URI = "git://github.com/peadar/pstack;branch=master;tag=v${PV};protocol=https \ - file://0001-reader.h-include-cstdint-for-uintmax_t-intmax_t.patch \ - " -SRCREV = "b78d16e9497fd36350e4e8bd37f31f8dab5b5651" - -PACKAGES =+ "${PN}-lib" - -SOLIBS = ".so" -FILES_SOLIBSDEV = "" - -# isn't getting picked up by shlibs code -RDEPENDS:${PN} += "tk-lib" -RDEPENDS:${PN}:class-native = "" - -BBCLASSEXTEND = "native nativesdk" - -inherit binconfig features_check - -REQUIRED_DISTRO_FEATURES = "x11" - -SYSROOT_DIRS += "${bindir_crossscripts}" - -# Fix some paths that might be used by Tcl extensions -BINCONFIG_GLOB = "*Config.sh" diff --git a/meta-oe/recipes-devtools/pstack/pstack_git.bb b/meta-oe/recipes-devtools/pstack/pstack_2.19.1.bb similarity index 52% rename from meta-oe/recipes-devtools/pstack/pstack_git.bb rename to meta-oe/recipes-devtools/pstack/pstack_2.19.1.bb index 0785ef2ab7..c791354307 100644 --- a/meta-oe/recipes-devtools/pstack/pstack_git.bb +++ b/meta-oe/recipes-devtools/pstack/pstack_2.19.1.bb @@ -1,9 +1,8 @@ require pstack.inc -SRCREV = "1e1734be3adb6d9c81b57c5cc3d0c8fbc43bdee3" -PV = "2.11" - -SRC_URI = "git://github.com/peadar/pstack.git;branch=master;protocol=https \ - file://0001-tests-fix-the-issue-of-cross-compilation-failure.patch \ +SRC_URI = "git://github.com/peadar/pstack.git;branch=master;protocol=https;tag=v${PV} \ file://0001-reader.h-include-cstdint-for-uintmax_t-intmax_t.patch \ " +SRCREV = "6bb443b3fe8f6515cdae33b908780627aac92b96" + +UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" From patchwork Wed Nov 25 08:06:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105591 Received: from mail-dy1-f174.google.com (mail-dy1-f174.google.com [74.125.82.174]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37936.1795594083569066045 for ; Wed, 25 Nov 2026 00:08:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=TkP4kb1+; spf=pass (domain: gmail.com, ip: 74.125.82.174, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f174.google.com with SMTP id 5a478bee46e88-385c497bf94so2109751eec.1 for ; Wed, 25 Nov 2026 00:08:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594083; x=1796198883; 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=5KbhdmMXf6TKu218ZCeuQul7agRDPBUz8AtUIa62NkY=; b=TkP4kb1+d6LotYffXDQSsTif3ZoRa/D058Zbba4sJxaj0k/1j0KkMidK9Ha9ALtgLE ig2PVTc/j/6OjdBA/j9jZWoPCjDi6x99rhzKh5apVHjpLshZv0MMG/plTOib+sGYAD2w 4fsxkRLbBau7B0LRDIybl4l9GNLT1CTy4FWKRBpafzoCp4Ae4rfIgENubfVaz9P328ce jF0bmEPbSteaJHUNL3p9WNGwhCSk8kUw0JirtBc1BtWnFcMXCpk9UCN9h5rrUgJGz3Fg 1q96ixcPlDc8iQ6jlRl/L7d7kN7Yq/pQlnRMd4EayDfvc92QbzIHGO5iO++/tdHH96S6 CpNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594083; x=1796198883; 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=5KbhdmMXf6TKu218ZCeuQul7agRDPBUz8AtUIa62NkY=; b=I/YPoYcY+OMNcuhjLxiA3WsaOTNwjA8/uP+KmVvQ2tisPC1PF9InM11vK0GNPEXm68 6x3vYdu6B5AqCh5U9Msoss0wt3SfIVoRYiu/8S5pojUNwsUITPbca3CmFnGOZlN1EMNn r1R5xK3T/bSDH6gxTjF8WdQIJ3O+j5CZIEGd27IXw1Qanc61RgrDGNvGvN2UverlSeyE NVf1O3Wne7bdq7K7ShsjTp+uXeNB8Rl3WUyM5ZQ/8LWgEFPAfxwEK4gRGrp7Uz/BoXsU cmfSavItNWalJDRDf2lk23l1zOAC0hetuUNWyAHYm/0XDQMdB5vRDXbi2Sq2N6nXCvku n30A== X-Gm-Message-State: APuU4Z8OQ9saPcagUA0SQVFfhSctQrph2aW7Gh/8XhOV7igzX3u2ApbJ plmLR3FZU9vRyjbOs4Vmvqw2Ed31DoIhStG+tvJMuREA2+SRej/O528c3C2I2Qr+ X-Gm-Gg: AZFdTZfADbWZZvtKP9zHpCdbNC84xczN/H45+K65W47HUOUSWrUQ/uPkecc/6kChHhO Kc5gJM20gGV9fG/KD9TzG/8IkAIahKqOz9MEPEJsdpi2xeD698Fyg36T6EpEWJt9C4mrvJWkyzG 0sq0yrrmwHaDmp/LYtgkussL2pcQClgZjmBWjnZjLHVyjGYs9bhrSKzTgFZ06UDKaFNYa+y7XWM SbBzgabY0IvDskMhrZWjuHBmJ7Tv+D9zAiHgkB2svRe1Wv+tAksXzurf/RdhkxTRenVojimHrFZ OvpjBS92hLSPbGhT7/IdR5G1/u25+V9PdEVhzTUDSNkEdW+/L1gc4LfdRw4ZoBJ3eaOPvdYDiwY dRyBau50tEXFkcbuX7uvSVzj1iElUAtrk6CHlC28Zi8rwtrEiwDonlN152iHU2SoPVn8ZRQuWG+ XK559eTcfZ9ZX9bIGwmXaHllrjUcSjh3Ltd/km/65FiO5ka7zyalIwbhWeueXBQtDfU8P+LQw+U /JxEGh/BViJooy+EqOA03sono8QBc5WkhACYkJwMwcKSX9vCeR/Ad4gb7gipagwb/9QPxoYX2Ku St4uVflOgXLoIXUOb9+rfltnB9eS6v90GjzrhlZlj9fHfDH2YpXjeVrsir5120Ky1wV27nrUUvH maD8ETlvN4tUeoa6Q9V+/bkrhXMPJ3I3cEIbzdihAifkXCJc2J8gvp7ENC8rTwftIIB84VC9Ay6 0Oiw1QHw4csvqnQb0L5TVktGe4dPcwf0pj28GidF6n40Eie2FnznugieloxaUqzGzBcufFIAe4f XrDpIBgIH/dgKmMH4umdfByThaGDa0DxwsNdGLXv8rUZYD9gnZOvlwsKMUWPd02IHRbdTBnSXek GGsFgUw2g+/P06Uos/dKKPsl3A== X-Received: by 2002:a05:693c:20ce:20b0:37a:a9db:6bd2 with SMTP id 5a478bee46e88-3856e63b064mr19037795eec.11.1795594082825; Wed, 25 Nov 2026 00:08:02 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:02 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 16/55] sdbus-c++-libsystemd: upgrade 259.8 -> 262 Date: Wed, 25 Nov 2026 00:06:32 -0800 Message-ID: <20261125080732.2419614-22-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133019 - libsystemd: new sd-varlink protocol-upgrade helpers, SD_ELF_NOTE_DLOPEN_ANCHORED() in sd-dlopen.h, and sd_id128_from_string() accepts urn:uuid: strings - libsystemd no longer links against libgcrypt; journal sealing moved to OpenSSL - systemd-repart: supports Encrypt= combined with Verity=data, honors $SOURCE_DATE_EPOCH for reproducible images, and gains --cow= and -n for --dry-run - systemd-repart: MakeSymlinks= expands specifiers in the target, and the legacy FactoryReset EFI variable is no longer honored (use FactoryResetRequest) Require oe-core's systemd.inc so the recipe follows oe-core's systemd version and sources instead of carrying copies. systemd 262 needs libucontext on musl (as in oe-core's systemd recipe), so add it to DEPENDS for libc-musl. The static libsystemd then needs -lucontext on its users' link line, so add it to libsystemd.pc. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...ystemd_259.8.bb => sdbus-c++-libsystemd_262.bb} | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++-libsystemd_259.8.bb => sdbus-c++-libsystemd_262.bb} (78%) diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_259.8.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.bb similarity index 78% rename from meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_259.8.bb rename to meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.bb index 280bc39c13..1dabb33bfb 100644 --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_259.8.bb +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.bb @@ -1,3 +1,5 @@ +require recipes-core/systemd/systemd.inc + SUMMARY = "libsystemd static library" DESCRIPTION = "libsystemd static library built specifically as an integral component of sdbus-c++" @@ -10,17 +12,14 @@ inherit meson pkgconfig DEPENDS += "gperf-native gettext-native util-linux libcap util-linux python3-jinja2-native" -SRCREV = "6576434737de042cdd0f6e62f34f04818306c73b" -SRCBRANCH = "v259-stable" -SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV} \ - file://static-libsystemd-pkgconfig.patch \ - " +SRC_URI += "file://static-libsystemd-pkgconfig.patch" PACKAGECONFIG ??= "gshadow idn" PACKAGECONFIG:remove:libc-musl = " gshadow idn" PACKAGECONFIG[gshadow] = "-Dgshadow=true,-Dgshadow=false" PACKAGECONFIG[idn] = "-Didn=true,-Didn=false" +DEPENDS:append:libc-musl = " libucontext" CFLAGS:append:libc-musl = " -D__UAPI_DEF_ETHHDR=0 " # Enable systemd's in-tree musl support (mirrors oe-core's systemd recipe). @@ -46,3 +45,8 @@ do_install () { install -d ${D}${libdir}/pkgconfig install ${B}/src/libsystemd/libsystemd.pc ${D}${libdir}/pkgconfig } + +# The static libsystemd uses getcontext/makecontext/swapcontext from libucontext on musl +do_install:append:libc-musl () { + sed -i -e '/^Libs:/s/$/ -lucontext/' ${D}${libdir}/pkgconfig/libsystemd.pc +} From patchwork Wed Nov 25 08:06:33 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105592 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37930.1795594084613752286 for ; Wed, 25 Nov 2026 00:08:04 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=YOgHjihn; 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-33fb4680717so13983908eec.1 for ; Wed, 25 Nov 2026 00:08:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594084; x=1796198884; 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=uoeet03Z/NG8oph9+fmpDJ5xLBPAm+GqHAfjWyiO+w8=; b=YOgHjihnNWAAxvZrCbu5vEvCUuZ/KM6A3ITkr17MLDGA7Ev5EVhZBlErDMnFAenVAR O6EcJRQ2Q3K9VdQAdp4jCPZqA1Yf9w6Jbd1TLySB2rwwmVqedA4YhM6QCawRsU3rB5Te GBFl+Cnv6+jplQHbi/Je2E5K2J05HslMOMl6k+im3RR6OrMd2u6FQiVh7mVmZ/kaih1D zKWSil4wRWDRU51vdUKRvbR7fiqfREaM7FdzCK6Lry0prPfIvdqVuQDh/ACvLQnirtkK PrmBUzSCYirIxchwZp69X2U9akDC8rVnKqDH+KERciVCd2P9lobeBlhg+dDgVCQ+pRGl GlSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594084; x=1796198884; 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=uoeet03Z/NG8oph9+fmpDJ5xLBPAm+GqHAfjWyiO+w8=; b=TiA2wMkj3z3HewMHbf0niWeuT5yG9c/Yrk+0VX67epzoUwIRAOmpPWkeJ4z0JF5NES /rCKEuNU0OJRW90ZTFZK1rOysVfyQfkia2b05ZruaMbVeQU2mBAp5f7vAZZ6tfFscRex wOMKeIjb3sbMalw9Dll4P6jDFIRv/9hZrmQnTscY+HAhyzC8jqsn1QHdrvk/AQL4Wf8b phs6Xh2ifFp2KseFLFA5VEZ4KflK1Ixu9KcZpDgNNlMvSu6vSDBtqoMX1CI1doJvEePy CaEF4bvUz0/8ceuD1mrFGNKZalCnjdnMwhHfBYVlsXwfH7CQ7w5h+4eJ1D0srH8M8RSR 3nOQ== X-Gm-Message-State: APuU4Z+QYxM0Zw+ljJ51j/A6BzbleBPs0rav6lPOsJGGJGqD+h3IHpM6 yRDfPFegE4MLz55xryhOcPYqR/Q/Ujsv+os79/ZsA/cE5ZCR891CMAuhFwANUcHt X-Gm-Gg: AZFdTZcJXt48Mi2uS1VuKcLkWCeWDmir4dUcsmLl9v0cHycuBVuPqfr4aRkLtNVOjvj i6Uz0rhBLoPHjC3WcxKYnmnt4M/lcPU3mSI/lTNh1jzbWZ0XQK4URlN5MvgNcuuiWByaYHp8a8x U9jGLCVHKAsNR2QOc0nN0cNSmbnis1f1AudXc4gBnecN9CHgxSvVV2vUxGNzr4vZw7jY5THSpy2 jHPOXo3jNvo+wiLu+IT42WA/HxNj7kUWtGnliw0eP1/qzTwzhBztqh2STCCPZZuqfQeb9aFlhgX 5B9wNDubgN3p8fYtHKxNIxOLLBNrZlwx+QRGyl8CBWHpUCpiww0HfjHKMPUvON0AAYpOuqncydR PobRD/Jl6FZZCVCgs170MYF6MMdYzbWeBFbqO/HIPQl5cCwbCi68FACaKyGWTdlbYMgCKpnp/f4 h0bidB9/KEk2xTf7Gjh65ad9AarUhwcCe6R5pwKPo5Ga12dklH2Qsb5xiNObbhJY8HOS5OnaTXX 7CAdHF5AED4g0pl8NypGxCHGcUcirIzwzKyM2REZ6kY1zTsxgJZQC2nJzc+cyUVHTUxr7muLbn5 ClYPKW4mSRpmw75G43AnTF59DYYIQ7i4rCXzQwTWChkRKsbwmN9ba2D1BTt2cRpK+aRP7f/WRzc mWJ3Uj7V71+yvoPgZlbGY2HEkx670yd0juubozJAjpvoOEKbFSN/EDYsUB2Ilw/nisZ8J875zeD 98MqE/oaZNVR47L0KXYOFw8QsMQMDkGl9FPo7zg2gaNabztjluwQQ0fylSsyPKHfsT9cYke6Ccr 9CnU+Dbrlhtd+TiLudNUEoYdNW1+9/tKw78THKcxLTTntARizYZCQUZea7nkaQxCrinxz/5HziB fOZv X-Received: by 2002:a05:7300:d108:b0:386:c6dd:2616 with SMTP id 5a478bee46e88-386c6dd29ffmr3511298eec.41.1795594083943; Wed, 25 Nov 2026 00:08:03 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:03 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 17/55] systemd-repart-native: upgrade 257.6 -> 262 Date: Wed, 25 Nov 2026 00:06:33 -0800 Message-ID: <20261125080732.2419614-23-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133020 - libsystemd: new sd-varlink protocol-upgrade helpers, SD_ELF_NOTE_DLOPEN_ANCHORED() in sd-dlopen.h, and sd_id128_from_string() accepts urn:uuid: strings - libsystemd no longer links against libgcrypt; journal sealing moved to OpenSSL - systemd-repart: supports Encrypt= combined with Verity=data, honors $SOURCE_DATE_EPOCH for reproducible images, and gains --cow= and -n for --dry-run - systemd-repart: MakeSymlinks= expands specifiers in the target, and the legacy FactoryReset EFI variable is no longer honored (use FactoryResetRequest) Require oe-core's systemd.inc so the recipe follows oe-core's systemd version, sources and license files. systemd 262 removed the rootlibdir and rootprefix meson options, and the libsystemd-shared name is now derived from PV. License-Update: license files now come from systemd.inc; the systemd 262 copies carry the older FSF postal address, terms unchanged AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ..._257.6.bb => systemd-repart-native_262.bb} | 21 ++++--------------- 1 file changed, 4 insertions(+), 17 deletions(-) rename meta-oe/recipes-core/systemd/{systemd-repart-native_257.6.bb => systemd-repart-native_262.bb} (58%) diff --git a/meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb b/meta-oe/recipes-core/systemd/systemd-repart-native_262.bb similarity index 58% rename from meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb rename to meta-oe/recipes-core/systemd/systemd-repart-native_262.bb index 8fb19b1b90..220e20e517 100644 --- a/meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb +++ b/meta-oe/recipes-core/systemd/systemd-repart-native_262.bb @@ -3,19 +3,12 @@ # Copyright Leica Geosystems AG # +require recipes-core/systemd/systemd.inc + SUMMARY = "systemd-repart" DESCRIPTION = "systemd-repart grows and adds partitions to a partition table, based on the configuration files described in repart.d(5), or generates a Discoverable Disk Image (DDI) for a system extension (sysext, see systemd-sysext(8))." HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd" -LICENSE = "GPL-2.0-only AND LGPL-2.1-or-later" -LICENSE:libsystemd = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ - file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" - -SRCREV = "00a12c234e2506f5cab683460199575f13c454db" -SRCBRANCH = "v257-stable" -SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH}" - DEPENDS = " \ cryptsetup-native \ gperf-native \ @@ -28,16 +21,10 @@ inherit meson pkgconfig gettext native MESON_TARGET = "systemd-repart" -# Helper variables to clarify locations. This mirrors the logic in systemd's -# build system. -rootprefix ?= "${root_prefix}" -rootlibdir ?= "${base_libdir}" -rootlibexecdir = "${rootprefix}/lib" +SYSTEMD_MAJOR = "${@d.getVar('PV').split('.')[0]}" EXTRA_OEMESON += "-Dnobody-user=nobody \ -Dnobody-group=nogroup \ - -Drootlibdir=${rootlibdir} \ - -Drootprefix=${rootprefix} \ -Ddefault-locale=C \ -Dmode=release \ -Dsystem-alloc-uid-min=101 \ @@ -50,7 +37,7 @@ do_install() { install -d ${D}${bindir}/ install -m 0755 ${B}/systemd-repart ${D}${bindir}/systemd-repart install -d ${D}${libdir}/ - install -m 0644 ${B}/src/shared/libsystemd-shared-257.so ${D}${libdir}/libsystemd-shared-257.so + install -m 0644 ${B}/src/shared/libsystemd-shared-${SYSTEMD_MAJOR}.so ${D}${libdir}/libsystemd-shared-${SYSTEMD_MAJOR}.so install -d ${D}${libdir}/systemd/repart/ cp -r ${S}/src/repart/definitions ${D}${libdir}/systemd/repart/ From patchwork Wed Nov 25 08:06:34 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105593 Received: from mail-dl1-f48.google.com (mail-dl1-f48.google.com [74.125.82.48]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37938.1795594085730930811 for ; Wed, 25 Nov 2026 00:08:05 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=M+P4YJEy; 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-15ea896ddc8so9153257c88.0 for ; Wed, 25 Nov 2026 00:08:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594085; x=1796198885; 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=LYEr6/O0N1hwUb6/gkjncbkZs9xyQxWWHiNeqoofr00=; b=M+P4YJEyo8Bg7AwEVJazjgpPv+9nx6ReA5PTNO78Fo2+Iwt0CGUsugaV5nYDH7xuMG DO0itj5JRTame5X7K0SKw2TLvTqEkXdJJdma3jJQDyO9f0HFapevOLyZid+dYMG1sdWX Qd+agUFIatVoBu4VixzDqGMO937KJKsY9lB2r6U1FcyXUWTxAXYasTxcqjroBy5litkQ 1fgnC0Glh1BQ7RDuMSqVlF7XMT6YnWZLbEnroB8BDc7M4SISjef/IBIa9vNtyuvtK3Lj mm4Pm4QL4KHEsoQ5bqp+HLoVilq4/IoJKcJTcMLnsZ45MlpfIUwW995w+fGiVdwdMO5E kEPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594085; x=1796198885; 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=LYEr6/O0N1hwUb6/gkjncbkZs9xyQxWWHiNeqoofr00=; b=B62xl8pDHkJUOQRi1SNGt+dlWPisfkCS1HPc1L9//yhm9I1vt1679rATpAR2Bm36UA P+tNcVZCgluKsjgaZCxU2qE43y4OV8D2Rn4LRbiDdv9W6aJUZ37IklPyVj2VBEipz20t aBNkidWmzyXYpX2HjxUAJwOfBKRVLr8t5ywtx4gpXkpRW6smnYVVlpVyGlNbXlH84Noc vRXnyqDLl2RtORk4p5gfdFbKAAWkvr2pn2h9egi2AqRdR9Dp67Do7lp+YU9TUCyq3irS MUYVZE4WZfjXonkCZvqCgWn5nmzHyexK/YR0sPvn5qneBe2cJ6cEVqhiR9DM3+8AdrzL dPbA== X-Gm-Message-State: APuU4Z8hNkMsGc73UGUGywzNYH0Myc9rSPBbPTp60imt1Ztjl+rPQfSZ lBcvctn/2q26x7b8jUwNyduzP2Ns23IGDrCaEgzIjJjxRSRuUtMl5ZTu1xPmpua4 X-Gm-Gg: AZFdTZfx1xxRvCQQM0ZXReXaHB4Obgr8rfDhX6E51sp+X6oE63VrNfD0O4YQhgM0Vm8 HPXDP1P+g/El/eoQNCMCS6SAyQjvOWQFFhwrczDfyBrHX7QSnwcMaA45RkkDD8vZdklkHw0vl+f X9MlMwVS0p9bcy6X1YKWdx8wHCXadVu3WxQWaYwCCUZ9pSQvbAMC8dMW/hIz5ojlJuYJkb/L2TY xNGTcZlqSBFMKzGSBx63lwS7dE2gOkRGqFT746gfiL4TWTkzhkIQezNXIOf3vyqflR04w5v47Ul y3P+4VgggC86piyJm6rRFpsUfqpbrgPy6qqth/ydVvd68mhUVgQ/qd58HxZmIQeqGh5d1FEM4eu WvZddwHZ9r+ZfuUWTVG8cFm3WJHgOAdrS8RHUR3Qd2G/eYfqzvrOs7P6bdF7B9ZguON/pF+J1of wuPLQZe38jM0QKracMgpFZMxh42AJpgYpHrCzJXA2buUme+2GawR20sav2I/JhDrsfGp65sfeOc Jr1oXC2LcU4DAf22CcwhJCKwix7Nz11YMst+ZVMbga7saOIQ/WYcff+/8TI3no917Om79wnnuu3 h6Q3XrY3nni343tWFqpbZLeKY3DCPp3N4OQqBr7UU8q90xTx7aUQAwpRhzezfe2tEhbZB/zzjFJ QHR1lA15ihZ83q+8bjCNvS47EgKR98xcPPQ4SDed2mjZULYDyyLEUaSoo93Cqx3hRD23P3WqEa4 2sIPZSdUoekGtdow7li/kA+UQ+vYqeciQELla0Kdj9h1rM47WDCJwtfqcZKspQgJsQk7kdH/IXM vWEDIkffJZcmyUpbOxIdWoS9gjjNEydUYPN/9dvOC7iKc4An2w0mvD6qOY4M6ajZwxa1X/CCWVO /lMq X-Received: by 2002:a05:7301:4d18:b0:37d:bd4e:c378 with SMTP id 5a478bee46e88-3857181d8ddmr17242687eec.41.1795594084975; Wed, 25 Nov 2026 00:08:04 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:04 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 18/55] cbindgen: upgrade 0.29.2 -> 0.29.4 Date: Wed, 25 Nov 2026 00:06:34 -0800 Message-ID: <20261125080732.2419614-24-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133021 - Support constant enums and arrays - In C23 mode, define sized enums as enums instead of typedefs - Expose the line_endings option to the builder and allow pub access to ReprType fields - Fix doc attribute parsing with block comments and also check CMSE ABIs Inherit cargo-update-recipe-crates so the crate list can be regenerated (unchanged for this release), and list the git source first so the upstream check reads cbindgen tags instead of the first crate. Add the upstream check. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../cbindgen/{cbindgen_0.29.2.bb => cbindgen_0.29.4.bb} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename meta-oe/recipes-devtools/cbindgen/{cbindgen_0.29.2.bb => cbindgen_0.29.4.bb} (76%) diff --git a/meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.2.bb b/meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.4.bb similarity index 76% rename from meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.2.bb rename to meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.4.bb index 6b5fac9d47..b5a9df4a82 100644 --- a/meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.2.bb +++ b/meta-oe/recipes-devtools/cbindgen/cbindgen_0.29.4.bb @@ -3,12 +3,15 @@ HOMEPAGE = "https://github.com/mozilla/cbindgen" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3" -require cbindgen-crates.inc SRC_URI += "git://github.com/mozilla/cbindgen.git;protocol=https;branch=main;tag=v${PV}" SRC_URI += "file://0001-Use-libc-SYS_futex_time64-on-riscv32.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/getrandom-0.3.3/" -SRCREV = "76f41c090c0587d940a0ef81a41c8b995f074926" +SRCREV = "b826cb8911488fe8a209d2b693492c0c673e8cca" + +UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" + +require cbindgen-crates.inc -inherit cargo pkgconfig +inherit cargo cargo-update-recipe-crates pkgconfig BBCLASSEXTEND += "native" From patchwork Wed Nov 25 08:06:35 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105585 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.37933.1795594086493946521 for ; Wed, 25 Nov 2026 00:08:06 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=cN2wbE4d; 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-38431138772so7038158eec.1 for ; Wed, 25 Nov 2026 00:08:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594086; x=1796198886; 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=dUdCw026a5XCddpmKWhJRZ3sFktwSRVXVKUNWcLniAI=; b=cN2wbE4d+fuaZ/MApl8WVdpDkoJSgIq2V1k05XtE65vheKGwbqI/7b0xRw3vdnj4Eg s916MBNnwr9eT11JTlZFT3NeboC57iZpqaSX7Wm3OtzpSfomjNS2o+DNqfUeI4WgUXT2 toQSSSe7tOW3tL/HVRHSMQg6XKwJ2xQNvlYkKtAF/EZVY9kVGKs3kK/PeoXzjE1Cuvs1 /EGgf311qVBWjNIQAYDC2QAJ1ygx3rHE9g35TRZJeaQ1tWJvN3XoNDNW8z+98wb8u1S6 OHTCn89EYuDzRM+UvtOxbXU7CRvHwLSqXcip7/YFW2Zo5EGapigFqB6DaMOp3TBSrjbI DXqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594086; x=1796198886; 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=dUdCw026a5XCddpmKWhJRZ3sFktwSRVXVKUNWcLniAI=; b=cB1UW8fNEUCjapcOpD9kKx7KzoZOOlPqgtNeCnVJAOZyOR2coCYAhnpW2akJRLcinz UvD6ztX7i11iqqXM0bFlTjql+sd+eGP6lbYie3kB7TM1KpOiFuniVu2fsUcCGRLeRAEa Kow1dcVD4/7+6744Z0+zMfz6xm5/NWxlDqY7uMcKwjBHctUl0+4tgahkko9LuYgghMtx Yg6SSVUtmclcuQHILFyaHEdeSKAmQYPlCkFaiNzwfCPnmGBp7RiIry1kjAOIDIY6/EO5 TCUv/Y3XjVt6nKGPwSynS9y8Y5N12WVux46mbk2BY9VAPdR1lfKY7QG/pQeb0jjKgOZ6 oo+Q== X-Gm-Message-State: APuU4Z/g/em4sL4wTgbwlBz1THYz2Hem/s6aNZCNnrtkNlc+qI4hN/im uys/9/aKnW0MIgcTtac/PEu48uqaAPwJk+ONtDQk6B9ugMgWnR3k3ech0gooyO/D X-Gm-Gg: AZFdTZcIDeBE6dJ8LI66RrOXDPtQGOP9Wz/pV1nwmJT2BVJ4S8Nl3n23eervhonXz9N OT2kXZ9cz0eO4yh1c/zD05mI1ho4kwbc8tO9GZXecAqRFWjv4W3TZ7HKB/KRPX+GhRGgmRp5Yix fzwhg+SsHXwWbtN+aWGwKwULAE36vONMxe7vGnDHD8XNb6CBBKLyJ9vnDFO4WY/4pRST+/IPSVm 6abYRQgdPUQ+ypWX63iDrLlQtSU0BredBC84TlbwuhpJ4LJWiXV69lG57dvtNK63wSLyOpq0WcY YxESNRrQj58HJCGfe/q+eOYrneaMy1PlySAjvpW1TrnNo5p6Q0ajN51YDJVFP7KQK3ubBxtKF2T GvYgPAQqSdQgpelIGbZCWoJshaiVaeAVWQv25nLoBcWcoq/HSR+HmRwO3PAySn4C9aWdtQQqBmd pUSwMdHqZE9ShBngRD5zVe4u6cPMnokoqew4G/SlrCdzHgaRSMNT1r9a7cdEzM+6u5Sv0cOiOxv rDiR59eauSSFL8EEKwSUerksHbdNM7yFPCZEPugsUNFvlwEuUmKROwWbi6cmjHOnxSgGuRLO1Et pisf9Dq339WDeVeGKT2CjWZc68D1X2b9FPMWgaHMR4R4VuBNToSEKgFsDhYu3o+/EOtPFVWAul7 2eZ3nv0rCFW/QT7o5G3O56ITh2eLbc1YWYrYn5lUR4ySPBlKfk451b6UN/kuuCCuCNoTogbbRR4 EBG8AlLNQq3K1y6x4PAvMDTtDXZCJKclb/avKvHYlKKX4mnslbveuY5/VdTRlPEEDaKLYgz3Ksj wVVTyEkSCo7WROGm8bh3lox/TccvA4fegWuXFZheZ7dL0uvzd7kwZHwp2HY8L7deZOswjqSzl1r 5FsQ X-Received: by 2002:a05:7300:8816:b0:381:5fe2:8008 with SMTP id 5a478bee46e88-38571b071d3mr17681632eec.39.1795594085872; Wed, 25 Nov 2026 00:08:05 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:05 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 19/55] freerdp: Restrict upstream check to the 2.x series Date: Wed, 25 Nov 2026 00:06:35 -0800 Message-ID: <20261125080732.2419614-25-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133022 FreeRDP 3 is packaged separately as freerdp3, and the version check reported 3.x releases as updates for this recipe. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-support/freerdp/freerdp_2.11.8.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-support/freerdp/freerdp_2.11.8.bb b/meta-oe/recipes-support/freerdp/freerdp_2.11.8.bb index 4cb71e0fc1..f9bc82ab5f 100644 --- a/meta-oe/recipes-support/freerdp/freerdp_2.11.8.bb +++ b/meta-oe/recipes-support/freerdp/freerdp_2.11.8.bb @@ -15,6 +15,9 @@ RDEPENDS:${PN}-ptest += "coreutils pcsc-lite-lib" PE = "1" SRCREV = "9b678b6d5a40ce01607d8c3b1b1416437c8416c4" + +# 3.x is packaged as freerdp3 +UPSTREAM_CHECK_GITTAGREGEX = "^(?P2(\.\d+)+)$" SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https \ file://run-ptest \ file://winpr-makecert-Build-with-install-RPATH.patch \ From patchwork Wed Nov 25 08:06:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105586 Received: from mail-dy1-f174.google.com (mail-dy1-f174.google.com [74.125.82.174]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37939.1795594087556748081 for ; Wed, 25 Nov 2026 00:08:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=r/P2J6va; spf=pass (domain: gmail.com, ip: 74.125.82.174, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f174.google.com with SMTP id 5a478bee46e88-386b8f2f671so2583057eec.1 for ; Wed, 25 Nov 2026 00:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594087; x=1796198887; 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=nIRCAB2/9K5ggeYQHpdg9pV0zhikcmCifs0MvOazcN8=; b=r/P2J6vakJZVLjhO4SDukjgMih/q2cqtf3zqP/h/K4ECUNbH776QHKXC5wgl5to5fR fmCSvBwIZNECZ4s8lHjF2asjwYnWw5w5eYOeUzC6J4z4w1AV8G7WJCKjLzpGdcdu+MRH plgc888jcufax2+ZQarX3gmXRVbSl1PsqtQS0tD/cFw3iUay1Q1FsSD6750Ji+qHu7wi esy9Eb2kxsNOknqqQG3zhgcPhhxgIDj4nQfxaWIsdaleZFDYCg8AzjV+PG6VCLIYXl/2 ZGidseycTUldsUGJEam3sXlOCrAY15sffJlAFxsnQDf+uNgFY4+SYbKip9R9kPYUoLkm pHYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594087; x=1796198887; 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=nIRCAB2/9K5ggeYQHpdg9pV0zhikcmCifs0MvOazcN8=; b=2UU+DcWsa4CM/+rbWWhQq2oi4NVDIzSHO1UXv5lXkHVYcn8QvUWziFPoI/3WKfjaCS ubFm+kyoLMHE8jNtJzALXX4pnGrutFYebhNAVCbU1bRrmwKIfUawsrNeI37sfvq+9fkb wLC1+MHsKVe5mMzBRq+m8QBQWllfbq3/A/EMNOR1EY+Nl8zzSQXSC20rg95pXxlzP4t6 8TXGSpAk7iqTfAj5oBOdT0iWYT1VPIq0HiKOZs4lQkaT9aPw3QXymU1A2tWszKiD0djB q6rvSm/Gb+mYzreVnIRPZB2XLoMq4JFnSnBBXBFmXd1zrhRBritqcmIvm1PT1+CLNrtO 7g1Q== X-Gm-Message-State: APuU4Z8vH/LKTw9anY22WhvkBbeeN6MHgFLW2AwRdNhc6EHZytrO2A2Q m7/pmvpb9YQBhmq4okIXk+HEddRb4ZGAhGvYldzudLkQ+Erpa1eWWwY5XzSKeO1J X-Gm-Gg: AZFdTZeXpPDaayW0eC2Ma9rYGWrvMbyD2X45aTp6z1ndAnqSudjcgyzDVkKtBYEAQDD WQlElA5kyzp6+UfZecm0Ko9o48wkok07aks2R3eigki0NCVs9dhoQPfzAu1T1uHZGNdQylAB/jo 5s7cdz9mNcNsbgbYFtWN9NawwOnlWvt2ZXgA7e3z1L1tleH21hSfrwo5smwq61RoYkDjhuEnR/F zNpF94fJnEv75GgPFDuJWkv5oDhehmX6GNJC+/T+Y+xD8PZrXj/Corz/3hhCmIqMm0C9XlIfnkb +5zIIzDDNPyPOnOGiKT9cigKG3GGVqB6SiaMmYWJDp9WJKIPzxfKLMj/JdDL85MEA3OfgGJYkK0 2LTqTeTIGfTOlj0hexPVWrtGY7Y1e1kvIjkPDx4pzaz6IIn5NWmmWjepZ3VyRlGpplpLsAnQ6vv idedLNm4B3dafMVKkgntbTJTts9E140xV59BYuWAXzZI6VztnC6LaeTsJp5yD5A43f2YghlYJGm ZPZlT11eIOblV2KANSsRddYJjF8l037caRyVYOW191SvYhOR77NrQQ9RJ75C0zkUzvAn2+fIwJY hsSXAKPDyJsSQRPG6e71sSkop38J7iS3082YKjGmVCnY0sRxj8aVTVZ5y3scPuBej5j8eT3tTQl NItCDPwfNXZU8BvEiGmUwP+ubgepbWnvrTxi1nL+r/8aQ/dbU9thBskzL3qs2Y0kHiSMBDpzgFZ ntjAqErvkgL1+4jo9+SSe73lDXdcrdz3D4bn/TmkNTO7zXnD4qpM3dgvH0NnvHhwqsnSVUXu6ZX HIX+g+F+L7b2PQNQ29X7s2/X77S5L6hn39Ktp+RdPdlX5vDX00kYdOkD/nP2lx8RSQLgU200Ji6 6cMxsg== X-Received: by 2002:a05:693c:69d4:b0:386:5adb:ac25 with SMTP id 5a478bee46e88-3865adbb1d2mr13572387eec.22.1795594086865; Wed, 25 Nov 2026 00:08:06 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:06 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 20/55] zbar: Restrict upstream check to release tags Date: Wed, 25 Nov 2026 00:06:36 -0800 Message-ID: <20261125080732.2419614-26-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133023 The repository has an old iPhoneSDK-1.3.1 tag, which the version check reported as a newer zbar release. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-support/zbar/zbar_0.23.95.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-support/zbar/zbar_0.23.95.bb b/meta-oe/recipes-support/zbar/zbar_0.23.95.bb index e3e337d50e..ebe5c7a7aa 100644 --- a/meta-oe/recipes-support/zbar/zbar_0.23.95.bb +++ b/meta-oe/recipes-support/zbar/zbar_0.23.95.bb @@ -14,6 +14,8 @@ SRC_URI = "git://github.com/mchehab/zbar.git;branch=master;protocol=https;tag=${ " SRCREV = "dc19fcc7da58e8cf84ba1ec417e24b04609feb23" +UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$" + DEPENDS += "xmlto-native" PACKAGECONFIG ??= "\ From patchwork Wed Nov 25 08:06:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105587 Received: from mail-dy1-f171.google.com (mail-dy1-f171.google.com [74.125.82.171]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37934.1795594089576409510 for ; Wed, 25 Nov 2026 00:08:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=NrnjTXCD; spf=pass (domain: gmail.com, ip: 74.125.82.171, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f171.google.com with SMTP id 5a478bee46e88-3863db981d4so7616321eec.0 for ; Wed, 25 Nov 2026 00:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594089; x=1796198889; darn=lists.openembedded.org; h=content-transfer-encoding:content-type: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=HD2WNCEJ/VOqpCOo4PY0+0OwzdWAI/zEV7mrpa/EBRo=; b=NrnjTXCD29HxKGbnC5ZFTmkcWs9KT/U1QEwn7DAUToafgOLEiz+iYJiKmCmbM280uX Wc+REvjZmbJLTaIneaqoAERfEySUml3DVU0xU+9wtlasnx+WwW2sTEVm2xjbMWUjMjCV yAFcJGHnqjDJjVtQE4taAB4DhKRWBXDKIUqlDS66kfVDaNsk+r4eTq+2VNmh7/eL+/RU lNpI9WRBjDVUh/+k5U14V3vo7bqcZvSxTVwyPICQWz1pqiAOZZTGEL6kzkAHUPSMsOHv 6BmZEODzkdWPKq16DwiVBNsro2fdee50w66ukQ6yf5kUGgF9rO9znLowI/8m0+IblcIq 7rTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594089; x=1796198889; h=content-transfer-encoding:content-type: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=HD2WNCEJ/VOqpCOo4PY0+0OwzdWAI/zEV7mrpa/EBRo=; b=O6bRSnnejM1iKelCOZfrYj38EkWmieWO78B/E5qLPVyiS4BNfgBb39ChLsx7AK2poV qw8nr2o+o0oBtZp+LCFtzKeV3ulWValRhyLaAPemVFlpG9PX1yktKVzitXss6Z/nWBut lSRhaWT5Am6PADIlWL24mCZj3meGepWeFrOfiL/HiF/kg2rRbF0/5/5bLph/Ztzzj1Hd pBpP8q6ChqvzlVzKjpRYJnRnOMmJ6BUDcgbLTagTRS9z+edy+sG9jlWmsFLwok4D+iPv MF1OGD4j5BUkV6qImVI3OJT0jMc4rcXKA9HMl82N82/QRW9Bx2OfaAyLVcbwae2CNEBL 0IxA== X-Gm-Message-State: APuU4Z8KbGoppZPrXw35uZxdZHyTpiAmtKd8guCcudOkOvAIm3WRw4LU g/wOsC/H6IYVSYGGq8iJMAOvmrnfIVRq90gmUS7+rriYeOpNbMqxSH0m9kQlFwr9 X-Gm-Gg: AZFdTZe9mxIg/wLqPDbcWE5+ZyU718fHig52YW+VyJ8ps7nhpx8Q3qotwgQW3f/C63O hkJxUlpOspBzUbh8Fkq8Skjl5V5RckF4y0ZJtRs22GjQpb9x8DLUbGyfHpfdorozyvH/RCCo8ID eWxCRSQoDy+9VVONFWHc25q6KRi1O6CmKWn7FrKJpztyck6qeskOEXOu56uO9UTjWhWSVife2T/ 9czb8ukpptbUHnEePTRolNzxF1EVQ8N3hPdX+ys+ppoc38M60DIOfav27YxqYkk2iqpR8aSyV+P gKSIl8KHhYIBapIdf7ioVVvZWB7C9WKzktSWal9ELNRbkg/Yd5H5huzy/TcQY/jGJJi9Uo4PZyY riQoglDzUuIioY0ygjUzapngDZy1/8ZZ01sSRDKM7/mIV6kDUvwQ684rRad/n4X702CZs3s/lla ndnayNORmaA61yqq5pFtgDe8r60f9ESfN4xohjM5X2SV0BhMahJHRQXJ+xwoBrkhVpfAtMmq5x8 ybnhiMxy0k05U12Po8SeVHeaFNBhemR5duAbEyjXz3AJ33dtNei6xi/U79YtI1O+sa/pIC1wYTW NDmK22SKkuPnszjBaYV+LA7h4AKouxueCsVhf+tGLVFZwyGLEp+pctyYpyBDYBJHGXpmPilzNBu 4PUbIG5w1aQYnoCgs5j9O3XpYLG5909bpKqaZ23kLiQb3LZUkWTD1YGBIssxFE4KTZnYywySFny ME+JlJr1f1rgCupqZVXII7m/YNJbbVZXRY9rTfP7+YkvvbfWikq5Az9KI0zqj8zHUbxQFlw8/fs jna6kKS6uLFVZzs8c47F4q5fLd74YSQKE6jS7fKEyOMWQf8FLRd+j77TLN9kpwqw+K+nfdzu76f I2rR X-Received: by 2002:a05:693c:41c3:10b0:386:acf5:b4b5 with SMTP id 5a478bee46e88-386acf5b7c7mr8993108eec.23.1795594088337; Wed, 25 Nov 2026 00:08:08 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:07 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 21/55] nodejs: upgrade 24.22.3 -> 26.13.1 Date: Wed, 25 Nov 2026 00:06:37 -0800 Message-ID: <20261125080732.2419614-27-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133024 Node.js 26 'Lithium' became Active LTS on 2026-10-28; 24 is now in maintenance. - Node 25: V8 14.1, permission model --allow-net, Web Storage on by default, SlowBuffer and other long-deprecated APIs removed. - Node 26: V8 14.6, Temporal API enabled by default (needs Rust), Undici 8, npm 11.20, corepack no longer bundled. - Removed: http writeHeader(), legacy _stream_* modules, --experimental-transform-types; module.register() is deprecated. - Build needs GCC >= 13.2 or Clang >= 19.1, Python >= 3.10. - 26.13.1 is a security release fixing CVE-2026-123828, CVE-2026-123829, CVE-2026-123862..123868, CVE-2026-123871..123875, CVE-2026-123877 and CVE-2026-126051 (http2, tls, http, permission). Configure with --v8-disable-temporal-support: Temporal pulls in the Rust temporal_rs crate, and configure.py enables it whenever it finds cargo/rustc on the build host, so disable it for deterministic builds. Drop the GCC 15 ia32 -Wtemplate-body and histogram AVX2 patches, both are upstream. Drop the riscv hunk of the liftoff patch since that code no longer exists, and refresh the remaining patches for 26.13.1. Drop corepack from FILES since it is no longer installed. Add an upstream check restricted to the even-numbered (LTS) majors. Rename the nodejs-oe-cache-native recipe to 26.13 to match. License-Update: LIEF copyright years updated to 2026, and the large_pages (Intel, MIT) section removed with src/large_pages. V8 14.6 decodes hex with NEON intrinsics in src/objects/simd.cc that rely on implicit vector conversions. GCC rejects those, which breaks the host (BUILD_CXX) build on aarch64 build hosts, so pass -flax-vector-conversions to the host compiler there. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...plate-body-error-with-GCC-15-on-ia32.patch | 52 ------------------- ...ram-restrict-avx2-dispatch-to-x86_64.patch | 44 ---------------- .../0001-Do-not-use-glob-in-deps.patch | 6 ++- .../0002-v8-don-t-override-ARM-CFLAGS.patch | 8 +-- .../0003-system-c-ares.patch | 4 +- ...-liftoff-Correct-function-signatures.patch | 30 +++-------- ...ps-disable-io_uring-support-in-libuv.patch | 8 +-- .../0007-positional-args.patch | 3 +- .../0008-custom-env.patch | 2 +- .../0009-Using-native-binaries.patch | 20 +++---- ...y-case-equivalents-of-BMP-characters.patch | 6 +-- .../nodejs/{nodejs-24 => nodejs-26}/run-ptest | 0 .../oe-npm-cache | 0 ....22.bb => nodejs-oe-cache-native_26.13.bb} | 0 .../{nodejs_24.22.3.bb => nodejs_26.13.1.bb} | 20 ++++--- 15 files changed, 50 insertions(+), 153 deletions(-) delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs-24/0010-v8-fix-Wtemplate-body-error-with-GCC-15-on-ia32.patch delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs-24/0012-histogram-restrict-avx2-dispatch-to-x86_64.patch rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0001-Do-not-use-glob-in-deps.patch (94%) rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0002-v8-don-t-override-ARM-CFLAGS.patch (97%) rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0003-system-c-ares.patch (93%) rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0004-liftoff-Correct-function-signatures.patch (65%) rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0006-deps-disable-io_uring-support-in-libuv.patch (90%) rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0007-positional-args.patch (96%) rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0008-custom-env.patch (95%) rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0009-Using-native-binaries.patch (93%) rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch (98%) rename meta-oe/recipes-devtools/nodejs/{nodejs-24 => nodejs-26}/run-ptest (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-24.22 => nodejs-oe-cache-26.13}/oe-npm-cache (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs-oe-cache-native_24.22.bb => nodejs-oe-cache-native_26.13.bb} (100%) rename meta-oe/recipes-devtools/nodejs/{nodejs_24.22.3.bb => nodejs_26.13.1.bb} (91%) diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0010-v8-fix-Wtemplate-body-error-with-GCC-15-on-ia32.patch b/meta-oe/recipes-devtools/nodejs/nodejs-24/0010-v8-fix-Wtemplate-body-error-with-GCC-15-on-ia32.patch deleted file mode 100644 index 4053f97053..0000000000 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0010-v8-fix-Wtemplate-body-error-with-GCC-15-on-ia32.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 9f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a Mon Sep 17 00:00:00 2001 -From: Bin Cao -Date: Thu, 29 May 2026 12:00:00 +0800 -Subject: [PATCH] v8: fix -Wtemplate-body error with GCC 15 on ia32 - -GCC 15 introduced -Wtemplate-body (enabled by default as an error) which -performs stricter name lookup checking inside template bodies. In the -Int64LoweringReducer template class (only compiled for 32-bit targets), -the expression `__ Tuple(...)` is ambiguous in a -dependent context because GCC cannot determine whether `Tuple` after -the `__` macro expansion (`Asm().`) refers to a template member function -or the struct type `Tuple`. - -Add the C++ `template` disambiguator keyword to tell the compiler that -`Tuple` is a dependent template name. This is the standards-correct fix -and is backward-compatible with older GCC versions. - -This is a minimal backport of the fix already present in upstream V8 -(main branch), where the method was additionally renamed from `Tuple` to -`MakeTuple`. - -Upstream-Status: Backport [https://github.com/nodejs/node/commit/7772a2df9d0b4db9947dbb902b4aec33c35401c0] -Signed-off-by: Bin Cao ---- - .../turboshaft/int64-lowering-reducer.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h b/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h -index abcdef1..1234567 100644 ---- a/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h -+++ b/deps/v8/src/compiler/turboshaft/int64-lowering-reducer.h -@@ -637,7 +637,7 @@ class Int64LoweringReducer : public Next { - result = __ Word32CountLeadingZeros(high); - } - -- return __ Tuple(result, __ Word32Constant(0)); -+ return __ template Tuple(result, __ Word32Constant(0)); - } - - V LowerCtz(V input) { -@@ -650,7 +650,7 @@ class Int64LoweringReducer : public Next { - result = __ Word32CountTrailingZeros(low); - } - -- return __ Tuple(result, __ Word32Constant(0)); -+ return __ template Tuple(result, __ Word32Constant(0)); - } - - V LowerPopCount(V input) { --- -2.43.0 - diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0012-histogram-restrict-avx2-dispatch-to-x86_64.patch b/meta-oe/recipes-devtools/nodejs/nodejs-24/0012-histogram-restrict-avx2-dispatch-to-x86_64.patch deleted file mode 100644 index 9f5ea60212..0000000000 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0012-histogram-restrict-avx2-dispatch-to-x86_64.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 059887c4e51ff49dd8d944eb6ca732a6cfd3043f Mon Sep 17 00:00:00 2001 -From: Kanksha Paturi -Date: Tue, 10 Nov 2026 17:24:56 +0000 -Subject: [PATCH] deps: histogram: restrict AVX2 dispatch to x86_64 - -The bundled hdr_histogram enables its AVX2 dispatch on 32-bit x86, but -the AVX2 path uses _mm_extract_epi64(), which only exists on 64-bit -x86. Building for 32-bit x86 (qemux86) fails with: - - hdr_histogram.c:740: error: implicit declaration of function - '_mm_extract_epi64' - -Only the AVX2 dispatch guard is backported from the histogram 0.12.0 -update, not the whole commit. - -Upstream-Status: Backport [https://github.com/nodejs/node/commit/1271bb448ae46ca67ad6306b43e3aab2c5b36d3c] - -Signed-off-by: Kanksha Paturi ---- - deps/histogram/src/hdr_histogram.c | 11 ++++++++--- - 1 file changed, 8 insertions(+), 3 deletions(-) - -diff --git a/deps/histogram/src/hdr_histogram.c b/deps/histogram/src/hdr_histogram.c -index a34de2c1b2..7a1531a71e 100644 ---- a/deps/histogram/src/hdr_histogram.c -+++ b/deps/histogram/src/hdr_histogram.c -@@ -34,9 +34,14 @@ - # define HDR_UNLIKELY(x) (x) - #endif - --/* Runtime-dispatched AVX2 path: keep the rest of this TU at the project's -- baseline ISA so the shipped binary does not silently require AVX2. */ --#if (defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86)) \ -+/* Runtime-dispatched AVX2 path; rest of TU stays at baseline ISA so the binary -+ doesn't silently require AVX2. 64-bit x86 + GCC/Clang only: -+ - 32-bit x86: _mm_extract_epi64 unavailable in 32-bit codegen. -+ - _MSC_VER: __builtin_cpu_supports's __cpu_model isn't linked under MSVC; -+ clang-cl also defines __x86_64__/__clang__ so this exclusion is load-bearing. -+ - __INTEL_COMPILER: ICC classic. */ -+#if !defined(HDR_DISABLE_AVX2) \ -+ && defined(__x86_64__) \ - && (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER) && !defined(_MSC_VER) - # define HDR_HAS_AVX2_DISPATCH 1 - # include diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0001-Do-not-use-glob-in-deps.patch b/meta-oe/recipes-devtools/nodejs/nodejs-26/0001-Do-not-use-glob-in-deps.patch similarity index 94% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0001-Do-not-use-glob-in-deps.patch rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0001-Do-not-use-glob-in-deps.patch index 622d25bbd3..de65a01829 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0001-Do-not-use-glob-in-deps.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs-26/0001-Do-not-use-glob-in-deps.patch @@ -34,11 +34,13 @@ do_unpack[postfuncs] += "prune_sources" Upstream-Status: Inappropriate [embedded specific] +diff --git a/Makefile b/Makefile +index 15de440..c6f95ca 100644 --- a/Makefile +++ b/Makefile -@@ -179,7 +179,7 @@ with-code-cache test-code-cache: +@@ -181,7 +181,7 @@ with-code-cache test-code-cache: $(warning '$@' target is a noop) - + out/Makefile: config.gypi common.gypi node.gyp \ - deps/*/*.gyp \ + deps/llhttp/llhttp.gyp deps/ada/ada.gyp deps/nbytes/nbytes.gyp \ diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0002-v8-don-t-override-ARM-CFLAGS.patch b/meta-oe/recipes-devtools/nodejs/nodejs-26/0002-v8-don-t-override-ARM-CFLAGS.patch similarity index 97% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0002-v8-don-t-override-ARM-CFLAGS.patch rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0002-v8-don-t-override-ARM-CFLAGS.patch index cc920118a2..107103e452 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0002-v8-don-t-override-ARM-CFLAGS.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs-26/0002-v8-don-t-override-ARM-CFLAGS.patch @@ -24,14 +24,14 @@ problems have been noted during compilation or runtime. Upstream-Status: Inappropriate [oe-specific] Signed-off-by: André Draszik --- - tools/v8_gypfiles/toolchain.gypi | 52 ++------------------------------ + tools/v8_gypfiles/toolchain.gypi | 52 ++-------------------------------------- 1 file changed, 2 insertions(+), 50 deletions(-) diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi -index 9d1b0987..4df15e60 100644 +index 3676848..ac6fee0 100644 --- a/tools/v8_gypfiles/toolchain.gypi +++ b/tools/v8_gypfiles/toolchain.gypi -@@ -203,31 +203,7 @@ +@@ -192,31 +192,7 @@ 'target_conditions': [ ['_toolset=="host"', { 'conditions': [ @@ -64,7 +64,7 @@ index 9d1b0987..4df15e60 100644 # Host not built with an Arm CXX compiler (simulator build). 'conditions': [ [ 'arm_float_abi=="hard"', { -@@ -246,31 +222,7 @@ +@@ -235,31 +211,7 @@ }], # _toolset=="host" ['_toolset=="target"', { 'conditions': [ diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0003-system-c-ares.patch b/meta-oe/recipes-devtools/nodejs/nodejs-26/0003-system-c-ares.patch similarity index 93% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0003-system-c-ares.patch rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0003-system-c-ares.patch index 6f08c71e18..c8348a3985 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0003-system-c-ares.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs-26/0003-system-c-ares.patch @@ -10,10 +10,10 @@ Signed-off-by: Khem Raj 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/cares_wrap.h b/src/cares_wrap.h -index 021ef1c9..820c5d88 100644 +index fd66a67..e3720e5 100644 --- a/src/cares_wrap.h +++ b/src/cares_wrap.h -@@ -23,7 +23,15 @@ +@@ -24,7 +24,15 @@ # include #endif // __POSIX__ diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0004-liftoff-Correct-function-signatures.patch b/meta-oe/recipes-devtools/nodejs/nodejs-26/0004-liftoff-Correct-function-signatures.patch similarity index 65% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0004-liftoff-Correct-function-signatures.patch rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0004-liftoff-Correct-function-signatures.patch index 5e617e6554..31547fae7b 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0004-liftoff-Correct-function-signatures.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs-26/0004-liftoff-Correct-function-signatures.patch @@ -12,16 +12,15 @@ Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/v8/v8/+/3 Signed-off-by: Archana Polampalli --- - deps/v8/src/wasm/baseline/liftoff-assembler.h | 6 +++--- - .../src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h | 2 +- - .../src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h | 2 +- - 3 files changed, 5 insertions(+), 5 deletions(-) + deps/v8/src/wasm/baseline/liftoff-assembler.h | 6 +++--- + deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h | 2 +- + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/v8/src/wasm/baseline/liftoff-assembler.h b/deps/v8/src/wasm/baseline/liftoff-assembler.h -index 7cb2f500..713d16db 100644 +index 160ec7a..ea759a2 100644 --- a/deps/v8/src/wasm/baseline/liftoff-assembler.h +++ b/deps/v8/src/wasm/baseline/liftoff-assembler.h -@@ -681,7 +681,7 @@ class LiftoffAssembler : public MacroAssembler { +@@ -622,7 +622,7 @@ class LiftoffAssembler : public MacroAssembler { void FinishCall(const ValueKindSig*, compiler::CallDescriptor*); // Move {src} into {dst}. {src} and {dst} must be different. @@ -30,7 +29,7 @@ index 7cb2f500..713d16db 100644 // Parallel register move: For a list of tuples , move the // {src} register of kind {kind} into {dst}. If {src} equals {dst}, ignore -@@ -851,8 +851,8 @@ class LiftoffAssembler : public MacroAssembler { +@@ -824,8 +824,8 @@ class LiftoffAssembler : public MacroAssembler { inline void MoveStackValue(uint32_t dst_offset, uint32_t src_offset, ValueKind); @@ -42,10 +41,10 @@ index 7cb2f500..713d16db 100644 inline void Spill(int offset, LiftoffRegister, ValueKind); inline void Spill(int offset, WasmValue); diff --git a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h -index bd59f162..56b4d70c 100644 +index a05d03b..b55d808 100644 --- a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h +++ b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h -@@ -672,7 +672,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg, +@@ -684,7 +684,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg, pinned.set(dst_op.rm()); LiftoffRegister tmp = kScratchReg2; // Save original value. @@ -54,16 +53,3 @@ index bd59f162..56b4d70c 100644 src = tmp; pinned.set(tmp); -diff --git a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h -index a3c94af0..456e5334 100644 ---- a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h -+++ b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h -@@ -452,7 +452,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg, - pinned.set(dst_op.rm()); - LiftoffRegister tmp = GetUnusedRegister(src.reg_class(), pinned); - // Save original value. -- Move(tmp, src, type.value_type()); -+ Move(tmp, src, type.value_type().kind()); - - src = tmp; - pinned.set(tmp); diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0006-deps-disable-io_uring-support-in-libuv.patch b/meta-oe/recipes-devtools/nodejs/nodejs-26/0006-deps-disable-io_uring-support-in-libuv.patch similarity index 90% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0006-deps-disable-io_uring-support-in-libuv.patch rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0006-deps-disable-io_uring-support-in-libuv.patch index 50d63cf78c..743cf8e62d 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0006-deps-disable-io_uring-support-in-libuv.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs-26/0006-deps-disable-io_uring-support-in-libuv.patch @@ -18,13 +18,14 @@ Signed-off-by: Martin Jansa Updated by Jason Schonberg August 1, 2025 for nodejs 22.18.0 which uses libuv 1.51.0 --- - deps/uv/src/unix/linux.c | 29 +---------------------------- - 1 file changed, 1 insertion(+), 28 deletions(-) + deps/uv/src/unix/linux.c | 31 +------------------------------ + 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/deps/uv/src/unix/linux.c b/deps/uv/src/unix/linux.c +index 1109648..ca84eb5 100644 --- a/deps/uv/src/unix/linux.c +++ b/deps/uv/src/unix/linux.c -@@ -465,36 +465,7 @@ +@@ -462,36 +462,7 @@ static int uv__use_io_uring(uint32_t flags) { /* See https://github.com/libuv/libuv/issues/4283. */ return 0; /* Random SIGSEGV in signal handler. */ #else @@ -62,4 +63,3 @@ diff --git a/deps/uv/src/unix/linux.c b/deps/uv/src/unix/linux.c #endif } - diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0007-positional-args.patch b/meta-oe/recipes-devtools/nodejs/nodejs-26/0007-positional-args.patch similarity index 96% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0007-positional-args.patch rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0007-positional-args.patch index 42b2e6c8e0..d34cbe4814 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0007-positional-args.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs-26/0007-positional-args.patch @@ -9,6 +9,7 @@ Upstream-Status: Inappropriate [embedded specific] 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/run-script/node_modules/.bin/positional-args b/test/fixtures/run-script/node_modules/.bin/positional-args +index 18c7bfa..1739ce6 100755 --- a/test/fixtures/run-script/node_modules/.bin/positional-args +++ b/test/fixtures/run-script/node_modules/.bin/positional-args @@ -1,3 +1,3 @@ @@ -16,5 +17,3 @@ diff --git a/test/fixtures/run-script/node_modules/.bin/positional-args b/test/f +#!/bin/sh echo "Arguments: '$@'" echo "The total number of arguments is: $#" --- -2.34.1 diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0008-custom-env.patch b/meta-oe/recipes-devtools/nodejs/nodejs-26/0008-custom-env.patch similarity index 95% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0008-custom-env.patch rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0008-custom-env.patch index 532d3c5f51..34f6b80348 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0008-custom-env.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs-26/0008-custom-env.patch @@ -9,7 +9,7 @@ Upstream-Status: Inappropriate [embedded specific] 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/run-script/node_modules/.bin/custom-env b/test/fixtures/run-script/node_modules/.bin/custom-env -index e6f291c6..1430f2e9 100755 +index e6f291c..1430f2e 100755 --- a/test/fixtures/run-script/node_modules/.bin/custom-env +++ b/test/fixtures/run-script/node_modules/.bin/custom-env @@ -1,2 +1,2 @@ diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0009-Using-native-binaries.patch b/meta-oe/recipes-devtools/nodejs/nodejs-26/0009-Using-native-binaries.patch similarity index 93% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0009-Using-native-binaries.patch rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0009-Using-native-binaries.patch index 2e2d2bf3f7..baf7114bf4 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0009-Using-native-binaries.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs-26/0009-Using-native-binaries.patch @@ -22,9 +22,10 @@ Signed-off-by: Archana Polampalli 2 files changed, 8 insertions(+) diff --git a/node.gyp b/node.gyp +index 5334b8a..d2b3ce6 100644 --- a/node.gyp +++ b/node.gyp -@@ -993,6 +993,7 @@ +@@ -1062,6 +1062,7 @@ 'action_name': 'node_js2c', 'process_outputs_as_sources': 1, 'inputs': [ @@ -32,7 +33,7 @@ diff --git a/node.gyp b/node.gyp '<(node_js2c_exec)', '<@(library_files)', '<@(deps_files)', -@@ -1013,6 +1014,7 @@ +@@ -1082,6 +1083,7 @@ ], 'action': [ '<@(emulator)', @@ -40,7 +41,7 @@ diff --git a/node.gyp b/node.gyp '<(node_js2c_exec)', '<@(_outputs)', 'lib', -@@ -1072,6 +1074,7 @@ +@@ -1141,6 +1143,7 @@ 'action_name': 'node_mksnapshot', 'process_outputs_as_sources': 1, 'inputs': [ @@ -49,9 +50,10 @@ diff --git a/node.gyp b/node.gyp '<(node_snapshot_main)', ], diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp +index fd8394b..85dfc80 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp -@@ -113,6 +113,7 @@ +@@ -121,6 +121,7 @@ { 'action_name': 'run_torque_action', 'inputs': [ # Order matters. @@ -59,7 +61,7 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)', '<@(torque_files)', ], -@@ -145,6 +146,7 @@ +@@ -153,6 +154,7 @@ ], 'action': [ '<@(emulator)', @@ -67,7 +69,7 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)', '-o', '<(SHARED_INTERMEDIATE_DIR)/torque-generated', '-v8-root', '<(V8_ROOT)', -@@ -257,6 +259,7 @@ +@@ -265,6 +267,7 @@ { 'action_name': 'generate_bytecode_builtins_list_action', 'inputs': [ @@ -75,7 +77,7 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bytecode_builtins_list_generator<(EXECUTABLE_SUFFIX)', ], 'outputs': [ -@@ -443,6 +446,7 @@ +@@ -430,6 +433,7 @@ ], }, 'inputs': [ @@ -83,7 +85,7 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp '<(mksnapshot_exec)', ], 'outputs': [ -@@ -1976,6 +1980,7 @@ +@@ -2084,6 +2088,7 @@ { 'action_name': 'run_gen-regexp-special-case_action', 'inputs': [ @@ -91,5 +93,3 @@ diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen-regexp-special-case<(EXECUTABLE_SUFFIX)', ], 'outputs': [ --- -2.34.1 diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch b/meta-oe/recipes-devtools/nodejs/nodejs-26/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch similarity index 98% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch rename to meta-oe/recipes-devtools/nodejs/nodejs-26/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch index 36703eedd4..a1b1e9d71a 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-24/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs-26/0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch @@ -47,7 +47,7 @@ Signed-off-by: Khem Raj 3 files changed, 77 insertions(+), 6 deletions(-) diff --git a/deps/v8/src/regexp/gen-regexp-special-case.cc b/deps/v8/src/regexp/gen-regexp-special-case.cc -index 86f6b212c93..98f70975be1 100644 +index 86f6b21..98f7097 100644 --- a/deps/v8/src/regexp/gen-regexp-special-case.cc +++ b/deps/v8/src/regexp/gen-regexp-special-case.cc @@ -9,6 +9,7 @@ @@ -111,7 +111,7 @@ index 86f6b212c93..98f70975be1 100644 void WriteHeader(const char* header_filename) { diff --git a/deps/v8/src/regexp/regexp-parser.cc b/deps/v8/src/regexp/regexp-parser.cc -index 2792cd0f1e9..dd883c3eddc 100644 +index 2792cd0..dd883c3 100644 --- a/deps/v8/src/regexp/regexp-parser.cc +++ b/deps/v8/src/regexp/regexp-parser.cc @@ -10,6 +10,7 @@ @@ -158,7 +158,7 @@ index 2792cd0f1e9..dd883c3eddc 100644 } // In the case where ICU is not included, we act as if the unicode flag is diff --git a/deps/v8/src/regexp/special-case.h b/deps/v8/src/regexp/special-case.h -index 753c9231ede..80b88a308cc 100644 +index 753c923..80b88a3 100644 --- a/deps/v8/src/regexp/special-case.h +++ b/deps/v8/src/regexp/special-case.h @@ -7,8 +7,8 @@ diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-24/run-ptest b/meta-oe/recipes-devtools/nodejs/nodejs-26/run-ptest similarity index 100% rename from meta-oe/recipes-devtools/nodejs/nodejs-24/run-ptest rename to meta-oe/recipes-devtools/nodejs/nodejs-26/run-ptest diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-24.22/oe-npm-cache b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-26.13/oe-npm-cache similarity index 100% rename from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-24.22/oe-npm-cache rename to meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-26.13/oe-npm-cache diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_24.22.bb b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_26.13.bb similarity index 100% rename from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_24.22.bb rename to meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_26.13.bb diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_24.22.3.bb b/meta-oe/recipes-devtools/nodejs/nodejs_26.13.1.bb similarity index 91% rename from meta-oe/recipes-devtools/nodejs/nodejs_24.22.3.bb rename to meta-oe/recipes-devtools/nodejs/nodejs_26.13.1.bb index 166d1b018f..c42b07acf3 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_24.22.3.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_26.13.1.bb @@ -1,8 +1,8 @@ DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" HOMEPAGE = "http://nodejs.org" LICENSE = "Apache-2.0 AND Artistic-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BlueOak-1.0.0 AND ISC AND MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=edc0683b77d2c503217642fa000b5b31" -FILESEXTRAPATHS:prepend := "${THISDIR}/nodejs-24:" +LIC_FILES_CHKSUM = "file://LICENSE;md5=89253653f0ff2153f09502963f07bb42" +FILESEXTRAPATHS:prepend := "${THISDIR}/nodejs-26:" CVE_PRODUCT = "nodejs node.js" @@ -29,15 +29,17 @@ SRC_URI = "https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ file://0006-deps-disable-io_uring-support-in-libuv.patch \ file://0007-positional-args.patch \ file://0008-custom-env.patch \ - file://0010-v8-fix-Wtemplate-body-error-with-GCC-15-on-ia32.patch \ file://0011-v8-handle-supplementary-case-equivalents-of-BMP-characters.patch \ - file://0012-histogram-restrict-avx2-dispatch-to-x86_64.patch \ file://run-ptest \ " SRC_URI:append:class-target = " \ file://0009-Using-native-binaries.patch \ " -SRC_URI[sha256sum] = "48ca3aa8a9b02133356922ef4fc80200e00598c80a4ef446f7c39a459222593d" +SRC_URI[sha256sum] = "a7f6204ff63b6a2cd274d48903285abb86ed53a99070e532d4c2fd787457d9e6" + +# Even-numbered majors are the LTS lines +UPSTREAM_CHECK_URI = "https://nodejs.org/dist/" +UPSTREAM_CHECK_REGEX = "v(?P\d*[02468]\.\d+\.\d+)/" S = "${UNPACKDIR}/node-v${PV}" @@ -144,6 +146,7 @@ do_configure () { # $TARGET_ARCH settings don't match --dest-cpu settings python3 configure.py --verbose --prefix=${prefix} \ --shared-openssl \ + --v8-disable-temporal-support \ --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \ --dest-os=linux \ --libdir=${baselib} \ @@ -172,7 +175,7 @@ do_install_ptest () { } PACKAGES =+ "${PN}-npm" -FILES:${PN}-npm = "${nonarch_libdir}/node_modules ${bindir}/npm ${bindir}/npx ${bindir}/corepack" +FILES:${PN}-npm = "${nonarch_libdir}/node_modules ${bindir}/npm ${bindir}/npx" RDEPENDS:${PN}-npm = "bash python3-core python3-shell python3-datetime \ python3-misc python3-multiprocessing" @@ -198,7 +201,10 @@ python set_gyp_variables () { d.setVar("CC_host", d.getVar("BUILD_CC")) d.setVar("CFLAGS_host", d.getVar("BUILD_CFLAGS")) d.setVar("CXX_host", d.getVar("BUILD_CXX")) - d.setVar("CXXFLAGS_host", d.getVar("BUILD_CXXFLAGS")) + # V8's NEON hex decoding (src/objects/simd.cc) relies on implicit vector + # conversions, which GCC rejects without -flax-vector-conversions + d.setVar("CXXFLAGS_host", d.getVar("BUILD_CXXFLAGS") + + (" -flax-vector-conversions" if d.getVar("BUILD_ARCH") == "aarch64" else "")) d.setVar("LDFLAGS_host", d.getVar("BUILD_LDFLAGS")) d.setVar("AR_host", d.getVar("BUILD_AR")) } From patchwork Wed Nov 25 08:06:38 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105588 Received: from mail-dy1-f169.google.com (mail-dy1-f169.google.com [74.125.82.169]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37941.1795594091604131528 for ; Wed, 25 Nov 2026 00:08:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=A2n0HKVH; spf=pass (domain: gmail.com, ip: 74.125.82.169, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f169.google.com with SMTP id 5a478bee46e88-386c4d2e2ccso2524602eec.0 for ; Wed, 25 Nov 2026 00:08:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594091; x=1796198891; 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=1pIPzew9I3Dv2DXwf594VZOlL8P8gUGJ0i0Nq+/+zyU=; b=A2n0HKVHa+2o0Gny68IIhOH+OjzcaES2wa1r+E9ifcYjTtpP2X1Cia9q9Eu3DkBX/c NzK6nV0IAOd9RKygaxrDLdyMOlIM6NCXt4xxDm/1XWfG9SCrllMNOF8mOTC5Gj4DZbfQ 20Ux7+jdchDCV6QcDNQ/lx+7D7M0UI1MPDHDbon2nghd3F0cafKo6p+o1CGwS9PlcPoA KHeUupgSDkb4eV7TKE6BeNxshFCN/6TFwoZ8GAQa8NZuSSuaCgpqhv2rRlvTpZmjaBxM 6LoZxQ3MiQzdb+ZUgJVT57Cmxc50PujnCUUAVIkQuJoaUdvDFmDonmIUCDgHffdUeWvy fJ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594091; x=1796198891; 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=1pIPzew9I3Dv2DXwf594VZOlL8P8gUGJ0i0Nq+/+zyU=; b=XpWeBXCBfqRYLGlGME1mPSF6WkuRgRgAGWTKjDEj/kxgDuQyIbs3S+T57NCiwdCBHC hfxHvgTb2FdiLM32T66EGti62+FBDrrxW3SsAj3vRP6wi8RjwHmpt27xh2SHhxPOd3Zi Sxn4GtPkNWMZWkwx+S1nI5pm8yR4NdVrz4TWCiJEQcHlgIo4yzQqqAJHuFHyH33O3GTs rvhVztmx0psoJsn9oiTx1Y5sy+CADOxQwyvtYiRTlJq5HClXzlw344WO0ANb+8Cx1tc1 MYe0ygwtp2jGpEQSZi/rXzpAFvRSTqx8wYNq1ntwHiWRiBbAP1jqULAF4pfaXivU7EwY C/2g== X-Gm-Message-State: APuU4Z/eqLj/SKClEGbPLpTtc4/cN5S5KH66Dtiw1wF+cIB5dJ49R7pD n4NCAW0O/sQ6sDUPwY0advV2BCBVM8N+dleI+iJEaFNeVIaz06p5PaYBFp9O99jD X-Gm-Gg: AZFdTZdwlfgKdcn8YNpIOWzFFwj5Y8uj6YgRjNmzyUrOnJkXEU+WWZ5mI2Frx0vP6KQ nuzspOXMZbdZnTppWkNjTLjjo0rI7IcCa9UJjiK14Sw2ST2fatJCAfwQQ32R6Ddsort85jwdE1a CLyinFie1TCHk+q52SPum4xf/ddGa6Rv5uEyrHHdfiiZJBPTaHJwwZ4JxHlYEQhOQoEFhbpEP3U av9n8+K+P9+RF6LaMGI2VPq/J+PTnbdEBzx105xLwevKlR8m9WHRNyoHhhV98IGNXpx4j1TxQzL TpDNyb2lgmWpT6t086wdkwvkqcYxo+nsLUepKrSKwDJQWe9FGrRWrC9EFag+v3DN8kNji1FPbld F8SOvyw3QwA4VsBbeKBmyaPxa7w6dOThDM5cG+ymKMPYQ2VvzoBhptXhWE6mxOD1I2ajtfLSw/L wgaKFWACzDIktvXaCCkq162/zTfyRo3UEdUo3Ekqpq2Qi2df+66wj+sGLnSEdROOq5bQsPEn3YW 4nryiSzuC2b/dpAm1loobF+6TKPxIOpe1IJTPxY7T8oq2kWy5YjDymSOlaoi8faxgb3mcD8znfc X42jT5bmC9fk5Xvj1HNXazyoX1B1VZPlYTMwLLXuLhdpbCECGObFdqYglTEjVkHeyX7gJ1W5vXN UvVrfGqQeOZfZuvXNqzdtblublIZBLmLwalCfKbIxbeH5mpOFZpuWFkjZzZEVVUGGtPU190zNIu nhzMUh5Alg/q9yZKZREOOYMnU8zdFjeMEK1BEbpTh9ThlDQd9R/kLyUPf73eY5R0g3wZJ7zGPPQ jDXbdF36MOa15oldpFrWQu9NfZ0NfFbCd78EJiYWTWZwnWpWinWDYg2IlWeTXK7b8w4lvM7dlWN d2FV X-Received: by 2002:a05:7301:241b:b0:386:b526:24d2 with SMTP id 5a478bee46e88-386b52636aemr8502560eec.41.1795594090905; Wed, 25 Nov 2026 00:08:10 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:10 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 22/55] libyang: upgrade 3.13.6 -> 6.4.13 Date: Wed, 25 Nov 2026 00:06:38 -0800 Message-ID: <20261125080732.2419614-28-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133025 - 4.x: SO version 4, major LYB binary format optimizations - 5.x: SO version 5, "bin" value functions removed, LYB uses complex encoding, anydata XPath support, schema mount improvements; the binary YANG modules were removed, the text modules are installed in ${datadir}/yang and loaded from there - 6.x: keeps SO version 5; ietf-yang-semver/ietf-yang-revisions, experimental schema comparison, new yangupdate tool, sized array API (LY_ARRAY_COUNT renamed to LYA_COUNT), CBOR format with libcbor - includes the fix for CVE-2026-41401 Drop CVE-2026-41401.patch, it is part of this release. Refresh the test_context patch. Add a cbor PACKAGECONFIG, off by default, so an available libcbor is not picked up by accident. Install the top-level modules directory and the schema_comparison data the new tests use for ptest. Add UPSTREAM_CHECK_GITTAGREGEX. FRR, the only user in the layers, got the libyang 5.x/6.x API backport in the previous commit. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...ntext-skip-test-case-test_searchdirs.patch | 6 +-- .../libyang/libyang/CVE-2026-41401.patch | 43 ------------------- .../{libyang_3.13.6.bb => libyang_6.4.13.bb} | 12 +++++- 3 files changed, 13 insertions(+), 48 deletions(-) delete mode 100644 meta-oe/recipes-extended/libyang/libyang/CVE-2026-41401.patch rename meta-oe/recipes-extended/libyang/{libyang_3.13.6.bb => libyang_6.4.13.bb} (71%) diff --git a/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch b/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch index 70890e2485..8775f7025e 100644 --- a/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch +++ b/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch @@ -13,14 +13,14 @@ Signed-off-by: Yi Zhao 1 file changed, 1 deletion(-) diff --git a/tests/utests/basic/test_context.c b/tests/utests/basic/test_context.c -index 116b2ce36..4e96f4e96 100644 +index f3dfcaad..fd3e3f31 100644 --- a/tests/utests/basic/test_context.c +++ b/tests/utests/basic/test_context.c -@@ -1110,7 +1110,6 @@ int +@@ -1131,7 +1131,6 @@ int main(void) { const struct CMUnitTest tests[] = { - UTEST(test_searchdirs), - UTEST(test_options), UTEST(test_models), UTEST(test_imports), + UTEST(test_includes), diff --git a/meta-oe/recipes-extended/libyang/libyang/CVE-2026-41401.patch b/meta-oe/recipes-extended/libyang/libyang/CVE-2026-41401.patch deleted file mode 100644 index 06537acbb8..0000000000 --- a/meta-oe/recipes-extended/libyang/libyang/CVE-2026-41401.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 34b2a26ee86716e2b593c44e51e38ee15d4e8434 Mon Sep 17 00:00:00 2001 -From: Michal Vasko -Date: Thu, 26 Mar 2026 08:33:44 +0100 -Subject: [PATCH] parser common BUGFIX invalid metadata removal - -(cherry picked from commit 54c3276d871023da266d4ed3ceaee7e8d71d0b04) - -CVE: CVE-2026-41401 -Upstream-Status: Backport [https://github.com/CESNET/libyang/commit/54c3276d871023da266d4ed3ceaee7e8d71d0b04] - -Signed-off-by: Ankur Tyagi ---- - src/parser_common.c | 4 ++-- - tests/fuzz/corpus/lyd_parse_mem_xml/advisory2026_03_26 | 5 +++++ - 2 files changed, 7 insertions(+), 2 deletions(-) - create mode 100644 tests/fuzz/corpus/lyd_parse_mem_xml/advisory2026_03_26 - -diff --git a/src/parser_common.c b/src/parser_common.c -index 0b221af72..fefe723eb 100644 ---- a/src/parser_common.c -+++ b/src/parser_common.c -@@ -413,8 +413,8 @@ lyd_parser_set_data_flags(struct lyd_node *node, struct lyd_meta **meta, struct - next_meta = meta2->next; - - /* delete the metadata */ -- if (meta != &node->meta) { -- *meta = (*meta)->next; -+ if ((meta != &node->meta) && (meta2 == *meta)) { -+ *meta = next_meta; - } - lyd_free_meta_single(meta2); - if (prev_meta) { -diff --git a/tests/fuzz/corpus/lyd_parse_mem_xml/advisory2026_03_26 b/tests/fuzz/corpus/lyd_parse_mem_xml/advisory2026_03_26 -new file mode 100644 -index 000000000..7e3b6c39e ---- /dev/null -+++ b/tests/fuzz/corpus/lyd_parse_mem_xml/advisory2026_03_26 -@@ -0,0 +1,5 @@ -+5 diff --git a/meta-oe/recipes-extended/libyang/libyang_3.13.6.bb b/meta-oe/recipes-extended/libyang/libyang_6.4.13.bb similarity index 71% rename from meta-oe/recipes-extended/libyang/libyang_3.13.6.bb rename to meta-oe/recipes-extended/libyang/libyang_6.4.13.bb index 7724b4c218..a6d23f30b8 100644 --- a/meta-oe/recipes-extended/libyang/libyang_3.13.6.bb +++ b/meta-oe/recipes-extended/libyang/libyang_6.4.13.bb @@ -6,14 +6,14 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=b69fd3b2815bbf1cef5c97f0eee2519a" -SRCREV = "c2ddd01b9b810a30d6a7d6749a3bc9adeb7b01fb" +SRCREV = "f7e0cc1bc99ec9280af1010a94ba8dd8ef448f6d" SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https;tag=v${PV} \ file://0001-test_context-skip-test-case-test_searchdirs.patch \ file://run-ptest \ - file://CVE-2026-41401.patch \ " +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" # Main dependencies inherit cmake pkgconfig lib_package ptest multilib_header @@ -23,6 +23,9 @@ DEPENDS = " \ " DEPENDS += "${@bb.utils.contains('PTEST_ENABLED', '1', 'cmocka', '', d)}" +PACKAGECONFIG ??= "" +PACKAGECONFIG[cbor] = "-DCMAKE_DISABLE_FIND_PACKAGE_CBOR=OFF,-DCMAKE_DISABLE_FIND_PACKAGE_CBOR=ON,libcbor" + EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" EXTRA_OECMAKE += " ${@bb.utils.contains('PTEST_ENABLED', '1', '-DENABLE_TESTS=ON -DENABLE_VALGRIND_TESTS=OFF', '', d)}" @@ -41,6 +44,11 @@ do_install_ptest () { install -d ${D}${PTEST_PATH}/tests cp -f ${B}/tests/utest_* ${D}${PTEST_PATH}/tests/ cp -fR ${S}/tests/modules ${D}${PTEST_PATH}/tests/ + cp -fR ${S}/modules ${D}${PTEST_PATH}/ + install -d ${D}${PTEST_PATH}/tests/utests/schema_comparison + cp -fR ${S}/tests/utests/schema_comparison/bc ${S}/tests/utests/schema_comparison/ed \ + ${S}/tests/utests/schema_comparison/local_full_resolved ${S}/tests/utests/schema_comparison/nbc \ + ${D}${PTEST_PATH}/tests/utests/schema_comparison/ install -d ${D}${PTEST_PATH}/tests/plugins cp -f ${B}/tests/plugins/plugin_*.so ${D}${PTEST_PATH}/tests/plugins/ } From patchwork Wed Nov 25 08:06:39 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105589 Received: from mail-dy1-f180.google.com (mail-dy1-f180.google.com [74.125.82.180]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37942.1795594092666934235 for ; Wed, 25 Nov 2026 00:08:12 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=c1msmxsA; 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-3282db206d3so5126300eec.0 for ; Wed, 25 Nov 2026 00:08:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594092; x=1796198892; 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=CKuXw9XZ4+ORzjhjaIWUfWSJMgVC6laTbS5G8GwKSgM=; b=c1msmxsAAtz1AfZgIcWfF0EvXgcGPQxNcNEmcpeoTKMRK18urrCRuCUE8CwxaKoNND QnWifqOY/Tad6+cBfUDF+Nv+U81i00VRhRvLO3Sk0Hf+on8b+Lmjl57pOF3/4IvUwPPi YBUpRtPljH3yDvjFxN6tEBPMTklI0PDmG74TzP/bHjgZd4VvF9oLOW+Ok7glcWwveVIR cENh7qdbZozy6RST3wg2/U1lRrDsqVgbE5W/E54KevF+UoHVmyC6PGdUvWZULLsNzEnx VIc/wvkKibV072JPkbySj4D+E+b18HykqEFxNuWhwBUEgOZs1+C+gQUmDTF4UnQOUlDZ 7+cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594092; x=1796198892; 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=CKuXw9XZ4+ORzjhjaIWUfWSJMgVC6laTbS5G8GwKSgM=; b=Y11DojMOcVg5n302x3GGrTsrOtVlRta+QyzXJ6j6cKhNys/IUJUoITcrtGVZftUtjC Xe9LJw2vc403/EnSMENPjwD7/pa1a3sMvjU4skJtCdDkFJF5dQfhglgO1RpoFd9cxnAr 8o0wUTCxbpvhduyLCFzmPCRxnvDTfwX0mAmpQVyaZYdXMXJIvYXADOsdG0AQj52A9kof PuZCQ+eN5TnaNskttcbIuIwE+mxeN8/5rU8a6TsofMxCir+X/TUxK1DMtyUIcrGfHPn/ TJn4FclAl0FxPd7yyfgE5U3jw42GRjSSaMab5EYjzpNRQbnVsX7zXNUv0QNQElP3OnMO nkMA== X-Gm-Message-State: APuU4Z+dDTKxA6JxUeWWMqh/vI7mHeudlJEB+WHTRGpXeb2uF5lVxYox fzxLyNwg9s/S6aE3FbFn3DjOCZf7n3oGOc9E6vPTUJHvW8v012uEj5NxQ0YqhV1S X-Gm-Gg: AZFdTZfFONetuOuEQeCfeTdJfBEtiFZIffbUkxATggmjY6sn9jy0YtucTyitXIHJTsJ kpCIl1sOcgeT8YEoXFqYqWk3YewExwB+P6tN9Oa4caAb5Q8hx0sxMe2oT3z99qxUFJf66F721Pl 6fluYDXuAVmzv+CrYvKPMYXW8pgWHVZxF9Uq/ZNKTmTbpAyZWWPpbq2XiNfJcAKxBYsF1m5v7PV rdnDOj4z3xkGYndh5vhBPLlvC7NAgQXfCQBcZHRawcRFAwmEcIUXvKSzfxex2SLid6+IZEJOtUF Lu0Y9QWkn9frqFI1JiiB02S+ZJTkYFO1suRwpvk414R9kgtAw2TsAEO6/jR3pMPC5oHV96moViE Ivb/GST7w+x2C3aRnISfIyzpGXQvm7z06jU31dEAT6zkzuHl1XhJB7eJAujYmAL7KEOIYZ2XnC4 UWwnSlnkVBJHioY8odhKfqFH5lbBL3/cT26gM3lE+pX5oaWPOUHPHYKpSfebWv12jSHhbxGnXAu d0Yxqh2cWDwiVk4MjzI2ZP7l95w9I3tNdSafv+08SRTrxrxzJmv2PUw78I1JDwazRh2AMFJFgsE Kly6unplk5YxI9v6qq2kvfRju6oD/Rjo7NB/DbiNodA9TFAxgmG4shkAEBUC6cCYte40y4KaB12 GWaTLIbjWiyhaBS+aPVX84PiHYjMehbYkmQkwNec8F2imnzWRQBq5/w2HqQidVEfV22EpnK8J8u bHJlajnpFwexxy4NPD7YR5vNXz1oT5M2dUEged2Gk5kzLq7IkBOSHJvj/26HIJCiebvbV2EreYX dROywXGg2DwwqY58roRcQ0tVopoQ8sADo15OSgF90zvhCTwzJdLBk2w4pZd0Xol0NztcMijfL94 BHJSNB91HaHjknyEybomH5+1sA== X-Received: by 2002:a05:7301:618f:20b0:386:ad3b:a48a with SMTP id 5a478bee46e88-386ad3ba7cfmr9641487eec.5.1795594091933; Wed, 25 Nov 2026 00:08:11 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:11 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 23/55] libnfs: upgrade 6.0.2 -> 8.1.0 Date: Wed, 25 Nov 2026 00:06:39 -0800 Message-ID: <20261125080732.2419614-29-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:13 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133026 - 7.0.0: SONAME bump to libnfs.so.17 (struct rpc_stats grew), high/low priority RPC send queue; 7.0.1 renames _null_auth to libnfs_null_auth - 8.0.0: SONAME libnfs.so.18, NFSv4.2 support, nfs_fallocate(), SEEK_DATA/SEEK_HOLE, nfs4_stat64() and named attributes - 8.1.0: ABI compatible with 8.0.x; NFSv4.1 support, NFS over RDMA, RPCSEC_GSS reply verification and security fixes against malicious servers, including a use-after-free when a cut-short READ is resent Drop 0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch, CMake now installs to CMAKE_INSTALL_FULL_LIBDIR/CMAKE_INSTALL_LIBDIR. Fetch by tag instead of a bare commit and add UPSTREAM_CHECK_GITTAGREGEX. TLS, Kerberos and RDMA support are autodetected by default; pin them with PACKAGECONFIGs (tls on, as gnutls was already a dependency; krb5 and rdma off) so the build is deterministic. Inherit pkgconfig, which the krb5-gssapi check uses. Users (qemu, gvfs) need a rebuild for the new SONAME. The CMake build writes the absolute path of the GnuTLS library into libnfs.pc; add a patch that turns it into -lgnutls (buildpaths QA). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...espect-CMAKE_INSTALL_LIBDIR-for-mult.patch | 61 ------------------- ...te-absolute-library-paths-into-libnf.patch | 48 +++++++++++++++ .../libnfs/libnfs_6.0.2.bb | 17 ------ .../libnfs/libnfs_8.1.0.bb | 22 +++++++ 4 files changed, 70 insertions(+), 78 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch create mode 100644 meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Do-not-write-absolute-library-paths-into-libnf.patch delete mode 100644 meta-oe/recipes-connectivity/libnfs/libnfs_6.0.2.bb create mode 100644 meta-oe/recipes-connectivity/libnfs/libnfs_8.1.0.bb diff --git a/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch b/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch deleted file mode 100644 index ffb6bfbea8..0000000000 --- a/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 0d5d6a14f6e9c2ff8998ebb3acbefcad6221952f Mon Sep 17 00:00:00 2001 -From: Martin Jansa -Date: Wed, 3 May 2023 22:27:10 +0200 -Subject: [PATCH] CMakeLists.txt: respect ${CMAKE_INSTALL_LIBDIR} for multilib - -* fixes: - ERROR: libnfs-5.0.2-r0 do_package: QA Issue: libnfs: Files/directories were installed but not shipped in any package: - /usr/lib/libnfs.so - /usr/lib/libnfs.so.11.1.0 - /usr/lib/libnfs.so.5.0.2 - /usr/lib/pkgconfig - /usr/lib/cmake - /usr/lib/pkgconfig/libnfs.pc - /usr/lib/cmake/libnfs - /usr/lib/cmake/libnfs/libnfs-config-version.cmake - /usr/lib/cmake/libnfs/libnfs-config.cmake - /usr/lib/cmake/libnfs/libnfs-config-noconfig.cmake - /usr/lib/cmake/libnfs/FindNFS.cmake - Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. - libnfs: 11 installed and not shipped files. [installed-vs-shipped] - - when libdir is /usr/lib64 with multilib - -Signed-off-by: Martin Jansa -Upstream-Status: Pending ---- - CMakeLists.txt | 6 +++--- - lib/CMakeLists.txt | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1b94d2e..a295403 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -7,11 +7,11 @@ project(libnfs - set(SOVERSION 16.2.0 CACHE STRING "" FORCE) - - set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for binaries") --set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") -+set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" CACHE PATH "Installation directory for libraries") - set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers") - set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manual pages") --set(INSTALL_PKGCONFIG_DIR "${INSTALL_LIB_DIR}/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") --set(INSTALL_CMAKE_DIR "${INSTALL_LIB_DIR}/cmake/libnfs" CACHE PATH "Installation directory for cmake (.cmake) files") -+set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") -+set(INSTALL_CMAKE_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/cmake/libnfs" CACHE PATH "Installation directory for cmake (.cmake) files") - - option(BUILD_SHARED_LIBS "Build shared libraries" ON) - option(ENABLE_TESTS "Build and run test programs" OFF) -diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt -index 987b735..9b2032f 100644 ---- a/lib/CMakeLists.txt -+++ b/lib/CMakeLists.txt -@@ -24,5 +24,5 @@ set_target_properties(nfs PROPERTIES - - install(TARGETS nfs EXPORT libnfs - RUNTIME DESTINATION bin -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib) -+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) diff --git a/meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Do-not-write-absolute-library-paths-into-libnf.patch b/meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Do-not-write-absolute-library-paths-into-libnf.patch new file mode 100644 index 0000000000..47b8d0c4b8 --- /dev/null +++ b/meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Do-not-write-absolute-library-paths-into-libnf.patch @@ -0,0 +1,48 @@ +From a0a24106214fc7be8cc1321d8c4f27091cfceb2c Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 24 Nov 2026 22:41:43 -0800 +Subject: [PATCH] cmake: do not write absolute library paths into libnfs.pc + +find_library() and find_package() return absolute paths, such as +/usr/lib/libgnutls.so for GnuTLS or the GSSAPI library, and these went +verbatim into Libs.private. That leaks the build machine's library +directory (a cross-compile sysroot, for example) into the installed +libnfs.pc, where it is wrong for every other consumer. Turn such paths +into -l by dropping the directory, a leading "lib" and the +library suffix along with any version after it. + +Libs.private was also written with the CMake list separator, e.g. +"/usr/lib/libgnutls.so;-ldl;/usr/lib/libgssapi_krb5.so" with TLS and +Kerberos enabled, which pkg-config passes on as a single argument, so +"pkg-config --static --libs libnfs" did not link. Separate the entries +with spaces. + +Upstream-Status: Submitted [https://github.com/sahlberg/libnfs/pull/641] +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + CMakeLists.txt | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 237ac86..2b8b9d8 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -306,11 +306,16 @@ foreach(LIB ${SYSTEM_LIBRARIES}) + if(LIB MATCHES "/([^/]+)\\.framework$") + list(APPEND PKG_LIBLIST "-framework ${CMAKE_MATCH_1}") + elseif(IS_ABSOLUTE ${LIB} AND EXISTS ${LIB}) +- list(APPEND PKG_LIBLIST "${LIB}") ++ # find_library() paths are only valid on the build machine, use -l ++ get_filename_component(LIBNAME ${LIB} NAME) ++ string(REGEX REPLACE "^lib" "" LIBNAME ${LIBNAME}) ++ string(REGEX REPLACE "\\.(so|a|dylib|tbd|lib|dll\\.a)(\\..*)?$" "" LIBNAME ${LIBNAME}) ++ list(APPEND PKG_LIBLIST "-l${LIBNAME}") + else() + list(APPEND PKG_LIBLIST "-l${LIB}") + endif() + endforeach() ++string(REPLACE ";" " " PKG_LIBLIST "${PKG_LIBLIST}") + configure_file(cmake/libnfs.pc.cmake + ${CMAKE_CURRENT_BINARY_DIR}/libnfs.pc @ONLY) + diff --git a/meta-oe/recipes-connectivity/libnfs/libnfs_6.0.2.bb b/meta-oe/recipes-connectivity/libnfs/libnfs_6.0.2.bb deleted file mode 100644 index 49617eaa29..0000000000 --- a/meta-oe/recipes-connectivity/libnfs/libnfs_6.0.2.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "NFS client library" -HOMEPAGE = "https://github.com/sahlberg/libnfs" -LICENSE = "BSD-2-Clause AND GPL-3.0-only AND LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=825301ba17efc9d188ee0abd4b924ada" - -SRC_URI = "git://github.com/sahlberg/libnfs.git;protocol=https;branch=master \ - file://0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch \ - " -SRCREV = "18c5c73ee88bb7dc8da0d55dc95164bb77e49dc6" - -DEPENDS += "gnutls" - -inherit cmake - -do_install:append() { - rm -f ${D}${libdir}/cmake/libnfs/libnfs-config.cmake -} diff --git a/meta-oe/recipes-connectivity/libnfs/libnfs_8.1.0.bb b/meta-oe/recipes-connectivity/libnfs/libnfs_8.1.0.bb new file mode 100644 index 0000000000..4a11b6d42d --- /dev/null +++ b/meta-oe/recipes-connectivity/libnfs/libnfs_8.1.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "NFS client library" +HOMEPAGE = "https://github.com/sahlberg/libnfs" +LICENSE = "BSD-2-Clause AND GPL-3.0-only AND LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=825301ba17efc9d188ee0abd4b924ada" + +SRC_URI = "git://github.com/sahlberg/libnfs.git;protocol=https;branch=master;tag=libnfs-${PV} \ + file://0001-cmake-Do-not-write-absolute-library-paths-into-libnf.patch \ + " +SRCREV = "5c48d277783073a1be5aa3ce8ff1ca9a690c20a0" + +UPSTREAM_CHECK_GITTAGREGEX = "^libnfs-(?P\d+(\.\d+)+)$" + +inherit cmake pkgconfig + +PACKAGECONFIG ??= "tls" +PACKAGECONFIG[krb5] = "-DENABLE_KRB5=ON,-DENABLE_KRB5=OFF,krb5" +PACKAGECONFIG[rdma] = "-DENABLE_RDMA=ON,-DENABLE_RDMA=OFF,rdma-core" +PACKAGECONFIG[tls] = "-DENABLE_TLS=ON,-DENABLE_TLS=OFF,gnutls" + +do_install:append() { + rm -f ${D}${libdir}/cmake/libnfs/libnfs-config.cmake +} From patchwork Wed Nov 25 08:06:40 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105598 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37943.1795594093733817002 for ; Wed, 25 Nov 2026 00:08:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=WnKkBdgc; spf=pass (domain: gmail.com, ip: 74.125.82.172, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-38699cf08dfso6372482eec.1 for ; Wed, 25 Nov 2026 00:08:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594093; x=1796198893; 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=mXHqXUfj2edYryW4BliYv1ai7Z1C0qP/ReUQSuy5wI8=; b=WnKkBdgcGwq9al3XdrHr3SX/D/gbsFcXAsFSfr4QLFh7m3NSAcwJUu4bZBqV6njYig wIo/+Zh5v7iiavsn3Y6cixWh6dyukmEGfcplKRrjUERy7XaQ5B+9k7cVlqWkNiMJ9LVl iqbLhfxYxxxDsFyL/RSaU7IwZSqJIUeALuZ6JJQOPkvK2wruTm7LNNoLteoMLL3a5nuX ywBzSZGk6aAIzAPNASzhwIvrr5PavsuHNQxeHkEwUiRtd0ZoDN6dHfnXYBJd6dl5tysZ 2NZA+9M5uWy0uKUqskMmvyCra2JVhGc7Xvy6Mh1gDe0PEl7CZYRLPS9hUvNOnMacSgng gHYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594093; x=1796198893; 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=mXHqXUfj2edYryW4BliYv1ai7Z1C0qP/ReUQSuy5wI8=; b=y5cmgwPjbqwvyGh5CtWlNLivBpvRMZ9Zz5B1f87KUHr0mVkK7KFtTSYIlDBcOMpASN SxSL8dgCp+sRxmEKO2dtbR5G7ycvjNmREnQmBmkojWh7L7lP3IrZtkSizd1+jWws9yRi cRrbxrvHdS5DyEQcnO/J2IxmqaQ83hXty4070EYxyau4DJS4kfRqwC6GbIi4tVv5FWK0 sOSWB+dNQxleR/8Tf/gMa3TbjE39hcYpxii55uPof42kHVx6+vDS5ckR/nwLqjq0d2dJ 2QuHmVF53NpB4kn5deVXca9YvSXmZnNnAKtsffha3BunBLRblq8pw9DuQtXV7nQhD4mX bF7w== X-Gm-Message-State: APuU4Z89Ryc+YrRbmrojOalYsvax7VMhEG+8kW2OVoTW85MeWAfifQHM vGMXP904FX+K+h68WtSWsiTef/ktlYwrYyCoLSuRHabG4/wLjkYEfQjKA05MnGUi X-Gm-Gg: AZFdTZfnUG/zq5FkUsOuBN7XrgoKtsB91v6MWla9IgGimoev1MinXkz3k9ZKTWOleBG yho79puZrIvsy8XsTq4f63BVQ07lDVGiYRdgn4/XFAoSNN0xw2nVmclpGZe3xHiMVpsmYC/z8Xg mlSt4hXdpxWxxGukgwedbRBfwbYjIIoIgm1fJmtyqavg+hDvb7VqfQRCi77zWpZ6schFpNeO8FJ xC4ycCBwFYSgJgnHliKABIDRTFAJuNYSPFJcsSTNhM52ron5qAGBhDKVy38hgvwmM/ERsvWd6z3 VCVpJfL0c+9NUo0WF1d6GwIPQLbTpeRUK97DcLRhCzeapNiRqjyaBATbGBajmXviqqyf81SAZZV e70ZS4gzs3cLfqdY+ayc4TrhI3e3G4LRk8yygZhXoSUXmAUNB9vDlJhfrRxEaY6o0BYFzN5oRnq WuYJn3qOTINalWnGEzMR4zb70gfZJRb3ozZlq02G/myil+zV8Cg/DLx1mGxdKLMzJL3w44mLMfi JtG5ynx108r7EOmIMhtGV26iAWifFPyE0G7Xf0XpC8wmti7cBCY1rGDQnPIFGCTGvRIg+J8/na7 LyGmDPAluvTpURsBL+2W/Ga9p5cf8C0gJE7vCJuyiF/7TNnZjI64k+ws3Y5HOcDduZn8XcNE+R/ gTLbD3Mq7PKy2qFN0zkYFQpHhGiEdqfu0diOrMgLmO+9Y7cw9plo9H7K6ZrOdt/si9KQX9kmP65 cKYSnbqI3tHafl1VanZAcPjCLj0WnTkm43I32OWosKlyoaKIgomAe89+jM/6HwpvpXZD71ruP4t rIKCPfxlx/H+LzmvlQiBpeu6B8Ez5rGzl+I0LHzSDzh9guWASrV2IdyKY/27mdrGcmpy1Q5e+lW NFe/ X-Received: by 2002:a05:7301:714:b0:36a:7b3c:4e0a with SMTP id 5a478bee46e88-3856fd5e4a4mr17989017eec.24.1795594092999; Wed, 25 Nov 2026 00:08:12 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:12 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 24/55] nvme-cli: upgrade 2.16 -> 3.2 Date: Wed, 25 Nov 2026 00:06:40 -0800 Message-ID: <20261125080732.2419614-30-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133027 - libnvme is now part of nvme-cli as libnvme3 (libnvme3.so.1, libnvme3.pc, headers in include/libnvme3) with NVMe 2.4 renames in its API; the separate libnvme 1.x library is no longer used - nvme-fabrics.conf(.d) INI configuration replaces config.json and discovery.conf (converted on first use); key commands moved to "nvme keys", DH-HMAC-CHAP is now KX-HMAC-CHAP - new nvme-discoverd and nvme-keysd daemons, nvme top, ownership registry/exclusion list, privsep and sandbox (tech previews) - strict command line parsing: long options need two dashes and the full name, numbers are parsed strictly, --help goes to stdout - gen-hostnqn must run as root; Meson >= 1.0 is required Drop the libnvme dependency; the libnvme recipe stays for libblockdev, sedutil and NetworkManager, which use the 1.x API. Package the bundled library as libnvme3 with its own license. Pin the autodetected dependencies with PACKAGECONFIGs: keyutils and openssl on (as in the libnvme recipe), libarchive, libdbus, libkmod, liburing and nvme-discoverd (needs systemd) off; with nvme-discoverd off the legacy nvmf-autoconnect units, udev rules and dracut config are installed as before. Disable python bindings, nvme-keysd, tests and examples. Package the new NetworkManager dispatcher script. Drop the -Wno-error=incompatible-pointer-types workaround, the virtium plugin now uses time_t. Add UPSTREAM_CHECK_GITTAGREGEX. License-Update: ccan/licenses/ replaced by a LICENSES/ directory (CC0-1.0, MIT, LGPL-2.1-or-later, LicenseRef-Gary-S-Brown-CRC32 for the shared crc32 code); LICENSE adds GPL-2.0-or-later, LGPL-2.1-or-later (bundled libnvme and shared code) and the CRC32 notice. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.16.bb | 34 ------------ meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb | 52 +++++++++++++++++++ 2 files changed, 52 insertions(+), 34 deletions(-) delete mode 100644 meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.16.bb create mode 100644 meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.16.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.16.bb deleted file mode 100644 index 397537417e..0000000000 --- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.16.bb +++ /dev/null @@ -1,34 +0,0 @@ -SUMMARY = "NVMe management command line interface" -HOMEPAGE = "https://github.com/linux-nvme/nvme-cli" -SECTION = "console/utils" -LICENSE = "CC0-1.0 AND GPL-2.0-only AND MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \ - file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \ - file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2" -DEPENDS = "json-c libnvme" -SRCREV = "faf7326a2997dea91687fd3daa17fc405910a4c1" - -SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https;tag=v${PV}" - -inherit bash-completion meson pkgconfig systemd - -EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system" - -pkg_postinst_ontarget:${PN}-user () { - ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn - ${bindir}/uuidgen > ${sysconfdir}/nvme/hostid -} - -PACKAGES =+ "${PN}-dracut ${PN}-zsh-completion ${PN}-user" - -FILES:${PN} += "${systemd_system_unitdir}" -FILES:${PN}-dracut = "${nonarch_libdir}/dracut/dracut.conf.d" -FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions" -ALLOW_EMPTY:${PN}-user = "1" - -RDEPENDS:${PN}-user = "util-linux-uuidgen" - -# This one is reproducible only on 32bit MACHINEs -# http://errors.yoctoproject.org/Errors/Details/766964/ -# git/plugins/virtium/virtium-nvme.c:205:63: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types] -CFLAGS += "-Wno-error=incompatible-pointer-types" diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb new file mode 100644 index 0000000000..95365e17e7 --- /dev/null +++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_3.2.bb @@ -0,0 +1,52 @@ +SUMMARY = "NVMe management command line interface" +HOMEPAGE = "https://github.com/linux-nvme/nvme-cli" +SECTION = "console/utils" +LICENSE = "GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND CC0-1.0 AND MIT AND LicenseRef-Gary-S-Brown-CRC32" +LICENSE:libnvme3 = "LGPL-2.1-or-later AND CC0-1.0 AND MIT AND LicenseRef-Gary-S-Brown-CRC32" +LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \ + file://LICENSES/LGPL-2.1-or-later.txt;md5=310c7c93cf5181c6b0cc8229a1f3c6f6 \ + file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \ + file://LICENSES/MIT.txt;md5=3912d958d00bac4a6b550f75d7c806bb \ + file://LICENSES/LicenseRef-Gary-S-Brown-CRC32.txt;md5=c923b33bfa4944fc9c3d644b16424ff6" +NO_GENERIC_LICENSE[Gary-S-Brown-CRC32] = "LICENSES/LicenseRef-Gary-S-Brown-CRC32.txt" + +DEPENDS = "json-c" +SRCREV = "ce55132af26607e1904a0f449f94eeae028cfee5" + +SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https;tag=v${PV}" + +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" + +inherit bash-completion meson pkgconfig systemd + +PACKAGECONFIG ??= "keyutils openssl" +PACKAGECONFIG[discoverd] = "-Dnvme-discoverd=enabled,-Dnvme-discoverd=disabled,systemd" +PACKAGECONFIG[keyutils] = "-Dkeyutils=enabled,-Dkeyutils=disabled,keyutils" +PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive" +PACKAGECONFIG[libdbus] = "-Dlibdbus=enabled,-Dlibdbus=disabled,dbus" +PACKAGECONFIG[libkmod] = "-Dlibkmod=enabled,-Dlibkmod=disabled,kmod" +PACKAGECONFIG[liburing] = "-Dliburing=enabled,-Dliburing=disabled,liburing" +PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl" + +EXTRA_OEMESON += "-Dsystemddir=${systemd_unitdir}/system \ + -Djson-c=enabled \ + -Dpython=disabled \ + -Dnvme-keysd=disabled \ + -Dtests=false \ + -Dexamples=false \ +" + +pkg_postinst_ontarget:${PN}-user () { + ${sbindir}/nvme gen-hostnqn > ${sysconfdir}/nvme/hostnqn + ${bindir}/uuidgen > ${sysconfdir}/nvme/hostid +} + +PACKAGES =+ "libnvme3 ${PN}-dracut ${PN}-zsh-completion ${PN}-user" + +FILES:libnvme3 = "${libdir}/libnvme3${SOLIBS}" +FILES:${PN} += "${systemd_system_unitdir} ${nonarch_libdir}/NetworkManager" +FILES:${PN}-dracut = "${nonarch_libdir}/dracut/dracut.conf.d" +FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions" +ALLOW_EMPTY:${PN}-user = "1" + +RDEPENDS:${PN}-user = "util-linux-uuidgen" From patchwork Wed Nov 25 08:06:41 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105599 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.37945.1795594094856095734 for ; Wed, 25 Nov 2026 00:08:14 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=DILZUbM4; 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-3282db206d3so5126380eec.0 for ; Wed, 25 Nov 2026 00:08:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594094; x=1796198894; 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=xnTpmB8V52mGt8G/W4HPJNXpIMK1HtzSHOxikOummow=; b=DILZUbM44hunyJ8brAN/ze7UQUIeC0NLoBA0r1hAE7qVa3GDlWXdaWdqhrbqHtTp9h Lk2WcHnqI2dH+QMncxtiTu43T1OrEV9SH6vn/TGyfIMPK+DNw5piOTpcxn7CX1ULE/Uk Cs3O6QFHCU1xEogf6/XYQVQY/xJjlqiD8kHcAt0NvsIZoS20VerKWzqDU/b/X3tY9+Jh 8vR0IUMo8LEwMxssp1/lisyh34hbdFvYQvNwlTeGR1LIcqLIN6VFNBzNeHRR8fPMubIB WonKM1C5ZRfG531GcvqkgQyoA0Jrl/tBFDBeKNdXLKnsO94TkWb3OHhRUruFAKwfYDw1 3Aow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594094; x=1796198894; 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=xnTpmB8V52mGt8G/W4HPJNXpIMK1HtzSHOxikOummow=; b=rtpDlpjVBQ0YdwrkNZUPFcY5Q5VLyPmFcZcQgbcobTc4VveLNBx/d3fqlPGZ9SEZwF isInsMiurCh03Agm4QJcpmH5BY/t1Kudhero13UjyB81yNW1oZ0rS6SjRoybOHx+0Vig gXXCzHf0VJuloBxde4xRp5gERlg6RL6em7LqV7FYUr2tLOUp6rW+rQfl8ATafJCMi+3a H4k+QUhEhQpHfORymlqCHqfHQ6Ea6eNKdEpvdP1l/FsBx9V/Vo23dJFB0e5KwUeMBUqM pXOT8Aw9YkkVthreZ3axhjBBuLPQtKumwIo9UcjyM3pb6P8NAMgpt45JHZ4S3+z6+Wkx SDyQ== X-Gm-Message-State: APuU4Z+iTiXGHL+7qO1A5bCMszXdkTblDqsg0CO/SbqyN6JngCreB4bU sGXaPhaPGKfQGJqJR46YqrdyCL6XDKDLJhcsASiLfxbCdbkOsnZrwAUf45kVomzN X-Gm-Gg: AZFdTZeJh5fqtAHUnVSFINE+IlLGoZni4VG2uA+uZdzuoNJ74MBcjhKYLwnc85IZmsd q1f2Ep4WuSuZjEE4M6ND01AroFO8Sms7bwqJkoOhRiYI7MHax3N39S8mLyNymJhXM6KKt407eOT gCRj4RH2xhVhdVOdheUpysHFVhTJP4HW6jfHBaVel1X0tcAR22DQ8Rl60wCQXCK0NlWvwpSwrZ1 CVumTyhnrV/479RNcJhX3cDAyW6lKP2Yq+3AULwT513KlTcC9tfd9iOB2qScx5rnzgdBtTfoDlt g0ahTi9WW6AXNDjoA92fRtsdePcuD3RECmNVfmUxCcocxUF7VthkQswkRkQSvlunCSyKQ6Rayls vD/XNsKErZNqdBtSc2yNpxlmB1crhy65ebtPn+w+JFTaqmCsHxcoY6NpCY9nLp3F4+9KEqUs6L6 YpIoJvzbHP4F7lP2jhe2qXGwG+sACZ1V1gCSOJSkmGt/ZHXfeeJxR7AHXW4CGkApQSBNp+KrMc3 83JC27NxzQlhjLUneMw0APv/qkehbn7muXrW2eSm0t3n+IpZKrSUkl/SVHaww0e0aOkX1W5GOqv DTiCsQUCRfKKosfuoFgn2vQAHLBUhSwZisgTR5GyZbEYVvD4LxHYH9yCI/wpG/bjWCMbt10E+L9 p25vv9P55PsG+gPKFkJljFh4IoBncMhxWZ8nJpOz1obHRhDWsSpPeL1uWakVUIOQgKdtngeFEFg awbfo8pBnU3CdAglKXCjpndDjOnJM0d/n467vSdWa8H5Ku4bB52iVFgr8Y5+H7+KfvdAUHmM1pK qvAsT4xh7bXh/aY9NljbJ4ZnVc5mNj/l/knAFzc6B55TV79rfvKoTfRggQQMUHAfN92HxpncP0S 7sEG X-Received: by 2002:a05:7301:1a84:b0:386:abfb:4a2 with SMTP id 5a478bee46e88-386abfb1a83mr10133981eec.11.1795594094019; Wed, 25 Nov 2026 00:08:14 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:13 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 25/55] postgresql: upgrade 18.6 -> 19.0 Date: Wed, 25 Nov 2026 00:06:41 -0800 Message-ID: <20261125080732.2419614-31-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133028 - new major release: REPACK (CONCURRENTLY), plan advice extensions, logical replication of sequences and without a restart, WAIT FOR read-your-writes on standbys, parallel autovacuum of indexes - removed RADIUS authentication and the MULE_INTERNAL encoding; standard_conforming_strings is always on; JIT is off by default - C11 is required instead of C99 - the on-disk format changed: existing clusters need pg_upgrade or a dump and restore Refresh 0003-configure.ac-bypass-autoconf-2.69-version-check.patch (copyright year context) and drop the line offsets from the other patches. The configure options are unchanged and none of the removed features had a PACKAGECONFIG. Add UPSTREAM_CHECK_URI/REGEX so the check looks at the source index instead of the v${PV} directory. pg-cron 1.6.8 (which declares PostgreSQL 19 support) and pgpool2 4.7.3 were compile-tested on the host against PostgreSQL 19.0. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../postgresql/files/0001-Add-support-for-RISC-V.patch | 2 +- .../postgresql/files/0002-Improve-reproducibility.patch | 2 +- ...03-configure.ac-bypass-autoconf-2.69-version-check.patch | 6 +++--- .../files/0004-config_info.c-not-expose-build-info.patch | 6 +++--- .../0005-postgresql-fix-ptest-failure-of-sysviews.patch | 4 ++-- .../recipes-dbs/postgresql/files/not-check-libperl.patch | 4 ++-- meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 ++ .../postgresql/{postgresql_18.6.bb => postgresql_19.0.bb} | 2 +- 8 files changed, 15 insertions(+), 13 deletions(-) rename meta-oe/recipes-dbs/postgresql/{postgresql_18.6.bb => postgresql_19.0.bb} (87%) diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch b/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch index 8ab8f0970b..e1ebbd3fd9 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0001-Add-support-for-RISC-V.patch @@ -13,7 +13,7 @@ Signed-off-by: Leon Anavi 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h -index 2f73f9f..04b0f8a 100644 +index c9e5251..f893cef 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -243,11 +243,12 @@ spin_delay(void) diff --git a/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch b/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch index 1fa3594b26..c1b0db3ce2 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0002-Improve-reproducibility.patch @@ -24,7 +24,7 @@ Signed-off-by: Leon Anavi 1 file changed, 3 deletions(-) diff --git a/src/common/Makefile b/src/common/Makefile -index 2c720ca..c3d889c 100644 +index cd48a55..49e3c32 100644 --- a/src/common/Makefile +++ b/src/common/Makefile @@ -31,9 +31,6 @@ include $(top_builddir)/src/Makefile.global diff --git a/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch b/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch index a874db39ff..4e69f6cf9c 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch @@ -14,17 +14,17 @@ Signed-off-by: Leon Anavi 1 file changed, 4 deletions(-) diff --git a/configure.ac b/configure.ac -index 3081ad7..3a0fc92 100644 +index 85150e2..db975ae 100644 --- a/configure.ac +++ b/configure.ac @@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros - AC_INIT([PostgreSQL], [18.6], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/]) + AC_INIT([PostgreSQL], [19.0], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/]) -m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. -Untested combinations of 'autoconf' and PostgreSQL versions are not -recommended. You can remove the check from 'configure.ac' but it is then -your responsibility whether the result works or not.])]) - AC_COPYRIGHT([Copyright (c) 1996-2025, PostgreSQL Global Development Group]) + AC_COPYRIGHT([Copyright (c) 1996-2026, PostgreSQL Global Development Group]) AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) AC_CONFIG_AUX_DIR(config) diff --git a/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch b/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch index 25a9bff52c..1e85374375 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch @@ -15,10 +15,10 @@ Signed-off-by: Leon Anavi 2 files changed, 2 insertions(+), 70 deletions(-) diff --git a/configure.ac b/configure.ac -index 3a0fc92..88b8f1c 100644 +index db975ae..6afd525 100644 --- a/configure.ac +++ b/configure.ac -@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2025, PostgreSQL Global Development Group]) +@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2026, PostgreSQL Global Development Group]) AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) AC_CONFIG_AUX_DIR(config) AC_PREFIX_DEFAULT(/usr/local/pgsql) @@ -28,7 +28,7 @@ index 3a0fc92..88b8f1c 100644 [PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`] [PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`] diff --git a/src/common/config_info.c b/src/common/config_info.c -index 113a8a6..b8f21c8 100644 +index 572ae3a..34a4cae 100644 --- a/src/common/config_info.c +++ b/src/common/config_info.c @@ -38,7 +38,7 @@ get_configdata(const char *my_exec_path, size_t *configdata_len) diff --git a/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch b/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch index 4e9b1a27c2..1c9760055d 100644 --- a/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch +++ b/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch @@ -22,7 +22,7 @@ Signed-off-by: Leon Anavi 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/regress/expected/sysviews.out b/src/test/regress/expected/sysviews.out -index 83228cf..c378012 100644 +index 132b56a..318c39b 100644 --- a/src/test/regress/expected/sysviews.out +++ b/src/test/regress/expected/sysviews.out @@ -66,7 +66,7 @@ and c1.path[c2.level] = c2.path[c2.level]; @@ -35,7 +35,7 @@ index 83228cf..c378012 100644 ---- t diff --git a/src/test/regress/sql/sysviews.sql b/src/test/regress/sql/sysviews.sql -index 66179f0..0f15661 100644 +index 507e400..bebb838 100644 --- a/src/test/regress/sql/sysviews.sql +++ b/src/test/regress/sql/sysviews.sql @@ -43,7 +43,7 @@ where c2.name = 'CacheMemoryContext' diff --git a/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch index 0a1406bc8d..4ef5d7df45 100644 --- a/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch +++ b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch @@ -21,10 +21,10 @@ Signed-off-by: Leon Anavi 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index 527437e..3081ad7 100644 +index 3ea316b..85150e2 100644 --- a/configure.ac +++ b/configure.ac -@@ -2354,7 +2354,7 @@ Use --without-tcl to disable building PL/Tcl.]) +@@ -2432,7 +2432,7 @@ Use --without-tcl to disable building PL/Tcl.]) fi # check for diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc index 2deb35b065..21dbad30f3 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql.inc +++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc @@ -32,6 +32,8 @@ SRC_URI = "https://ftp.postgresql.org/pub/source/v${PV}/${BP}.tar.bz2 \ file://run-ptest \ file://pg_config \ " +UPSTREAM_CHECK_URI = "https://ftp.postgresql.org/pub/source/" +UPSTREAM_CHECK_REGEX = "v(?P\d+(\.\d+)+)/" LEAD_SONAME = "libpq.so" diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_18.6.bb b/meta-oe/recipes-dbs/postgresql/postgresql_19.0.bb similarity index 87% rename from meta-oe/recipes-dbs/postgresql/postgresql_18.6.bb rename to meta-oe/recipes-dbs/postgresql/postgresql_19.0.bb index 278d42ce3d..40631d8421 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql_18.6.bb +++ b/meta-oe/recipes-dbs/postgresql/postgresql_19.0.bb @@ -12,6 +12,6 @@ SRC_URI += "\ file://0001-tcl.m4-Recognize-tclsh9.patch \ " -SRC_URI[sha256sum] = "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f" +SRC_URI[sha256sum] = "a89fd70efbad6a08c7dbed8d4872e3af30170d9e5ca9dc7906523be95b4e692d" CVE_STATUS[CVE-2017-8806] = "not-applicable-config: Doesn't apply to our configuration of postgresql so we can safely ignore it." From patchwork Wed Nov 25 08:06:42 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105600 Received: from mail-dy1-f182.google.com (mail-dy1-f182.google.com [74.125.82.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37935.1795594096472167972 for ; Wed, 25 Nov 2026 00:08:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=d45QokKU; spf=pass (domain: gmail.com, ip: 74.125.82.182, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f182.google.com with SMTP id 5a478bee46e88-38692f62b22so6065653eec.0 for ; Wed, 25 Nov 2026 00:08:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594096; x=1796198896; darn=lists.openembedded.org; h=content-transfer-encoding:content-type: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=WenEHrxdpwhZEPRvWs73ZTl+pz2YIHcvIc3GOkxlVHw=; b=d45QokKUZZ5VC2DVPPkC4tFwOA3rhzZ8cYFc847m3vMhqWJtkHbEtDa4hQUcgKC134 gwWfWNGMLHe4EVh18KV3lJ+LPwGogi6T7dnIaGqyuXQyn59TY4mEyJVa2V6WjZidcEqW WS1qWpeasHow5GGzAC/eX/ai0GYCRRT7m8uLZJBTdQbOcxIsotoMEs4iIE/X1wIprByB Uw2uQq8gjgJGyArh3PQ8TGFsWb1BxyP8cQU5VA2Bg071gfWxvyj7dhiFeHpZDCzvrhZh Vq5crS6diWGTSXtNWQbix2QvKgW1waLjRItdInapJ6SuBtZVxb4mE1syaGe6qIsDxmzn I+Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594096; x=1796198896; h=content-transfer-encoding:content-type: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=WenEHrxdpwhZEPRvWs73ZTl+pz2YIHcvIc3GOkxlVHw=; b=1wjmfN1KDDmUjHcpjBI22QYyUadyKE7hMbVO4oyXbLZ72Mwf7PCubkjO6NBbtXrVv4 +0Li7NS/Dh/W5JHE/1isnB2FZ9Ehidix2H0Yv2o0eFrKnpQpggSGWpxcxNar7VhzPHLc SyGZ9qZUkeS0bYfkcqKwjHr84V/k1oL4yNZyHRqdoGMcl+KOc0WOgJYkFqGHeSQCt4OH mtZW2OxBDbm9jZKXTgYyARoDTOzxyGa2IfhaI3Ujvjje0XxyI1NkclDZsrEWB0xpcGJV 3C/ueEYQrt7/KU3j1BlKMLG2L4gZRSWTu5tEuHOm6rXtF8qN6AB7TV4UBW+TMsWy6fpC sr8Q== X-Gm-Message-State: APuU4Z95z/wvoJ+Y3WRRmXFVBVCL5zeBJqTDDPr6i9SnI8NWUMCG2NlQ hDKGDYQwoefr+6FqUQ3rTof06GhU/neoHtV1RiC0kkwCTBQXUG9sCHsjEh3XV4MB X-Gm-Gg: AZFdTZfFyMuq5MeOQs2PhWLsgoA8iRQEJD5vcDJ0jlYtpn4qbsleumAe18Pe8I8TpNk Hjyxfmo481EEGy7JiMO7TCYr7wEriYe1hKCL9TzSA9AFpGZXie5yfuWXn20Dto6Oxl3jzrcOwYI LNWu7cdS9CBsQbIUCI9ah4QApjxBSgfKvZQ0ove207AREhfCDQ+3vR6zuRo65+2w/Or8JjHvuFq F6nv715hgmprMMANxoLWiXpw3MkUG1ubZ+Ha5XsfrKYkzCc75sLXhpXFe23pAJZkBMUZI6Bg450 Q8D6ZJuoeB/mOeR8gEIq+ygayUdao4WSd2c5RiINvnMjom0nFjqrS4ftWa1/uEZiMH6F91CwjVF aG/mI6lzgSqSGE0aiXFjUZOmFd9tnDdxJn1JulIwgHmk+HHlCjVuzmRTEKK8jGEETHZlVj/fBPP FwfK7mLgTvj9/cG0G1zOsYeea/qbpi9AbpjzGsWm3bScFfkTuVFi41CbPciKxDgjU6BeFbLFz9Y IImOCftkSTDk4FsunpWfeocGkFkA+RkSO9EUmCIkaGGqGvb+9026DLAKvG78RMac2AA+ruiMJFK 2aAkhcbnunogLvdvgxTqmjQjv7Phs2//npCcfRpZnlvmrdIxNOfbbSS4Pr5x/v7FngrPRy11riQ ETtXhxf9CWpPPfOYvfDsWEQSRo3oWjSShRmJvQue/cMu++LwIIqWd0GSOGTq/F3nL5TogDXIznE IV05H2sO493sdgjWrVaGnPiP+cay+atMMGLXWEMi6eoU9DeKGFrkELAc8JSZOeg5olxBSh61NJM oDYBCMlmNe2SNiqdf+Rvqs06gNK/YJ3iCt5SFPMct8VQs+Yn/DLDr9qGM1pTYQXRcTSHl6cxjKH 8a3i X-Received: by 2002:a05:693c:80c2:b0:35d:4185:5395 with SMTP id 5a478bee46e88-3856eb492ccmr18726572eec.16.1795594095604; Wed, 25 Nov 2026 00:08:15 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:14 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 26/55] mariadb: upgrade 11.4.13 -> 12.3.4 Date: Wed, 25 Nov 2026 00:06:42 -0800 Message-ID: <20261125080732.2419614-32-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133029 12.3 is the newest long-term support series (11.4 -> 11.8 -> 12.3). - optimizer hints (join order, index, subquery, MAX_EXECUTION_TIME), SYS_REFCURSOR, triggers on multiple events, faster binary logging - new reserved words CONVERSION and TO_DATE - removed system variables big_tables, large_page_size and storage_engine; the server no longer depends on the Galera package - the bundled Connector/C stays at 3.4 (libmariadb.so.3) - 12.3.4 fixes CVE-2026-101802, CVE-2026-101796, CVE-2026-101794, CVE-2026-101775, CVE-2026-101747 and more (13 CVEs); 12.3.3 fixed further CVEs, among them CVE-2026-92262 and CVE-2026-85748 Drop 0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch, it is part of this release. Rebase support-files-CMakeLists.txt-fix-do_populate_sysroot.patch and 0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch, refresh the other patches to drop line offsets. Package the new mariadb-plugin cmake files in libmysqlclient-dev, next to the server headers. Point the upstream check at archive.mariadb.org and limit it to the 12.3 LTS series instead of the GitHub tags page, which also lists the short-term releases. 12.3 no longer installs server/private/config.h, so drop it from oe_multilib_header. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...ve_11.4.13.bb => mariadb-native_12.3.4.bb} | 0 meta-oe/recipes-dbs/mysql/mariadb.inc | 10 +- ...NCRYPT-and-KDF-return-NULL-with-Open.patch | 290 ------------------ ...ck-if-syscall-exists-before-using-it.patch | 9 +- ...fine-__NR_futex-if-it-does-not-exist.patch | 4 +- ...Lists.txt-fix-gen_lex_hash-not-found.patch | 6 +- ...CMakeLists.txt-fix-reproducible-buil.patch | 3 - .../0001-support-reproducible-builds.patch | 7 +- .../configure.cmake-fix-valgrind.patch | 4 +- .../mysql/mariadb/cross-compiling.patch | 4 +- .../mysql/mariadb/fix-arm-atomic.patch | 4 +- .../recipes-dbs/mysql/mariadb/riscv32.patch | 2 +- ...akeLists.txt-fix-do_populate_sysroot.patch | 5 +- .../recipes-dbs/mysql/mariadb/sys_futex.patch | 2 +- .../{mariadb_11.4.13.bb => mariadb_12.3.4.bb} | 0 15 files changed, 27 insertions(+), 323 deletions(-) rename meta-oe/recipes-dbs/mysql/{mariadb-native_11.4.13.bb => mariadb-native_12.3.4.bb} (100%) delete mode 100644 meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch rename meta-oe/recipes-dbs/mysql/{mariadb_11.4.13.bb => mariadb_12.3.4.bb} (100%) diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_11.4.13.bb b/meta-oe/recipes-dbs/mysql/mariadb-native_12.3.4.bb similarity index 100% rename from meta-oe/recipes-dbs/mysql/mariadb-native_11.4.13.bb rename to meta-oe/recipes-dbs/mysql/mariadb-native_12.3.4.bb diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index 434d176774..08cf5d9eb5 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc @@ -25,11 +25,12 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \ file://riscv32.patch \ file://0001-support-reproducible-builds.patch \ file://0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch \ - file://0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch \ " -SRC_URI[sha256sum] = "1bb254b106d0a7ca871cfa18fa6e18d4b80a7430f9ec9d1571ec4271a13def96" +SRC_URI[sha256sum] = "75aae4d48df905734e24a85b955bbcdc43f4b122b450bc4ad2bc92f5d1ac578d" -UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags" +UPSTREAM_CHECK_URI = "https://archive.mariadb.org/" +# 12.3 is the current long-term support series +UPSTREAM_CHECK_REGEX = "mariadb-(?P12\.3\.\d+)/" BINCONFIG_GLOB = "mysql_config" @@ -168,7 +169,7 @@ mariadb_sysroot_preprocess () { do_install() { oe_runmake 'DESTDIR=${D}' install - oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h mysql/server/private/config.h + oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h install -d ${D}/${sysconfdir}/init.d install -m 0644 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/ @@ -248,6 +249,7 @@ FILES:libmysqlclient-dev = " \ ${libdir}/libmysqlclient.so \ ${libdir}/libmariadb.so \ ${sysconfdir}/aclocal \ + ${datadir}/cmake/mariadb-plugin \ ${bindir}/mysql_config" FILES:libmysqlclient-staticdev = "\ ${libdir}/*.a" diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch deleted file mode 100644 index af9c596962..0000000000 --- a/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-40287-AES_ENCRYPT-and-KDF-return-NULL-with-Open.patch +++ /dev/null @@ -1,290 +0,0 @@ -From c66dc27030154edf175e049473159c789abb9a43 Mon Sep 17 00:00:00 2001 -From: Vladislav Vaintroub -Date: Wed, 9 Sep 2026 01:44:02 +0200 -Subject: [PATCH] MDEV-40287 AES_ENCRYPT() and KDF() return NULL with OpenSSL - 4.0 - -MyCTX used an EVP_CIPHER_CTX in a stack buffer instead of allocating it -with EVP_CIPHER_CTX_new(). OpenSSL 4.0 rejects a context that was not -created that way for ciphers that use an IV: EVP_CipherInit_ex() fails -with "invalid iv length", so AES_ENCRYPT() and KDF() in CBC/CTR/GCM -modes return NULL. ECB has no IV and still works, which is why only the -non-ECB modes broke. - -Fix: -Allocate the context with EVP_CIPHER_CTX_new()/EVP_CIPHER_CTX_free(). -Also remove check_openssl_compatibility() and the EVP_CIPHER_CTX_SIZE -and EVP_CIPHER_CTX_init macros. - -Verified against OpenSSL 4.0.1: the mysys aes-t test fails on the -CBC/CTR/GCM cases with the stack buffer and passes with -EVP_CIPHER_CTX_new(). - -No visible performance degradation: the extra allocation costs -~12 ns/call (WolfSSL) and ~30 ns (OpenSSL) on Windows at a 30-byte -payload, nothing at 16 KB, and nothing on Linux/glibc; sysbench OLTP -over encrypted tables and redo log is unchanged. - -Assisted-by: Claude:claude-opus-4-8 - -[Squashed with the "fixup!" commit 36c6e66b29bb from the same PR, which -destroys the context in my_aes_crypt_init() when init() fails so the -heap allocated EVP_CIPHER_CTX is not leaked. Rebased to 11.4.12.] - -Upstream-Status: Submitted [https://github.com/MariaDB/server/pull/5652] -Signed-off-by: Khem Raj ---- -diff -urN a/include/ssl_compat.h b/include/ssl_compat.h ---- a/include/ssl_compat.h -+++ b/include/ssl_compat.h -@@ -24,12 +24,9 @@ - #define HAVE_OPENSSL11 1 - #define SSL_LIBRARY OpenSSL_version(OPENSSL_VERSION) - #define ERR_remove_state(X) ERR_clear_error() --#define EVP_CIPHER_CTX_SIZE 200 - #define EVP_MD_CTX_SIZE 80 - #undef EVP_MD_CTX_init - #define EVP_MD_CTX_init(X) do { memset((X), 0, EVP_MD_CTX_SIZE); EVP_MD_CTX_reset(X); } while(0) --#undef EVP_CIPHER_CTX_init --#define EVP_CIPHER_CTX_init(X) do { memset((X), 0, EVP_CIPHER_CTX_SIZE); EVP_CIPHER_CTX_reset(X); } while(0) - - /* - Macros below are deprecated. OpenSSL 1.1 may define them or not, -@@ -83,7 +80,6 @@ - #endif - - #define EVP_CIPHER_CTX_encrypting(ctx) ((ctx)->encrypt) --#define EVP_CIPHER_CTX_SIZE sizeof(EVP_CIPHER_CTX) - - #ifndef HAVE_WOLFSSL - #define OPENSSL_init_ssl(X,Y) SSL_library_init() -@@ -97,13 +93,3 @@ - #ifndef TLS1_3_VERSION - #define SSL_CTX_set_ciphersuites(X,Y) 0 - #endif -- --#ifdef __cplusplus --extern "C" { --#endif /* __cplusplus */ -- --int check_openssl_compatibility(); -- --#ifdef __cplusplus --} --#endif -diff -urN a/mysys_ssl/CMakeLists.txt b/mysys_ssl/CMakeLists.txt ---- a/mysys_ssl/CMakeLists.txt -+++ b/mysys_ssl/CMakeLists.txt -@@ -28,7 +28,6 @@ - my_sha384.cc - my_sha512.cc - my_md5.cc -- openssl.c - ) - - SET(MYSYS_SSL_SOURCES -diff -urN a/mysys_ssl/my_crypt.cc b/mysys_ssl/my_crypt.cc ---- a/mysys_ssl/my_crypt.cc -+++ b/mysys_ssl/my_crypt.cc -@@ -27,29 +27,18 @@ - - #include - #include --#include -- --#define CTX_ALIGN 16 - - class MyCTX - { - public: -- char ctx_buf[EVP_CIPHER_CTX_SIZE + CTX_ALIGN]; - EVP_CIPHER_CTX* ctx; - MyCTX() - { --#if CTX_ALIGN > 0 -- uintptr_t p= ((uintptr_t)ctx_buf + (CTX_ALIGN - 1)) & ~(CTX_ALIGN - 1); -- ctx = reinterpret_cast(p); --#else -- ctx = (EVP_CIPHER_CTX*)ctx_buf; --#endif -- -- EVP_CIPHER_CTX_init(ctx); -+ ctx= EVP_CIPHER_CTX_new(); - } - virtual ~MyCTX() - { -- EVP_CIPHER_CTX_reset(ctx); -+ EVP_CIPHER_CTX_free(ctx); - ERR_remove_state(0); - } - -@@ -57,6 +46,8 @@ - uint klen, const uchar *iv, uint ivlen) - { - compile_time_assert(MY_AES_CTX_SIZE >= sizeof(MyCTX)); -+ if (unlikely(!ctx)) -+ return MY_AES_OPENSSL_ERROR; - if (unlikely(!cipher)) - return MY_AES_BAD_KEYSIZE; - -@@ -115,9 +106,11 @@ - DBUG_ASSERT(ivlen == 0 || ivlen == sizeof(oiv)); - - int res= MyCTX::init(cipher, encrypt, key, klen, iv, ivlen); -+ if (res) -+ return res; - - EVP_CIPHER_CTX_set_padding(ctx, 0); -- return res; -+ return MY_AES_OK; - } - - /** Update last partial source block, stored in source_tail array. */ -@@ -213,10 +206,12 @@ - { - compile_time_assert(MY_AES_CTX_SIZE >= sizeof(MyCTX_gcm)); - int res= MyCTX::init(cipher, encrypt, key, klen, iv, ivlen); -+ if (res) -+ return res; - int real_ivlen= EVP_CIPHER_CTX_iv_length(ctx); - aad= iv + real_ivlen; - aadlen= ivlen - real_ivlen; -- return res; -+ return MY_AES_OK; - } - - int update(const uchar *src, uint slen, uchar *dst, uint *dlen) override -@@ -298,8 +293,11 @@ - new (ctx) MyCTX_nopad(); - else - new (ctx) MyCTX(); -- return ((MyCTX*)ctx)->init(ciphers[mode](klen), flags & 1, -- key, klen, iv, ivlen); -+ int res= ((MyCTX*)ctx)->init(ciphers[mode](klen), flags & 1, -+ key, klen, iv, ivlen); -+ if (res) -+ ((MyCTX*)ctx)->~MyCTX(); -+ return res; - } - - int my_aes_crypt_update(void *ctx, const uchar *src, uint slen, -diff -urN a/mysys_ssl/openssl.c b/mysys_ssl/openssl.c ---- a/mysys_ssl/openssl.c -+++ /dev/null -@@ -1,98 +0,0 @@ --/* -- Copyright (c) 2017, MariaDB Corporation. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; version 2 of the License. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program; if not, write to the Free Software -- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -- --#include --#include --#include -- --/* -- The check is only done for OpenSSL 1.1.x. -- It could run for OpenSSL 1.0.x but it doesn't make much sense -- and it hits this bug: -- https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1594748 --*/ -- --#ifndef HAVE_OPENSSL11 --int check_openssl_compatibility() --{ -- return 0; --} --#else --#include -- --static uint testing; --static size_t alloc_size, alloc_count; -- --static void *coc_malloc(size_t size --#ifndef LIBRESSL_VERSION_NUMBER -- , const char *f __attribute__((unused)), -- int l __attribute__((unused)) --#endif --) --{ -- if (unlikely(testing)) -- { -- alloc_size+= size; -- alloc_count++; -- } -- return malloc(size); --} -- --static void *coc_realloc(void *addr, size_t num --#ifndef LIBRESSL_VERSION_NUMBER -- , const char *file __attribute__((unused)), -- int line __attribute__((unused)) --#endif --) --{ -- return realloc(addr, num); --} -- --static void coc_free(void *addr --#ifndef LIBRESSL_VERSION_NUMBER -- , const char *file __attribute__((unused)), -- int line __attribute__((unused)) --#endif --) --{ -- free(addr); --} -- --int check_openssl_compatibility() --{ -- EVP_CIPHER_CTX *evp_ctx; -- EVP_MD_CTX *md5_ctx; -- -- if (!CRYPTO_set_mem_functions(coc_malloc, coc_realloc, coc_free)) -- return 0; -- -- testing= 1; -- alloc_size= alloc_count= 0; -- evp_ctx= EVP_CIPHER_CTX_new(); -- EVP_CIPHER_CTX_free(evp_ctx); -- if (alloc_count != 1 || !alloc_size || alloc_size > EVP_CIPHER_CTX_SIZE) -- return 1; -- -- alloc_size= alloc_count= 0; -- md5_ctx= EVP_MD_CTX_new(); -- EVP_MD_CTX_free(md5_ctx); -- if (alloc_count != 1 || !alloc_size || alloc_size > EVP_MD_CTX_SIZE) -- return 1; -- -- testing= 0; -- return 0; --} --#endif -diff -urN a/sql/mysqld.cc b/sql/mysqld.cc ---- a/sql/mysqld.cc -+++ b/sql/mysqld.cc -@@ -3948,14 +3948,6 @@ - exit(1); - } - --#ifdef HAVE_OPENSSL -- if (check_openssl_compatibility()) -- { -- sql_print_error("Incompatible OpenSSL version. Cannot continue..."); -- exit(1); -- } --#endif -- - if (init_thread_environment() || mysql_init_variables()) - exit(1); - diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-aio_libaio-Check-if-syscall-exists-before-using-it.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-aio_libaio-Check-if-syscall-exists-before-using-it.patch index ee0d1b37ae..6575c0ab6a 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/0001-aio_libaio-Check-if-syscall-exists-before-using-it.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-aio_libaio-Check-if-syscall-exists-before-using-it.patch @@ -23,10 +23,10 @@ Signed-off-by: Zoltán Böszörményi 1 file changed, 4 insertions(+) diff --git a/tpool/aio_libaio.cc b/tpool/aio_libaio.cc -index 2ce69384cde..60f558afa87 100644 +index a4df1fe9..e6522de3 100644 --- a/tpool/aio_libaio.cc +++ b/tpool/aio_libaio.cc -@@ -58,6 +58,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1301 USA*/ +@@ -60,6 +60,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1301 USA*/ static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev) noexcept { @@ -34,7 +34,7 @@ index 2ce69384cde..60f558afa87 100644 int saved_errno= errno; int ret= syscall(__NR_io_getevents, reinterpret_cast(ctx), min_nr, nr, ev, 0); -@@ -67,6 +68,9 @@ static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev) +@@ -69,6 +70,9 @@ static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev) errno= saved_errno; } return ret; @@ -44,6 +44,3 @@ index 2ce69384cde..60f558afa87 100644 } --- -2.51.0 - diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch index bfcd45b64b..0aed6d80f3 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch @@ -19,7 +19,7 @@ Signed-off-by: Khem Raj 1 file changed, 3 insertions(+) diff --git a/storage/innobase/log/log0sync.cc b/storage/innobase/log/log0sync.cc -index 0de283ca..265ab691 100644 +index 7eb0eb83..a6fdabe8 100644 --- a/storage/innobase/log/log0sync.cc +++ b/storage/innobase/log/log0sync.cc @@ -66,6 +66,9 @@ Note that if write operation is very fast, a) or b) can be fine as alternative. @@ -31,4 +31,4 @@ index 0de283ca..265ab691 100644 +#endif #endif - #include + #include diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch index 7c73699b08..caf3ec963c 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch @@ -15,10 +15,10 @@ Signed-off-by: Mingli Yu 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt -index 0195555e..507136cb 100644 +index f570e8b6..1463ffd5 100644 --- a/sql/CMakeLists.txt +++ b/sql/CMakeLists.txt -@@ -63,11 +63,18 @@ +@@ -63,11 +63,18 @@ ${SSL_INCLUDE_DIRS} ${CMAKE_BINARY_DIR}/sql ) @@ -41,7 +41,7 @@ index 0195555e..507136cb 100644 FIND_PACKAGE(BISON 2.4) -@@ -405,11 +412,18 @@ +@@ -441,11 +448,18 @@ IF(NOT CMAKE_CROSSCOMPILING OR DEFINED CMAKE_CROSSCOMPILING_EMULATOR) ADD_EXECUTABLE(gen_lex_hash gen_lex_hash.cc) ENDIF() diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch index c34ec92415..36971afa62 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-storage-mroonga-CMakeLists.txt-fix-reproducible-buil.patch @@ -35,6 +35,3 @@ index 1538b6cc..cdccb2c5 100644 set(MRN_ALL_SOURCES ${MRN_SOURCES} --- -2.34.1 - diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-support-reproducible-builds.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-support-reproducible-builds.patch index 10e6f03df6..bb4494884d 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/0001-support-reproducible-builds.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-support-reproducible-builds.patch @@ -17,10 +17,10 @@ Signed-off-by: Hongxu Jia 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt -index 3a7c9d36..ac868072 100644 +index 1463ffd5..bd66a081 100644 --- a/sql/CMakeLists.txt +++ b/sql/CMakeLists.txt -@@ -400,10 +400,10 @@ ELSE() +@@ -435,10 +435,10 @@ ELSE() CONFIGURE_FILE(myskel.m4.in myskel.m4) BISON_TARGET(gen_mariadb_cc_hh ${CMAKE_CURRENT_BINARY_DIR}/yy_mariadb.yy ${CMAKE_CURRENT_BINARY_DIR}/yy_mariadb.cc @@ -33,6 +33,3 @@ index 3a7c9d36..ac868072 100644 ENDIF() IF(NOT CMAKE_CROSSCOMPILING OR DEFINED CMAKE_CROSSCOMPILING_EMULATOR) --- -2.34.1 - diff --git a/meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch b/meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch index 2841a59a73..3e9a5fd3ee 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch @@ -21,10 +21,10 @@ Signed-off-by: Mingli Yu 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.cmake b/configure.cmake -index 61f30a75..3e730082 100644 +index c8d7396..cf6d20e 100644 --- a/configure.cmake +++ b/configure.cmake -@@ -881,10 +881,9 @@ ENDIF() +@@ -902,10 +902,9 @@ ENDIF() IF(WITH_VALGRIND) SET(HAVE_valgrind 1) diff --git a/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch b/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch index dc34c07d31..1db7b9a5ec 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch @@ -14,10 +14,10 @@ Signed-off-by: Mingli Yu 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3828420c..ee38615a 100644 +index 810c9c27..2978974d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -428,11 +428,6 @@ CHECK_LIBFMT() +@@ -460,11 +460,6 @@ CHECK_LIBFMT() ADD_SUBDIRECTORY(tpool) CHECK_SYSTEMD() diff --git a/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch b/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch index 39b7fad983..bfedecd441 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch @@ -16,10 +16,10 @@ Signed-off-by: Mingli Yu 1 file changed, 3 insertions(+) diff --git a/storage/rocksdb/build_rocksdb.cmake b/storage/rocksdb/build_rocksdb.cmake -index e89dbfc0..acc6b48e 100644 +index 7f8f1b7..68656c8 100644 --- a/storage/rocksdb/build_rocksdb.cmake +++ b/storage/rocksdb/build_rocksdb.cmake -@@ -490,6 +490,9 @@ list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/build_version.cc) +@@ -542,6 +542,9 @@ list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/build_version.cc) ADD_CONVENIENCE_LIBRARY(rocksdblib ${SOURCES}) target_link_libraries(rocksdblib ${THIRDPARTY_LIBS} ${SYSTEM_LIBS}) diff --git a/meta-oe/recipes-dbs/mysql/mariadb/riscv32.patch b/meta-oe/recipes-dbs/mysql/mariadb/riscv32.patch index 24b86584e3..c49af2ecad 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/riscv32.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/riscv32.patch @@ -8,7 +8,7 @@ Upstream-Status: Submitted [https://github.com/MariaDB/server/pull/1981/files#r2 Signed-off-by: Khem Raj --- a/include/my_rdtsc.h +++ b/include/my_rdtsc.h -@@ -226,7 +226,7 @@ static inline ulonglong my_timer_cycles( +@@ -225,7 +225,7 @@ static inline ulonglong my_timer_cycles( "sub %0, zero, %0\n" "and %1, %1, %0\n" : "=r"(result_hi0), "=r"(result_lo), "=r"(result_hi1)); diff --git a/meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch b/meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch index 30c9e2452a..20ad1649c6 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch @@ -15,10 +15,10 @@ Signed-off-by: Mingli Yu 1 file changed, 7 deletions(-) diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt -index ee1d420e..a99c0605 100644 +index 26d9c1d..afa9011 100644 --- a/support-files/CMakeLists.txt +++ b/support-files/CMakeLists.txt -@@ -245,12 +245,5 @@ IF(UNIX AND NOT WITHOUT_SERVER) +@@ -252,13 +252,6 @@ IF(UNIX AND NOT WITHOUT_SERVER) INSTALL(FILES rpm/enable_encryption.preset DESTINATION ${INSTALL_SYSCONF2DIR} COMPONENT IniFiles) ENDIF() @@ -31,3 +31,4 @@ index ee1d420e..a99c0605 100644 - COMPONENT SupportFiles) ENDIF(INSTALL_SYSCONFDIR) ENDIF() + diff --git a/meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch b/meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch index 3840472213..3b77b38edb 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch +++ b/meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch @@ -13,7 +13,7 @@ Signed-off-by: Khem Raj 1 file changed, 6 insertions(+) diff --git a/storage/innobase/sync/srw_lock.cc b/storage/innobase/sync/srw_lock.cc -index 28b586de..3ee71142 100644 +index 5a419373..cfcd5393 100644 --- a/storage/innobase/sync/srw_lock.cc +++ b/storage/innobase/sync/srw_lock.cc @@ -226,6 +226,12 @@ void ssux_lock_impl::wake() noexcept { WakeByAddressSingle(&readers); diff --git a/meta-oe/recipes-dbs/mysql/mariadb_11.4.13.bb b/meta-oe/recipes-dbs/mysql/mariadb_12.3.4.bb similarity index 100% rename from meta-oe/recipes-dbs/mysql/mariadb_11.4.13.bb rename to meta-oe/recipes-dbs/mysql/mariadb_12.3.4.bb From patchwork Wed Nov 25 08:06:43 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105601 Received: from mail-dl1-f43.google.com (mail-dl1-f43.google.com [74.125.82.43]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37946.1795594097407386965 for ; Wed, 25 Nov 2026 00:08:17 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=YuFSc+OA; spf=pass (domain: gmail.com, ip: 74.125.82.43, mailfrom: raj.khem@gmail.com) Received: by mail-dl1-f43.google.com with SMTP id a92af1059eb24-1a2761c69fbso6417269c88.0 for ; Wed, 25 Nov 2026 00:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594097; x=1796198897; 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=+Kz9OQTZA4j6q2nwEMRga/6hrD76p0OHlciLj/6cUhY=; b=YuFSc+OAITvN8nfN24da/8rhjkfhb+Al0s9rv1JDtUTyOn7H6a0Aik2tTX2RdkEkos VwandthGJe6lvn2vXxzZXTm2kOUflyPJbEdq1tNaHqsiVAg7PnYmEM5MktJ1CLMl7cww ptNVTBIOdkHbvswEdd7PTQ4VzNCfPO+uHaE3cTOLWnY7Rp171y95PdLrHANmHCA0Kwi7 QdjG4U01ADn+V60YX27Mq22YQWJmPB1W667CSj7D4mUocRMI19jZQB97I7Ik0MHop1He 362VRusT78p2vna9PZd7qxJzDI2Z6FCqnWbBwP8cvdgOGhgVi6iMyxDOdqqT634m5pqa XVWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594097; x=1796198897; 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=+Kz9OQTZA4j6q2nwEMRga/6hrD76p0OHlciLj/6cUhY=; b=ow/y6rrnSph8nsAv2ihgdktKy67IGIIGC3tzfpXrTPRlNsH9UQ4rcJRLHSmrN/dRrw I0WxhSmhKZwl4Dh4H03iv5DVQ2vEpp5deI/cbvVEK/QeMwJ0IIyTUjtdR22SoI1ZfjIG /jbsMzpxJnhjs/kJJ2zcy6CRWQE/di1srxWVHHv2d/wGhtlwRVt9NohDJcn769l5p8vZ qHtqax6KzgC29Jg7Q3c7bdtXN+kpj1YJ9asnauHusotZrPTvxVYL8E3OqaSFjlGteaSf ZtyeQfXaqoDDN7M48+k0itMIRbJyftRdXtoR+J+wIlkqwPKIQyvpjs3jL3R+v7uJvBC/ 6jdQ== X-Gm-Message-State: APuU4Z9Un2abD0xS/r/lw+UFyJG5KTO4sGrjj6C5SpcihWFiyMaR9ylq zsG17j4un/GiDHhUzhFpG5AN8cYFwlmTMkNB97E/dchgAt0qCjeKEWQ4MufWx1Cf X-Gm-Gg: AZFdTZdzxbfxitqmH1gSOpVRJPjrTKvrEdLiZzCcancjoVgLmYWcyHzzulsXP27zqWH bwBzjKswcpekfOpnyyIV5GVVAEkwEuTgz3TDH8C2yIVUl8v9FrOVoyiGXc9xiB1578L8vAuYEi3 IxjSTHfFOV1UYo4ORDD3AfsZNqJqupuY56VjZy/Z+ZDcfFTSxqtUZyqg/frkr1q55Siq7sedsfh 3zOzLfBE0nq6hG8vgr7BQwZZHpp/le2CePETbLIYdDUpqHjukIg/3O9Q+AeyvLt1co9M7BMO72Q vtoL1S5+WM3nltE2de59vq1jcBV3iLUTHawlU8UFZHZ4vNaPe8XniX05b0qh0ojfywWLFsh3JuD E09GRTwHNO1FS96rVpou+zrPrb3yhrwt0wZybasSXpM4ViCGXER5K83uRcEHqOEkoZwziuWAr5K e1GONv91fRu80tov4yspqMS5b23lDZUB4Y3+BkrpctXsDWRMqsRrl5ShUL2TQuKg77Bubqsgn47 FbuVb0o42fw2ZXQFuIOz2MWzMLaSdNt8BUTfynV6lg4ETbPnUl2o2dnL4KSj60KC2qAessPWuof TpWyQ4wDczjyqive1frmGFHkLHzCaf13cNlw4GRZWyR5s4WcD5iOIo/odgS+exPAd02In+uSzph QdsW7Cs1pwUDdxJgFBaORdpp7TkCcDiphQkPQieDuHCozcpLONO7KIbJ5qLDcbJ1GQjOermiq7i 9II1R/myKU4z7tdHWRND28trXjtHIXG/mFkHAP17z9ffx3QnZHumF0wq9KQH8wO9t5MT7GUwo+O vb0knNQO4qdN+0aulULB2XHPMi4SlPHXCnvja+Z1jJehRO2onfCVNSJm8FJ8GUkSTJragysH7C5 b9l0dUXhOVC0+V0+RBoDYVjScA== X-Received: by 2002:a05:7301:1a08:b0:386:9f4c:e07f with SMTP id 5a478bee46e88-3869f4ce1d9mr14002702eec.14.1795594096619; Wed, 25 Nov 2026 00:08:16 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:16 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 27/55] protobuf-c: Fix build with protobuf >= 34 Date: Wed, 25 Nov 2026 00:06:43 -0800 Message-ID: <20261125080732.2419614-33-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133030 Protobuf 34 removed FieldDescriptor::label() from the C++ API, so protoc-gen-c fails to compile against protobuf 7.x. Backport the pending upstream fix (protobuf-c PR #797), which derives the label from is_repeated()/is_required(). It also builds with older protobuf. Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...Fix-compilation-against-protobuf-v34.patch | 210 ++++++++++++++++++ .../protobuf/protobuf-c_1.5.2.bb | 4 +- 2 files changed, 213 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Fix-compilation-against-protobuf-v34.patch diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Fix-compilation-against-protobuf-v34.patch b/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Fix-compilation-against-protobuf-v34.patch new file mode 100644 index 0000000000..8fe2c3f08f --- /dev/null +++ b/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Fix-compilation-against-protobuf-v34.patch @@ -0,0 +1,210 @@ +From d39f001b4578966600de0aaf7fc665eec6e057e5 Mon Sep 17 00:00:00 2001 +From: Leon White +Date: Tue, 10 Mar 2026 10:37:18 +0100 +Subject: [PATCH] Fix compilation against protobuf v34 + +FieldDescriptor::label() was removed in protobuf v34. Use a local +FieldLabel() helper based on is_repeated()/is_required() instead. + +Upstream-Status: Submitted [https://github.com/protobuf-c/protobuf-c/pull/797] +Signed-off-by: Khem Raj +--- + protoc-gen-c/c_bytes_field.cc | 4 ++-- + protoc-gen-c/c_enum_field.cc | 4 ++-- + protoc-gen-c/c_field.cc | 10 +++++----- + protoc-gen-c/c_helpers.cc | 11 +++++++++++ + protoc-gen-c/c_helpers.h | 5 +++++ + protoc-gen-c/c_message_field.cc | 4 ++-- + protoc-gen-c/c_primitive_field.cc | 4 ++-- + protoc-gen-c/c_string_field.cc | 4 ++-- + 8 files changed, 31 insertions(+), 15 deletions(-) + +diff --git a/protoc-gen-c/c_bytes_field.cc b/protoc-gen-c/c_bytes_field.cc +index c8ac772..ab10117 100644 +--- a/protoc-gen-c/c_bytes_field.cc ++++ b/protoc-gen-c/c_bytes_field.cc +@@ -94,7 +94,7 @@ BytesFieldGenerator::~BytesFieldGenerator() {} + + void BytesFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer* printer) const + { +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + printer->Print(variables_, "ProtobufCBinaryData $name$$deprecated$;\n"); + break; +@@ -135,7 +135,7 @@ std::string BytesFieldGenerator::GetDefaultValue(void) const + } + void BytesFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer* printer) const + { +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + printer->Print(variables_, "$default_value$"); + break; +diff --git a/protoc-gen-c/c_enum_field.cc b/protoc-gen-c/c_enum_field.cc +index c3111f5..78ffb1c 100644 +--- a/protoc-gen-c/c_enum_field.cc ++++ b/protoc-gen-c/c_enum_field.cc +@@ -95,7 +95,7 @@ EnumFieldGenerator::~EnumFieldGenerator() {} + + void EnumFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer* printer) const + { +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + printer->Print(variables_, "$type$ $name$$deprecated$;\n"); + break; +@@ -117,7 +117,7 @@ std::string EnumFieldGenerator::GetDefaultValue(void) const + } + void EnumFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer* printer) const + { +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + printer->Print(variables_, "$default$"); + break; +diff --git a/protoc-gen-c/c_field.cc b/protoc-gen-c/c_field.cc +index 8d22343..8f83e1b 100644 +--- a/protoc-gen-c/c_field.cc ++++ b/protoc-gen-c/c_field.cc +@@ -125,11 +125,11 @@ void FieldGenerator::GenerateDescriptorInitializerGeneric(google::protobuf::io:: + variables["oneofname"] = CamelToLower(oneof->name()); + + if (FieldSyntax(descriptor_) == 3 && +- descriptor_->label() == google::protobuf::FieldDescriptor::LABEL_OPTIONAL) { ++ FieldLabel(descriptor_) == google::protobuf::FieldDescriptor::LABEL_OPTIONAL) { + variables["LABEL"] = "NONE"; + optional_uses_has = false; + } else { +- variables["LABEL"] = CamelToUpper(GetLabelName(descriptor_->label())); ++ variables["LABEL"] = CamelToUpper(GetLabelName(FieldLabel(descriptor_))); + } + + if (descriptor_->has_default_value()) { +@@ -145,11 +145,11 @@ void FieldGenerator::GenerateDescriptorInitializerGeneric(google::protobuf::io:: + + variables["flags"] = "0"; + +- if (descriptor_->label() == google::protobuf::FieldDescriptor::LABEL_REPEATED ++ if (FieldLabel(descriptor_) == google::protobuf::FieldDescriptor::LABEL_REPEATED + && is_packable_type (descriptor_->type()) + && descriptor_->options().packed()) { + variables["flags"] += " | PROTOBUF_C_FIELD_FLAG_PACKED"; +- } else if (descriptor_->label() == google::protobuf::FieldDescriptor::LABEL_REPEATED ++ } else if (FieldLabel(descriptor_) == google::protobuf::FieldDescriptor::LABEL_REPEATED + && is_packable_type (descriptor_->type()) + && FieldSyntax(descriptor_) == 3 + && !descriptor_->options().has_packed()) { +@@ -179,7 +179,7 @@ void FieldGenerator::GenerateDescriptorInitializerGeneric(google::protobuf::io:: + " $value$,\n" + " PROTOBUF_C_LABEL_$LABEL$,\n" + " PROTOBUF_C_TYPE_$TYPE$,\n"); +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + printer->Print(variables, " 0, /* quantifier_offset */\n"); + break; +diff --git a/protoc-gen-c/c_helpers.cc b/protoc-gen-c/c_helpers.cc +index e5c177c..fcfc258 100644 +--- a/protoc-gen-c/c_helpers.cc ++++ b/protoc-gen-c/c_helpers.cc +@@ -338,6 +338,17 @@ std::string GetLabelName(google::protobuf::FieldDescriptor::Label label) { + return "bad-label"; + } + ++google::protobuf::FieldDescriptor::Label FieldLabel( ++ const google::protobuf::FieldDescriptor* field) { ++ if (field->is_repeated()) { ++ return google::protobuf::FieldDescriptor::LABEL_REPEATED; ++ } ++ if (field->is_required()) { ++ return google::protobuf::FieldDescriptor::LABEL_REQUIRED; ++ } ++ return google::protobuf::FieldDescriptor::LABEL_OPTIONAL; ++} ++ + unsigned + WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *values, compat::StringView name) + { +diff --git a/protoc-gen-c/c_helpers.h b/protoc-gen-c/c_helpers.h +index 6936999..210f17a 100644 +--- a/protoc-gen-c/c_helpers.h ++++ b/protoc-gen-c/c_helpers.h +@@ -153,6 +153,11 @@ std::string FilenameIdentifier(compat::StringView filename); + // return 'required', 'optional', or 'repeated' + std::string GetLabelName(google::protobuf::FieldDescriptor::Label label); + ++// Returns the field label in a way that is compatible with protobuf versions ++// where FieldDescriptor::label() is unavailable. ++google::protobuf::FieldDescriptor::Label FieldLabel( ++ const google::protobuf::FieldDescriptor* field); ++ + // write IntRanges entries for a bunch of sorted values. + // returns the number of ranges there are to bsearch. + unsigned WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *values, compat::StringView name); +diff --git a/protoc-gen-c/c_message_field.cc b/protoc-gen-c/c_message_field.cc +index 9fca920..4366135 100644 +--- a/protoc-gen-c/c_message_field.cc ++++ b/protoc-gen-c/c_message_field.cc +@@ -83,7 +83,7 @@ void MessageFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer* + vars["name"] = FieldName(descriptor_); + vars["type"] = FullNameToC(descriptor_->message_type()->full_name(), descriptor_->message_type()->file()); + vars["deprecated"] = FieldDeprecated(descriptor_); +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + case google::protobuf::FieldDescriptor::LABEL_OPTIONAL: + printer->Print(vars, "$type$ *$name$$deprecated$;\n"); +@@ -103,7 +103,7 @@ std::string MessageFieldGenerator::GetDefaultValue(void) const + } + void MessageFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer* printer) const + { +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + case google::protobuf::FieldDescriptor::LABEL_OPTIONAL: + printer->Print("NULL"); +diff --git a/protoc-gen-c/c_primitive_field.cc b/protoc-gen-c/c_primitive_field.cc +index 588f60e..b3a4a46 100644 +--- a/protoc-gen-c/c_primitive_field.cc ++++ b/protoc-gen-c/c_primitive_field.cc +@@ -109,7 +109,7 @@ void PrimitiveFieldGenerator::GenerateStructMembers(google::protobuf::io::Printe + vars["name"] = FieldName(descriptor_); + vars["deprecated"] = FieldDeprecated(descriptor_); + +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + printer->Print(vars, "$c_type$ $name$$deprecated$;\n"); + break; +@@ -156,7 +156,7 @@ void PrimitiveFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer* + } else { + vars["default_value"] = "0"; + } +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + printer->Print(vars, "$default_value$"); + break; +diff --git a/protoc-gen-c/c_string_field.cc b/protoc-gen-c/c_string_field.cc +index 163f424..6aea8dd 100644 +--- a/protoc-gen-c/c_string_field.cc ++++ b/protoc-gen-c/c_string_field.cc +@@ -94,7 +94,7 @@ void StringFieldGenerator::GenerateStructMembers(google::protobuf::io::Printer* + { + const ProtobufCFileOptions opt = descriptor_->file()->options().GetExtension(pb_c_file); + +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + case google::protobuf::FieldDescriptor::LABEL_OPTIONAL: + if (opt.const_strings()) +@@ -138,7 +138,7 @@ void StringFieldGenerator::GenerateStaticInit(google::protobuf::io::Printer* pri + } else { + vars["default"] = "(char *)protobuf_c_empty_string"; + } +- switch (descriptor_->label()) { ++ switch (FieldLabel(descriptor_)) { + case google::protobuf::FieldDescriptor::LABEL_REQUIRED: + case google::protobuf::FieldDescriptor::LABEL_OPTIONAL: + printer->Print(vars, "$default$"); diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.2.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.2.bb index 7fe514fe07..5740209e6b 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.2.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.2.bb @@ -13,10 +13,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bd8de4f63e06b1ccc06e9f8dc5b1aa97" DEPENDS = "protobuf-native protobuf" SRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=master;protocol=https \ -" + file://0001-Fix-compilation-against-protobuf-v34.patch \ + " SRC_URI:append:class-native = " file://0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch" SRCREV = "4719fdd7760624388c2c5b9d6759eb6a47490626" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" inherit autotools pkgconfig From patchwork Wed Nov 25 08:06:44 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105594 Received: from mail-dy1-f170.google.com (mail-dy1-f170.google.com [74.125.82.170]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37947.1795594098223590539 for ; Wed, 25 Nov 2026 00:08:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=W2NQ1awe; spf=pass (domain: gmail.com, ip: 74.125.82.170, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f170.google.com with SMTP id 5a478bee46e88-3869f03af6aso4706574eec.1 for ; Wed, 25 Nov 2026 00:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594098; x=1796198898; 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=8wyvXj4szAOE0tQfRZ5Z1ATHoeU5TGPLc76X2Wi+2Tk=; b=W2NQ1aweKnlpKF/gOSo6Y4ucv6vgN71hJDSXFMpzp5W+/XMzkIzgN5Kk6eBvBRzZ6I pNa0UJJWYRh5bHDwLbMla3bjGshUSz4WOcOWm9Zp3Myjiwt5/oW9Saanp4CxRKvtfVai 6Gan113e9it1k9LB0maYnJ9fIoA91XvhNPQZBigjPwLFYxkDnBdhgMWTm4yjMMzzPgeJ 488LB9NVjHNOTnDgZEdkDjJESoryeojlez0oKPu+j7nuOGVTl0TO7PE0SiiA6VrOlEA/ oLss5c/5g0crAKiGFapAbof8Mb5Gkt5JNRfp/cH2RqAcC7QGzRyH+HafMY0Ztt+34C8x AgJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594098; x=1796198898; 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=8wyvXj4szAOE0tQfRZ5Z1ATHoeU5TGPLc76X2Wi+2Tk=; b=z5qv3nlIn4JCBc+DDmxslKphU8xB5uKjVVUBrTrDeBb5W3GIg47ob888SHUTNi+6YD RD0oTTUWyQb3OQlGlV6TGUvLOy8kqfhCzuRpZcDEy5c9+5W9eligux81NywBoz7K/LAB iV/W9Alph8CkWo4ys+xFlSIkLvp01SRAb8Npif41uGTUJo8s29fusTJw5wt34p5w5R7k W9XI0Y1ZDEytilGdvLQs1Hlp35EqsVX4DP1+XK1DYQrvIHxpurHLuhyXM0m583G1OT6M o/fZ8glTJc0zwk2LL+IooVEXWyeVMn8C7PmRbLt51YSuwZX7yzgMXz8tkHs2iTqUFYHg d/1w== X-Gm-Message-State: APuU4Z9MMX29jNSaKXsxfd0mq5gvHwLtj5u7qul5EuruMBH0klUG3fuK oaSRbR1Dr2zZ8yQVKbD1tasObQNLeBlJVBqgZfmyz4aupMfJnzvYDKATGG3E2t5U X-Gm-Gg: AZFdTZeyS4tuUEJS7ht5LbpyjxLW+r1IvlWiVBC5PXW2Ys6BFJyeq146WmW8iGDR6+x tcB/0bVng0yeb+6A+OvdyIUQormdy5PSrkOd96LpWCPGF3CBVcfwZ/SBcArPf1PJXgv3ESxiq6b MZsy1beK7BEivoYbDWAqnluDicBuEZOhcsT6H1NO0c4K/b8a+ehmzj2Ib1JrRTaWSstmsbYmsgq MUJ3uTMG+EeYVl8Y/dYu/m4JaB5hgVj58Jpz2pMFYdE/9fc0iIrZ4u46q82ibktypvZy7S10O3/ KV3dx+jQP5BZyVv1DN21XwUuzU4S7ydtYjAVv5zjgk7VJXdfNMB5ETJ0zUSOO0N7MTbItMxIIY6 +XiSj38Yo4RlEfritWltoaZta5IZHzU4k+ycBypJnricYO4LIStg4ut8TXhykMb5wvrCMy6BoKu MBd0hOBR7V9EWAig5jl/Dm41cPACfkMaQVOV2/KWupXUYVqVTPpyYeGOHchYu8o84dRlvza+At2 19bhVdgvXrOKmiShQJmRCEdVZ/w/Ur7FIylzisAa037JaBV4kTJrI2PJiNVfSiPaaTy8of0ieqT crXQuF9fzgwU/jVVj/THYnG7aAPOdYs1VCZiIx3Lzn3Hif85GGhlwj665eR8UKqwz7pPJsDrmDc x86qdd1PKRjrT1Nd8UWgqwBuSMbwT0vcZPKHPFOhb4gLmG2MCMZhPfWE0yKtJvdfneDEQSETU+D eghOFqVPM+/VSGGowUMpxuNAzIXW6H4m/LOYPXMk21Lgnr/HGVqkd0UaPQEHZRY2/vImkMsyr7z oVuWHWkDW3Mk+oiLfNKE0BD+9Rd9CRsdd5eMdYJQR+DXeV6zM1S6UloGJZ0f3IHrXpWZoN9ZFsN Dk9+ X-Received: by 2002:a05:7301:5098:b0:381:5fe2:a079 with SMTP id 5a478bee46e88-3856c6b010amr17596965eec.1.1795594097596; Wed, 25 Nov 2026 00:08:17 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:17 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 28/55] protobuf: upgrade 6.33.6 -> 7.36.2 Date: Wed, 25 Nov 2026 00:06:44 -0800 Message-ID: <20261125080732.2419614-34-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133031 The C++ library major version moves from 6 to 7 at protoc v34; this recipe now builds protoc tag v36.2 (36.x branch). - C++ API break in v34: FieldDescriptor::label(), is_optional() and has_optional_keyword() removed, generator headers made private, [[nodiscard]] added to many accessors, arena-enabled constructors of RepeatedField/RepeatedPtrField/Map made private - Recursion limits added for JSON Any/WKT parsing and nested messages; integer overflow check in RepeatedPtrField::MergeFrom - New protobuf_BUILD_LIBPROTOBUF option; tests are no longer built by default - C++ and Python (python3-protobuf 7.36.2) are back on the same release Both local patches still apply without fuzz. PV stays in the . form so PROTOC_VERSION/PROTOC_BRANCH derive v36.2 and 36.x. protobuf-c needs the label() fix from the previous commit. Anchor UPSTREAM_CHECK_GITTAGREGEX to release tags only. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../protobuf/{protobuf_6.33.6.bb => protobuf_7.36.2.bb} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename meta-oe/recipes-devtools/protobuf/{protobuf_6.33.6.bb => protobuf_7.36.2.bb} (95%) diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_6.33.6.bb b/meta-oe/recipes-devtools/protobuf/protobuf_7.36.2.bb similarity index 95% rename from meta-oe/recipes-devtools/protobuf/protobuf_6.33.6.bb rename to meta-oe/recipes-devtools/protobuf/protobuf_7.36.2.bb index 36642d3947..b83597965b 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf_6.33.6.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf_7.36.2.bb @@ -16,7 +16,7 @@ PROTOC_BRANCH = "${@d.getVar('PV').split('.', 2)[1]}.x" DEPENDS = "zlib abseil-cpp jsoncpp" DEPENDS:append:class-target = " protobuf-native" -SRCREV = "6e1998413a5bca7c058b85999667893f167434bc" +SRCREV = "2c74169b34066ceb8ddb6b882fcb3fb32d737a55" SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=${PROTOC_BRANCH};protocol=https;tag=${PROTOC_VERSION} \ file://run-ptest \ @@ -25,11 +25,11 @@ SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=${PROTOC_BRANCH} " # Upstream dropped the language-major prefix after v6.31.1: releases are now -# tagged vNN.N (v33.6 == this recipe's 6.33.6, cf. PROTOC_VERSION above). Match +# tagged vNN.N (v36.2 == this recipe's 7.36.2, cf. PROTOC_VERSION above). Match # those two-component tags so the real latest release is reported; the leading -# "6." in PV means the comparison stays off-by-a-major, so this reads as UPDATE +# C++ major in PV means the comparison stays off-by-a-major, so this reads as UPDATE # rather than MATCH even when current. -UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+\.\d+)$" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+\.\d+)$" CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp" From patchwork Wed Nov 25 08:06:45 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105595 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.37948.1795594099883352445 for ; Wed, 25 Nov 2026 00:08:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Eb8vG2YT; 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-38190551625so10924640eec.1 for ; Wed, 25 Nov 2026 00:08:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594099; x=1796198899; 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=syy2hF49+XpusiacvsrruCFY5B6Tt2pdLY7EYpO4ojM=; b=Eb8vG2YTO3MrGQ+MYiDUEI7fDuDsNyMTmMsayseRtLrJjDpPIQA4yB7FUswu1AsdRY EjP6NsmYN32cavPLvUzEfbN3ZebSubg3nUyEHl7tISfCpE9/iZ+96PZi+gjP/Va15r4r YBgdPbIY80yWiJOtBvbOBPsSqNaSqXIRU34zTt0iZrzQJS4pEx+XZj4cK8KqYk2lQHf9 VV9ccjyGGfc6EsvB3z2Ox1ONwEpE88E/F2nmi+Egu0dCZkPZpniT/v4gFWYwBnUHaw0Z WsYiv28Oxlzj5pD4UkxXILA9k4LjnyJRxSoeGvA2XEwf/e2pYxtXhocYfhGnYDzizu5q r+4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594099; x=1796198899; 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=syy2hF49+XpusiacvsrruCFY5B6Tt2pdLY7EYpO4ojM=; b=P4xHQp+n6Hjp7HP6nCr0LziFA3MVG6GqOO4YtifAKMrZeolUteVN4+LyqRedyspUUV j6kjwZsopdnTvNB9pqnTwsJ1NJkADdFZ5H9PbQSH1Mo5sDBCOb4fDSCGub9zGG21RHxW O3nSyZNQhRZlYNDf4OEgJ5uyXdywFiKvyimyF9UKcZrxLEz1y8FnFXqGsQm9B/n4iIXv JcSV3spiSicLHUi6kSsFwr4dG/pdfT4Vwx4pgoPI1HJoqM5d5TfD3/3bmI6tn+X9Jfr3 d2KaLuKDZ1NcWEMXn1wajZJf6GmC1SKPutvMbLYCfSZCABkGPJk+1NbWVOL7K2lu5iqQ bkzg== X-Gm-Message-State: APuU4Z81q94pOIolggtgCujRnsgQ7pKBUcnXB1LbeAq1RvsCI0IS/INN WlDTAwxoakl7V9ccGROa3TY+PEdFBgyx5xJuC/TCgR0/Kw4Nje53N/WkMc0jGeiT X-Gm-Gg: AZFdTZcnMJb3ZMqDiwEchSWenaArw55X+b2Bq1G5JJOjhGUYvNH4byRYWoOOLcRkEHR gTJRhHMJ/1vrGiTDjOo37TmcbcCvnMkO2WyQinQIkKxlv0bI4rI9G5QucGRrB+8352QFwtonpzS E757SGs0V7WJm9PPNafyx8BuqnM+0uwelzljom8yXP2o7OQk4iR+j42uYdYp1lrfkMaepFgwiwl QW2PbLEcl13SIbsBIAnT/K1X5Ncv6wWBvqtukmUk+/4wi/PE6dFRUgcPNJwFq7QkaKrEi4PT8Id MAOLv/vZP1Pmd9IqY1RNdqKj8tBF2CwowAYBY07f0V+aXoW3D6grVna3d8i2Kw7Omc+zIKvxyq7 tHkN7QqKToe2ivw2cWgPDKoah88z4dI0vEDGWyB1quluYGlcrdVkyZ/N9B4rEl8jGycQTybfY6J VL2Q9nTQIXU9Hg+QBZ9ej6YWcAbxgYm9dtN+teVRHpMWE0Kt1FCyRck4A8PyzlS3MFflwg+9cNf Hsv3QqE+VFeeQaJCJFEg5aKJf7MKeOcrQ9wxogUG9bCbsd66NpznEXAJADRU3aOE0DSaNOlmhlN E6pv81ZikOe2pdhxIkJDVobPfA4VKlzyCZdk8FyFbsiwovetclUIaL0e+yTZ49JN4XMXHmY/ppR XqhbWSYzAG5S5eyIP2m8hHHSdvr3SYGNXpGE//d1Ccd086xk+eVxrktu19lvS4OTavVIbKeZQQT bexyRRBwJtgywZAiceXC44R5rLtfwrHZjfBV5yYLtFgHPO3SIKFWxlkVKVWv78Cmqj8yPfUSAZS GnUY58aQVjpfalv1jqD3b9yH9gm2VmW9hGk3JprPf4OpshtAcS5RodXKPxluE4jhpTlmQef4uUf vZ1m X-Received: by 2002:a05:7301:6192:10b0:386:a7f2:88e2 with SMTP id 5a478bee46e88-386a7f28967mr10615504eec.23.1795594099064; Wed, 25 Nov 2026 00:08:19 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:18 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 29/55] android-tools: Fix build with protobuf >= 36 Date: Wed, 25 Nov 2026 00:06:45 -0800 Message-ID: <20261125080732.2419614-35-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:23 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133032 protobuf 36's descriptor.h includes absl/log/log.h, whose LOG and VLOG macros replace the libbase ones that adb uses, so adb's D() trace macro expands to Abseil logging and fails with "use of undeclared identifier 'STATELESS'" (e.g. in daemon/jdwp_service.cpp). Backport the fix from nmeum/android-tools, which includes descriptor.h first from sysdeps.h so libbase's macros win, adapted to the Debian 35.0.2 source layout. This older source includes sysdeps.h late in more files, and the Debian makefiles also build adbd, so more sources need the same treatment: include sysdeps.h (or the protobuf header) before libbase's logging headers, otherwise adb and adbd fail to link with absl VLogSite undefined and other files log through Abseil. Also rename usb_ffs.cpp's strings descriptor, which clashes with the global namespace strings declared by Abseil's cord.h. Add an upstream version check against the Debian pool. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...-logging-macros-after-protobuf-inclu.patch | 67 +++++ ...bbase-logging-macros-in-more-sources.patch | 257 ++++++++++++++++++ .../android-tools/android-tools_35.0.2.bb | 5 + 3 files changed, 329 insertions(+) create mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/0017-adb-keep-libbase-logging-macros-after-protobuf-inclu.patch create mode 100644 meta-oe/recipes-devtools/android-tools/android-tools/0018-adb-keep-libbase-logging-macros-in-more-sources.patch diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/0017-adb-keep-libbase-logging-macros-after-protobuf-inclu.patch b/meta-oe/recipes-devtools/android-tools/android-tools/0017-adb-keep-libbase-logging-macros-after-protobuf-inclu.patch new file mode 100644 index 0000000000..e76a9d345e --- /dev/null +++ b/meta-oe/recipes-devtools/android-tools/android-tools/0017-adb-keep-libbase-logging-macros-after-protobuf-inclu.patch @@ -0,0 +1,67 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Felix Yan +Date: Thu, 27 Aug 2026 16:00:00 +0800 +Subject: [PATCH] adb: keep libbase logging macros after protobuf includes + +Protobuf 36's descriptor.h includes absl/log/log.h, which defines the +short LOG and VLOG macros. Several adb sources include generated protobuf +headers after adb's libbase logging/trace headers; those protobuf headers +then replace adb's macros and make adb_trace.h's LOG(DEBUG) expand as +Abseil logging, where DEBUG is not a valid severity. + +sysdeps.h is the first include for most adb translation units. Include +descriptor.h first from it, so Abseil's short logging macros are seen +before android-base/logging.h and adb_trace.h install adb's macros. +Include sysdeps.h first from adb_install.cpp too. + +This keeps adb's logging behavior intact and avoids per-include macro +save/restore blocks. + +Adapted to the Debian android-platform-tools 35.0.2 source layout. This +version's sysdeps.h has no protobuf-first include yet, and has no +mdns_tracker.cpp. Includes the adb_install.cpp change from the follow-up +commit +https://github.com/nmeum/android-tools/commit/9a1844a13b5519a879de88f1dcb1c06fcad15780 + +Upstream-Status: Backport [https://github.com/nmeum/android-tools/commit/69a8c54dcd8c49d5b5eb22fa5c3c992d80e0bb2b] +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + packages/modules/adb/client/adb_install.cpp | 2 +- + packages/modules/adb/sysdeps.h | 7 +++++++ + 2 files changed, 8 insertions(+), 1 deletion(-) + +--- a/packages/modules/adb/client/adb_install.cpp ++++ b/packages/modules/adb/client/adb_install.cpp +@@ -14,6 +14,7 @@ + * limitations under the License. + */ + ++#include "sysdeps.h" + #include "adb_install.h" + + #include +@@ -39,7 +40,6 @@ + #include "commandline.h" + #include "fastdeploy.h" + #include "incremental.h" +-#include "sysdeps.h" + + using namespace std::literals; + +--- a/packages/modules/adb/sysdeps.h ++++ b/packages/modules/adb/sysdeps.h +@@ -24,6 +24,13 @@ + # undef _WIN32 + #endif + ++// Include protobuf headers first, because they expose Abseil's LOG/VLOG macros ++// that android-base/logging.h and adb_trace.h redefine later. Not all modules ++// that include sysdeps.h use protobufs, so only include them if they exist. ++#if __has_include("google/protobuf/descriptor.h") ++#include "google/protobuf/descriptor.h" ++#endif ++ + #include + + #include diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/0018-adb-keep-libbase-logging-macros-in-more-sources.patch b/meta-oe/recipes-devtools/android-tools/android-tools/0018-adb-keep-libbase-logging-macros-in-more-sources.patch new file mode 100644 index 0000000000..fc00ead361 --- /dev/null +++ b/meta-oe/recipes-devtools/android-tools/android-tools/0018-adb-keep-libbase-logging-macros-in-more-sources.patch @@ -0,0 +1,257 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 12:00:00 -0800 +Subject: [PATCH] adb: keep libbase logging macros in more sources + +With protobuf >= 36, a protobuf header included after +android-base/logging.h or adb_trace.h replaces the LOG/VLOG macros with +Abseil's. The previous patch includes descriptor.h from sysdeps.h, so +include sysdeps.h before libbase's logging headers in the adb, adbd and +libadb sources that include them first, and include pairing.pb.h first +in pairing_connection.cpp, which does not use sysdeps.h. Otherwise VLOG +expands to Abseil's and adb/adbd fail to link with undefined +absl::log_internal::VLogSite symbols, and other files silently log +through Abseil instead of libbase. + +sysdeps.h redefines open/close/read as macros, so where a file includes + or , keep the standard headers before sysdeps.h. + +Abseil's cord.h declares a global namespace strings, which clashes with +the static strings descriptor in usb_ffs.cpp, so rename it to +usb_strings. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + packages/modules/adb/adb_io.cpp | 2 +- + packages/modules/adb/adb_listeners.cpp | 2 +- + packages/modules/adb/adb_utils.cpp | 2 +- + packages/modules/adb/client/adb_wifi.cpp | 7 ++++--- + packages/modules/adb/client/incremental_server.cpp | 3 ++- + packages/modules/adb/client/incremental_utils.cpp | 2 +- + packages/modules/adb/client/pairing/pairing_client.cpp | 3 ++- + packages/modules/adb/daemon/adb_wifi.cpp | 2 +- + packages/modules/adb/daemon/usb_ffs.cpp | 6 +++--- + packages/modules/adb/pairing_connection/pairing_connection.cpp | 4 ++-- + packages/modules/adb/transport_fd.cpp | 3 ++- + 11 files changed, 20 insertions(+), 16 deletions(-) + +--- a/packages/modules/adb/adb_io.cpp ++++ b/packages/modules/adb/adb_io.cpp +@@ -16,6 +16,7 @@ + + #define TRACE_TAG RWX + ++#include "sysdeps.h" + #include "adb_io.h" + + #include +@@ -32,7 +33,6 @@ + #include "adb.h" + #include "adb_trace.h" + #include "adb_utils.h" +-#include "sysdeps.h" + + bool SendProtocolString(borrowed_fd fd, std::string_view s) { + unsigned int length = s.size(); +--- a/packages/modules/adb/adb_listeners.cpp ++++ b/packages/modules/adb/adb_listeners.cpp +@@ -14,6 +14,7 @@ + * limitations under the License. + */ + ++#include "sysdeps.h" + #include "adb_listeners.h" + + #include +@@ -29,7 +30,6 @@ + #include + + #include "socket_spec.h" +-#include "sysdeps.h" + #include "transport.h" + + // A listener is an entity which binds to a local port and, upon receiving a connection on that +--- a/packages/modules/adb/adb_utils.cpp ++++ b/packages/modules/adb/adb_utils.cpp +@@ -16,6 +16,7 @@ + + #define TRACE_TAG ADB + ++#include "sysdeps.h" + #include "adb_utils.h" + #include "adb_unique_fd.h" + +@@ -35,7 +36,6 @@ + + #include "adb.h" + #include "adb_trace.h" +-#include "sysdeps.h" + + #ifdef _WIN32 + # ifndef WIN32_LEAN_AND_MEAN +--- a/packages/modules/adb/client/adb_wifi.cpp ++++ b/packages/modules/adb/client/adb_wifi.cpp +@@ -14,13 +14,15 @@ + * limitations under the License. + */ + +-#include "adb_wifi.h" +- + #include + #include + #include + #include + ++#include "sysdeps.h" ++ ++#include "adb_wifi.h" ++ + #include + #include + #include +@@ -32,7 +34,6 @@ + #include "adb_mdns.h" + #include "adb_utils.h" + #include "client/adb_client.h" +-#include "sysdeps.h" + + using adbwifi::pairing::PairingClient; + using namespace adb::crypto; +--- a/packages/modules/adb/client/incremental_server.cpp ++++ b/packages/modules/adb/client/incremental_server.cpp +@@ -34,6 +34,8 @@ + #include + #include + ++#include "sysdeps.h" ++ + #include "adb.h" + #include "adb_client.h" + #include "adb_io.h" +@@ -41,7 +43,6 @@ + #include "adb_unique_fd.h" + #include "adb_utils.h" + #include "incremental_utils.h" +-#include "sysdeps.h" + + namespace incremental { + +--- a/packages/modules/adb/client/incremental_utils.cpp ++++ b/packages/modules/adb/client/incremental_utils.cpp +@@ -16,6 +16,7 @@ + + #define TRACE_TAG INCREMENTAL + ++#include "sysdeps.h" + #include "incremental_utils.h" + + #include +@@ -32,7 +33,6 @@ + + #include "adb_io.h" + #include "adb_trace.h" +-#include "sysdeps.h" + + using namespace std::literals; + +--- a/packages/modules/adb/client/pairing/pairing_client.cpp ++++ b/packages/modules/adb/client/pairing/pairing_client.cpp +@@ -23,13 +23,14 @@ + #include + #include + ++#include "sysdeps.h" ++ + #include + #include + #include + #include + #include + #include +-#include "sysdeps.h" + + namespace adbwifi { + namespace pairing { +--- a/packages/modules/adb/daemon/adb_wifi.cpp ++++ b/packages/modules/adb/daemon/adb_wifi.cpp +@@ -14,6 +14,7 @@ + * limitations under the License. + */ + ++#include "sysdeps.h" + #include "adb_wifi.h" + + #include +@@ -24,7 +25,6 @@ + + #include "adb.h" + #include "daemon/mdns.h" +-#include "sysdeps.h" + #include "transport.h" + + using namespace android::base; +--- a/packages/modules/adb/daemon/usb_ffs.cpp ++++ b/packages/modules/adb/daemon/usb_ffs.cpp +@@ -235,10 +235,10 @@ + __le16 code; + const char str1[sizeof(STR_INTERFACE_)]; + } __attribute__((packed)) lang0; +-} __attribute__((packed)) strings = { ++} __attribute__((packed)) usb_strings = { + .header = { + .magic = cpu_to_le32(FUNCTIONFS_STRINGS_MAGIC), +- .length = cpu_to_le32(sizeof(strings)), ++ .length = cpu_to_le32(sizeof(usb_strings)), + .str_count = cpu_to_le32(1), + .lang_count = cpu_to_le32(1), + }, +@@ -294,7 +294,7 @@ + } + } + +- if (adb_write(control.get(), &strings, sizeof(strings)) < 0) { ++ if (adb_write(control.get(), &usb_strings, sizeof(usb_strings)) < 0) { + PLOG(ERROR) << "failed to write USB strings"; + return false; + } +--- a/packages/modules/adb/pairing_connection/pairing_connection.cpp ++++ b/packages/modules/adb/pairing_connection/pairing_connection.cpp +@@ -14,6 +14,8 @@ + * limitations under the License. + */ + ++#include "pairing.pb.h" ++ + #include "adb/pairing/pairing_connection.h" + + #include +@@ -32,8 +34,6 @@ + #include + #include + +-#include "pairing.pb.h" +- + using namespace adb; + using android::base::unique_fd; + using TlsError = tls::TlsConnection::TlsError; +--- a/packages/modules/adb/transport_fd.cpp ++++ b/packages/modules/adb/transport_fd.cpp +@@ -14,6 +14,8 @@ + * limitations under the License. + */ + ++#include "sysdeps.h" ++ + #include + + #include +@@ -28,7 +30,6 @@ + + #include "adb_unique_fd.h" + #include "adb_utils.h" +-#include "sysdeps.h" + #include "transport.h" + #include "types.h" + diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb b/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb index 38b522084d..c2c5ae4c86 100644 --- a/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb +++ b/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb @@ -61,6 +61,8 @@ SRC_URI = "https://deb.debian.org/debian/pool/main/a/android-platform-tools/andr file://0014-daemon-auth-vendor-a-portable-b64_pton-for-non-glib.patch \ file://0015-adbd-make-fs-config-opt-in-on-non-android-builds.patch \ file://0016-libziparchive-include-cstdint-in-zip_writer.h.patch \ + file://0017-adb-keep-libbase-logging-macros-after-protobuf-inclu.patch \ + file://0018-adb-keep-libbase-logging-macros-in-more-sources.patch \ " SRC_URI[orig.md5sum] = "352376965cdef7bd7505d8fefdd43d50" @@ -68,6 +70,9 @@ SRC_URI[orig.sha256sum] = "ec1d317608db3328bfbddf7152c8d7f185c7c87b2175081416344 SRC_URI[debian.md5sum] = "1de890bd272da9e8cd35bc9579802f1f" SRC_URI[debian.sha256sum] = "f03a89b82ea8dfbe3cb77d5326eedf0d15984f5896885e8c5df64cf421819579" +UPSTREAM_CHECK_URI = "https://deb.debian.org/debian/pool/main/a/android-platform-tools/" +UPSTREAM_CHECK_REGEX = "android-platform-tools_(?P\d+(\.\d+)+)\.orig\.tar" + S = "${UNPACKDIR}/android-platform-tools-${PV}" B = "${UNPACKDIR}/${BPN}" From patchwork Wed Nov 25 08:06:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105596 Received: from mail-dy1-f179.google.com (mail-dy1-f179.google.com [74.125.82.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37938.1795594100933248898 for ; Wed, 25 Nov 2026 00:08:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=GIeQ5n2d; spf=pass (domain: gmail.com, ip: 74.125.82.179, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f179.google.com with SMTP id 5a478bee46e88-38190551625so10924661eec.1 for ; Wed, 25 Nov 2026 00:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594100; x=1796198900; 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=2FBj0qscUA/37QWKcvPuQBhShVmnJjw2jNRc4s5J7oI=; b=GIeQ5n2dof9GBgxBsAYxokJucJrbTbtzjG933hTgfAlSi4lPT6/XJM2KzOcrJ4KUUd VRS7zvSE0IvL6b2zkAz0YDc/cjRb8HZv3SxdUM9nwdoFZdV48UiifhDFNwBflikYDPcL 5u/xTi6OjqMhekSOs7yJm2kecSrMwLkz1Uve4bHudFjy4E9HkGoRU+qS4qyFYf4AVC5w 2zlgqFRBQNp8EMAt2WXTBn6+Vr3NMtFWA4TDGgv9WekNh4AOHPR2VtMHlAgm+/nSIA+3 qUffU+FM450d8vDTzwjWm2lOdEEfK03VUnkX5SU8WCuK8a2YvhNNDRuLCHw+mt4l7N7Z plzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594100; x=1796198900; 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=2FBj0qscUA/37QWKcvPuQBhShVmnJjw2jNRc4s5J7oI=; b=1yfzL/C6sOLTJAbUd/DlDiM9WDuUn6nVWdFr9zygSJ8kMr5h5vpBFjXgEzAuhF7WPE W9T25xak9/i1tJ/AzZox/sskNu2PixUTEUxsDPpiY+n1rHJhTMBeFpssUKpxfODriY0g b4wK0LyCfCq0jW77mWb6+0zgiDwkOvZ5Vwv0JR0wgynG5yb8kBswuFb6bdrixMyne/Jq J7NYjGhMD7IFSpbrZDoh+zQrT66mRdNCsdTVOjSubR90CNHQaOicjY5DT6dD31s7dSmD E3fWHo63rOpDS8Jf2Vw884mr6vRlEdtDhWw5Td0+vRgenIRmCLrebzOfhhMRsXYSgeb8 qpmQ== X-Gm-Message-State: APuU4Z8DCvq/DNoocSXb4hDPTeY6vqzxeZmLuKKu8sPrGnFErkwJYbIt TTObyyjFfqJHIwcCNIYQ6fgTTxlXYbJ+uEq6DeIyBSIlXOA74b84hu2BKsAh4TeU X-Gm-Gg: AZFdTZf5E8p5PIRl0tUtX8/rBQOxXED2qRu5sYFIZZ7J+3OfgNx1KqqHGv3O4abmWKZ Rjbm54/ESiWKcC5DMerBHmGK1lDyxVmQj7pMKs0AZI9XiSjZxPOllVz+StTYUru97ZHKYkyfq64 ysEbHoa66cIj++WniiPtt9z2mX/ve237dwFXGEx5OZFv5R4hBBWj7V0bUWbZcoyLwKFu8kkhodt 73Rph42fLvzCwDYqhEqZMPq4FjgHuQZVTMACCMrA0/0RWVRYDFPpcR0CoY8/EUIcjimBXZ6EK5O 9UmUKjvZTHL2hREl4KSUh8pTaK7x2bfcMrkgyq68yNvtwMk+JGGoMBb4vf8XD7emjwpqJaZsQcu g2ftuUF3hX1+Gi/yrI/eHB/aYy7bshqJkIzZ5FJf0xPLVoJQVW3IPDBo8Qu0Bw2ssCEQpjIPWvo SQMxVJGbc3WDJ+iqwtObFXVVoCe321jUt2tuB9mv9ouIA9X16HJh+tlQg0urh5NnAe2IPppjF7m Mxs+xcazQVO9M0byoAcFuFSkJSKoCI7Vbhb0+gt1ROCw79AgtCI61kVybSyTxuAuF5NFdPPz5OP +3TCHeBD8gqj6Xu6ce2xHFxOWLsKwjyj5o7IJVztvSDFgAuWSmP6CKwvG/e3OdML+r7xtp8he87 AzTWn/0TjlyR9Ig7Tydc5yAwDuqu/lQQkmFM9RhC9Af4DOSmhUq0JikWINIIRwuNPcO6m66nUVG PzA2JEjL7slE9Y+KMLnuId6aldCALpUfrvPwq0gsymcvOTID9xoFXeDVXH+sWnS2BKRU/LC01l2 HOxC5xu1x38ucOU8F+mqQOWqvQ98iEWAB4W3tAZSdZST36T292HnpkkaP8jT+LS3JBX8Qd05wjR S3dF X-Received: by 2002:a05:693c:8642:20b0:386:9e22:ca4c with SMTP id 5a478bee46e88-3869e22cc7emr15585867eec.35.1795594100193; Wed, 25 Nov 2026 00:08:20 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:19 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 30/55] ceres-solver: Support Eigen 5 Date: Wed, 25 Nov 2026 00:06:46 -0800 Message-ID: <20261125080732.2419614-36-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133033 Eigen 5.0 uses strict version matching in Eigen3ConfigVersion.cmake, so find_package(Eigen3 3.3) rejects 5.0.x and configure fails. Its runtime thin/full SVD options are also deprecated in favour of compile-time options. Backport the upstream fix, which searches for the version range 3.3...5 first and falls back to the old lookup for Eigen 3.x configs, and uses compile-time SVD options with Eigen >= 5. The CMake hunk is adjusted for 2.2.0, whose minimum is Eigen 3.3 instead of 3.3.4. Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../0001-Support-Eigen3-5.0.0.patch | 91 +++++++++++++++++++ .../ceres-solver/ceres-solver_2.2.0.bb | 5 +- 2 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/ceres-solver/ceres-solver/0001-Support-Eigen3-5.0.0.patch diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver/0001-Support-Eigen3-5.0.0.patch b/meta-oe/recipes-support/ceres-solver/ceres-solver/0001-Support-Eigen3-5.0.0.patch new file mode 100644 index 0000000000..2873e4d995 --- /dev/null +++ b/meta-oe/recipes-support/ceres-solver/ceres-solver/0001-Support-Eigen3-5.0.0.patch @@ -0,0 +1,91 @@ +From f9b7b6651b108136a16df44d91fb31735645f5a7 Mon Sep 17 00:00:00 2001 +From: Sergiu Deitsch +Date: Sun, 28 Sep 2025 08:35:06 +0200 +Subject: [PATCH] Support Eigen3 5.0.0 + +Change-Id: I5cf476a6d8c090861f4ea4a254a35d39e36a6d68 + +Adjusted for 2.2.0, which still requires Eigen 3.3 instead of 3.3.4. + +Upstream-Status: Backport [https://github.com/ceres-solver/ceres-solver/commit/f9b7b6651b108136a16df44d91fb31735645f5a7] +Signed-off-by: Khem Raj +--- + CMakeLists.txt | 27 ++++++++++++++++++++++++++- + internal/ceres/covariance_impl.cc | 5 +++++ + internal/ceres/invert_psd_matrix.h | 4 ++++ + 3 files changed, 35 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8e49c19..a186e99 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -180,9 +180,34 @@ endif (IOS) + + unset(CERES_COMPILE_OPTIONS) + ++# We call find_package multiple time with different versioning scheme to support ++# both Eigen3 3.x and 5.x. If the first invocation fails and Eigen3_DIR was set ++# to a possible location, e.g., during cross-compilation, failure to locate the ++# package will unset the variable. To avoid losing the path hint, we save it and ++# reuse it in the second find_package call. ++set (_Ceres_Eigen3_DIR) ++ ++if (Eigen3_DIR) ++ set (_Ceres_Eigen3_DIR "${Eigen3_DIR}") ++endif (Eigen3_DIR) ++ + # Eigen. + # Eigen delivers Eigen3Config.cmake since v3.3.3 +-find_package(Eigen3 3.3 REQUIRED) ++find_package(Eigen3 3.3...5 NO_MODULE) ++ ++if (NOT Eigen3_FOUND) ++ if (_Ceres_Eigen3_DIR) ++ set (Eigen3_DIR "${_Ceres_Eigen3_DIR}") ++ endif (_Ceres_Eigen3_DIR) ++ # Eigen3's CMake package config prior to 5.0.0 does not support version ranges ++ # with different major version components. To ensure backward compatibility, ++ # we locate the package using the previous version scheme as a fallback ++ # mechanism. ++ find_package(Eigen3 3.3 REQUIRED) ++endif (NOT Eigen3_FOUND) ++ ++unset (_Ceres_Eigen3_DIR) ++ + if (Eigen3_FOUND) + message("-- Found Eigen version ${Eigen3_VERSION}: ${Eigen3_DIR}") + if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)" AND +diff --git a/internal/ceres/covariance_impl.cc b/internal/ceres/covariance_impl.cc +index 6e8362d..deb0ce1 100644 +--- a/internal/ceres/covariance_impl.cc ++++ b/internal/ceres/covariance_impl.cc +@@ -723,8 +723,13 @@ bool CovarianceImpl::ComputeCovarianceValuesUsingDenseSVD() { + } + event_logger.AddEvent("ConvertToDenseMatrix"); + ++#if EIGEN_VERSION_AT_LEAST(5, 0, 0) ++ Eigen::BDCSVD svd( ++ dense_jacobian); ++#else // !EIGEN_VERSION_AT_LEAST(5, 0, 0) + Eigen::BDCSVD svd(dense_jacobian, + Eigen::ComputeThinU | Eigen::ComputeThinV); ++#endif // EIGEN_VERSION_AT_LEAST(5, 0, 0) + + event_logger.AddEvent("SingularValueDecomposition"); + +diff --git a/internal/ceres/invert_psd_matrix.h b/internal/ceres/invert_psd_matrix.h +index bc74900..34a4698 100644 +--- a/internal/ceres/invert_psd_matrix.h ++++ b/internal/ceres/invert_psd_matrix.h +@@ -68,7 +68,11 @@ typename EigenTypes::Matrix InvertPSDMatrix( + + // For a thin SVD the number of columns of the matrix need to be dynamic. + using SVDMType = typename EigenTypes::Matrix; ++#if EIGEN_VERSION_AT_LEAST(5, 0, 0) ++ Eigen::JacobiSVD svd(m); ++#else // !EIGEN_VERSION_AT_LEAST(5, 0, 0) + Eigen::JacobiSVD svd(m, Eigen::ComputeThinU | Eigen::ComputeThinV); ++#endif // EIGEN_VERSION_AT_LEAST(5, 0, 0) + return svd.solve(MType::Identity(size, size)); + } + diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb b/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb index 5368bdeeb4..5c6eaf4395 100644 --- a/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb +++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb @@ -5,8 +5,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3585a26c9cd9ec0cb36a7d65542878ca" DEPENDS = "libeigen" -SRC_URI = "git://github.com/ceres-solver/ceres-solver.git;branch=master;protocol=https" +SRC_URI = "git://github.com/ceres-solver/ceres-solver.git;branch=master;protocol=https \ + file://0001-Support-Eigen3-5.0.0.patch \ + " SRCREV = "85331393dc0dff09f6fb9903ab0c4bfa3e134b01" +UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$" inherit cmake From patchwork Wed Nov 25 08:06:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105597 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37940.1795594103270127243 for ; Wed, 25 Nov 2026 00:08:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=tP0zJNoY; 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-38190551625so10924727eec.1 for ; Wed, 25 Nov 2026 00:08:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594103; x=1796198903; 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=cJ26WEOWgYEOqe9/q4XYcUCGyt+u7wl9c5PGaxOobF8=; b=tP0zJNoYuje6prSImzyRkpFE3PuM0q1jOgMl34tri0kJg+gNvtNkkCuIT3mXP8qshX YHBXek0HFxXLWC1oQcncxNTsjBIKq0RWJVHTV66L6Gk3slue0gOLhpLNh1/0PHkoen7q wD0AzDY1E1ezj2V5GAz9agqUvuKgZz5wOIXYfHg0Ihk/SxbSn3td3JotMQrbeSr7eyLf UyWRbjkoVN6/rdky8e4JTZHzYh4lyxkp9FDWQGwpJJqqeVwp2sb6riqOpaxJv3TBAVvb ULlKJ70vIqsdSpQGzpSa4e35yuZ7n6ZV0woBI7tPNaxr8juoaaoW0EZ/SLNhEh22D6Ay tM9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594103; x=1796198903; 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=cJ26WEOWgYEOqe9/q4XYcUCGyt+u7wl9c5PGaxOobF8=; b=gLonJUqVZwEPJtfDxh9Kb3vR11kLl9wXzPbucVnrCqN7Ai18yns99xqHVNCHAC9txW Oy46B4rf5r+HkWzPGygKs9eqFoIOpjTQaRF305YY5Fykzf3ai3JpfRyB0uNQvHbBYy6T wcSWwkveGJa5iXYsq6WICHhPqxDaCXCsbKiSotaJWPWOVsiXrBVKFNZp5y45pmDoSkz9 OIDZcc8pluO0lCcN2ZA7hiO6rFu1ABy4xI10YiqmyCEgIGo+MXFIEBPT9hNbzG0sCjv7 OCBT8RocMBJPtkhcMu7A4dn1b/u5GSYkTfH8aWr/G0r5mnPA0g9n70uoz1zZeLZV4OzO vf9g== X-Gm-Message-State: APuU4Z/taDWoHiY1sdMCv8NgXB/JLKdqi5aj/Y14PyhHWIjri+HsPKeY YVeEx36ng1bG372CAsAyMzcA6J61SesXfvcBCncSmHb2yyYLQ4kbLIPjtFb+1PMC X-Gm-Gg: AZFdTZdEVOqXahxpZ5j4JbJSTUQF222U40KZU1Muy8zeHbzHy16LDujCUlPcznxOB8G vR/udQtl5YIluseIURzFakVgowi+bqUoPoZvQkqhChpIH8j8C9GmGh/aGtfCvTwPKVCs99R4G+c GbtfcXtMkekhBQlvPKAtoDFA2RWog+gTQwwCqp8zXTA+AQ+PVREgcBIk0JkHjhDVmRlKVb/Iog4 0uuGBRtBL1xPewxpOpRtsX3wOv6CaqeEMEE3RXw/w04OoOYt1UUUKD/ZZiNfmb89bVKAYPrIC/m caeOcHgcI1d+WtUJMRqA6ORfn6MePISyIv5Px1aVZsAYt3DKAG6bVqsv4eEhVxCPzfDbHiKIIV5 wrs0HcXoncNtwpDGwp3O8NruK2kNQ6WDbm4bG/GQ1r3WQuTFHa38dmP9r2juC1MkYB+g/75WEz8 RbMYXgno6w0uT4KKmy5BF1ZNssZy7mCgz2dSu/Nw2nAlnZnDRVUD/zqVjyRdk3RfsMr6jJrqG6o 866NiHh1OUgh4czfrGvFoMvmcqD/dycK7bq/v/LB1urQKX+7R/aSld5nlITtnSZjOfqTvMwAFDU 1LY/xTCt8Mk54H4PSMBSIB+tyyHPVwYaiNplztv0C8NDuyK8kOKH8it//P9yGmQruTWIJfW4ZFq 8RloPBVvJdVbN27pl1FELd63G6ZcWId33AnLSTaXrbTJRweVj2DYDvsCNTkRq3jW1lUI64zEuak o8s0EJ5OIL+hjUth4jXZQxO2JKyCL9VLMThIobfPDHY1sOdcIPfdUysUkxrz2mLEd9koBLrPPPe /44meldbbc5LXX7KJE0vnjVJGdfMlIQ15VvP7Maemy15nsBj8ygRbcPmBhzpfW9DL1g6MRwViIA Yj9G X-Received: by 2002:a05:7301:1884:b0:374:ba43:ae2e with SMTP id 5a478bee46e88-3856f65eccamr16690151eec.14.1795594101757; Wed, 25 Nov 2026 00:08:21 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:21 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 31/55] libeigen: upgrade 3.4.1 -> 5.0.1 Date: Wed, 25 Nov 2026 00:06:47 -0800 Message-ID: <20261125080732.2419614-37-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133034 Eigen 5.0 switches to semantic versioning (WORLD version stays 3, so the eigen3 include dir, eigen3.pc and Eigen3 CMake package remain). - Requires C++14; EIGEN_HAS_CXX11 and similar macros removed - CMake package modernized; Eigen3ConfigVersion uses strict matching, so users need a range such as 3.3...5 to accept 5.x - LGPL code removed; Eigen::all/last moved to Eigen::placeholders; including internal src/ headers is now an error - Runtime thin/full SVD options deprecated; aligned_allocator no longer derives from std::allocator; Euler angles and RNG changed - 5.0.1 fixes alignment issues and a missing include Drop both backported patches (LGPL removal and the trivial eigen_packet_wrapper constructor), they are part of 5.0. Track the 5.0 branch and the release tag, and add an upstream version check. Disable the docs and demos, which now default on for top-level builds, and clear the pre-release/build strings so the generated Eigen/Version says 5.0.1 instead of 5.0.1-dev+. The GPL licence file is now only in the bench/btl benchmark suite, so point LIC_FILES_CHKSUM there; it is not installed. License-Update: COPYING.GPL dropped upstream (GPL now only via bench/btl/COPYING); COPYING.MPL2 http->https URL and whitespace fix. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...igen_packet_wrapper-trivial-for-c-11.patch | 26 - ...0001-Remove-LGPL-Code-and-references.patch | 1030 ----------------- .../{libeigen_3.4.1.bb => libeigen_5.0.1.bb} | 20 +- 3 files changed, 12 insertions(+), 1064 deletions(-) delete mode 100644 meta-oe/recipes-support/libeigen/libeigen/0001-Make-eigen_packet_wrapper-trivial-for-c-11.patch delete mode 100644 meta-oe/recipes-support/libeigen/libeigen/0001-Remove-LGPL-Code-and-references.patch rename meta-oe/recipes-support/libeigen/{libeigen_3.4.1.bb => libeigen_5.0.1.bb} (65%) diff --git a/meta-oe/recipes-support/libeigen/libeigen/0001-Make-eigen_packet_wrapper-trivial-for-c-11.patch b/meta-oe/recipes-support/libeigen/libeigen/0001-Make-eigen_packet_wrapper-trivial-for-c-11.patch deleted file mode 100644 index 855bf01ae9..0000000000 --- a/meta-oe/recipes-support/libeigen/libeigen/0001-Make-eigen_packet_wrapper-trivial-for-c-11.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 0295f81a835ef69e2bacd9e75ab5782eca398720 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Antonio=20S=C3=A1nchez?= -Date: Thu, 2 Oct 2025 17:53:19 +0000 -Subject: [PATCH] Make `eigen_packet_wrapper` trivial for c++11. - -Upstream-Status: Backport [https://gitlab.com/libeigen/eigen/-/commit/0295f81a835ef69e2bacd9e75ab5782eca398720] ---- - Eigen/src/Core/GenericPacketMath.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/Eigen/src/Core/GenericPacketMath.h b/Eigen/src/Core/GenericPacketMath.h -index af45f3936..4aeb77de8 100644 ---- a/Eigen/src/Core/GenericPacketMath.h -+++ b/Eigen/src/Core/GenericPacketMath.h -@@ -160,7 +160,11 @@ struct eigen_packet_wrapper - { - EIGEN_ALWAYS_INLINE operator T&() { return m_val; } - EIGEN_ALWAYS_INLINE operator const T&() const { return m_val; } -+#if EIGEN_HAS_CXX11 -+ EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default; -+#else - EIGEN_ALWAYS_INLINE eigen_packet_wrapper() {}; -+#endif - EIGEN_ALWAYS_INLINE eigen_packet_wrapper(const T &v) : m_val(v) {} - EIGEN_ALWAYS_INLINE eigen_packet_wrapper& operator=(const T &v) { - m_val = v; diff --git a/meta-oe/recipes-support/libeigen/libeigen/0001-Remove-LGPL-Code-and-references.patch b/meta-oe/recipes-support/libeigen/libeigen/0001-Remove-LGPL-Code-and-references.patch deleted file mode 100644 index 697f3dfa82..0000000000 --- a/meta-oe/recipes-support/libeigen/libeigen/0001-Remove-LGPL-Code-and-references.patch +++ /dev/null @@ -1,1030 +0,0 @@ -From 5e7b53a3268e7cdc81e358825a8c84f06289866c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Antonio=20S=C3=A1nchez?= -Date: Wed, 8 Feb 2023 01:25:06 +0000 -Subject: [PATCH] Remove LGPL Code and references. - -Upstream-Status: Backport [https://gitlab.com/libeigen/eigen/-/commit/e256ad1823c2eddd6954241ddc99bfeb7bb29cb3] ---- - COPYING.LGPL | 502 ------------------ - COPYING.README | 16 +- - Eigen/src/Core/util/NonMPL2.h | 3 - - .../IncompleteCholesky.h | 3 +- - bench/tensors/eigen_sycl_bench.sh | 1 - - bench/tensors/eigen_sycl_bench_contract.sh | 2 +- - doc/PreprocessorDirectives.dox | 3 - - test/mpl2only.cpp | 24 - - unsupported/Eigen/IterativeSolvers | 6 - - .../IterativeSolvers/ConstrainedConjGrad.h | 187 ------- - .../IterativeSolvers/IterationController.h | 154 ------ - 11 files changed, 4 insertions(+), 897 deletions(-) - delete mode 100644 COPYING.LGPL - delete mode 100644 Eigen/src/Core/util/NonMPL2.h - delete mode 100644 test/mpl2only.cpp - delete mode 100644 unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h - delete mode 100644 unsupported/Eigen/src/IterativeSolvers/IterationController.h - -diff --git a/COPYING.LGPL b/COPYING.LGPL -deleted file mode 100644 -index 4362b4915..000000000 ---- a/COPYING.LGPL -+++ /dev/null -@@ -1,502 +0,0 @@ -- GNU LESSER GENERAL PUBLIC LICENSE -- Version 2.1, February 1999 -- -- Copyright (C) 1991, 1999 Free Software Foundation, Inc. -- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -- Everyone is permitted to copy and distribute verbatim copies -- of this license document, but changing it is not allowed. -- --[This is the first released version of the Lesser GPL. It also counts -- as the successor of the GNU Library Public License, version 2, hence -- the version number 2.1.] -- -- Preamble -- -- The licenses for most software are designed to take away your --freedom to share and change it. By contrast, the GNU General Public --Licenses are intended to guarantee your freedom to share and change --free software--to make sure the software is free for all its users. -- -- This license, the Lesser General Public License, applies to some --specially designated software packages--typically libraries--of the --Free Software Foundation and other authors who decide to use it. You --can use it too, but we suggest you first think carefully about whether --this license or the ordinary General Public License is the better --strategy to use in any particular case, based on the explanations below. -- -- When we speak of free software, we are referring to freedom of use, --not price. Our General Public Licenses are designed to make sure that --you have the freedom to distribute copies of free software (and charge --for this service if you wish); that you receive source code or can get --it if you want it; that you can change the software and use pieces of --it in new free programs; and that you are informed that you can do --these things. -- -- To protect your rights, we need to make restrictions that forbid --distributors to deny you these rights or to ask you to surrender these --rights. These restrictions translate to certain responsibilities for --you if you distribute copies of the library or if you modify it. -- -- For example, if you distribute copies of the library, whether gratis --or for a fee, you must give the recipients all the rights that we gave --you. You must make sure that they, too, receive or can get the source --code. If you link other code with the library, you must provide --complete object files to the recipients, so that they can relink them --with the library after making changes to the library and recompiling --it. And you must show them these terms so they know their rights. -- -- We protect your rights with a two-step method: (1) we copyright the --library, and (2) we offer you this license, which gives you legal --permission to copy, distribute and/or modify the library. -- -- To protect each distributor, we want to make it very clear that --there is no warranty for the free library. Also, if the library is --modified by someone else and passed on, the recipients should know --that what they have is not the original version, so that the original --author's reputation will not be affected by problems that might be --introduced by others. -- -- Finally, software patents pose a constant threat to the existence of --any free program. We wish to make sure that a company cannot --effectively restrict the users of a free program by obtaining a --restrictive license from a patent holder. Therefore, we insist that --any patent license obtained for a version of the library must be --consistent with the full freedom of use specified in this license. -- -- Most GNU software, including some libraries, is covered by the --ordinary GNU General Public License. This license, the GNU Lesser --General Public License, applies to certain designated libraries, and --is quite different from the ordinary General Public License. We use --this license for certain libraries in order to permit linking those --libraries into non-free programs. -- -- When a program is linked with a library, whether statically or using --a shared library, the combination of the two is legally speaking a --combined work, a derivative of the original library. The ordinary --General Public License therefore permits such linking only if the --entire combination fits its criteria of freedom. The Lesser General --Public License permits more lax criteria for linking other code with --the library. -- -- We call this license the "Lesser" General Public License because it --does Less to protect the user's freedom than the ordinary General --Public License. It also provides other free software developers Less --of an advantage over competing non-free programs. These disadvantages --are the reason we use the ordinary General Public License for many --libraries. However, the Lesser license provides advantages in certain --special circumstances. -- -- For example, on rare occasions, there may be a special need to --encourage the widest possible use of a certain library, so that it becomes --a de-facto standard. To achieve this, non-free programs must be --allowed to use the library. A more frequent case is that a free --library does the same job as widely used non-free libraries. In this --case, there is little to gain by limiting the free library to free --software only, so we use the Lesser General Public License. -- -- In other cases, permission to use a particular library in non-free --programs enables a greater number of people to use a large body of --free software. For example, permission to use the GNU C Library in --non-free programs enables many more people to use the whole GNU --operating system, as well as its variant, the GNU/Linux operating --system. -- -- Although the Lesser General Public License is Less protective of the --users' freedom, it does ensure that the user of a program that is --linked with the Library has the freedom and the wherewithal to run --that program using a modified version of the Library. -- -- The precise terms and conditions for copying, distribution and --modification follow. Pay close attention to the difference between a --"work based on the library" and a "work that uses the library". The --former contains code derived from the library, whereas the latter must --be combined with the library in order to run. -- -- GNU LESSER GENERAL PUBLIC LICENSE -- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -- -- 0. This License Agreement applies to any software library or other --program which contains a notice placed by the copyright holder or --other authorized party saying it may be distributed under the terms of --this Lesser General Public License (also called "this License"). --Each licensee is addressed as "you". -- -- A "library" means a collection of software functions and/or data --prepared so as to be conveniently linked with application programs --(which use some of those functions and data) to form executables. -- -- The "Library", below, refers to any such software library or work --which has been distributed under these terms. A "work based on the --Library" means either the Library or any derivative work under --copyright law: that is to say, a work containing the Library or a --portion of it, either verbatim or with modifications and/or translated --straightforwardly into another language. (Hereinafter, translation is --included without limitation in the term "modification".) -- -- "Source code" for a work means the preferred form of the work for --making modifications to it. For a library, complete source code means --all the source code for all modules it contains, plus any associated --interface definition files, plus the scripts used to control compilation --and installation of the library. -- -- Activities other than copying, distribution and modification are not --covered by this License; they are outside its scope. The act of --running a program using the Library is not restricted, and output from --such a program is covered only if its contents constitute a work based --on the Library (independent of the use of the Library in a tool for --writing it). Whether that is true depends on what the Library does --and what the program that uses the Library does. -- -- 1. You may copy and distribute verbatim copies of the Library's --complete source code as you receive it, in any medium, provided that --you conspicuously and appropriately publish on each copy an --appropriate copyright notice and disclaimer of warranty; keep intact --all the notices that refer to this License and to the absence of any --warranty; and distribute a copy of this License along with the --Library. -- -- You may charge a fee for the physical act of transferring a copy, --and you may at your option offer warranty protection in exchange for a --fee. -- -- 2. You may modify your copy or copies of the Library or any portion --of it, thus forming a work based on the Library, and copy and --distribute such modifications or work under the terms of Section 1 --above, provided that you also meet all of these conditions: -- -- a) The modified work must itself be a software library. -- -- b) You must cause the files modified to carry prominent notices -- stating that you changed the files and the date of any change. -- -- c) You must cause the whole of the work to be licensed at no -- charge to all third parties under the terms of this License. -- -- d) If a facility in the modified Library refers to a function or a -- table of data to be supplied by an application program that uses -- the facility, other than as an argument passed when the facility -- is invoked, then you must make a good faith effort to ensure that, -- in the event an application does not supply such function or -- table, the facility still operates, and performs whatever part of -- its purpose remains meaningful. -- -- (For example, a function in a library to compute square roots has -- a purpose that is entirely well-defined independent of the -- application. Therefore, Subsection 2d requires that any -- application-supplied function or table used by this function must -- be optional: if the application does not supply it, the square -- root function must still compute square roots.) -- --These requirements apply to the modified work as a whole. If --identifiable sections of that work are not derived from the Library, --and can be reasonably considered independent and separate works in --themselves, then this License, and its terms, do not apply to those --sections when you distribute them as separate works. But when you --distribute the same sections as part of a whole which is a work based --on the Library, the distribution of the whole must be on the terms of --this License, whose permissions for other licensees extend to the --entire whole, and thus to each and every part regardless of who wrote --it. -- --Thus, it is not the intent of this section to claim rights or contest --your rights to work written entirely by you; rather, the intent is to --exercise the right to control the distribution of derivative or --collective works based on the Library. -- --In addition, mere aggregation of another work not based on the Library --with the Library (or with a work based on the Library) on a volume of --a storage or distribution medium does not bring the other work under --the scope of this License. -- -- 3. You may opt to apply the terms of the ordinary GNU General Public --License instead of this License to a given copy of the Library. To do --this, you must alter all the notices that refer to this License, so --that they refer to the ordinary GNU General Public License, version 2, --instead of to this License. (If a newer version than version 2 of the --ordinary GNU General Public License has appeared, then you can specify --that version instead if you wish.) Do not make any other change in --these notices. -- -- Once this change is made in a given copy, it is irreversible for --that copy, so the ordinary GNU General Public License applies to all --subsequent copies and derivative works made from that copy. -- -- This option is useful when you wish to copy part of the code of --the Library into a program that is not a library. -- -- 4. You may copy and distribute the Library (or a portion or --derivative of it, under Section 2) in object code or executable form --under the terms of Sections 1 and 2 above provided that you accompany --it with the complete corresponding machine-readable source code, which --must be distributed under the terms of Sections 1 and 2 above on a --medium customarily used for software interchange. -- -- If distribution of object code is made by offering access to copy --from a designated place, then offering equivalent access to copy the --source code from the same place satisfies the requirement to --distribute the source code, even though third parties are not --compelled to copy the source along with the object code. -- -- 5. A program that contains no derivative of any portion of the --Library, but is designed to work with the Library by being compiled or --linked with it, is called a "work that uses the Library". Such a --work, in isolation, is not a derivative work of the Library, and --therefore falls outside the scope of this License. -- -- However, linking a "work that uses the Library" with the Library --creates an executable that is a derivative of the Library (because it --contains portions of the Library), rather than a "work that uses the --library". The executable is therefore covered by this License. --Section 6 states terms for distribution of such executables. -- -- When a "work that uses the Library" uses material from a header file --that is part of the Library, the object code for the work may be a --derivative work of the Library even though the source code is not. --Whether this is true is especially significant if the work can be --linked without the Library, or if the work is itself a library. The --threshold for this to be true is not precisely defined by law. -- -- If such an object file uses only numerical parameters, data --structure layouts and accessors, and small macros and small inline --functions (ten lines or less in length), then the use of the object --file is unrestricted, regardless of whether it is legally a derivative --work. (Executables containing this object code plus portions of the --Library will still fall under Section 6.) -- -- Otherwise, if the work is a derivative of the Library, you may --distribute the object code for the work under the terms of Section 6. --Any executables containing that work also fall under Section 6, --whether or not they are linked directly with the Library itself. -- -- 6. As an exception to the Sections above, you may also combine or --link a "work that uses the Library" with the Library to produce a --work containing portions of the Library, and distribute that work --under terms of your choice, provided that the terms permit --modification of the work for the customer's own use and reverse --engineering for debugging such modifications. -- -- You must give prominent notice with each copy of the work that the --Library is used in it and that the Library and its use are covered by --this License. You must supply a copy of this License. If the work --during execution displays copyright notices, you must include the --copyright notice for the Library among them, as well as a reference --directing the user to the copy of this License. Also, you must do one --of these things: -- -- a) Accompany the work with the complete corresponding -- machine-readable source code for the Library including whatever -- changes were used in the work (which must be distributed under -- Sections 1 and 2 above); and, if the work is an executable linked -- with the Library, with the complete machine-readable "work that -- uses the Library", as object code and/or source code, so that the -- user can modify the Library and then relink to produce a modified -- executable containing the modified Library. (It is understood -- that the user who changes the contents of definitions files in the -- Library will not necessarily be able to recompile the application -- to use the modified definitions.) -- -- b) Use a suitable shared library mechanism for linking with the -- Library. A suitable mechanism is one that (1) uses at run time a -- copy of the library already present on the user's computer system, -- rather than copying library functions into the executable, and (2) -- will operate properly with a modified version of the library, if -- the user installs one, as long as the modified version is -- interface-compatible with the version that the work was made with. -- -- c) Accompany the work with a written offer, valid for at -- least three years, to give the same user the materials -- specified in Subsection 6a, above, for a charge no more -- than the cost of performing this distribution. -- -- d) If distribution of the work is made by offering access to copy -- from a designated place, offer equivalent access to copy the above -- specified materials from the same place. -- -- e) Verify that the user has already received a copy of these -- materials or that you have already sent this user a copy. -- -- For an executable, the required form of the "work that uses the --Library" must include any data and utility programs needed for --reproducing the executable from it. However, as a special exception, --the materials to be distributed need not include anything that is --normally distributed (in either source or binary form) with the major --components (compiler, kernel, and so on) of the operating system on --which the executable runs, unless that component itself accompanies --the executable. -- -- It may happen that this requirement contradicts the license --restrictions of other proprietary libraries that do not normally --accompany the operating system. Such a contradiction means you cannot --use both them and the Library together in an executable that you --distribute. -- -- 7. You may place library facilities that are a work based on the --Library side-by-side in a single library together with other library --facilities not covered by this License, and distribute such a combined --library, provided that the separate distribution of the work based on --the Library and of the other library facilities is otherwise --permitted, and provided that you do these two things: -- -- a) Accompany the combined library with a copy of the same work -- based on the Library, uncombined with any other library -- facilities. This must be distributed under the terms of the -- Sections above. -- -- b) Give prominent notice with the combined library of the fact -- that part of it is a work based on the Library, and explaining -- where to find the accompanying uncombined form of the same work. -- -- 8. You may not copy, modify, sublicense, link with, or distribute --the Library except as expressly provided under this License. Any --attempt otherwise to copy, modify, sublicense, link with, or --distribute the Library is void, and will automatically terminate your --rights under this License. However, parties who have received copies, --or rights, from you under this License will not have their licenses --terminated so long as such parties remain in full compliance. -- -- 9. You are not required to accept this License, since you have not --signed it. However, nothing else grants you permission to modify or --distribute the Library or its derivative works. These actions are --prohibited by law if you do not accept this License. Therefore, by --modifying or distributing the Library (or any work based on the --Library), you indicate your acceptance of this License to do so, and --all its terms and conditions for copying, distributing or modifying --the Library or works based on it. -- -- 10. Each time you redistribute the Library (or any work based on the --Library), the recipient automatically receives a license from the --original licensor to copy, distribute, link with or modify the Library --subject to these terms and conditions. You may not impose any further --restrictions on the recipients' exercise of the rights granted herein. --You are not responsible for enforcing compliance by third parties with --this License. -- -- 11. If, as a consequence of a court judgment or allegation of patent --infringement or for any other reason (not limited to patent issues), --conditions are imposed on you (whether by court order, agreement or --otherwise) that contradict the conditions of this License, they do not --excuse you from the conditions of this License. If you cannot --distribute so as to satisfy simultaneously your obligations under this --License and any other pertinent obligations, then as a consequence you --may not distribute the Library at all. For example, if a patent --license would not permit royalty-free redistribution of the Library by --all those who receive copies directly or indirectly through you, then --the only way you could satisfy both it and this License would be to --refrain entirely from distribution of the Library. -- --If any portion of this section is held invalid or unenforceable under any --particular circumstance, the balance of the section is intended to apply, --and the section as a whole is intended to apply in other circumstances. -- --It is not the purpose of this section to induce you to infringe any --patents or other property right claims or to contest validity of any --such claims; this section has the sole purpose of protecting the --integrity of the free software distribution system which is --implemented by public license practices. Many people have made --generous contributions to the wide range of software distributed --through that system in reliance on consistent application of that --system; it is up to the author/donor to decide if he or she is willing --to distribute software through any other system and a licensee cannot --impose that choice. -- --This section is intended to make thoroughly clear what is believed to --be a consequence of the rest of this License. -- -- 12. If the distribution and/or use of the Library is restricted in --certain countries either by patents or by copyrighted interfaces, the --original copyright holder who places the Library under this License may add --an explicit geographical distribution limitation excluding those countries, --so that distribution is permitted only in or among countries not thus --excluded. In such case, this License incorporates the limitation as if --written in the body of this License. -- -- 13. The Free Software Foundation may publish revised and/or new --versions of the Lesser General Public License from time to time. --Such new versions will be similar in spirit to the present version, --but may differ in detail to address new problems or concerns. -- --Each version is given a distinguishing version number. If the Library --specifies a version number of this License which applies to it and --"any later version", you have the option of following the terms and --conditions either of that version or of any later version published by --the Free Software Foundation. If the Library does not specify a --license version number, you may choose any version ever published by --the Free Software Foundation. -- -- 14. If you wish to incorporate parts of the Library into other free --programs whose distribution conditions are incompatible with these, --write to the author to ask for permission. For software which is --copyrighted by the Free Software Foundation, write to the Free --Software Foundation; we sometimes make exceptions for this. Our --decision will be guided by the two goals of preserving the free status --of all derivatives of our free software and of promoting the sharing --and reuse of software generally. -- -- NO WARRANTY -- -- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO --WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. --EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR --OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY --KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE --IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR --PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE --LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME --THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -- -- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN --WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY --AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU --FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR --CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE --LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING --RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A --FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF --SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH --DAMAGES. -- -- END OF TERMS AND CONDITIONS -- -- How to Apply These Terms to Your New Libraries -- -- If you develop a new library, and you want it to be of the greatest --possible use to the public, we recommend making it free software that --everyone can redistribute and change. You can do so by permitting --redistribution under these terms (or, alternatively, under the terms of the --ordinary General Public License). -- -- To apply these terms, attach the following notices to the library. It is --safest to attach them to the start of each source file to most effectively --convey the exclusion of warranty; and each file should have at least the --"copyright" line and a pointer to where the full notice is found. -- -- -- Copyright (C) -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; either -- version 2.1 of the License, or (at your option) any later version. -- -- This library is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- Lesser General Public License for more details. -- -- You should have received a copy of the GNU Lesser General Public -- License along with this library; if not, write to the Free Software -- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -- --Also add information on how to contact you by electronic and paper mail. -- --You should also get your employer (if you work as a programmer) or your --school, if any, to sign a "copyright disclaimer" for the library, if --necessary. Here is a sample; alter the names: -- -- Yoyodyne, Inc., hereby disclaims all copyright interest in the -- library `Frob' (a library for tweaking knobs) written by James Random Hacker. -- -- , 1 April 1990 -- Ty Coon, President of Vice -- --That's all there is to it! -diff --git a/COPYING.README b/COPYING.README -index de5b63215..11af93ca7 100644 ---- a/COPYING.README -+++ b/COPYING.README -@@ -2,17 +2,5 @@ Eigen is primarily MPL2 licensed. See COPYING.MPL2 and these links: - http://www.mozilla.org/MPL/2.0/ - http://www.mozilla.org/MPL/2.0/FAQ.html - --Some files contain third-party code under BSD or LGPL licenses, whence the other --COPYING.* files here. -- --All the LGPL code is either LGPL 2.1-only, or LGPL 2.1-or-later. --For this reason, the COPYING.LGPL file contains the LGPL 2.1 text. -- --If you want to guarantee that the Eigen code that you are #including is licensed --under the MPL2 and possibly more permissive licenses (like BSD), #define this --preprocessor symbol: -- EIGEN_MPL2_ONLY --For example, with most compilers, you could add this to your project CXXFLAGS: -- -DEIGEN_MPL2_ONLY --This will cause a compilation error to be generated if you #include any code that is --LGPL licensed. -+Some files contain third-party code under BSD or other MPL2-compatible licenses, -+whence the other COPYING.* files here. -\ No newline at end of file -diff --git a/Eigen/src/Core/util/NonMPL2.h b/Eigen/src/Core/util/NonMPL2.h -deleted file mode 100644 -index 1af67cf18..000000000 ---- a/Eigen/src/Core/util/NonMPL2.h -+++ /dev/null -@@ -1,3 +0,0 @@ --#ifdef EIGEN_MPL2_ONLY --#error Including non-MPL2 code in EIGEN_MPL2_ONLY mode --#endif -diff --git a/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h b/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h -index 5e632c4e2..8b6077601 100644 ---- a/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h -+++ b/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h -@@ -24,8 +24,7 @@ namespace Eigen { - * \tparam Scalar the scalar type of the input matrices - * \tparam _UpLo The triangular part that will be used for the computations. It can be Lower - * or Upper. Default is Lower. -- * \tparam _OrderingType The ordering method to use, either AMDOrdering<> or NaturalOrdering<>. Default is AMDOrdering, -- * unless EIGEN_MPL2_ONLY is defined, in which case the default is NaturalOrdering. -+ * \tparam _OrderingType The ordering method to use, either AMDOrdering<> or NaturalOrdering<>. Default is AMDOrdering. - * - * \implsparsesolverconcept - * -diff --git a/bench/tensors/eigen_sycl_bench.sh b/bench/tensors/eigen_sycl_bench.sh -index 3f67b3d86..4cb8f7be4 100755 ---- a/bench/tensors/eigen_sycl_bench.sh -+++ b/bench/tensors/eigen_sycl_bench.sh -@@ -10,7 +10,6 @@ benchmark_main.cc \ - -march=native \ - -O3 \ - -DNDEBUG \ ---DEIGEN_MPL2_ONLY \ - -DEIGEN_USE_SYCL=1 \ - -DEIGEN_SYCL_LOCAL_MEM=1 \ - -no-serial-memop \ -diff --git a/bench/tensors/eigen_sycl_bench_contract.sh b/bench/tensors/eigen_sycl_bench_contract.sh -index 73fd6c4a0..3ab0138a1 100644 ---- a/bench/tensors/eigen_sycl_bench_contract.sh -+++ b/bench/tensors/eigen_sycl_bench_contract.sh -@@ -1,7 +1,7 @@ - rm -f tensor_contract_sycl_bench - : "${COMPUTECPP_PACKAGE_ROOT_DIR:?Need to set COMPUTECPP_PACKAGE_ROOT_DIR}" - echo "COMPUTECPP_PACKAGE_ROOT_DIR is set to: "$COMPUTECPP_PACKAGE_ROOT_DIR --${COMPUTECPP_PACKAGE_ROOT_DIR}/bin/compute++ tensor_contract_sycl_bench.cc -I ../../ -I ${COMPUTECPP_PACKAGE_ROOT_DIR}/include/ -std=c++11 -O3 -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_USE_SYCL=1 -no-serial-memop -mllvm -inline-threshold=10000 -fsycl-ih-last -sycl-driver -Xclang -cl-mad-enable -lOpenCL -lComputeCpp -lpthread -o tensor_contract_sycl_bench ${@:1} -+${COMPUTECPP_PACKAGE_ROOT_DIR}/bin/compute++ tensor_contract_sycl_bench.cc -I ../../ -I ${COMPUTECPP_PACKAGE_ROOT_DIR}/include/ -std=c++11 -O3 -DNDEBUG -DEIGEN_USE_SYCL=1 -no-serial-memop -mllvm -inline-threshold=10000 -fsycl-ih-last -sycl-driver -Xclang -cl-mad-enable -lOpenCL -lComputeCpp -lpthread -o tensor_contract_sycl_bench ${@:1} - export LD_LIBRARY_PATH=${COMPUTECPP_PACKAGE_ROOT_DIR}/lib:$LD_LIBRARY_PATH - ./tensor_contract_sycl_bench - -diff --git a/doc/PreprocessorDirectives.dox b/doc/PreprocessorDirectives.dox -index eda0d1961..2b5cb1b92 100644 ---- a/doc/PreprocessorDirectives.dox -+++ b/doc/PreprocessorDirectives.dox -@@ -92,9 +92,6 @@ run time. However, these assertions do cost time and can thus be turned off. - - \b eigen_assert - macro with one argument that is used inside %Eigen for assertions. By default, it is - basically defined to be \c assert, which aborts the program if the assertion is violated. Redefine this - macro if you want to do something else, like throwing an exception. -- - \b EIGEN_MPL2_ONLY - disable non MPL2 compatible features, or in other words disable the features which -- are still under the LGPL. -- - - \section TopicPreprocessorDirectivesPerformance Alignment, vectorization and performance tweaking - -diff --git a/test/mpl2only.cpp b/test/mpl2only.cpp -deleted file mode 100644 -index 296350d08..000000000 ---- a/test/mpl2only.cpp -+++ /dev/null -@@ -1,24 +0,0 @@ --// This file is part of Eigen, a lightweight C++ template library --// for linear algebra. --// --// Copyright (C) 2015 Gael Guennebaud --// --// This Source Code Form is subject to the terms of the Mozilla --// Public License v. 2.0. If a copy of the MPL was not distributed --// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. -- --#ifndef EIGEN_MPL2_ONLY --#define EIGEN_MPL2_ONLY --#endif --#include --#include --#include --#include --#include --#include --#include -- --int main() --{ -- return 0; --} -diff --git a/unsupported/Eigen/IterativeSolvers b/unsupported/Eigen/IterativeSolvers -index b53f10937..3ac64e9f8 100644 ---- a/unsupported/Eigen/IterativeSolvers -+++ b/unsupported/Eigen/IterativeSolvers -@@ -19,7 +19,6 @@ - * \defgroup IterativeLinearSolvers_Module IterativeLinearSolvers module - * This module aims to provide various iterative linear and non linear solver algorithms. - * It currently provides: -- * - a constrained conjugate gradient - * - a Householder GMRES implementation - * - an IDR(s) implementation - * - a DGMRES implementation -@@ -33,11 +32,6 @@ - - #include "../../Eigen/src/Core/util/DisableStupidWarnings.h" - --#ifndef EIGEN_MPL2_ONLY --#include "src/IterativeSolvers/IterationController.h" --#include "src/IterativeSolvers/ConstrainedConjGrad.h" --#endif -- - #include "src/IterativeSolvers/IncompleteLU.h" - #include "src/IterativeSolvers/GMRES.h" - #include "src/IterativeSolvers/DGMRES.h" -diff --git a/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h b/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h -deleted file mode 100644 -index e7d70f39d..000000000 ---- a/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h -+++ /dev/null -@@ -1,187 +0,0 @@ --// This file is part of Eigen, a lightweight C++ template library --// for linear algebra. --// --// Copyright (C) 2008 Gael Guennebaud -- --/* NOTE The functions of this file have been adapted from the GMM++ library */ -- --//======================================================================== --// --// Copyright (C) 2002-2007 Yves Renard --// --// This file is a part of GETFEM++ --// --// Getfem++ is free software; you can redistribute it and/or modify --// it under the terms of the GNU Lesser General Public License as --// published by the Free Software Foundation; version 2.1 of the License. --// --// This program is distributed in the hope that it will be useful, --// but WITHOUT ANY WARRANTY; without even the implied warranty of --// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --// GNU Lesser General Public License for more details. --// You should have received a copy of the GNU Lesser General Public --// License along with this program; if not, write to the Free Software --// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, --// USA. --// --//======================================================================== -- --#include "../../../../Eigen/src/Core/util/NonMPL2.h" -- --#ifndef EIGEN_CONSTRAINEDCG_H --#define EIGEN_CONSTRAINEDCG_H -- --#include "../../../../Eigen/Core" -- --namespace Eigen { -- --namespace internal { -- --/** \ingroup IterativeLinearSolvers_Module -- * Compute the pseudo inverse of the non-square matrix C such that -- * \f$ CINV = (C * C^T)^{-1} * C \f$ based on a conjugate gradient method. -- * -- * This function is internally used by constrained_cg. -- */ --template --void pseudo_inverse(const CMatrix &C, CINVMatrix &CINV) --{ -- // optimisable : copie de la ligne, precalcul de C * trans(C). -- typedef typename CMatrix::Scalar Scalar; -- typedef typename CMatrix::Index Index; -- // FIXME use sparse vectors ? -- typedef Matrix TmpVec; -- -- Index rows = C.rows(), cols = C.cols(); -- -- TmpVec d(rows), e(rows), l(cols), p(rows), q(rows), r(rows); -- Scalar rho, rho_1, alpha; -- d.setZero(); -- -- typedef Triplet T; -- std::vector tripletList; -- -- for (Index i = 0; i < rows; ++i) -- { -- d[i] = 1.0; -- rho = 1.0; -- e.setZero(); -- r = d; -- p = d; -- -- while (rho >= 1e-38) -- { /* conjugate gradient to compute e */ -- /* which is the i-th row of inv(C * trans(C)) */ -- l = C.transpose() * p; -- q = C * l; -- alpha = rho / p.dot(q); -- e += alpha * p; -- r += -alpha * q; -- rho_1 = rho; -- rho = r.dot(r); -- p = (rho/rho_1) * p + r; -- } -- -- l = C.transpose() * e; // l is the i-th row of CINV -- // FIXME add a generic "prune/filter" expression for both dense and sparse object to sparse -- for (Index j=0; j --void constrained_cg(const TMatrix& A, const CMatrix& C, VectorX& x, -- const VectorB& b, const VectorF& f, IterationController &iter) --{ -- using std::sqrt; -- typedef typename TMatrix::Scalar Scalar; -- typedef typename TMatrix::Index Index; -- typedef Matrix TmpVec; -- -- Scalar rho = 1.0, rho_1, lambda, gamma; -- Index xSize = x.size(); -- TmpVec p(xSize), q(xSize), q2(xSize), -- r(xSize), old_z(xSize), z(xSize), -- memox(xSize); -- std::vector satured(C.rows()); -- p.setZero(); -- iter.setRhsNorm(sqrt(b.dot(b))); // gael vect_sp(PS, b, b) -- if (iter.rhsNorm() == 0.0) iter.setRhsNorm(1.0); -- -- SparseMatrix CINV(C.rows(), C.cols()); -- pseudo_inverse(C, CINV); -- -- while(true) -- { -- // computation of residual -- old_z = z; -- memox = x; -- r = b; -- r += A * -x; -- z = r; -- bool transition = false; -- for (Index i = 0; i < C.rows(); ++i) -- { -- Scalar al = C.row(i).dot(x) - f.coeff(i); -- if (al >= -1.0E-15) -- { -- if (!satured[i]) -- { -- satured[i] = true; -- transition = true; -- } -- Scalar bb = CINV.row(i).dot(z); -- if (bb > 0.0) -- // FIXME: we should allow that: z += -bb * C.row(i); -- for (typename CMatrix::InnerIterator it(C,i); it; ++it) -- z.coeffRef(it.index()) -= bb*it.value(); -- } -- else -- satured[i] = false; -- } -- -- // descent direction -- rho_1 = rho; -- rho = r.dot(z); -- -- if (iter.finished(rho)) break; -- if (transition || iter.first()) gamma = 0.0; -- else gamma = (std::max)(0.0, (rho - old_z.dot(z)) / rho_1); -- p = z + gamma*p; -- -- ++iter; -- // one dimensionnal optimization -- q = A * p; -- lambda = rho / q.dot(p); -- for (Index i = 0; i < C.rows(); ++i) -- { -- if (!satured[i]) -- { -- Scalar bb = C.row(i).dot(p) - f[i]; -- if (bb > 0.0) -- lambda = (std::min)(lambda, (f.coeff(i)-C.row(i).dot(x)) / bb); -- } -- } -- x += lambda * p; -- memox -= x; -- } --} -- --} // end namespace internal -- --} // end namespace Eigen -- --#endif // EIGEN_CONSTRAINEDCG_H -diff --git a/unsupported/Eigen/src/IterativeSolvers/IterationController.h b/unsupported/Eigen/src/IterativeSolvers/IterationController.h -deleted file mode 100644 -index a116e09e2..000000000 ---- a/unsupported/Eigen/src/IterativeSolvers/IterationController.h -+++ /dev/null -@@ -1,154 +0,0 @@ --// This file is part of Eigen, a lightweight C++ template library --// for linear algebra. --// --// Copyright (C) 2008-2009 Gael Guennebaud -- --/* NOTE The class IterationController has been adapted from the iteration -- * class of the GMM++ and ITL libraries. -- */ -- --//======================================================================= --// Copyright (C) 1997-2001 --// Authors: Andrew Lumsdaine --// Lie-Quan Lee --// --// This file is part of the Iterative Template Library --// --// You should have received a copy of the License Agreement for the --// Iterative Template Library along with the software; see the --// file LICENSE. --// --// Permission to modify the code and to distribute modified code is --// granted, provided the text of this NOTICE is retained, a notice that --// the code was modified is included with the above COPYRIGHT NOTICE and --// with the COPYRIGHT NOTICE in the LICENSE file, and that the LICENSE --// file is distributed with the modified code. --// --// LICENSOR MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. --// By way of example, but not limitation, Licensor MAKES NO --// REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY --// PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE COMPONENTS --// OR DOCUMENTATION WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS --// OR OTHER RIGHTS. --//======================================================================= -- --//======================================================================== --// --// Copyright (C) 2002-2007 Yves Renard --// --// This file is a part of GETFEM++ --// --// Getfem++ is free software; you can redistribute it and/or modify --// it under the terms of the GNU Lesser General Public License as --// published by the Free Software Foundation; version 2.1 of the License. --// --// This program is distributed in the hope that it will be useful, --// but WITHOUT ANY WARRANTY; without even the implied warranty of --// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --// GNU Lesser General Public License for more details. --// You should have received a copy of the GNU Lesser General Public --// License along with this program; if not, write to the Free Software --// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, --// USA. --// --//======================================================================== -- --#include "../../../../Eigen/src/Core/util/NonMPL2.h" -- --#ifndef EIGEN_ITERATION_CONTROLLER_H --#define EIGEN_ITERATION_CONTROLLER_H -- --namespace Eigen { -- --/** \ingroup IterativeLinearSolvers_Module -- * \class IterationController -- * -- * \brief Controls the iterations of the iterative solvers -- * -- * This class has been adapted from the iteration class of GMM++ and ITL libraries. -- * -- */ --class IterationController --{ -- protected : -- double m_rhsn; ///< Right hand side norm -- size_t m_maxiter; ///< Max. number of iterations -- int m_noise; ///< if noise > 0 iterations are printed -- double m_resmax; ///< maximum residual -- double m_resminreach, m_resadd; -- size_t m_nit; ///< iteration number -- double m_res; ///< last computed residual -- bool m_written; -- void (*m_callback)(const IterationController&); -- public : -- -- void init() -- { -- m_nit = 0; m_res = 0.0; m_written = false; -- m_resminreach = 1E50; m_resadd = 0.0; -- m_callback = 0; -- } -- -- IterationController(double r = 1.0E-8, int noi = 0, size_t mit = size_t(-1)) -- : m_rhsn(1.0), m_maxiter(mit), m_noise(noi), m_resmax(r) { init(); } -- -- void operator ++(int) { m_nit++; m_written = false; m_resadd += m_res; } -- void operator ++() { (*this)++; } -- -- bool first() { return m_nit == 0; } -- -- /* get/set the "noisyness" (verbosity) of the solvers */ -- int noiseLevel() const { return m_noise; } -- void setNoiseLevel(int n) { m_noise = n; } -- void reduceNoiseLevel() { if (m_noise > 0) m_noise--; } -- -- double maxResidual() const { return m_resmax; } -- void setMaxResidual(double r) { m_resmax = r; } -- -- double residual() const { return m_res; } -- -- /* change the user-definable callback, called after each iteration */ -- void setCallback(void (*t)(const IterationController&)) -- { -- m_callback = t; -- } -- -- size_t iteration() const { return m_nit; } -- void setIteration(size_t i) { m_nit = i; } -- -- size_t maxIterarions() const { return m_maxiter; } -- void setMaxIterations(size_t i) { m_maxiter = i; } -- -- double rhsNorm() const { return m_rhsn; } -- void setRhsNorm(double r) { m_rhsn = r; } -- -- bool converged() const { return m_res <= m_rhsn * m_resmax; } -- bool converged(double nr) -- { -- using std::abs; -- m_res = abs(nr); -- m_resminreach = (std::min)(m_resminreach, m_res); -- return converged(); -- } -- template bool converged(const VectorType &v) -- { return converged(v.squaredNorm()); } -- -- bool finished(double nr) -- { -- if (m_callback) m_callback(*this); -- if (m_noise > 0 && !m_written) -- { -- converged(nr); -- m_written = true; -- } -- return (m_nit >= m_maxiter || converged(nr)); -- } -- template -- bool finished(const MatrixBase &v) -- { return finished(double(v.squaredNorm())); } -- --}; -- --} // end namespace Eigen -- --#endif // EIGEN_ITERATION_CONTROLLER_H --- -2.48.1 - diff --git a/meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb b/meta-oe/recipes-support/libeigen/libeigen_5.0.1.bb similarity index 65% rename from meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb rename to meta-oe/recipes-support/libeigen/libeigen_5.0.1.bb index 6e66683be9..6239b17da7 100644 --- a/meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb +++ b/meta-oe/recipes-support/libeigen/libeigen_5.0.1.bb @@ -1,23 +1,22 @@ DESCRIPTION = "Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms." HOMEPAGE = "http://eigen.tuxfamily.org/" LICENSE = "Apache-2.0 AND BSD-3-Clause AND GPL-2.0-or-later AND MPL-2.0 AND Minpack" -# The GPL code is only used for benchmark tests and does not affect what is installed. +# The GPL code is only the bench/btl benchmark suite and does not affect what is installed. LICENSE:${PN} = "Apache-2.0 AND BSD-3-Clause AND MPL-2.0 AND Minpack" LICENSE:${PN}-dbg = "Apache-2.0 AND BSD-3-Clause AND MPL-2.0 AND Minpack" LICENSE:${PN}-dev = "Apache-2.0 AND BSD-3-Clause AND MPL-2.0 AND Minpack" -LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad \ +LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=48a3fe23ed1353e0995dadfda05ffdb6 \ file://COPYING.APACHE;md5=8de23b8e93c63005353056b2475e9aa5 \ file://COPYING.BSD;md5=2dd0510ee95e59ca28834b875bc96596 \ - file://COPYING.GPL;md5=d32239bcb673463ab874e80d47fae504 \ + file://bench/btl/COPYING;md5=02023a9ab7f768bfdefdb98b629bb20d \ file://COPYING.MINPACK;md5=71d91b0f75ce79a75d3108a72bef8116 \ " -SRC_URI = "git://gitlab.com/libeigen/eigen.git;protocol=http;branch=3.4 \ - file://0001-Remove-LGPL-Code-and-references.patch \ - file://0001-Make-eigen_packet_wrapper-trivial-for-c-11.patch \ -" +SRC_URI = "git://gitlab.com/libeigen/eigen.git;protocol=https;branch=5.0;tag=${PV}" + +SRCREV = "bc3b39870ecb690a623a3f49149a358b95c5781d" -SRCREV = "d71c30c47858effcbd39967097a2d99ee48db464" +UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$" inherit cmake @@ -26,8 +25,13 @@ PACKAGECONFIG ??= "" PACKAGECONFIG[blas] = "-DEIGEN_BUILD_BLAS=ON,-DEIGEN_BUILD_BLAS=OFF,libgfortran" PACKAGECONFIG[lapack] = "-DEIGEN_BUILD_LAPACK=ON,-DEIGEN_BUILD_LAPACK=OFF,libgfortran" +# Empty pre-release/build strings keep the installed Eigen/Version at plain ${PV} EXTRA_OECMAKE += " \ -DEIGEN_BUILD_TESTING=OFF \ + -DEIGEN_BUILD_DOC=OFF \ + -DEIGEN_BUILD_DEMOS=OFF \ + -DEIGEN_PRERELEASE_VERSION= \ + -DEIGEN_BUILD_VERSION= \ " FILES:${PN}-dev += "${datadir}/eigen3/cmake" From patchwork Wed Nov 25 08:06:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105602 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37950.1795594103699117101 for ; Wed, 25 Nov 2026 00:08:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=QsYOjrU9; spf=pass (domain: gmail.com, ip: 74.125.82.172, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-38190551625so10924742eec.1 for ; Wed, 25 Nov 2026 00:08:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594103; x=1796198903; 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=wqIhgKc+RRajIoxChhWVP7wSU3VRwMBDgumT02zbtBs=; b=QsYOjrU9iKzqj7E3iILsEnBYR4hNXLrIxWUOtGmobjMIXdXEhZpVQtO4FY+EvQm4tm S9i2X9/pMdbXk7Ddt4s/JNE70yYX8YEsK2YunNbxVzsYeX3wpp+eYb1n7fuPmv8eshB2 y1Tk07+WhjWN92czW1XsxPSxkBRJmp4eF8qJDgN4s1suRof4UmMpfsQ+7g+ULiorZHhz 9UFItepGYJHRIe/Jbcx8DMSUxYISUBMJGzNlWLtaEJIgGrDiRIG1xWnrqDgvojpHo6dt STTrWcrx97hNBtHzP/Zz6lwHQqeYtv17Mv6SP/cxMFMjXkCF5KVPEi0M5/nJW/xRu6Jt tX+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594103; x=1796198903; 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=wqIhgKc+RRajIoxChhWVP7wSU3VRwMBDgumT02zbtBs=; b=upFdPB7Fo9T005uNWRCBXNYJlapLJKx9JRMaJwBHAIlIQJ7G14Oriv0tPB58WoJEIS 9UYpVdX+KKj+IXN8P63+w4Kb9Kxhgz5pfrzn+GW1LhL5iRzsfkAz4IVMnoqvyqJ8Yyvj 4iU2Gwn0WmT3e6TGMWLUtzDQVJS5WscgZQzNechK7jamxtmRUvFuXBe+LWcGGSf9UoUy nlvYsOULEbCnKLrE23HhixxACqxF1bx+H0ky3YoESiXjWhhCYyMmwUp2/jujWiOVuFsa kY5hII3DscFlTJPCFudicGxjuzrjMl6dcZINU96tkRngcN9LqXQlH5p1fmpYyQu9pZnb Qz1w== X-Gm-Message-State: APuU4Z+C77+tNPw7cYxOeD72XVA+bO6OYuFZ+rpBMWZxjhqWHQOB7rQP JdeFnSMBV6spGtUON+cM+8+t1WVOwFob5yZl2oUXf9IYYrC4hFb1kOCqZsRiKpic X-Gm-Gg: AZFdTZfHKNAcoKS0AKL1j6KuNZLcjUm4nq8EXNF35/EoJuN+FvEPUMuS5D8bUYko4pv 1uz12Z5qSJrcolTwJS1mIVkf5emhjoUpw4GMgtyaLSh9Nmf0tUHwB3ThhMnFvSjX6CjIQaiCQ9l A53Y4e0hDDkDGBEYNGmQ10evfaSE7O1SKcJzCYpZL+Gb+zAapVdNJz9GbyEBQid4CAs6wVqU3Qf rRwPOLLvYHRHI+WQxzX6j4cuCVhGgeWS6/0JSwKkA/cezHdR5wg+gl3100okptXj1Zc9abBQM9T ylwrVzwf5r+4aFWrrdnK2zVcePBM3ApfJTIClpmM0GZ5hVz4jq9OYj4xLll8MUns+nUPYfr+rQM W4JGfOvKZI0Viop6F7UWDTlQiPi4qGQlWXKQwy1Goz22JTLj7LFScmGL0NyOUmv36QxFQkf41vb GKf6vBosEV/UDLybrCV+gpH85f3TH5iDTEbAxB/laJbr2Xao52hu5RM3c/aV8kLnvbxuZY6OzQ3 cfBVMB3DVOtHrgprnq9aOd8aiMV8zTYGFooNocG6xZgMEAwOqgZQAqFJFI+WpycYwiyp2kdrctN WAW/zNerbgCkbWp6PqB3yCngoovL+M8PLoihppy9GLr7k4hhEmp3vq8wNrUoXMyKXgZkFD8LTDd tKj0p4bzwJshASknC0hxv1Qu0RLj6G2BFm8LolfcYQhhgKnHq06b4B6+IG2gpdShZXlnvV9QeEY sLzGP2urjhhE45lGb/+DjHC+oHMk/YnoWp0bzBw+NY/5eXSXzSmOf5KTCDL9F6YdkDcvrOJr0ND YOBAxsW0d5vIx3Fpsk2VlAvN6M0yjH/NLPZszrO82Xwdzl/2DSNiBUQX8KerdMUlTqoVcPGUGkO t6+I X-Received: by 2002:a05:693c:8209:b0:383:e7af:c28d with SMTP id 5a478bee46e88-3856f14d5b2mr17844084eec.9.1795594102937; Wed, 25 Nov 2026 00:08:22 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08: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 32/55] libiio: upgrade 0.26 -> 1.0.0 Date: Wed, 25 Nov 2026 00:06:48 -0800 Message-ID: <20261125080732.2419614-38-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133035 First stable 1.x release; it breaks both the API and the ABI of 0.x. - Header moved to ; SONAME is now libiio.so.1 with a frozen version script; errors are returned as pointer-encoded codes - Contexts are created with iio_create_context(params, uri); attributes use iio_attr objects; streaming is block based (iio_channels_mask, iio_buffer_open, iio_block, iio_stream) - New binary IIOD protocol negotiated at connect time, multi-buffer and DMABUF support; IIOD still serves v0.x clients - A libiio.so.0 compatibility library keeps v0.x binaries running - iio_readdev and iio_writedev merged into iio_rwdev Track main and the v1.0.0 tag instead of the libiio-v0 branch. Add zstd to DEPENDS, which iiod needs for its USB/network/serial/async I/O support. The Python bindings are now a standalone pyproject package (pylibiio) without a CMake option, so build them with python_setuptools_build_meta from bindings/python when the libiio-python3 PACKAGECONFIG is enabled. Several sources are now MIT licensed, so add MIT and the per-package licences (utils are GPL-2.0-or-later, as before, and iiod has one BSD-3-Clause header). License-Update: add MIT (new COPYING_MIT.txt) and the existing COPYING_GPL.txt; COPYING.txt is unchanged. Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../{libiio_0.26.bb => libiio_1.0.0.bb} | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) rename meta-oe/recipes-support/libiio/{libiio_0.26.bb => libiio_1.0.0.bb} (75%) diff --git a/meta-oe/recipes-support/libiio/libiio_0.26.bb b/meta-oe/recipes-support/libiio/libiio_1.0.0.bb similarity index 75% rename from meta-oe/recipes-support/libiio/libiio_0.26.bb rename to meta-oe/recipes-support/libiio/libiio_1.0.0.bb index dcd1ebffd9..9fc2e0909d 100644 --- a/meta-oe/recipes-support/libiio/libiio_0.26.bb +++ b/meta-oe/recipes-support/libiio/libiio_1.0.0.bb @@ -1,22 +1,28 @@ SUMMARY = "Library for interfacing with IIO devices" HOMEPAGE = "https://wiki.analog.com/resources/tools-software/linux-software/libiio" SECTION = "libs" -LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c" - -SRCREV = "a0eca0d2bf10326506fb762f0eec14255b27bef5" +LICENSE = "LGPL-2.1-or-later AND MIT AND GPL-2.0-or-later AND BSD-3-Clause" +LICENSE:${PN} = "LGPL-2.1-or-later AND MIT" +LICENSE:${PN}-iiod = "LGPL-2.1-or-later AND MIT AND BSD-3-Clause" +LICENSE:${PN}-tests = "GPL-2.0-or-later" +LICENSE:${PN}-python3 = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c \ + file://COPYING_GPL.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://COPYING_MIT.txt;md5=6adb420b1f4ed98678908c60d934265a \ +" -SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https;branch=libiio-v0" -UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" +SRCREV = "9a929664fd3effa500430626803ac59ecf2f4ed3" +SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https;branch=main;tag=v${PV}" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)+)$" -SETUPTOOLS_SETUP_PATH ?= "${B}/bindings/python/" +PEP517_SOURCE_PATH = "${S}/bindings/python" DEPENDS = " \ - flex-native bison-native libaio \ + flex-native bison-native libaio zstd \ " -inherit cmake python3native systemd setuptools3 pkgconfig update-rc.d +inherit python_setuptools_build_meta cmake systemd pkgconfig update-rc.d EXTRA_OECMAKE = " \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -41,12 +47,12 @@ PACKAGECONFIG[network_backend] = "-DWITH_NETWORK_BACKEND=ON -DWITH_XML_BACKEND=O PACKAGECONFIG[serial_backend] = "-DWITH_SERIAL_BACKEND=ON -DWITH_XML_BACKEND=ON,-DWITH_SERIAL_BACKEND=off,libserialport libxml2" PACKAGECONFIG[xml_backend] = "-DWITH_XML_BACKEND=ON,${XML_BACKEND_DISABLE},libxml2" PACKAGECONFIG[dnssd] = "-DHAVE_DNS_SD=ON,-DHAVE_DNS_SD=off,avahi" -PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF" +PACKAGECONFIG[libiio-python3] = "" PACKAGECONFIG[hwmon] = "-DWITH_HWMON=ON,-DWITH_HWMON=OFF" PACKAGES =+ "${PN}-iiod ${PN}-tests ${PN}-python3" -# Inheriting setuptools3 incorrectly adds the dependency on python3-core +# Inheriting python_setuptools_build_meta incorrectly adds the dependency on python3-core # to ${PN} instead of to ${PN}-python3 where it belongs. RDEPENDS:${PN}:remove = "python3-core" RDEPENDS:${PN}-python3 = "${PN} python3-core python3-ctypes python3-stringold" @@ -64,7 +70,7 @@ SYSTEMD_SERVICE:${PN}-iiod = "iiod.service" INITSCRIPT_PACKAGES = "${PN}-iiod" INITSCRIPT_NAME:${PN}-iiod = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'iiod', '', d)}" -# Explicitly define do_configure, do_compile and do_install because both cmake and setuptools3 have +# Explicitly define do_configure, do_compile and do_install because both cmake and python_pep517 have # EXPORT_FUNCTIONS do_configure do_compile do_install do_configure() { cmake_do_configure @@ -72,14 +78,14 @@ do_configure() { do_compile() { if ${@bb.utils.contains('PACKAGECONFIG', 'libiio-python3', 'true', 'false', d)}; then - setuptools3_do_compile + python_pep517_do_compile fi cmake_do_compile } do_install() { if ${@bb.utils.contains('PACKAGECONFIG', 'libiio-python3', 'true', 'false', d)}; then - setuptools3_do_install + python_pep517_do_install fi cmake_do_install } From patchwork Wed Nov 25 08:06:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105607 Received: from mail-dy1-f178.google.com (mail-dy1-f178.google.com [74.125.82.178]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37941.1795594105294281223 for ; Wed, 25 Nov 2026 00:08:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=oNUO1MQy; spf=pass (domain: gmail.com, ip: 74.125.82.178, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f178.google.com with SMTP id 5a478bee46e88-386bd881d39so3908341eec.1 for ; Wed, 25 Nov 2026 00:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594105; x=1796198905; darn=lists.openembedded.org; h=content-transfer-encoding:content-type: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=6RXH7Vaz5aI1LuuK9jueqlhuPu4iY2NsWPNmqWNEGo4=; b=oNUO1MQy1+TGvsF7+mxvf1wqsmL1dlvJTEbueITxzExWzNi0ooouZXWg5FWlcNpq2/ opkDsooY/MmMvYaCXAw9SGA6i31YKAOW6mmGbwFgQVgMejC89mg+6Lklymb66gFzU3Ef WG6d9/BNZnpAeAUWOZP4/kvxGpFELjGMt2wvpW+dPgfxRxqPS6T0WoZjZL26ucaQ6134 V5qnU4G99CH+84tUcQ7Rjv26nL0uMR7RiTAXUORBNUbe3gLD77eIOUPinpgq+BuSJAjk KQ7bHmp6H/Wa6ydJYyDrRzsgkNAiLtUVVwpkYr9IlkJ5UQ2lM1ACr9VG7J6NMpnQeoRo 2hAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594105; x=1796198905; h=content-transfer-encoding:content-type: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=6RXH7Vaz5aI1LuuK9jueqlhuPu4iY2NsWPNmqWNEGo4=; b=px80fC8x7WUr81lqHLZ00/tZ7NheKBF8dHRIQCslQrFQUNJaNIbilbAuBcL79uIzbK jtb1sA1IDqdFMC3Ud044/sdm1q5s8Ul3Q6XR6pdzUMnot1F5kxJfohq8D1CzsblNRzYB nHJ+sYtRQC4BcVyLtFKzPXuqafTbtwXYBYwkA14n8liQdMfsgrocQWO9dXgOrRMTgqeD C5PmewslwkAyfxiaDdu162kIaDZcCU4gk6v8xqp0eIqLRy73BEbPU6Ezy+Dw+hiE/BhB AT3e9qOCHVeLw9HHeiBF5VHrXTQSswl8i0R96fQK7pI9xfZ9gfw64m8+MURNyHcE74af lwVg== X-Gm-Message-State: APuU4Z8knqUmShE6RgWmvJyoXM0+OvAUACC2XLZslmWmzT0Md+yJTITl fD/5k7BFQ7FmE7qHVr3WxJowXqfzcBDwwxHXKosKBwCFh9brSb//hzouoYafJVfx X-Gm-Gg: AZFdTZcq4G4fpNsqRVfkCiPXL65cjqw2vVpCl88kQKiMxXbPmR6T+cIC1fqR0PZtzUZ LM1v0bdGxQl401bEnXRxOvO7ZOGKVN1laaUO5swwV7OuHktQvgPok3+vYHnaOyFRJIUVBFX6jNK Zw5XoZ28Z3FGfLl3Vg/vD0dsjFJz2gtEID1RgMGfl2BP+McgKhkVrJN8MhcX4wtg/Y7gW6LFuHF ozG+wV1ucQCG7TuMovy57sncppHFCAq5ztjRSX/pGpHKQqx3MjRZSRZ89eJtwPAV/aDPhWEWmfn SSpzf5dt4D5I39RszZEJGXRkxqHy/gTWmF1cAgr/jQ2a1vGLu40rLSxoYPLphH+cL197IzdsOc0 sy2I+UOWvF1eRgtvcRWk42KBQK8qwIUuR4guOw7Wwac+YVZbf325gIOcWF0k/kuqTKwhx3MCz0/ proP5Ik88vwJ8MgdCtWSJEwb4ki9HQS4sSj7b7cG8l9d7ZaxBZysam9bd9KnWt28buiu382DQe7 Jz3EOrwgrHQZ/eWMyVH/FazTHOKSUWcr2OXkvr+/G2uxDx+917O6mj3c0ne1I7TAdYaQcJRv1Ub SyXacShI2YF3FUT1xE5e4Y9YuxDf7wJ+2dear7qJ3jcT16n2M0zoX5k/Zn74A7LUcFop8IRuuI2 nSf95MPXO1DQ7+mQmaFCMLGYc0hZ92XPCjsJ5ZHNNjnnO8zZaC8sSnRBBMQNVkA+BBCQSKbTVZQ 8+NItpN7FLJbf86Ep+uXh2ny2bGUKEM7B1vIYEBdtgwJ8MriaEPS6ARI/Fb9YJ5eosxdE4PMQPD MkYmURoh6UHHHPKVE3iFHr4zYORH+p5inQs4+tAvbw9TrppmTizhMdlJy+9NmuHz5IJv5sw1FNn 27mo X-Received: by 2002:a05:7300:2156:b0:386:42f5:37c4 with SMTP id 5a478bee46e88-38642f53d72mr22100129eec.6.1795594104384; Wed, 25 Nov 2026 00:08:24 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08: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 33/55] fltk: upgrade 1.3.11 -> 1.4.5 Date: Wed, 25 Nov 2026 00:06:49 -0800 Message-ID: <20261125080732.2419614-39-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133036 FLTK 1.4 is a new ABI (libfltk.so.1.4); the API is mostly source compatible with 1.3. - New Wayland backend (hybrid Wayland/X11 library on Linux), with client-side decorations through libdecor and Cairo/Pango drawing - HiDPI support and GUI scaling on all platforms - CMake is the primary build system ("modern CMake" targets); the OPTION_* CMake options were renamed to FLTK_* - New Fl_Flex and Fl_Grid layout widgets, fltk-options tool, SVG image support - 1.4.1-1.4.5 are bug-fix releases (Wayland, X11, macOS, Windows) Recipe changes: map the renamed CMake options (FLTK_BUILD_SHARED_LIBS, FLTK_USE_PTHREADS, FLTK_USE_XFT/XINERAMA/XFIXES/XCURSOR, FLTK_BUILD_GL, FLTK_OPTION_CAIRO_WINDOW); OPTION_USE_XDBE no longer exists. Add a wayland PACKAGECONFIG, enabled with the wayland distro feature, using the system libdecor; it also needs the X11 extensions because the library is hybrid. fltk-native and x11-only builds disable the Wayland backend. GL now links libGLU, so add libglu. Disable docs and examples. FLTK_CONFIG_PATH is no longer settable; the CMake files stay in ${datadir}/fltk and UseFLTK.cmake is gone, so sed all installed *.cmake files. Patches: disable_test.patch touched the unused autotools Makefile; the Fl_Preferences dlopen guard and linking libdl are upstream; 1.4 always builds fluid when cross-compiling, so drop all four. Refresh the "do not export fluid" patch, which is still needed because fluid is not staged in the sysroot. fltk-native: CMake cannot find the host libm in the native sysroot, so the trunc() check fails and the fallback definition clashes with glibc's declaration; preset HAVE_TRUNC. License-Update: COPYING only switches its URLs to https and the bug tracker link from str.php to bugs.php. Move UPSTREAM_CHECK_URI to fltk.inc and add an UPSTREAM_CHECK_REGEX matching the release source tarballs. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-support/fltk/fltk-native.bb | 22 +++++----- meta-oe/recipes-support/fltk/fltk.bb | 35 +++++++-------- meta-oe/recipes-support/fltk/fltk.inc | 23 ++++++---- ...xx-do-not-use-dlopen-in-case-glibc-s.patch | 41 ----------------- ...ways-build-fluid-and-export-pointers.patch | 31 ------------- ...Lists.txt-Do-not-export-fluid-target.patch | 26 +++++------ .../fltk/fltk/disable_test.patch | 13 ------ .../fltk/fltk/fltk-native-link-libdl.patch | 44 ------------------- 8 files changed, 52 insertions(+), 183 deletions(-) delete mode 100644 meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch delete mode 100644 meta-oe/recipes-support/fltk/fltk/0002-always-build-fluid-and-export-pointers.patch delete mode 100644 meta-oe/recipes-support/fltk/fltk/disable_test.patch delete mode 100644 meta-oe/recipes-support/fltk/fltk/fltk-native-link-libdl.patch diff --git a/meta-oe/recipes-support/fltk/fltk-native.bb b/meta-oe/recipes-support/fltk/fltk-native.bb index 322a28430f..8dab8daa41 100644 --- a/meta-oe/recipes-support/fltk/fltk-native.bb +++ b/meta-oe/recipes-support/fltk/fltk-native.bb @@ -2,21 +2,19 @@ require ${BPN}.inc DEPENDS = "zlib-native jpeg-native libpng-native libxext-native libxft-native" -SRC_URI += "file://fltk-native-link-libdl.patch" - -UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php" - inherit native EXTRA_OECMAKE += " \ - -DOPTION_BUILD_SHARED_LIBS=OFF \ - -DOPTION_USE_THREADS=OFF \ - -DOPTION_USE_XDBE=OFF \ - -DOPTION_USE_XFT=OFF \ - -DFLTK_BUILD_TEST=OFF \ - -DOPTION_USE_XINERAMA=OFF \ - -DOPTION_USE_XFIXES=OFF \ - -DOPTION_USE_XCURSOR=OFF \ + -DFLTK_BACKEND_WAYLAND=OFF \ + -DFLTK_BUILD_SHARED_LIBS=OFF \ + -DFLTK_BUILD_GL=OFF \ + -DFLTK_USE_PTHREADS=OFF \ + -DFLTK_USE_XFT=OFF \ + -DFLTK_USE_XINERAMA=OFF \ + -DFLTK_USE_XFIXES=OFF \ + -DFLTK_USE_XCURSOR=OFF \ + -DFLTK_USE_XRENDER=OFF \ + -DHAVE_TRUNC=1 \ " do_install:append() { diff --git a/meta-oe/recipes-support/fltk/fltk.bb b/meta-oe/recipes-support/fltk/fltk.bb index 4278a2fa3d..8873086cb1 100644 --- a/meta-oe/recipes-support/fltk/fltk.bb +++ b/meta-oe/recipes-support/fltk/fltk.bb @@ -1,35 +1,32 @@ require ${BPN}.inc -DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" +DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft libxrender" inherit features_check binconfig lib_package gtk-icon-cache mime mime-xdg REQUIRED_DISTRO_FEATURES = "x11" SRC_URI += "file://0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch" -UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php" - -EXTRA_OECMAKE = " \ - -DOPTION_BUILD_SHARED_LIBS=ON \ - -DOPTION_USE_THREADS=ON \ - -DFLTK_BUILD_TEST=OFF \ - -DOPTION_USE_XDBE=ON \ - -DOPTION_USE_XFT=ON \ - -DFLTK_CONFIG_PATH=${libdir}/cmake \ +EXTRA_OECMAKE += " \ + -DFLTK_BUILD_SHARED_LIBS=ON \ + -DFLTK_USE_PTHREADS=ON \ + -DFLTK_USE_XFT=ON \ " -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" +# The Wayland backend builds a hybrid Wayland/X11 library, which needs all optional X11 extensions +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl wayland', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'xinerama xfixes xcursor', '', d)}" -PACKAGECONFIG[cairo] = "-DOPTION_CAIRO=ON,-DOPTION_CAIRO=OFF,cairo" -PACKAGECONFIG[opengl] = "-DOPTION_USE_GL=ON,-DOPTION_USE_GL=OFF,virtual/libgl" -PACKAGECONFIG[xinerama] = "-DOPTION_USE_XINERAMA=ON,-DOPTION_USE_XINERAMA=OFF,libxinerama" -PACKAGECONFIG[xfixes] = "-DOPTION_USE_XFIXES=ON,-DOPTION_USE_XFIXES=OFF,libxfixes" -PACKAGECONFIG[xcursor] = "-DOPTION_USE_XCURSOR=ON,-DOPTION_USE_XCURSOR=OFF,libxcursor" +PACKAGECONFIG[cairo] = "-DFLTK_OPTION_CAIRO_WINDOW=ON,-DFLTK_OPTION_CAIRO_WINDOW=OFF,cairo" +FLTK_GL_DEPS = "virtual/libgl libglu ${@bb.utils.contains('PACKAGECONFIG', 'wayland', 'virtual/egl', '', d)}" +PACKAGECONFIG[opengl] = "-DFLTK_BUILD_GL=ON,-DFLTK_BUILD_GL=OFF,${FLTK_GL_DEPS}" +PACKAGECONFIG[wayland] = "-DFLTK_BACKEND_WAYLAND=ON -DFLTK_USE_SYSTEM_LIBDECOR=ON,-DFLTK_BACKEND_WAYLAND=OFF,wayland wayland-native wayland-protocols libxkbcommon libdecor cairo pango dbus" +PACKAGECONFIG[xinerama] = "-DFLTK_USE_XINERAMA=ON,-DFLTK_USE_XINERAMA=OFF,libxinerama" +PACKAGECONFIG[xfixes] = "-DFLTK_USE_XFIXES=ON,-DFLTK_USE_XFIXES=OFF,libxfixes" +PACKAGECONFIG[xcursor] = "-DFLTK_USE_XCURSOR=ON,-DFLTK_USE_XCURSOR=OFF,libxcursor" do_install:append() { - sed -i -e 's,${TMPDIR},,g' ${D}${bindir}/fltk-config - sed -i -e 's,${TMPDIR},,g' ${D}${datadir}/fltk/UseFLTK.cmake - sed -i -e 's,${TMPDIR},,g' ${D}${datadir}/fltk/FLTK-Targets.cmake + sed -i -e 's,${TMPDIR},,g' ${D}${bindir}/fltk-config ${D}${datadir}/fltk/*.cmake } python populate_packages:prepend () { diff --git a/meta-oe/recipes-support/fltk/fltk.inc b/meta-oe/recipes-support/fltk/fltk.inc index ab4aea73b4..dcbbe700c4 100644 --- a/meta-oe/recipes-support/fltk/fltk.inc +++ b/meta-oe/recipes-support/fltk/fltk.inc @@ -2,18 +2,23 @@ SUMMARY = "FLTK is a cross-platform C++ GUI toolkit" HOMEPAGE = "https://www.fltk.org" SECTION = "libs" LICENSE = "LGPL-2.0-only AND LicenseRef-FLTK" -LIC_FILES_CHKSUM = "file://COPYING;md5=f6b26344a24a941a01a5b0826e80b5ca" +LIC_FILES_CHKSUM = "file://COPYING;md5=353c9fd4163eef6500f7e057aed0b083" -SRC_URI = " \ - https://github.com/fltk/fltk/releases/download/release-${PV}/${BP}-source.tar.bz2 \ - file://disable_test.patch \ - file://0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch \ - file://0002-always-build-fluid-and-export-pointers.patch \ -" +SRC_URI = "https://github.com/fltk/fltk/releases/download/release-${PV}/${BP}-source.tar.bz2" + +PV = "1.4.5" +SRC_URI[sha256sum] = "b5a52489b7ffae196db2076adb4c1b18170db0d047f5e93539a382603461564b" -PV = "1.3.11" -SRC_URI[sha256sum] = "ca2e144e5f89173cd094cc273940d56230b1bf613083a0792e6406dc191cd99f" +UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php" +UPSTREAM_CHECK_REGEX = "fltk-(?P\d+(\.\d+)+)-source\.tar" inherit cmake pkgconfig +EXTRA_OECMAKE += " \ + -DFLTK_BUILD_TEST=OFF \ + -DFLTK_BUILD_EXAMPLES=OFF \ + -DFLTK_BUILD_HTML_DOCS=OFF \ + -DFLTK_BUILD_PDF_DOCS=OFF \ +" + TARGET_CC_ARCH += "${LDFLAGS} -DXFT_MAJOR=2" diff --git a/meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch b/meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch deleted file mode 100644 index 0d47dac2dd..0000000000 --- a/meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch +++ /dev/null @@ -1,41 +0,0 @@ -From e76a062338063615c069fedc5a143cc38c34d9b2 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= -Date: Tue, 28 Feb 2017 01:00:21 +0100 -Subject: [PATCH] Fl_Preferences.cxx: do not use dlopen in case glibc's headers - are missing -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -| /home/work/x86_64-linux/fltk-native/1.3.4-1-r0/fltk-1.3.4-1/src/Fl_Preferences.cxx: In static member function ‘static int Fl_Plugin_Manager::load(const char*)’: -| /home/work/x86_64-linux/fltk-native/1.3.4-1-r0/fltk-1.3.4-1/src/Fl_Preferences.cxx:1741:27: error: ‘RTLD_LAZY’ was not declared in this scope -| dl = dlopen(filename, RTLD_LAZY); -| ^~~~~~~~~ -| /home/work/x86_64-linux/fltk-native/1.3.4-1-r0/fltk-1.3.4-1/src/Fl_Preferences.cxx:1741:36: error: ‘dlopen’ was not declared in this scope -| dl = dlopen(filename, RTLD_LAZY); -| ^ -| src/CMakeFiles/fltk.dir/build.make:1217: recipe for target 'src/CMakeFiles/fltk.dir/Fl_Preferences.cxx.o' failed - -Upstream-Status: Pending - -Signed-off-by: Andreas Müller ---- - src/Fl_Preferences.cxx | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx -index 1233bb1..7857b9b 100644 ---- a/src/Fl_Preferences.cxx -+++ b/src/Fl_Preferences.cxx -@@ -1737,7 +1737,7 @@ int Fl_Plugin_Manager::load(const char *filename) { - HMODULE dl = LoadLibrary(filename); - #else - void * dl = NULL; --# if HAVE_DLSYM -+# if HAVE_DLSYM && HAVE_DLFCN_H - dl = dlopen(filename, RTLD_LAZY); - # endif - #endif --- -2.9.3 - diff --git a/meta-oe/recipes-support/fltk/fltk/0002-always-build-fluid-and-export-pointers.patch b/meta-oe/recipes-support/fltk/fltk/0002-always-build-fluid-and-export-pointers.patch deleted file mode 100644 index 0d91aab3a1..0000000000 --- a/meta-oe/recipes-support/fltk/fltk/0002-always-build-fluid-and-export-pointers.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 16010cb1a69ea2326d8102b7f1e34b65aca4b278 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= -Date: Sat, 22 May 2021 12:33:15 +0200 -Subject: [PATCH] always build fluid and export pointers -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Andreas Müller ---- - CMake/export.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMake/export.cmake b/CMake/export.cmake -index 6e8bc5d..71b6f6c 100644 ---- a/CMake/export.cmake -+++ b/CMake/export.cmake -@@ -20,7 +20,7 @@ - ####################################################################### - - # Set the fluid executable path --if (CMAKE_CROSSCOMPILING) -+if (FALSE) - find_file(FLUID_PATH - NAMES fluid fluid.exe - PATHS ENV PATH --- -2.31.1 - diff --git a/meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch b/meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch index 72bb48a32c..6c3058d9ac 100644 --- a/meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch +++ b/meta-oe/recipes-support/fltk/fltk/0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch @@ -22,21 +22,19 @@ Upstream-Status: Inappropriate [OE specific] Signed-off-by: Andreas Müller --- - fluid/CMakeLists.txt | 1 - - 1 file changed, 1 deletion(-) + fluid/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluid/CMakeLists.txt b/fluid/CMakeLists.txt -index 472c84c..f971121 100644 +index 7792446..df5a391 100644 --- a/fluid/CMakeLists.txt +++ b/fluid/CMakeLists.txt -@@ -86,7 +86,6 @@ if (APPLE AND (NOT OPTION_APPLE_X11)) - install (TARGETS fluid DESTINATION ${FLTK_BINDIR}) - else() - install (TARGETS fluid -- EXPORT FLTK-Targets - RUNTIME DESTINATION ${FLTK_BINDIR} - LIBRARY DESTINATION ${FLTK_LIBDIR} - ARCHIVE DESTINATION ${FLTK_LIBDIR} --- -2.31.1 - +@@ -194,7 +194,7 @@ target_link_libraries(fluid-lib PUBLIC fltk::images) + + # Build targets + +-make_target(fluid TRUE "${MAIN_FILES}" fluid-lib fluid TRUE) ++make_target(fluid TRUE "${MAIN_FILES}" fluid-lib fluid FALSE) + + # Build the console app on Windows + # This is done for all Windows targets, even if cross-compiling. diff --git a/meta-oe/recipes-support/fltk/fltk/disable_test.patch b/meta-oe/recipes-support/fltk/fltk/disable_test.patch deleted file mode 100644 index fe8be5a652..0000000000 --- a/meta-oe/recipes-support/fltk/fltk/disable_test.patch +++ /dev/null @@ -1,13 +0,0 @@ -Upstream-Status: Pending - ---- a/Makefile.orig 2015-11-26 15:35:31.485357862 +0800 -+++ b/Makefile 2015-11-26 15:35:37.037357764 +0800 -@@ -18,7 +18,7 @@ - - include makeinclude - --DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid test documentation -+DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid documentation - - all: makeinclude fltk-config - for dir in $(DIRS); do\ diff --git a/meta-oe/recipes-support/fltk/fltk/fltk-native-link-libdl.patch b/meta-oe/recipes-support/fltk/fltk/fltk-native-link-libdl.patch deleted file mode 100644 index e140ce2166..0000000000 --- a/meta-oe/recipes-support/fltk/fltk/fltk-native-link-libdl.patch +++ /dev/null @@ -1,44 +0,0 @@ -Upstream-Status: Inappropriate [cross build specific] - -It fails to build fltk-native on Ubuntu 20.04 with glibc 2.31: - -| /path_to/tmp/hosttools/ld: lib/libfltk.a(Fl_Native_File_Chooser.cxx.o): in function `fl_dlopen(char const*, char const*)': -| Fl_Native_File_Chooser.cxx:(.text+0x61a): undefined reference to `dlopen' -| /path_to/tmp/hosttools/ld: lib/libfltk.a(Fl_Native_File_Chooser.cxx.o): in function `Fl_GTK_File_Chooser::probe_for_GTK_libs()': -| Fl_Native_File_Chooser.cxx:(.text+0xf92): undefined reference to `dlerror' - -The original fix in fltk-native recipe does not work any more because '-ldl' -appears before lib/libfltk.a and causes dlopen() unresolved. The reason why it -doesn't fail on other hosts is that the functions dlopen(), dlerror() etc. have -been moved to libc.so since glibc 2.34 via the commits in glibc: - -0c1c3a771e dlfcn: Move dlopen into libc -add8d7ea01 dlfcn: Move dlvsym into libc -6dfc0207eb dlfcn: Move dlinfo into libc -492560a32e dlfcn: Move dladdr1 into libc -6a1ed32789 dlfcn: Move dlmopen into libc -77f876c0e3 dlfcn: Move dlsym into libc -602252b553 dlfcn: Move dladdr into libc -d8cce17d2a dlfcn: Move dlclose into libc - -Append 'dl' to fltk link items explictly to fix the error. - -Signed-off-by: Kai Kang - ---- - src/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index d153b1c..0fe5c11 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -306,7 +306,7 @@ endif (USE_XFT) - ####################################################################### - - FL_ADD_LIBRARY (fltk STATIC "${STATIC_FILES}") --target_link_libraries (fltk ${OPTIONAL_LIBS}) -+target_link_libraries (fltk ${OPTIONAL_LIBS} dl) - - ####################################################################### - From patchwork Wed Nov 25 08:06:50 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105608 Received: from mail-dy1-f174.google.com (mail-dy1-f174.google.com [74.125.82.174]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37942.1795594106174615293 for ; Wed, 25 Nov 2026 00:08:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=gDtlOUF6; spf=pass (domain: gmail.com, ip: 74.125.82.174, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f174.google.com with SMTP id 5a478bee46e88-3869f03af6aso4706698eec.1 for ; Wed, 25 Nov 2026 00:08:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594105; x=1796198905; 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=GR51Uhjy1EPAN30+lN8P9iTIF/XqUjcZ/Vv0lucFXCk=; b=gDtlOUF6a2KQksXkjhSomeeYFJSUz3QYCQULGxE/KKyDgPaKWkjD6Vzjant9oA1CmD G6hvr+MW3/isDTDSBCf/ojnRe1v6Pw9Aqn+ilqIBN6EU7mCKGBwOIrjYRqvVcFkaeylh cWNG8E92uZBzch4F5gXBCwV5GBDZbiRsW7RqBZdRU7gXebogGeXpTnTNaRNRAeJ0dWsV rMKgP3u4EEcnsGpQyT/tmCDoLLPH4JIoU8S4rjc68rgXk9/8zecuk4Ewf9fnkXdi5sBE m++mpUPHmbklSDKu6oL2lsfOxuB5NlwFEj4fnpwLF8SBwicb3Uh6CCQtLm6U+H3Lt8FR GKMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594105; x=1796198905; 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=GR51Uhjy1EPAN30+lN8P9iTIF/XqUjcZ/Vv0lucFXCk=; b=GSKgkvBQcWdzY2NABQK2INQGiZ1NWG/FaYZLD45+MoSyYpYgzIsjT1dZ6I5YojRlvc mEEbE549LYL8y5yW6NYycEo88aBP8GzZqexq4qrCoBQ9LQcTwUDh/D/FF5kfm9iEzjM5 bry8pwvcbmnOgIvUGU/kURokf0WV7tMZKRpqw+sH5d3z7KhXxMxh/SEoskmb2Orisqxz q7Rk3EKakJtSuhkCdqLMqD5qKDGYBIMjMkSD0oV3o4HZi81hxJUmetFaeQjnpC1S65Qz HoNHi3ZvtI1V8BrUXdxHoKzsGfCBnpYB5dT/ne6ncowpd/sfTfhIcpK1r4SL/t6W9qbf jgpA== X-Gm-Message-State: APuU4Z/jDyeIL5Gxnpr6yNTlwTrqzsbzJOXPNX0U2OcxoVqyaWFu08nr xNQY+maZQU0u2618GAGZMNRErGBlB9afgEEi7+iCpfCyhZRy+9zD1AhlBaPR9jJ9 X-Gm-Gg: AZFdTZdXcyP8iRX9l9iDJqlB4kTUsaC+p/dNpgv4u/ehSnG/BXQtdoNbT0/ZQXpNhfo JusOK57P+hv/dfeZmsSgZkdElQlVRMuALDCRdsX9XVtHyCn47810g4tzFNfH7RiRtDThKnyztSM H+U1zdqRJCNFfjIbm9sLcbCSd8sfq9EQg7a9/ueBfEmZ+IZLbgf0pF5ifHvZsc0pSVvih988BtN jeudTS4NovumMS0F3TWqC3RRimBE3yFQ//XjXF95uG00oW//DvTpzGOMtGXNEycQEV0IBWmxQND mnTgO4S7mVN32cPU7bTz+ABL2DSCGNypsRIUbCy6pzJ/hyc1xw+xUWJIXEIMLNoRGKcHk2FZVr3 KY5ZXLlokiVJQWl9FRLx1v4FhB64dQ1N5yFz4riZoWmh02NZ4AyGm3uymU3jdqhnBdbDgUi6Cue LdyW5QJWfBcj8agb0DYm3mz9i+W5OMybrH01z+61AlCunDydvsahe0hGzUx598lxc3jovkF+OFe l46YHRcguZxLPkncWPtHO1udt6vHZWVdTGqF+kth1XmsCsV6Gtq3sidrYZhDiNn7AUXwoFmodFo SCOna2+g2tyAcos1HvZq+JInBTv0lLDfeBDwGbI12cGGEwZl/Qw3CEMafu8ueYgNTMAM5InJ9kR gYoA5v3go9JLPsury14SFF9/0dDbmditRdC9QMhxaZMMDkTQBBw+Ayt1c2mNJpmjQXZiVbRvhew CrwIQp8j7koOjrVN+A0sZYd6nEhEgWayqfohSBs4IANXuizOUmzOiP1OTfUl6GhuJu+6a2cihMr uaWxywGpZn80xF3g4/IfZkVcNqfTe208g0wCe96OAeHe2PUuUKtrDjHslMIK0fd3tYNapBPf/gG BeAY X-Received: by 2002:a05:7301:6782:b0:385:2ea8:aac7 with SMTP id 5a478bee46e88-3852ea8d7d4mr24508067eec.23.1795594105466; Wed, 25 Nov 2026 00:08:25 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:25 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 34/55] lua-std-normalize: Add recipe Date: Wed, 25 Nov 2026 00:06:50 -0800 Message-ID: <20261125080732.2419614-40-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133037 std.normalize provides deterministic versions of core Lua functions across Lua 5.1-5.5 and LuaJIT; 5.1 adds a bit32 library for every host. luaposix 39 requires std.normalize >= 5.1 at runtime. It is pure Lua, so install the modules directly and fill in the version template that luke would otherwise expand. Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../packagegroups/packagegroup-meta-oe.bb | 1 + .../lua-std-normalize_5.1.bb | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-devtools/lua-std-normalize/lua-std-normalize_5.1.bb diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb index 9158b9acf1..90446efaa0 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb @@ -270,6 +270,7 @@ RDEPENDS:packagegroup-meta-oe-devtools = "\ libxerces-c \ lshw \ ltrace \ + lua-std-normalize \ luajit \ luaposix \ mcpp \ diff --git a/meta-oe/recipes-devtools/lua-std-normalize/lua-std-normalize_5.1.bb b/meta-oe/recipes-devtools/lua-std-normalize/lua-std-normalize_5.1.bb new file mode 100644 index 0000000000..b764685f3b --- /dev/null +++ b/meta-oe/recipes-devtools/lua-std-normalize/lua-std-normalize_5.1.bb @@ -0,0 +1,31 @@ +SUMMARY = "Normalized Lua functions" +DESCRIPTION = "std.normalize injects deterministic versions of core Lua \ +functions that do not behave identically across Lua implementations into a \ +module's lexical environment." +HOMEPAGE = "https://github.com/lua-stdlib/normalize" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=06275ffb1a4a2c92e56a9bd5e3e38b4c" + +SRC_URI = "git://github.com/lua-stdlib/normalize.git;protocol=https;branch=release-v${PV};tag=v${PV}" +SRCREV = "f3e8d7639d62cebe18829f6e1284f9e4faeb78a6" + +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)*)$" + +LUA_VERSION = "5.5" + +inherit allarch + +do_configure[noexec] = "1" +do_compile[noexec] = "1" + +do_install() { + install -d ${D}${datadir}/lua/${LUA_VERSION}/std/normalize + install -m 0644 ${S}/lib/std/normalize/init.lua ${S}/lib/std/normalize/_core.lua \ + ${D}${datadir}/lua/${LUA_VERSION}/std/normalize/ + sed -e 's|@version@|${PV}|' ${S}/lib/std/normalize/version.lua.in \ + > ${D}${datadir}/lua/${LUA_VERSION}/std/normalize/version.lua +} + +FILES:${PN} = "${datadir}/lua/${LUA_VERSION}" + +RDEPENDS:${PN} = "lua" From patchwork Wed Nov 25 08:06:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105609 Received: from mail-dy1-f175.google.com (mail-dy1-f175.google.com [74.125.82.175]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37943.1795594107390375106 for ; Wed, 25 Nov 2026 00:08:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=sQBJbRJi; 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-385c497bf94so2110333eec.1 for ; Wed, 25 Nov 2026 00:08:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594107; x=1796198907; 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=0HZLV45cUvUgXR1dXwuDGeEcqBvI0CboDBcZPlyK3VE=; b=sQBJbRJi1uiAG5g6I0V9QGb978CJ9jobo+uie0vVvjPouLcp+nr/azVADAYEKRpYzt fGiierVDTN3hnddfXYGoWqT3vGXJYfYjPlvB1dwxgGuC4IwkkCKg1cnLS/E9bpIMEIiR R9UaIzD8rGvqaXJVMkQnwKHC/Fk31CnLC/yeboJ9g7twnJEVVxPs9jHfu4Vlg3eal0hp KOGt2Xq9KyM/SNXrddYLrFmb7/w88tkkSLhH2yAJ4y2r534U0mtqvV353BGQs0ulbbYJ tr29JEh0VRA8CVlmL+rIBbg/pdWnnKyOyfB1W+t33O+ZdHPsafmdb+Mm0UJ78G7PPoU/ 2rNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594107; x=1796198907; 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=0HZLV45cUvUgXR1dXwuDGeEcqBvI0CboDBcZPlyK3VE=; b=eM7PgXEmSS0zD7gV8b3Sc/4Tjpie8ToD5XrGwM4oFdag3BPiJemRNei6I9mRtnKze/ zuvuMtLHr1YGHxXsNvxbg0qzvWioRsr7OW8uewQuYDXYPxzUor/7uyEU/VmROWcudzM1 Ca1Bb2IxFEz1MDYw3A+owwcvYDLEMTJ7q7GB/nKe/n8NuEC66flQt0E3LKq8Tz1AKT1z LHuPnAIJEFNgpHTVLbtsZwFDh9asrRxNuiD6QKxNcabCbwWs8JlNPszwjy0w6zKhqWE6 iCXXSrQDD1GyDo/sPJNz7/Z0/3pvsECg7b6UAwqhlnW21lFGdy0+iSkf2gh55gBt3Qgb bG2A== X-Gm-Message-State: APuU4Z/yisr0rBQLcRy3MLZSrsvea0I5XZNJrsZTcXtiiQO8rgZV/fLB lgMTGJ7+XGEu4WQlV4Ny9pUojUIuM4HkEeeY/GwWby65rfjF03umsZUVlkz3VdXu X-Gm-Gg: AZFdTZdZUfDzp3qyotbUGexbSNzR3GpuSLFut3J/o+uIPoE9e0JelSwr4XB/cBq/sjY LaLDf9EFYWhlQbaovJgU4cFAigk3vbBMLTbefux0Ry+gbzFqQFsXk25DK0RCu5/t68lkX5pFMPq FGumPjYdtReXcyGX5vw/l85gVhm2A+sHWeWA8R93fttVt8Y6g3m8WXwWa1uXBQ6VaNU2qlN2ITG G0/iCBtY53ySeClopldeV8d85qnPf1aCGAcP8WeA/gp35O8g3rlee5R0VVF2bFMwrQ2WqwxQH5P uZ88cEj3frHa8uYNjeJ4bQBRfa0n7Z/kxDyxInVpU8lZ3kw/NN6ESQYpimTKSrulURQ4SgAmyDp 8pgRhP5Cx0zgM1+3VmqSRMiSJntFUgnln6cdWIzLr+qvvDnFwa+UF8NKjqKErSrCeB6NT8bxzAX XKkX0oS1gSw92WeBHG1kBZiB9tn/Ut7Yd1Rn0i/YJK53F0Vcfx7GJnPw1HiaOE94XlSuCw8ZIUX D/863NEfPd8tCmaoAvrsXSBZlDqhNAcI8xwFQ0ploAdVbNRmNNV09Aw48nWjTh4MYpnbOmtaRop ZIdU+XHYNj3WKg8iMwYoKRLK0AxvbfqBRU9T/+5QekF2rwMuxU0zK7CMLhpU/e+cfYNI9QQeymm Feg+4SEAaGvbaUUhWI5uN94aN8qtCezio+Eil2NM3nDaRTERoFLtZhH5a5A86MkwiXtkApt2I5D OEC/XVmVCbBXkVq7eN1M+bee+VZ4arQV989SQ+LTl5yYWPwsH8HLYIfMrrjy1BVnfsgJb3zfJzj +hySuQIy6oZXVdaaxh1cBxMDBGPA40OhGLO69uyozVU1yzUl7wl6J8tTQeilKG6QWtHnUeluSwn eLhm X-Received: by 2002:a05:7301:1a08:b0:386:9f4c:e07f with SMTP id 5a478bee46e88-3869f4ce1d9mr14003091eec.14.1795594106521; Wed, 25 Nov 2026 00:08:26 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08: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 35/55] luaposix: upgrade 36.3 -> 39 Date: Wed, 25 Nov 2026 00:06:51 -0800 Message-ID: <20261125080732.2419614-41-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133038 - 37.0: Lua 5.5 support; setpid as root drops supplementary groups; errnum reporting fixes - 38: the undocumented posix.deprecated module and the legacy top-level posix.* APIs (exec, stat, uname, ...) are removed; new posix.time.tzset, posix.unistd.exece, WIFCONTINUED/WCONTINUED; getopt no longer overflows the Lua stack with many arguments - 38: the bundled build-aux/luke is gone; the build is described by the rockspec build table for the luarocks-build-luke backend - 39: needs std.normalize >= 5.1 for bit32 and no longer installs bit32; new posix.sys.stat.futimens/utimensat and nanosecond stat fields Fetch the standalone luke build tool (v0.9) alongside the source and generate a lukefile from the rockspec build table in do_configure, since OE has no LuaRocks. Pass CFLAGS to luke, which otherwise compiles with -O2 only. Track the release-v39 branch and add an upstream check, and RDEPEND on the new lua-std-normalize. No recipe in the layers uses the removed posix.* compatibility APIs. License-Update: copyright year updated to 2026. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../luaposix/luaposix_36.3.bb | 30 ---------- .../recipes-devtools/luaposix/luaposix_39.bb | 56 +++++++++++++++++++ 2 files changed, 56 insertions(+), 30 deletions(-) delete mode 100644 meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb create mode 100644 meta-oe/recipes-devtools/luaposix/luaposix_39.bb diff --git a/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb b/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb deleted file mode 100644 index e420c1a289..0000000000 --- a/meta-oe/recipes-devtools/luaposix/luaposix_36.3.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "luaposix is a POSIX binding for Lua." -LICENSE = "MIT" -HOMEPAGE = "https://github.com/luaposix/luaposix" -LIC_FILES_CHKSUM = "file://LICENSE;md5=9a2c76dbe2ca56cf57296af9c9995c27" - -DEPENDS += "lua-native lua virtual/crypt" - -SRC_URI = "git://github.com/luaposix/luaposix.git;nobranch=1;tag=v${PV};protocol=https \ -" -SRCREV = "e6b94b37c19c4bd19a7dc475a4f4cb56f61f5da9" -LUA_VERSION = "5.5" - -B = "${S}" - -inherit pkgconfig - -do_configure() { - sed -i "s/^version *= .*/version = '${PV}'/" ${S}/lukefile -} - -do_compile() { - ${S}/build-aux/luke LUA_INCDIR=${STAGING_INCDIR} -} - -do_install() { - ${S}/build-aux/luke PREFIX=${D}${prefix} INST_LIBDIR=${D}${libdir}/lua/${LUA_VERSION} install -} - -FILES:${PN} = "${datadir}/lua/${LUA_VERSION} \ - ${libdir}/lua/${LUA_VERSION}" diff --git a/meta-oe/recipes-devtools/luaposix/luaposix_39.bb b/meta-oe/recipes-devtools/luaposix/luaposix_39.bb new file mode 100644 index 0000000000..027239b72e --- /dev/null +++ b/meta-oe/recipes-devtools/luaposix/luaposix_39.bb @@ -0,0 +1,56 @@ +DESCRIPTION = "luaposix is a POSIX binding for Lua." +LICENSE = "MIT" +HOMEPAGE = "https://github.com/luaposix/luaposix" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3f4d11c0590d3adb0a38c88477af3598" + +DEPENDS += "lua-native lua virtual/crypt" + +SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release-v${PV};tag=v${PV};protocol=https;name=luaposix \ + git://github.com/gvvaughan/luke.git;branch=release-v0.9;tag=v0.9;protocol=https;name=luke;destsuffix=luke \ +" +SRCREV_luaposix = "71638fb00c93a38d64daeccdeecedf2a44498006" +SRCREV_luke = "b18fd6eef0af4380c081976b2e016c76956b571a" +SRCREV_FORMAT = "luaposix" + +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+(\.\d+)*)$" + +LUA_VERSION = "5.5" + +B = "${S}" + +LUKE = "${UNPACKDIR}/luke/build-aux/luke --file=lukefile.oe" + +inherit pkgconfig + +# luaposix only describes its build in the rockspec, so turn that into a lukefile +do_configure() { + cat ${S}/luaposix-${PV}-1.rockspec - > ${B}/lukefile.oe < X-Patchwork-Id: 105610 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37944.1795594108259398814 for ; Wed, 25 Nov 2026 00:08:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=VuuX+K+O; spf=pass (domain: gmail.com, ip: 74.125.82.172, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-3282db206d3so5126809eec.0 for ; Wed, 25 Nov 2026 00:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594108; x=1796198908; darn=lists.openembedded.org; h=content-transfer-encoding:content-type: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=UHVKVswZFyJkoScoT3lFX01VU/YJtqPY1/gHv29/tm8=; b=VuuX+K+Ojhq6PQUqp8L7gzpomxF+caYLYTUjJZoAAy0G49Ha4Zo9QdWP5xMmTE6E+k ElOJ10ttD9LDjEA8NQuM2+l1uxKayrVle8IcIl7aPujOBIuI6TQ6xXfwkdegCZhEHfs3 kdx/r/Dgh8G+MPgr/qaql7n8KnnvBobj/O2R3VC+0k5gtB0787QNOW0xbWAlFo3O0YKs Sp48oV9eXdayRcrKnOK5pvOPxAI5ysauCGvuXxdr85nF3rUy9miyt5/7RSUa0BSYK9Vi GBvtNlTLzvnCSVaNcRJV3Nvl3BdKOmo3vW4GX3RwTXvn8HPAxyLCsJNY0krX1sJwJspY M18w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594108; x=1796198908; h=content-transfer-encoding:content-type: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=UHVKVswZFyJkoScoT3lFX01VU/YJtqPY1/gHv29/tm8=; b=dBjkrhaWuChPw3zZdEGlP+gTULKqShWx3XEg95lbFrisvb23oUTQDL2jy7zKflMQao DktWsqrRhxMhD+6J2XtKDzwbwhQxQzQGTJrfrlOkw/06bjinvGRKP06s2P4DTRBSatj0 /pt8tMbzjPG6Ws27BWO43SbSZZTzgkRs2Hpqfz0RknSOrB6eHwZ/v+bAo8BC77Kuh4fv HvbwziSAYA944eJMJHTVpBHkTftSvazMEAGoEighwWuG+zNDFv3Y5MQcE6yGsndLp5a7 d5ntREgsN8JLfhqFS+ss90w1E/CW3HKJoeQCxCENx3DgJM7kJExq+LRRiHVToBSPwhrd i5eQ== X-Gm-Message-State: APuU4Z+z3tg2poqd9yuvFeJPdujjJsu+VjcZ2Rltg8BlL2+a+KOugkSd mH91dmta4cS6l4sgr2YdO7K5+HJS/uL9gns+PeSt5Lz3g92VHfKFSiW1w9batjcl X-Gm-Gg: AZFdTZfW1st/XvjsU+EFXytqNSv4h27J/xpEewS9H6pPG5rJXKd7WEqwBitHEurDJCP YCJqrtpwvSCAFPCi4zWglnES/0zmy++FiSF6LxXUWpdmtGl2/ziI9PmS1zK7wyYTKZU2h+YkuWZ fr5C//TMuBEOObA38xN7Shj5l7UsL9ehjd4HprMaZq3yiyJHYzTmCmVNYjw+wi7dpyK16GCbwRE yxN922Z9ieXfSk2LDRxocGkn6wH+uFvc4wnWhLv6xJCx2yT5YwtjTeDKBrb5zPPwWB+OrsQFhrM rF5qN2rjsYn5M10C1U5vEPJodQujfIij5xrFzmnMRtVzJZply1l1bZL/hZdIoIEQMlKZ92InnER WUkX8uIybMFOZBNO8qzFclE5wdtOV3dEQft0OhWlBntW1eqssbbf1LWQd8GZw/I9HupfwXx/OlZ qAoButArPMhxz1pVSMMS/lDlo0IcmJaVL8bagT9+lDLr7eSrcw0j/qH8pKEQHB+tCE87EZ67m5+ D2W/Ke5oCuIB7Uq0yVkUbLHqujRR/wwLHpPp+5ZmGn8bQ+nwl0vezLWj1ml+Ocq1/eMIg+XOPfU OINteUEjUzJUTxaLItPQ4NsZJZ4I0GUAVITi0YK8M5Fx3+7n3zeZyL81Kwz9v7smhAVbBKxQZQ5 J9mDOZOtUyr0eo5hHXhOlLZXX3NLWah6sHIqq8zGdC9fqJW/2dSR5nW0GWDOnD3f8LiQCXEuwrK KTa/UqImZvTnjxUVKokRIB1RcIA2Xv4Y+wSmTTLPz7VP/NdRMZzAzuEf4i/e5RnO91E7jWzW8jF 9NLOlxmZLDUueiE27LM1scPRBWfHl9zCtJ6N9uHS1xE/D06fCcLIKPw612Wsef34gGNz4t1dC1p FVJL X-Received: by 2002:a05:7300:d10e:b0:36f:a72d:29f with SMTP id 5a478bee46e88-38570152da4mr19026959eec.34.1795594107611; Wed, 25 Nov 2026 00:08:27 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08: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 36/55] fltk1.3: Add recipe Date: Wed, 25 Nov 2026 00:06:52 -0800 Message-ID: <20261125080732.2419614-42-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133039 TigerVNC does not support FLTK 1.4 yet and refuses to configure against it, so provide FLTK 1.3.11 as a compatibility library next to fltk 1.4, as Fedora and Arch do with their fltk1.3 packages. The recipe reuses the former fltk 1.3.11 recipe and its Fl_Preferences dlopen patch. To install side by side with fltk, headers go to ${includedir}/fltk1.3, the link symlinks and static libraries to ${libdir}/fltk1.3, the CMake files to ${datadir}/fltk1.3 and the config script is fltk-config1.3. Only the runtime libraries (soname libfltk*.so.1.3, which differs from 1.4's) are in ${libdir}. fluid is not built when cross-compiling, man pages are dropped as they duplicate fltk's, and Debian library renaming is disabled so that fltk1.3-dev does not become libfltk-dev like fltk-dev. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...xx-do-not-use-dlopen-in-case-glibc-s.patch | 41 ++++++++++ .../recipes-support/fltk/fltk1.3_1.3.11.bb | 82 +++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 meta-oe/recipes-support/fltk/fltk1.3/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch create mode 100644 meta-oe/recipes-support/fltk/fltk1.3_1.3.11.bb diff --git a/meta-oe/recipes-support/fltk/fltk1.3/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch b/meta-oe/recipes-support/fltk/fltk1.3/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch new file mode 100644 index 0000000000..0d47dac2dd --- /dev/null +++ b/meta-oe/recipes-support/fltk/fltk1.3/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch @@ -0,0 +1,41 @@ +From e76a062338063615c069fedc5a143cc38c34d9b2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Tue, 28 Feb 2017 01:00:21 +0100 +Subject: [PATCH] Fl_Preferences.cxx: do not use dlopen in case glibc's headers + are missing +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +| /home/work/x86_64-linux/fltk-native/1.3.4-1-r0/fltk-1.3.4-1/src/Fl_Preferences.cxx: In static member function ‘static int Fl_Plugin_Manager::load(const char*)’: +| /home/work/x86_64-linux/fltk-native/1.3.4-1-r0/fltk-1.3.4-1/src/Fl_Preferences.cxx:1741:27: error: ‘RTLD_LAZY’ was not declared in this scope +| dl = dlopen(filename, RTLD_LAZY); +| ^~~~~~~~~ +| /home/work/x86_64-linux/fltk-native/1.3.4-1-r0/fltk-1.3.4-1/src/Fl_Preferences.cxx:1741:36: error: ‘dlopen’ was not declared in this scope +| dl = dlopen(filename, RTLD_LAZY); +| ^ +| src/CMakeFiles/fltk.dir/build.make:1217: recipe for target 'src/CMakeFiles/fltk.dir/Fl_Preferences.cxx.o' failed + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + src/Fl_Preferences.cxx | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx +index 1233bb1..7857b9b 100644 +--- a/src/Fl_Preferences.cxx ++++ b/src/Fl_Preferences.cxx +@@ -1737,7 +1737,7 @@ int Fl_Plugin_Manager::load(const char *filename) { + HMODULE dl = LoadLibrary(filename); + #else + void * dl = NULL; +-# if HAVE_DLSYM ++# if HAVE_DLSYM && HAVE_DLFCN_H + dl = dlopen(filename, RTLD_LAZY); + # endif + #endif +-- +2.9.3 + diff --git a/meta-oe/recipes-support/fltk/fltk1.3_1.3.11.bb b/meta-oe/recipes-support/fltk/fltk1.3_1.3.11.bb new file mode 100644 index 0000000000..6129954ef2 --- /dev/null +++ b/meta-oe/recipes-support/fltk/fltk1.3_1.3.11.bb @@ -0,0 +1,82 @@ +SUMMARY = "FLTK 1.3 compatibility library" +DESCRIPTION = "FLTK 1.3 libraries for applications that do not support FLTK 1.4 yet. \ +They install side by side with fltk: headers in ${includedir}/fltk1.3, link \ +libraries in ${libdir}/fltk1.3, CMake files in ${datadir}/fltk1.3 and \ +fltk-config1.3." +HOMEPAGE = "https://www.fltk.org" +SECTION = "libs" +LICENSE = "LGPL-2.0-only AND LicenseRef-FLTK" +LIC_FILES_CHKSUM = "file://COPYING;md5=f6b26344a24a941a01a5b0826e80b5ca" + +DEPENDS = "alsa-lib zlib jpeg libpng libxext libxft" + +SRC_URI = " \ + https://github.com/fltk/fltk/releases/download/release-${PV}/fltk-${PV}-source.tar.bz2 \ + file://0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch \ +" +SRC_URI[sha256sum] = "ca2e144e5f89173cd094cc273940d56230b1bf613083a0792e6406dc191cd99f" + +S = "${UNPACKDIR}/fltk-${PV}" + +UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php" +UPSTREAM_CHECK_REGEX = "fltk-(?P1\.3(\.\d+)+)-source\.tar" + +inherit cmake pkgconfig features_check binconfig +REQUIRED_DISTRO_FEATURES = "x11" + +BINCONFIG_GLOB = "fltk-config1.3" + +TARGET_CC_ARCH += "${LDFLAGS} -DXFT_MAJOR=2" + +FLTK13_RELLIBDIR = "${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')}/fltk1.3" +FLTK13_RELINCDIR = "${@os.path.relpath(d.getVar('includedir'), d.getVar('prefix') + '/')}/fltk1.3" + +# fluid is not built when cross-compiling, so nothing clashes in ${bindir} or ${datadir} +EXTRA_OECMAKE = " \ + -DOPTION_BUILD_SHARED_LIBS=ON \ + -DOPTION_USE_THREADS=ON \ + -DFLTK_BUILD_TEST=OFF \ + -DOPTION_USE_XDBE=ON \ + -DOPTION_USE_XFT=ON \ + -DOPTION_BUILD_HTML_DOCUMENTATION=OFF \ + -DOPTION_BUILD_PDF_DOCUMENTATION=OFF \ + -DCMAKE_INSTALL_LIBDIR=${FLTK13_RELLIBDIR} \ + -DCMAKE_INSTALL_INCLUDEDIR=${FLTK13_RELINCDIR} \ +" + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" + +PACKAGECONFIG[cairo] = "-DOPTION_CAIRO=ON,-DOPTION_CAIRO=OFF,cairo" +PACKAGECONFIG[opengl] = "-DOPTION_USE_GL=ON,-DOPTION_USE_GL=OFF,virtual/libgl" +PACKAGECONFIG[xinerama] = "-DOPTION_USE_XINERAMA=ON,-DOPTION_USE_XINERAMA=OFF,libxinerama" +PACKAGECONFIG[xfixes] = "-DOPTION_USE_XFIXES=ON,-DOPTION_USE_XFIXES=OFF,libxfixes" +PACKAGECONFIG[xcursor] = "-DOPTION_USE_XCURSOR=ON,-DOPTION_USE_XCURSOR=OFF,libxcursor" + +do_install:append() { + # Runtime libraries go to ${libdir} for the loader; the link symlinks and static libraries stay in fltk1.3/ + mv ${D}${libdir}/fltk1.3/lib*.so.1.3* ${D}${libdir}/ + for lib in ${D}${libdir}/fltk1.3/lib*.so; do + name=$(basename $lib) + ln -sf ../$name.1.3 $lib + ln -sf ../$name.1.3 $lib.1.3 + ln -sf ../$name.${PV} $lib.${PV} + done + + mv ${D}${bindir}/fltk-config ${D}${bindir}/fltk-config1.3 + mv ${D}${datadir}/fltk ${D}${datadir}/fltk1.3 + sed -i -e 's,"${prefix}/include","${includedir}/fltk1.3",' ${D}${datadir}/fltk1.3/FLTKConfig.cmake + sed -i -e 's,${TMPDIR},,g' ${D}${bindir}/fltk-config1.3 ${D}${datadir}/fltk1.3/*.cmake + + # Manual pages are the same as those of fltk + rm -rf ${D}${mandir} +} + +FILES:${PN}-staticdev += "${libdir}/fltk1.3/*.a" +FILES:${PN}-dev += " \ + ${bindir}/fltk-config1.3 \ + ${libdir}/fltk1.3 \ + ${datadir}/fltk1.3 \ +" + +# Keep the package names apart from those of fltk +AUTO_LIBNAME_PKGS = "" From patchwork Wed Nov 25 08:06:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105603 Received: from mail-dy1-f178.google.com (mail-dy1-f178.google.com [74.125.82.178]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37945.1795594109302407563 for ; Wed, 25 Nov 2026 00:08:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=RiFFcpP+; spf=pass (domain: gmail.com, ip: 74.125.82.178, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f178.google.com with SMTP id 5a478bee46e88-33fb4680717so13984571eec.1 for ; Wed, 25 Nov 2026 00:08:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594109; x=1796198909; 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=BrZ6mRY2QzlL2Zhis8Xicmtc5VRRq3RYd6wvKPYJl7U=; b=RiFFcpP+1qgmqmP0TtmQn7DD6jkkkgJdUr4c4Th91PB3LAyMmZzIWogh0KuoTmCQTl UDQhShkXCv5X26LJ54KoTbzKC0RTEm1ej/Xj1V+Hsh1WVoH+PorOCvwl2ghdx1+kQty1 jbI812yI60hLOQvC5K4PLF1Z85Zwkunl9EIsTZTvMYqWjbHO8X4/JnHDFsteKm0Fac0B qMJ7/wUDK3cV9EgnswXeP3Z4H53QSH3YzY6hI1zHZx0OTdWcCLTj0jZg43SolRub6AZZ vD+pjkIGikntQZb8RihGRdNojZIpv7LEseyDl9j43k55p1snfH7r0auqUWM4svcp5lUF XU9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594109; x=1796198909; 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=BrZ6mRY2QzlL2Zhis8Xicmtc5VRRq3RYd6wvKPYJl7U=; b=GZZa53nf5tViqqjtfXTFvsSu/6n1oHo1DA2zqsRifW3w2+YSuGsUkab/I7Aa5ZbLlF fWz9nggR1Sa03aMRpA7L1eGoL42KkRBH92sRkIDUuIN7jqBsL3+9LggBAXpCXPaS8xs+ oymzEtUqeAKxngSouWq/IBWxiBmRF6cdTwsNjK9DFBU6DmQ3kNxMrMbnBXmjaJPJKmH7 JJlsvKCRyUS7En/T+nABVR4feEt/pUA2NPvllIk98uFAaBpMGhpcT48sd1auKSWDJxZN qSVMf98Sfzz9pDXiPaF+hxVdqwj9Lu8RIkMniiuDUdwqp5jq877uTyJum/lrKp3oGNcV WMkg== X-Gm-Message-State: APuU4Z/WI0BBnqzE3Uab68s3fZnKCLrjzrgjiB5r/K1sbK/Ja+8WSDp2 /wEHmggdtbGVtZuOrNbeF2IDehgDgpGDyufOU1IXcDLxeaVerM48AsgvKTH2JZKE X-Gm-Gg: AZFdTZfs12edVRAS5+r2dQXKH/PTPBVnFfI+fjuBdK4S1ZyJGw1ppR6gchm2G8ss9Ih FkbT3agRcAZR1iKuhqCgKXuQI7ZKMvKg73b5GKr5g+BtkxmtZY7ogNPHRzQuaJaXplJ9ma7NgKv fZMGtvwRCuLpTdDP832uiZr0d1strM0bOIx0eYIb0ABOgRxnyl4Ky/IW4cGjnafnEbANNNqTUxt y1eXJ8VamjpwT9g7I93BZ9rM6dwERs8b/Ltf+rFET3IYten36APxE3fH4dzYEJYyqtGzGS8TBEQ bM/NYyhBJOgmK17DQiRXzRmRPJ0M45x8xtG7pkpxKWqBBV7tcJ8rYVQDsPwW8FFXXByj7Lggdn5 VgCDCSbMxBc7Q1D2tY6wr90y8QZZEdkNeDcKTnRNu4TKLntk2sHH5JPWENU4EBbh2zBdBHxG2AD O7kDRcjZKWSJj1+lBOFXgfOsTHo51O4/M/G4mXu/Vf2earl28vxUYXqUboyWjSejR4+5m4MNY1+ 9UdJxxVj3vL93u/gsqTX+SD11o2QbWk4sRQcn8zLlVndhKF9fc6TuoZvWNA9zlqaPvVy8LMQ5vt JyIakgfxtHnddm4FqDKfZqNGzupi53sxQNt4b0DRKIyAzqnpIs4j5HypB3QuLIW8iAyey7co8Em P0DyeXnX0f0v7vk13LWWxFKvw1qhGheNZGhyOtzT67+i/fRWgiy3S/IFwE8DcSz5+B1sN6gRzzI 6cr2tqgsxeCe5kHBdAGBzH4sH58bgmrlfkVbVXr7p/gnzz05NibbphQJvcfvojWbvmkeBPZF2NE qd191Jq/i/XUZ+5cFDSwmCgMEeFpw9IUryXZv1hscHYDzogiV7TMrayMDEKdEbNp0Y5j1/f5uPM ZRm/ X-Received: by 2002:a05:693c:894c:20b0:386:b566:85e with SMTP id 5a478bee46e88-386b5660d73mr8265487eec.16.1795594108633; Wed, 25 Nov 2026 00:08:28 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08: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 37/55] tigervnc: Build the viewer with fltk1.3 Date: Wed, 25 Nov 2026 00:06:53 -0800 Message-ID: <20261125080732.2419614-43-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133040 fltk is now 1.4, and TigerVNC (even upstream master) only supports FLTK 1.3: its CMake fails with "Incompatible version of FLTK". Upstream has not ported to 1.4 because of rendering issues, so, like Fedora and Arch, build against the fltk1.3 compatibility library. Depend on fltk1.3 and pass its include directory and libraries to CMake's FindFLTK, which otherwise searches the default paths. Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only; the x.y.9x tags are betas. oe-core xorg libraries now depend on util-macros-native instead of util-macros, so it no longer reaches the sysroot through them; depend on util-macros-native directly for autoreconf of the bundled X server. Update XORG_PV to 21.1.26 to match oe-core. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../recipes-graphics/tigervnc/tigervnc_1.16.2.bb | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.2.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.2.bb index c96ba2f40f..d8f7e0ee9a 100644 --- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.2.bb +++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.2.bb @@ -2,7 +2,7 @@ DESCRIPTION = "TigerVNC remote display system" HOMEPAGE = "http://www.tigervnc.com/" LICENSE = "GPL-2.0-or-later" SECTION = "x11/utils" -DEPENDS = "gettext-native xserver-xorg gnutls nettle jpeg pixman libxtst fltk libpam libx11 libxdamage libxfixes libxrandr xkbcomp" +DEPENDS = "gettext-native util-macros-native xserver-xorg gnutls nettle jpeg pixman libxtst fltk1.3 libpam libx11 libxdamage libxfixes libxrandr xkbcomp" RDEPENDS:${PN} = "coreutils hicolor-icon-theme perl bash xkbcomp" LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3" @@ -23,13 +23,15 @@ SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=master;protocol=https \ file://0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \ file://0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \ " +# x.y.90+ tags are betas +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+\.\d+\.[0-8]?\d)$" # Keep sync with xorg-server in oe-core XORG_PN ?= "xorg-server" -XORG_PV ?= "21.1.24" +XORG_PV ?= "21.1.26" SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.xz;name=xorg" XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}" -SRC_URI[xorg.sha256sum] = "1a4eb36ca65cc3b1b936566d677a9786e13c11cd5806e951ac55f3f5ce3984af" +SRC_URI[xorg.sha256sum] = "c8609f9cdafde14de7ec7cb406dac9507add1d536df8d3c3e3d3d9c1cd864066" # It is the directory containing the Xorg source for the # machine on which you are building TigerVNC. @@ -76,6 +78,14 @@ EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb \ EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_system_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}" +# The viewer needs FLTK 1.3; point CMake's FindFLTK at the side-by-side fltk1.3 install +EXTRA_OECMAKE += " \ + -DFLTK_INCLUDE_DIR=${STAGING_INCDIR}/fltk1.3 \ + -DFLTK_BASE_LIBRARY_RELEASE=${STAGING_LIBDIR}/fltk1.3/libfltk.so \ + -DFLTK_IMAGES_LIBRARY_RELEASE=${STAGING_LIBDIR}/fltk1.3/libfltk_images.so \ + -DFLTK_FORMS_LIBRARY_RELEASE=${STAGING_LIBDIR}/fltk1.3/libfltk_forms.so \ +" + do_configure:append () { autotools_do_configure } From patchwork Wed Nov 25 08:06:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105604 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37946.1795594110931847296 for ; Wed, 25 Nov 2026 00:08:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=I6KwtIF/; 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-38692f62b22so6065982eec.0 for ; Wed, 25 Nov 2026 00:08:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594110; x=1796198910; 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=5tHQ8xLNmOM5UCVgqyIY/UCRMiTDkpAQ565djX7vEh8=; b=I6KwtIF/d0vvVtCpXiEd6LcFsx94LGyvtQm5JgQEjCNBKJNlXXZJZqm/GtAI9f/g01 /Y6rG7VWN9yooCXUju/G/l8B8gMNIXpKyT2YdEedVCkA/OLaf9SDJl5BcdKOcRhyp22G e+WR4TRa1GdzyQQUbN9aoDVsWEPON1s2fmqBt9Upgy1lqcrtilXZ87dkDBRuECww4Nig cmG7pZKZWLlpgpcn8cMCtIG5WikUO07xxRquXai66I/6ap/ONLK9cxhzd2pK8Tlbz+w1 nixRvhMBbA94u9H+j6qgI1hqPsUS/A+vGeOgsz+Vd7vkH/SOvoXO7RhqGvGCBw3jccAy Y5wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594110; x=1796198910; 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=5tHQ8xLNmOM5UCVgqyIY/UCRMiTDkpAQ565djX7vEh8=; b=KW4O7S7hgRbCQi/07Ov9u2u3hyLkSo/a/v2URVWs+6EZvrih6ArJeMMTwRaf/XC7oM KfsrhxRYfK6hJ8x8eIql6xY7BfD77f5F1b2Q1w6Gw+Oj0Y+PFQq/xb5M/jHp7id0Ozb6 +45ehyRM8FxFG4GsszaFEyj5zx53Zg03Yh2gHSrVmyA5FvMGclSH2J0GS+MsqN4YGw92 dzPTU9Un0L8/7OA0CacRDahjEuJlMDzEzFo2cY9SVClElASbCrbLFvNwNM3zAYbhpsiQ peSbQ4YHE/ZrRk9vmT0GMhmJpiY8np7hSbj1gT+dbXOp6bxJk+Yn1Sp8KtURdqwUfSdx FnEA== X-Gm-Message-State: APuU4Z9Twrtumf1w5Jy3akjqHXoHmr3OqH+V8gNr8j12nrZ+NxJ5sDdH WG8cLO1ihrHiv825WaVIt1y/WrZ9dnRCMmQpoVX8EIDuzZnnPboCWXQw5bhwdT9F X-Gm-Gg: AZFdTZdHvShkLHRbLQLNYfvtOfZ4VbeKRk3XSejvTpW4EgeiFBjJ6BMR2xCFsgPSMFH oPvo6WjpYDqTCauX/tgDZxO/YST7lgThAhnj1CUZA/hoe7mUFLSrqVila0Rfa8wjc43nZ5miQhY kpk1kzLxGy7Y3yuEv58qyJ7CwgmOJwT6pdQK4X5pyEWe9xRhtBnkU8j8uwVrbe2smhZjQw/qG6n yfTxr4EAKyi49lmYGG/0SnzLjpaspWpF0/kGE+cOjkCacNOh2Wsk5RbHsBF9olMwAPF6vabCuJs QsNZf6u4egOGL8b3SrN+8MdBXfXP+f/9Egy6HwzMdIk2+9thLu9MwNORN0jf48eh7+n3EqrYr1n ztfUCmH709w8HyqC8R1oKGwC8EK4ZdxQX4LRBAsO4a3AxK+hOe2ASYmO5n6fVJAJZYj9lyQBbsL hH3obLpZDoVsPwBqlH8aTVyFo4Pv08DTfImVyI6e5BZRPTz50XKstynQcjrCdcRUMJuKVCvMhQJ OZ0txufM6ffVg7VepSpDI9IRFaGNlC+1JW4w5mOMarnGCHUmrWd++/530o8D4EdUwNV3j1A21ON +EEmlU80NIDsbRiliEns3k7EkukRijvdxHOuQl1XUBMLs2e6+rpDMOS/IJnYGUOrAYyfEL1fXw4 /TcCCr46l+ap2m1QyPuxIqF/zS/SaylEzluvGxjnND7eq4oZrXaN7C4J81ns0G2CMwY8MpkO/8u /PyKLYx4xRPe9XK6mm7Yvven9Ajtyc6UCX1RMbUkcnl/2FalFmqgkRAnF0z9B+UkeHFK/AgbjHO CPib4xfAhHlQd0TnKMZLapTlN491IjpRC6ZdsMo38XSQGYHhhZmJGqlM9e3k1IFRADXIx4M/5HI pN18 X-Received: by 2002:a05:7300:f0c2:b0:386:688:7f25 with SMTP id 5a478bee46e88-386068880f5mr17128067eec.18.1795594110016; Wed, 25 Nov 2026 00:08:30 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:29 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 38/55] emacs: upgrade 30.2 -> 31.1 Date: Wed, 25 Nov 2026 00:06:54 -0800 Message-ID: <20261125080732.2419614-44-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:34 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133041 Upstream changes (etc/NEWS): - The unexec dumper is removed, and the old 'ctags' program is no longer built or installed (etags remains). - New configure option --with-systemduserunitdir. - xterm-mouse-mode is on by default in compatible terminals; child frames are supported on TTY frames. - site-start.el now loads before the early init file. - Org updated to 9.8; IDLWAVE moved to GNU ELPA. Drop the tree-sitter 0.26 support patch, it is part of 31.1. Refresh use-emacs-native-tools-for-cross-compiling.patch: the dmpstruct.h rule now calls $(AWK) instead of awk, so the first src/Makefile.in hunk no longer applied. The other patches apply without fuzz. The recipe already uses --with-dumping=none, so the unexec removal does not affect it. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../emacs/{emacs_30.2.bb => emacs_31.1.bb} | 7 +- ...t-Tree-sitter-version-0.26-and-later.patch | 118 ------------------ ...acs-native-tools-for-cross-compiling.patch | 90 ++++++------- 3 files changed, 47 insertions(+), 168 deletions(-) rename meta-oe/recipes-support/emacs/{emacs_30.2.bb => emacs_31.1.bb} (98%) delete mode 100644 meta-oe/recipes-support/emacs/files/0001-Support-Tree-sitter-version-0.26-and-later.patch diff --git a/meta-oe/recipes-support/emacs/emacs_30.2.bb b/meta-oe/recipes-support/emacs/emacs_31.1.bb similarity index 98% rename from meta-oe/recipes-support/emacs/emacs_30.2.bb rename to meta-oe/recipes-support/emacs/emacs_31.1.bb index 839036d987..bf2549f025 100644 --- a/meta-oe/recipes-support/emacs/emacs_30.2.bb +++ b/meta-oe/recipes-support/emacs/emacs_31.1.bb @@ -4,10 +4,7 @@ HOMEPAGE = "https://www.gnu.org/software/emacs/" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" -SRC_URI = " \ - ${GNU_MIRROR}/emacs/${BP}.tar.xz \ - file://0001-Support-Tree-sitter-version-0.26-and-later.patch \ -" +SRC_URI = "${GNU_MIRROR}/emacs/${BP}.tar.xz" UPSTREAM_CHECK_URI = "${GNU_MIRROR}/emacs/" SRC_URI:append:class-target = " \ @@ -16,7 +13,7 @@ SRC_URI:append:class-target = " \ file://leim_dont-unexport-EMACSDATA.patch \ " -SRC_URI[sha256sum] = "b3f36f18a6dd2715713370166257de2fae01f9d38cfe878ced9b1e6ded5befd9" +SRC_URI[sha256sum] = "1da5790d9580c81932b5bf700633114468da7b3412d69faa767daebf974f4586" CVE_STATUS[CVE-2007-6109] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." diff --git a/meta-oe/recipes-support/emacs/files/0001-Support-Tree-sitter-version-0.26-and-later.patch b/meta-oe/recipes-support/emacs/files/0001-Support-Tree-sitter-version-0.26-and-later.patch deleted file mode 100644 index f771e56206..0000000000 --- a/meta-oe/recipes-support/emacs/files/0001-Support-Tree-sitter-version-0.26-and-later.patch +++ /dev/null @@ -1,118 +0,0 @@ -From d587ce8c65a0e22ab0a63ef2873a3dfcfbeba166 Mon Sep 17 00:00:00 2001 -From: Eli Zaretskii -Date: Fri, 17 Oct 2025 14:15:41 +0300 -Subject: [PATCH] Support Tree-sitter version 0.26 and later - -* src/treesit.c (init_treesit_functions) -[TREE_SITTER_LANGUAGE_VERSION >= 15]: Define prototype for, and -load 'ts_language_abi_version' instead of the deprecated (and -removed in tree-sitter 0.26) 'ts_language_version'. -(ts_language_abi_version) [TREE_SITTER_LANGUAGE_VERSION >= 15]: -Define on WINDOWSNT, instead of 'ts_language_version'. -(treesit_language_abi_version): New compatibility function. -(treesit_load_language, Ftreesit_language_abi_version): Use -'treesit_language_abi_version' instead of 'ts_language_version'. -(Bug#79627) - -Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d587ce8c65a0e22ab0a63ef2873a3dfcfbeba166] - -Signed-off-by: Markus Volk - -The hunk for treesit_load_language was applied by hand, the code around -it differs in 30.2. ---- - src/treesit.c | 36 ++++++++++++++++++++++++++++++++++-- - 1 file changed, 34 insertions(+), 2 deletions(-) - -diff --git a/src/treesit.c b/src/treesit.c ---- a/src/treesit.c -+++ b/src/treesit.c -@@ -34,7 +34,11 @@ - # include "w32common.h" - - /* In alphabetical order. */ -+#if TREE_SITTER_LANGUAGE_VERSION >= 15 -+#undef ts_language_abi_version -+#else - #undef ts_language_version -+#endif - #undef ts_node_child - #undef ts_node_child_by_field_name - #undef ts_node_child_count -@@ -89,7 +93,11 @@ - #undef ts_tree_get_changed_ranges - #undef ts_tree_root_node - -+#if TREE_SITTER_LANGUAGE_VERSION >= 15 -+DEF_DLL_FN (uint32_t, ts_language_abi_version, (const TSLanguage *)); -+#else - DEF_DLL_FN (uint32_t, ts_language_version, (const TSLanguage *)); -+#endif - DEF_DLL_FN (TSNode, ts_node_child, (TSNode, uint32_t)); - DEF_DLL_FN (TSNode, ts_node_child_by_field_name, - (TSNode, const char *, uint32_t)); -@@ -166,7 +174,11 @@ - if (!library) - return false; - -+#if TREE_SITTER_LANGUAGE_VERSION >= 15 -+ LOAD_DLL_FN (library, ts_language_abi_version); -+#else - LOAD_DLL_FN (library, ts_language_version); -+#endif - LOAD_DLL_FN (library, ts_node_child); - LOAD_DLL_FN (library, ts_node_child_by_field_name); - LOAD_DLL_FN (library, ts_node_child_count); -@@ -224,7 +236,11 @@ - return true; - } - -+#if TREE_SITTER_LANGUAGE_VERSION >= 15 -+#define ts_language_abi_version fn_ts_language_abi_version -+#else - #define ts_language_version fn_ts_language_version -+#endif - #define ts_node_child fn_ts_node_child - #define ts_node_child_by_field_name fn_ts_node_child_by_field_name - #define ts_node_child_count fn_ts_node_child_count -@@ -632,6 +648,22 @@ - } - } - -+/* This function is a compatibility shim. Tree-sitter 0.25 introduced -+ ts_language_abi_version as a replacement for ts_language_version, and -+ tree-sitter 0.26 removed ts_language_version. Here we use the fact -+ that 0.25 bumped TREE_SITTER_LANGUAGE_VERSION to 15, to use the new -+ function instead of the old one, when Emacs is compiled against -+ tree-sitter version 0.25 or newer. */ -+static uint32_t -+treesit_language_abi_version (const TSLanguage *ts_lang) -+{ -+#if TREE_SITTER_LANGUAGE_VERSION >= 15 -+ return ts_language_abi_version (ts_lang); -+#else -+ return ts_language_version (ts_lang); -+#endif -+} -+ - /* Load the dynamic library of LANGUAGE_SYMBOL and return the pointer - to the language definition. - -@@ -746,7 +778,7 @@ - { - *signal_symbol = Qtreesit_load_language_error; - *signal_data = list2 (Qversion_mismatch, -- make_fixnum (ts_language_version (lang))); -+ make_fixnum (treesit_language_abi_version (lang))); - return NULL; - } - return lang; -@@ -817,7 +849,7 @@ - &signal_data); - if (ts_language == NULL) - return Qnil; -- uint32_t version = ts_language_version (ts_language); -+ uint32_t version = treesit_language_abi_version (ts_language); - return make_fixnum((ptrdiff_t) version); - } - } diff --git a/meta-oe/recipes-support/emacs/files/use-emacs-native-tools-for-cross-compiling.patch b/meta-oe/recipes-support/emacs/files/use-emacs-native-tools-for-cross-compiling.patch index a1b6ea6ddf..c661be1c12 100644 --- a/meta-oe/recipes-support/emacs/files/use-emacs-native-tools-for-cross-compiling.patch +++ b/meta-oe/recipes-support/emacs/files/use-emacs-native-tools-for-cross-compiling.patch @@ -14,20 +14,55 @@ version of the recipe instead. Signed-off-by: Alejandro Enedino Hernandez Samaniego -Index: emacs-29.1/src/Makefile.in -=================================================================== ---- emacs-29.1.orig/src/Makefile.in -+++ emacs-29.1/src/Makefile.in -@@ -542,7 +542,7 @@ ifeq ($(CHECK_STRUCTS),true) +diff --git a/Makefile.in b/Makefile.in +index 04c21fc..912d455 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -320,7 +320,7 @@ GLIB_COMPILE_SCHEMAS = glib-compile-schemas + TRANSFORM = @program_transform_name@ + + # Prevent any settings in the user environment causing problems. +-unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH ++unexport EMACSDOC EMACSPATH + + # What emacs should be called when installed. + EMACS_NAME = `echo emacs | sed '$(TRANSFORM)'` +diff --git a/lisp/Makefile.in b/lisp/Makefile.in +index 1142147..f1cd99b 100644 +--- a/lisp/Makefile.in ++++ b/lisp/Makefile.in +@@ -53,7 +53,7 @@ FIND_DELETE = @FIND_DELETE@ + # We never change directory before running Emacs, so a relative file + # name is fine, and makes life easier. If we need to change + # directory, we can use emacs --chdir. +-EMACS = ../src/emacs${EXEEXT} ++EMACS = bootstrap-emacs + + # Command line flags for Emacs. + +@@ -112,7 +112,7 @@ MAIN_FIRST = ./emacs-lisp/eieio.el ./emacs-lisp/eieio-base.el \ + ./org/oc.el ./org/ol.el ./emacs-lisp/cl-lib.el + + # Prevent any settings in the user environment causing problems. +-unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH ++unexport EMACSDOC EMACSPATH + + # The actual Emacs command run in the targets below. + emacs = '$(EMACS)' $(EMACSOPT) +diff --git a/src/Makefile.in b/src/Makefile.in +index 111f94f..d30c854 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -518,7 +518,7 @@ ifeq ($(CHECK_STRUCTS),true) pdumper.o: dmpstruct.h endif dmpstruct.h: $(srcdir)/dmpstruct.awk -dmpstruct.h: $(libsrc)/make-fingerprint$(EXEEXT) $(dmpstruct_headers) +dmpstruct.h: $(dmpstruct_headers) - $(AM_V_GEN)POSIXLY_CORRECT=1 awk -f $(srcdir)/dmpstruct.awk \ + $(AM_V_GEN)POSIXLY_CORRECT=1 $(AWK) -f $(srcdir)/dmpstruct.awk \ $(dmpstruct_headers) > $@ -@@ -651,8 +651,7 @@ +@@ -627,8 +627,7 @@ SYSTEM_TYPE = @SYSTEM_TYPE@ ## Strictly speaking, emacs does not depend directly on all of $lisp, ## since not all pieces are used on all platforms. But DOC depends ## on all of $lisp, and emacs depends on DOC, so it is ok to use $lisp here. @@ -37,7 +72,7 @@ Index: emacs-29.1/src/Makefile.in $(lispsource)/international/charprop.el ${charsets} ifeq ($(SYSTEM_TYPE),cygwin) find ${top_builddir} -name '*.eln' | rebase -v -O -T - -@@ -695,7 +695,7 @@ endif +@@ -663,7 +662,7 @@ endif $(etc)/DOC: $(libsrc)/make-docfile$(EXEEXT) $(doc_obj) $(AM_V_GEN)$(MKDIR_P) $(etc) $(AM_V_at)rm -f $(etc)/DOC @@ -46,7 +81,7 @@ Index: emacs-29.1/src/Makefile.in $(SOME_MACHINE_OBJECTS) $(doc_obj) > $(etc)/DOC $(libsrc)/make-docfile$(EXEEXT) $(libsrc)/make-fingerprint$(EXEEXT): \ -@@ -712,7 +712,7 @@ buildobj.h: Makefile +@@ -680,7 +679,7 @@ buildobj.h: Makefile GLOBAL_SOURCES = $(base_obj:.o=.c) $(NS_OBJC_OBJ:.o=.m) gl-stamp: $(libsrc)/make-docfile$(EXEEXT) $(GLOBAL_SOURCES) @@ -55,7 +90,7 @@ Index: emacs-29.1/src/Makefile.in $(AM_V_at)$(top_srcdir)/build-aux/move-if-change globals.tmp globals.h $(AM_V_at)echo timestamp > $@ -@@ -726,7 +726,7 @@ $(LIBEGNU_ARCHIVE): $(config_h) +@@ -694,7 +693,7 @@ $(LIBEGNU_ARCHIVE): $(config_h) $(MAKE) -C $(dir $@) all ifeq ($(HAVE_PDUMPER),yes) @@ -64,38 +99,3 @@ Index: emacs-29.1/src/Makefile.in else MAKE_PDUMPER_FINGERPRINT = endif -Index: emacs-29.1/lisp/Makefile.in -=================================================================== ---- emacs-29.1.orig/lisp/Makefile.in -+++ emacs-29.1/lisp/Makefile.in -@@ -53,7 +53,7 @@ FIND_DELETE = @FIND_DELETE@ - # We never change directory before running Emacs, so a relative file - # name is fine, and makes life easier. If we need to change - # directory, we can use emacs --chdir. --EMACS = ../src/emacs${EXEEXT} -+EMACS = bootstrap-emacs - - # Command line flags for Emacs. - -@@ -109,7 +109,7 @@ MAIN_FIRST = ./emacs-lisp/eieio.el ./ema - ./org/oc.el ./org/ol.el ./emacs-lisp/cl-lib.el - - # Prevent any settings in the user environment causing problems. --unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH -+unexport EMACSDOC EMACSPATH - - # The actual Emacs command run in the targets below. - emacs = '$(EMACS)' $(EMACSOPT) -Index: emacs-29.1/Makefile.in -=================================================================== ---- emacs-29.1.orig/Makefile.in -+++ emacs-29.1/Makefile.in -@@ -328,7 +328,7 @@ GLIB_COMPILE_SCHEMAS = glib-compile-sche - TRANSFORM = @program_transform_name@ - - # Prevent any settings in the user environment causing problems. --unexport EMACSDATA EMACSDOC EMACSLOADPATH EMACSPATH -+unexport EMACSDOC EMACSPATH - - # What emacs should be called when installed. - EMACS_NAME = `echo emacs | sed '$(TRANSFORM)'` From patchwork Wed Nov 25 08:06:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105605 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.37952.1795594112226424314 for ; Wed, 25 Nov 2026 00:08:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=EaTvX5Kf; 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-385d8a00598so8057846eec.1 for ; Wed, 25 Nov 2026 00:08:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594112; x=1796198912; 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=mD0QiopVbxgEZZ+UKhowndzm1uN5MCeiyWIJtdUAJ2c=; b=EaTvX5Kfu6L3LcO3rWtMJcUsflCbChVYT+0UIpHKRlOsYKKAA1JK+yNhJUGqsQfEXM lPei7G7mqNoNuO64Ts9qmEeE/oN5A1z+XgHbV1MZpTw+BlD/MX13GCndECxEAo+aiBKG MRStDL4UC1oy3gpwAxU4X3PhQxl6rUbjU8+StGv8yRrHrgm/r7UddJeZN4CXD5+WEtdX NIOmh0arTqXTv5wRf5pYkfC7LQ08BOe3NgS5b1XbtmJkg+tqviwCriAVpYAoUbq7x1Gt V/Ga69F8tm+jcAsmR5BvWdVSctXS2FKciBiyPRlAv+X46yoGFZzH6rlJgEk0MMqsfp6w YBYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594112; x=1796198912; 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=mD0QiopVbxgEZZ+UKhowndzm1uN5MCeiyWIJtdUAJ2c=; b=vmxyvNxSjbwgts01eAzb2cqgKX1jQJFETg0vDt+F60GXNaBuSbRRwKlZl25HH4II5G GWVrERvSF7q03g3LHraiYIGlNH2dwPtUlWvRxDWCdAmt7G4L66nPAB7qksdFIksNGvhE Btv+VnjI3MUNUmtQWW34ly4O3fY2jjx/JK14JbZ5WrWbbEGsI8BEStavPjx60VjXGMnw y+IqFiWdEu0D2Q/TEcmk59BGkdTtdHC/u3XsF360F66+Tmns3XGTGSqYt5hu2uj1sIh9 pf+7U3zBAWHt+uPvLno2HVlWfhZftWVArCd5AqDV0Cf3lIoV/S1DQgNKXXHpBNdbkDa0 UGdQ== X-Gm-Message-State: APuU4Z83bA5yB+Wy8nbIVMh1KlDpqY36NPRZOVnNYdmJFX4gI6mfkNN+ AO9LZiaJo8UtETqJ/o6eoPG8af1npevMibLzox/Gv+ZuwQslPzSS0pzuTD/dvWEQ X-Gm-Gg: AZFdTZefxsVeyOj4vNqVD3aUrGwmmdO97YdzN9RH9I9915iUpwA2zb1Eo1mjC60JJJ6 jPxIsGQoYLIt73laB+OwhjJzqLCSvnQufzee3OCeRZr40fyHszDwO6UdJJjIkmWa0FOfj+kMDlI wLQqbZGodRDOlD5/cPZYC+jUhKa9TE37ufxlMCtnczYDe2d6AAWBC/cqhVdFpqdNGWwcnlnWn/P qQyOqMCcoH8d8rnME7dR1AU6CWOlJYZeH1bAVExAgVB9m0bGjt6uTKQ2CQOPJGvVXoSMRIWUzUk OpbV7h2b36Lku5OD2yTPXmvvr53QBB8hjkiGkXJWOaDRyKHVJpsmpRbvR98tZ6bMQrEgw1z5kxP bCYaaPIQ2OFeSFqgtQRtIK6Ti6ItRue/pagcrSulQ+bOxUPcqLuXNdXuUnEv8sHrPuKeCThVLMw aUJz5A3ayAXH5oUp/IlBOmotOKORvQSl6Bv98TJ8b9/l08+Ed78QanvSBT8mp6SNK475Uewud6A oJLRLseKN0YzE4olDFN8u/7oltjMtWhKBKwxuNVRO+7JzT2PIacyIoV6II7vlmN7I4858TmBLHU 6hw5181sUTm0UYjy9b6M2WK65xwclcD3wvvWNLI45900YXQsKWT5SsDFFY7N2BWaXTkGYB9uMoP VO2vAQ/WlcJ7Otsr7qMKVehoe20zmMyxAnQG0KZ/5IoEpj2M09PfJoPetVNEKVOgFp5c1hetCZT MoTeUXcBdAEzDs5SIiFQyqLohdppgJm+L4FGTu7ZH3ZjqiUvJFXSYiTxzlBeeJbjWkw6jD3e9UN 7xBwV2ZWzAEPmr5+SdJ4BLeJ5Ag/V6KS6dEeSqDo7+VEgbN+sOzBVys52vUNiEGAW/DQCbtBJb9 lOVA X-Received: by 2002:a05:7300:d205:b0:36a:1f8:a56e with SMTP id 5a478bee46e88-3856fe564a1mr17308220eec.23.1795594111337; Wed, 25 Nov 2026 00:08:31 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08: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 39/55] pcp: upgrade 6.3.8 -> 7.2.2 Date: Wed, 25 Nov 2026 00:06:55 -0800 Message-ID: <20261125080732.2419614-45-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133042 Upstream changes (CHANGELOG): - libpcp.so.4 is the new default PMAPI with nanosecond timestamps; libpcp.so.3 and libpcp_import.so.1 are still built for backward compatibility, and pmapi.h selects the API with -DPMAPI_VERSION=2|4. - New pmdaopentelemetry, pmdarocestat and pmdahdb agents, and the new pmlogpush, pcp2opentelemetry and pmseries_import tools. - Python 2 support (3.6 minimum), Qt4 support, the BCC and JSON PMDAs and the rc_pcp init.d wrapper are removed. - pmlogger/pmproxy gained a remote archive push webhook; hiredis is replaced by a vendored libvalkey. Upstream no longer has a stable branch, and 6.3.8 is not on main, so use branch=main where 7.2.2 is. Add an upstream check for the plain version tags. Drop fix_parallel_make.patch and 0001-pcp-htop-fix-header-build-race-condition.patch, both are in 7.2.2. Refresh 0001-configure-Limit-the-header-search-to-sysroot.patch for the new python3-config based header lookup, and 0001-Remove-unsuitble-part-for-cross-compile.patch for the reworked AR check. Drop --with-python, --with-pmdajson and --with-pmdabcc, which configure no longer knows. Package the new libpcp.so.4 (libpcp4) and libpcp_import.so.2 (libpcp-import2) next to the compat libraries; libpcp_fault moves to soname 4. libpcp's exports lists getdomainname, which libpcp only defines when libc lacks it, and lld fails on it with --no-undefined-version; link with --undefined-version for clang. Package the new /etc/atop directory and the libpcp_import tmpfiles.d snippet. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...cp-native_6.3.8.bb => pcp-native_7.2.2.bb} | 0 meta-oe/recipes-support/pcp/pcp.inc | 8 +- ...ove-unsuitble-part-for-cross-compile.patch | 20 ++-- ...e-Limit-the-header-search-to-sysroot.patch | 25 ++-- ...htop-fix-header-build-race-condition.patch | 33 ----- .../pcp/pcp/fix_parallel_make.patch | 113 ------------------ .../pcp/{pcp_6.3.8.bb => pcp_7.2.2.bb} | 19 ++- 7 files changed, 42 insertions(+), 176 deletions(-) rename meta-oe/recipes-support/pcp/{pcp-native_6.3.8.bb => pcp-native_7.2.2.bb} (100%) delete mode 100644 meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch delete mode 100644 meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch rename meta-oe/recipes-support/pcp/{pcp_6.3.8.bb => pcp_7.2.2.bb} (94%) diff --git a/meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb b/meta-oe/recipes-support/pcp/pcp-native_7.2.2.bb similarity index 100% rename from meta-oe/recipes-support/pcp/pcp-native_6.3.8.bb rename to meta-oe/recipes-support/pcp/pcp-native_7.2.2.bb diff --git a/meta-oe/recipes-support/pcp/pcp.inc b/meta-oe/recipes-support/pcp/pcp.inc index d80e700f2f..bbeaf7b4f0 100644 --- a/meta-oe/recipes-support/pcp/pcp.inc +++ b/meta-oe/recipes-support/pcp/pcp.inc @@ -7,13 +7,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=37ab75b580d5aad4ada04260efa3702f \ " COMPATIBLE_HOST:libc-musl = "null" -SRC_URI = "git://github.com/performancecopilot/pcp;branch=stable;protocol=https;tag=${PV} \ +SRC_URI = "git://github.com/performancecopilot/pcp;branch=main;protocol=https;tag=${PV} \ file://0001-configure-Limit-the-header-search-to-sysroot.patch \ file://0001-htop-Change-dependency-order-of-header-and-sourcefil.patch \ file://config.linux \ " -SRCREV = "7b0943ade0bcecaf50ed4b4c2cc9084150420eff" +SRCREV = "87fc51f5ea667b1b532a03752b1a9091b5d6b3de" +UPSTREAM_CHECK_GITTAGREGEX = "^(?P\d+(\.\d+)+)$" inherit setuptools3-base pkgconfig autotools-brokensep @@ -23,12 +24,9 @@ CACHED_CONFIGUREVARS = "PACKAGE_DISTRIBUTION=arch" EXTRA_OECONF:append = "\ --with-dstat-symlink=yes \ --with-infiniband=no \ - --with-python=no \ --with-perl=no \ --with-python3=yes \ - --with-pmdajson=no \ --with-perfevent=no \ - --with-pmdabcc=yes \ --with-rundir=${localstatedir}/run \ --with-sysconfigdir=${sysconfdir} \ --with-logdir=${localstatedir}/log \ diff --git a/meta-oe/recipes-support/pcp/pcp/0001-Remove-unsuitble-part-for-cross-compile.patch b/meta-oe/recipes-support/pcp/pcp/0001-Remove-unsuitble-part-for-cross-compile.patch index abf4aee61d..0cf5090084 100644 --- a/meta-oe/recipes-support/pcp/pcp/0001-Remove-unsuitble-part-for-cross-compile.patch +++ b/meta-oe/recipes-support/pcp/pcp/0001-Remove-unsuitble-part-for-cross-compile.patch @@ -7,28 +7,32 @@ Upstream-Status: Inappropriate [OE specific] Signed-off-by: Lei Maohui --- - configure.ac | 6 ------ - src/libpcp/src/GNUmakefile | 1 - - 2 files changed, 7 deletions(-) + configure.ac | 8 +------- + src/libpcp/src/GNUmakefile | 2 -- + 2 files changed, 1 insertion(+), 9 deletions(-) +diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac -@@ -607,12 +607,6 @@ fi +@@ -715,13 +715,7 @@ fi which=$WHICH AC_SUBST(which) -if test -z "$AR"; then -- AC_PATH_PROGS(AR, [gcc-ar ar], /usr/bin/ar) +- AC_PATH_PROGS(AR, [gcc-ar ar], ar) -fi --if test ! -x "$AR"; then +-ar=`$which $AR` +-if test ! -x "$ar"; then - AC_MSG_ERROR([cannot find a valid 'ar' command.]) -fi - ar=$AR ++ar=$AR AC_SUBST(ar) + AC_PROG_LEX([noyywrap]) +diff --git a/src/libpcp/src/GNUmakefile b/src/libpcp/src/GNUmakefile --- a/src/libpcp/src/GNUmakefile +++ b/src/libpcp/src/GNUmakefile -@@ -179,8 +179,6 @@ exports: exports.in mk.exports +@@ -184,8 +184,6 @@ exports: exports.in mk.exports # consistent in all placess. # check.done: $(OBJECTS) diff --git a/meta-oe/recipes-support/pcp/pcp/0001-configure-Limit-the-header-search-to-sysroot.patch b/meta-oe/recipes-support/pcp/pcp/0001-configure-Limit-the-header-search-to-sysroot.patch index b03c48e581..3ec76439cb 100644 --- a/meta-oe/recipes-support/pcp/pcp/0001-configure-Limit-the-header-search-to-sysroot.patch +++ b/meta-oe/recipes-support/pcp/pcp/0001-configure-Limit-the-header-search-to-sysroot.patch @@ -11,21 +11,22 @@ Upstream-Status: Inappropriate [OE Specific] Signed-off-by: Khem Raj --- - configure.ac | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) +diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac -@@ -907,7 +907,7 @@ AC_DEFUN([PCP_CHECK_PYTHON_HEADER], - [ PY_MAJOR="$1" - PY_MINOR="$2" - PY_VERSION="python$PY_MAJOR.$PY_MINOR" -- PY_INCLUDE_DIRS="-I/usr/include/${PY_VERSION}m -I/usr/include/${PY_VERSION}" -+ PY_INCLUDE_DIRS="-I${STAGING_INCDIR}/${PY_VERSION}m -I${STAGING_INCDIR}/${PY_VERSION}" +@@ -982,7 +982,7 @@ AC_DEFUN([PCP_CHECK_PYTHON_HEADER], + + dnl Fallback to manual paths if python3-config fails or is unavailable + if test -z "$PY_INCLUDE_DIRS"; then +- PY_INCLUDE_DIRS="-I/usr/include/${PY_VERSION}m -I/usr/include/${PY_VERSION} -I/usr/local/include/${PY_VERSION} -I/opt/homebrew/include/${PY_VERSION} -I/opt/homebrew/include/${PY_VERSION}m" ++ PY_INCLUDE_DIRS="-I${STAGING_INCDIR}/${PY_VERSION}m -I${STAGING_INCDIR}/${PY_VERSION}" + fi + saved_CFLAGS="$CFLAGS" - saved_CPPFLAGS="$CPPFLAGS" - CFLAGS="$CFLAGS $PY_INCLUDE_DIRS" -@@ -1603,7 +1603,7 @@ AC_SUBST(qmake) +@@ -1594,7 +1594,7 @@ AC_SUBST(qmake) enable_qt3d=false AS_IF([test "x$do_qt3d" != "xno"], [ @@ -34,7 +35,7 @@ Signed-off-by: Khem Raj then enable_qt3d=$enable_qt elif test x"$do_qt3d" = x"yes" -@@ -3699,7 +3699,7 @@ AC_SUBST(enable_decompression) +@@ -3819,7 +3819,7 @@ AC_SUBST(enable_decompression) AC_SUBST(enable_lzma) dnl check for array sessions diff --git a/meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch b/meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch deleted file mode 100644 index 2c3cf696ed..0000000000 --- a/meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch +++ /dev/null @@ -1,33 +0,0 @@ -From d04ea418c5fcfec2f6fbb2dd9f982ddf12c5be87 Mon Sep 17 00:00:00 2001 -From: Yoann Congal -Date: Tue, 3 Jun 2025 10:02:58 +0200 -Subject: [PATCH] pcp-htop: fix header build race condition - -.c and .h files are soft-linked before being compiled. Under heavy load -or a build with a high CPU count, the compilation can start before -header files are softlinked, resulting in a build error: -| pcp-htop.c:13:10: fatal error: CommandLine.h: No such file or directory -| 13 | #include "CommandLine.h" -| | ^~~~~~~~~~~~~~~ - -Fix this by adding the make dependency between object files and the -headers. - -Upstream-Status: Backport [https://github.com/performancecopilot/pcp/commit/0ca303467ce382127cd9676e288bf7690a93f084] -Signed-off-by: Yoann Congal ---- - src/pcp/htop/GNUmakefile | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/pcp/htop/GNUmakefile b/src/pcp/htop/GNUmakefile -index 3e29638d6..898f0b766 100644 ---- a/src/pcp/htop/GNUmakefile -+++ b/src/pcp/htop/GNUmakefile -@@ -224,6 +224,7 @@ default: build-me - include $(BUILDRULES) - - ifeq "$(HAVE_NCURSESW)" "true" -+$(OBJECTS): $(HFILES) - build-me: $(TOPXFILES) $(SUBXFILES) $(CFGXFILES) $(CMDTARGET) $(DISTLINKS) $(MAN_PAGES) - - install: default diff --git a/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch b/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch deleted file mode 100644 index 7bc045949b..0000000000 --- a/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch +++ /dev/null @@ -1,113 +0,0 @@ -From 92add24ccfc7e643349a1c091957595ce25a9915 Mon Sep 17 00:00:00 2001 -From: Yoann Congal -Date: Tue, 27 May 2025 08:45:36 +0200 -Subject: [PATCH] QA: cleanup localconfig.h build dependencies - -Some QA binaries include localconfig.h but there is no explicit dependencies -between the binary build and the localconfig.h generation. -On heavily loaded systems, this can result in the binary being built -before localconf.h and a compilation error, e.g: -| username.c:8:10: fatal error: localconfig.h: No such file or directory -| 8 | #include "localconfig.h" -| | ^~~~~~~~~~~~~~~ -| compilation terminated. - -This can be reproduced by adding "sleep 30" at the start of the -localconfig.h generation rule. - -Fix this by adding the missing Makefile rule dependency between the -binary (or its pre-link .o) and localconfig.h. - -Also remove an un-needed scale.o->localconfig.h dependency. - -Upstream-Status: Backport [https://github.com/performancecopilot/pcp/commit/8de7bbb06703f224b72fe0994acde3189b742fd2] -Signed-off-by: Yoann Congal ---- - qa/src/GNUlocaldefs | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -diff --git a/qa/src/GNUlocaldefs b/qa/src/GNUlocaldefs -index f83826068..e47fbfd72 100644 ---- a/qa/src/GNUlocaldefs -+++ b/qa/src/GNUlocaldefs -@@ -299,7 +299,7 @@ diowr: diowr.c - rm -f $@ - $(CCF) $(CDEFS) -o $@ diowr.c - --endian: endian.c -+endian: endian.c localconfig.h - rm -f $@ - $(CCF) $(CDEFS) -o $@ endian.c - -@@ -331,15 +331,15 @@ exercise: exercise.c - rm -f $@ - $(CCF) $(CDEFS) -o $@ exercise.c $(LDLIBS) - --chkacc1: chkacc1.c -+chkacc1: chkacc1.c localconfig.h - rm -f $@ - $(CCF) $(CDEFS) -o $@ chkacc1.c $(LDLIBS) - --chkacc2: chkacc2.c -+chkacc2: chkacc2.c localconfig.h - rm -f $@ - $(CCF) $(CDEFS) -o $@ chkacc2.c $(LDLIBS) - --chkacc3: chkacc3.c -+chkacc3: chkacc3.c localconfig.h - rm -f $@ - $(CCF) $(CDEFS) -o $@ chkacc3.c $(LDLIBS) - -@@ -489,7 +489,7 @@ pmdashutdown: pmdashutdown.c - rm -f $@ - $(CCF) $(CDEFS) -o $@ $@.c $(LDLIBS) -lpcp_pmda - --dumb_pmda: dumb_pmda.c -+dumb_pmda: dumb_pmda.c localconfig.h - $(CCF) $(LCDEFS) $(LCOPTS) -o $@ $@.c $(LDLIBS) -lpcp_pmda - - pmdacache: pmdacache.c -@@ -633,7 +633,7 @@ else - $(CCF) $(CDEFS) -o $@ $@.c $(LIB_FOR_PTHREADS) $(LDLIBS) - endif - --multithread2: multithread2.c -+multithread2: multithread2.c localconfig.h - rm -f $@ - $(CCF) $(CDEFS) -o $@ $@.c $(LIB_FOR_PTHREADS) $(LDLIBS) - -@@ -786,7 +786,6 @@ $(NVIDIAQALIB): nvidia-ml.o - endif - - arch_maxfd.o: localconfig.h --scale.o: localconfig.h - - 779246.o: libpcp.h - aggrstore.o: libpcp.h -@@ -847,14 +846,14 @@ multithread14.o: libpcp.h - nameall.o: libpcp.h - parsehostattrs.o: libpcp.h - parsehostspec.o: libpcp.h --pdubufbounds.o: libpcp.h --pducheck.o: libpcp.h -+pdubufbounds.o: libpcp.h localconfig.h -+pducheck.o: libpcp.h localconfig.h - pducrash.o: libpcp.h --pdu-server.o: libpcp.h -+pdu-server.o: libpcp.h localconfig.h - pmcdgone.o: libpcp.h - pmlcmacro.o: libpcp.h - pmnsinarchives.o: libpcp.h --pmnsunload.o: libpcp.h -+pmnsunload.o: libpcp.h localconfig.h - proc_test.o: libpcp.h - qa_libpcp_compat.o: libpcp.h - qa_timezone.o: libpcp.h -@@ -874,6 +873,7 @@ torture_pmns.o: libpcp.h - tztest.o: libpcp.h - unpack.o: libpcp.h - unpickargs.o: libpcp.h -+username.o: localconfig.h - xarch.o: libpcp.h - xlog.o: libpcp.h - xmktime.o: libpcp.h diff --git a/meta-oe/recipes-support/pcp/pcp_6.3.8.bb b/meta-oe/recipes-support/pcp/pcp_7.2.2.bb similarity index 94% rename from meta-oe/recipes-support/pcp/pcp_6.3.8.bb rename to meta-oe/recipes-support/pcp/pcp_7.2.2.bb index 1a5eac2ca7..cff911271f 100644 --- a/meta-oe/recipes-support/pcp/pcp_6.3.8.bb +++ b/meta-oe/recipes-support/pcp/pcp_7.2.2.bb @@ -12,11 +12,12 @@ DEPENDS += "perl-native bison-native flex-native python3-native python3-setuptoo SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \ file://pass-options-to-AR.patch \ - file://fix_parallel_make.patch \ file://0001-bind2-Use-pmcpp-from-native-builds.patch \ - file://0001-pcp-htop-fix-header-build-race-condition.patch \ " +# libpcp exports list getdomainname, which libpcp defines only when libc lacks it +LDFLAGS:append:toolchain-clang = " -Wl,--undefined-version" + export PCP_DIR = "${RECIPE_SYSROOT_NATIVE}" #export PCP_RUN_DIR = "${RECIPE_SYSROOT_NATIVE}" EXTRA_OEMAKE = '\ @@ -105,12 +106,12 @@ do_install () { PACKAGE_BEFORE_PN = "${PN}-xsos" PACKAGES =+ " ${PN}-export-zabbix-agent ${PN}-testsuite \ libpcp-gui2 libpcp-gui2-dev \ - libpcp-import1 libpcp-archive1 \ + libpcp-import1 libpcp-import2 libpcp-archive1 \ libpcp-mmv1 libpcp-mmv1-dev \ libpcp-pmda3 libpcp-pmda3-dev \ libpcp-trace2 libpcp-trace2-dev \ libpcp-web1 libpcp-web1-dev \ - libpcp3 libpcp3-dev python3-${PN}\ + libpcp3 libpcp3-dev libpcp4 python3-${PN}\ " FILES:libpcp-gui2 = "${libdir}/libpcp_gui.so.2 \ " @@ -141,6 +142,10 @@ INSANE_SKIP:libpcp-mmv1-dev = "staticdev" FILES:libpcp-import1 = " \ ${libdir}/libpcp_import.so.1 \ " +FILES:libpcp-import2 = " \ + ${libdir}/libpcp_import.so.2 \ + ${nonarch_libdir}/tmpfiles.d/libpcp_import.conf \ +" FILES:libpcp-pmda3 = " \ ${libdir}/libpcp_pmda.so.3 \ " @@ -183,12 +188,16 @@ INSANE_SKIP:libpcp-web1-dev = "staticdev" FILES:libpcp3 = " \ ${libdir}/libpcp.so.3 \ " +FILES:libpcp4 = " \ + ${libdir}/libpcp.so.4 \ +" FILES:${PN}-xsos = " \ ${libexecdir}/pcp/bin/pcp-xsos \ " FILES:${PN} = " \ ${sysconfdir}/pcp \ + ${sysconfdir}/atop \ ${sysconfdir}/cron.d \ ${sysconfdir}/init.d \ ${libexecdir} \ @@ -209,7 +218,7 @@ FILES:${PN} = " \ ${localstatedir}/lib/pcp/config \ ${localstatedir}/lib/pcp/pmdas/ \ ${localstatedir}/lib/pcp/pmns \ - ${libdir}/libpcp_fault.so.3 \ + ${libdir}/libpcp_fault.so.4 \ ${nonarch_libdir}/tmpfiles.d/pcp-reboot-init.conf \ " From patchwork Wed Nov 25 08:06:56 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105606 Received: from mail-dy1-f179.google.com (mail-dy1-f179.google.com [74.125.82.179]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37947.1795594113436080505 for ; Wed, 25 Nov 2026 00:08:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=eGdAPFLN; spf=pass (domain: gmail.com, ip: 74.125.82.179, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f179.google.com with SMTP id 5a478bee46e88-380c28f9e35so6624022eec.1 for ; Wed, 25 Nov 2026 00:08:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594113; x=1796198913; 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=qkPHvrZSgUjk8wLb5CmXI2RtYCBgCCGl+cseb6WUpi8=; b=eGdAPFLNjjesL/M7jkYFFvqS3N/Jou4/wCH8n9zIhEQ8GO7EOWpg1eyUG/Yf3mOcHW wXze7f0gPCl46WzjZAUILL/7QGi9uD0hfsvbNV30thyTIzIvUuWVC1SAqCUfDMnwbmOM 9PaVgLDILWmVrr5RdZaO/ap+BbLRnWlIJd5ZwpJi1ftKZ5GTtaN06wTCrvMj10ZBTg4z SutMgBwa7oxZp6fxUMAFd7PlmMNFlJZbo6y+GjzjxxFwGNCAmQzig4hCFRS5E/TPFnAt jR0EMvpYHkV27Q5ivZyer1K2UtUZb0E8aGpGFJoQIJibdbWUlI8p4zQrUrFHEJzWe2eg 01Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594113; x=1796198913; 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=qkPHvrZSgUjk8wLb5CmXI2RtYCBgCCGl+cseb6WUpi8=; b=fiXpyxCGjC8MYUM9i4gSsjKuAPp9WISYMYfFKWAK3lAs4qrFfq+AtgudYyQmUhT6k4 EVbq2QpwzEtR2gWJ+UQzUiame+ThnWo84+PVxK0CDOrWqSKSobRetFpgI0TwSmIGfSvx Vm0GyybW5rqJp+hG7dvFs1fFAIH1efga+Dc/gZ8SQXOicldtl4e3Nc/rxdDBxXoLs2wl 5LR+qP0XrDvsvnKDZ8gQNPT+89/6P7zyMkQWVjHQ+3CDHEidB4cLAkAV98MB9ne/MDu4 sPEfzG26/0RXERrAgBasMxAZMZQKpGDV+sFxrvx4Zd7+SBlxClZIT0u9I/Bw1/QHeFnq 7N8Q== X-Gm-Message-State: APuU4Z+hEoibfiZp8QklbJE2JjoWDaIqqDNXv6W7sTj8S3XpS4Zxp4kV r7ORrmquxqjfCi53HxzC3rXta0UKCTlNYdmD5FzZdUUf1wg9y5ZWkc05Dp7bJ9K4 X-Gm-Gg: AZFdTZfD6zi54lcRGR/7KN2pK23C5HQelGaTYZ9Z4a1ONV20bObRp/AXee/BkdCcUE4 oOt7RczTw3sjCZdp227lPdwK3R1Xw7sw12nSJ4UY2lY5y/YgGBdT1yJ9w/HkTzSgkFlGvaKCSTE JboBu4aFsTBWhU/YRF8Q6aJssAkfpeXPpZa9+wQMwfajlBu9WX/iRYkZ8iuCEtX3rdIBRMUrzLf Ovqa6NmLk+YPJUsTPEQZMpJDUS9SDz4jxZylFySpzo/K3w0fgzYRKBz4XxVxbCXIvjSkWI9SIu6 7WRzBX3tdv+oCQrS3PgDCsBpuskY/PgdngR6hMJQroThFQxbfYLSWvzmpYZaNj8YivpNyNlQ9if O0DgfQQmrzGCJ2P7pILwDIrRBM4R8UYI+DoRxUIWs3W0Ez4Od5oHaQN34E+fOGZt5m6I7DxYU0y L2SiN8J/v/PJOeCLe5zRjFA3ch8wZO4QeVPLMIfvbX1kM0AKdm/7ET/vCL2hS09l0eqOVrWJzac WPjDvygd11E7wfGi64Iv1jBbC7RHQAwwYtNsw3mIj+LHdHgRxR2NAcxg7miQcTao+UjQPXelbbk pVLQrajqMGJOXzDDkI6hMaA1/KdCo6heZApGMrCHPIw4yUdad89ld2saK+3784AgerddlK22ayn nUsvAa5gEkxY3FnKD8MI6m/rrGzhcQZq8y+QHdeOjQfrQG6pjLeFWzhtSeLxt5TU9R3vrWmjOud JVFXFYQRHjrFCBRAovHTjJ/ss2KKLdNrdTJFg8y0Gzan5Je8qntdiSpkepMaJtZpnMqCRlv1dkV PATa7Hq1e4KTKGkCzpiq7MYHQnllOQqnDuCuwE7P/kDnvn3PfVn+5w2J5jrgk5OXxvqFGGLq5JT peg9 X-Received: by 2002:a05:693c:88d5:10b0:386:9e9c:867 with SMTP id 5a478bee46e88-3869e9c2df2mr12809710eec.10.1795594112484; Wed, 25 Nov 2026 00:08:32 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:32 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 40/55] rasdaemon: upgrade 0.8.5 -> 1.0.0 Date: Wed, 25 Nov 2026 00:06:56 -0800 Message-ID: <20261125080732.2419614-46-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133043 Upstream changes (ChangeLog): - The build system moved from autotools to Meson, with automatic dependency and architecture detection. - New modular database layer with SQLite, MySQL/MariaDB and PostgreSQL backends. - ras-mc-ctl was rewritten from Perl to Python 3 (SQLAlchemy based), with new database query, DIMM status, label and memory-layout commands. - More CXL, ARM and non-standard CPER decoders, memory-sparing events, PCIe eDPC support and BMC SEL reporting. - Self-registering modules and event consumers, plus many resource cleanup and error-handling fixes. Switch the recipe to meson and map the PACKAGECONFIG options to meson features, adding the new ones (cxl, erst, memory-failure, pcie-edpc, mysql, postgresql, more ns-decoders, ...). The defaults stay the same. Use -Denable-arch=auto so only the target architecture's events are built; upstream defaults to all. The non-standard option is gone, it is now implied by the ns-decode options. rasdaemon still uses argp, which musl lacks, and meson does not look it up, so keep argp-standalone and -largp for musl. ras-mc-ctl needs python3 and python3-sqlalchemy instead of perl and the DBI modules. Upstream now installs rasdaemon.service (and ras-mc-ctl.service), so drop the local copy. Since perl is no longer needed and python3-sqlalchemy comes from meta-python, move the recipe from dynamic-layers/perl-layer to dynamic-layers/meta-python, and move its packagegroup-meta-oe entry along with it. Nothing else lived in the perl-layer dynamic layer bbappend, so remove that file. Add an upstream version check. Add UPSTREAM_CHECK_GITTAGREGEX matching release tags only, skipping the v0.9.9x pre-releases. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../packagegroup-meta-oe.bbappend | 1 + .../recipes-support/rasdaemon/files/init | 0 .../rasdaemon/rasdaemon_1.0.0.bb | 65 +++++++++++++++++++ .../packagegroup-meta-oe.bbappend | 1 - .../rasdaemon/files/rasdaemon.service | 12 ---- .../rasdaemon/rasdaemon_0.8.5.bb | 50 -------------- 6 files changed, 66 insertions(+), 63 deletions(-) rename meta-oe/dynamic-layers/{perl-layer => meta-python}/recipes-support/rasdaemon/files/init (100%) create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb delete mode 100644 meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend delete mode 100644 meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/rasdaemon.service delete mode 100644 meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.5.bb diff --git a/meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/packagegroup-meta-oe.bbappend b/meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/packagegroup-meta-oe.bbappend index 7fff849ecd..807117334f 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/packagegroup-meta-oe.bbappend +++ b/meta-oe/dynamic-layers/meta-python/recipes-core/packagegroups/packagegroup-meta-oe.bbappend @@ -12,6 +12,7 @@ RDEPENDS:packagegroup-meta-oe-extended += "\ " RDEPENDS:packagegroup-meta-oe-support += "\ nvmetcli \ + rasdaemon \ smem \ " RDEPENDS:packagegroup-meta-oe-extended:remove:libc-musl = "lcdproc" diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/init b/meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/files/init similarity index 100% rename from meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/init rename to meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/files/init diff --git a/meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb new file mode 100644 index 0000000000..86eced84a1 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb @@ -0,0 +1,65 @@ +DESCRIPTION = "Tools to provide a way to get Platform Reliability, Availability and Serviceability (RAS) reports made via the Kernel tracing events" +HOMEPAGE = "https://github.com/mchehab/rasdaemon" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc" + +SRC_URI = "git://github.com/mchehab/rasdaemon.git;branch=master;protocol=https;tag=v${PV} \ + file://init" + +SRCREV = "83379997794e3ed6f613b91b188c754bc642de5d" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P\d+\.\d+\.[0-8]?\d)$" + +DEPENDS = "libtraceevent" +DEPENDS:append:libc-musl = " argp-standalone" +LDFLAGS:append:libc-musl = " -largp" +RDEPENDS:${PN} = "python3-core python3-crypt python3-datetime python3-io python3-json \ + python3-logging python3-netclient python3-sqlalchemy" + +inherit meson pkgconfig update-rc.d systemd + +EXTRA_OEMESON = "-Denable-arch=auto" + +PACKAGECONFIG ??= "sqlite3 mce aer extlog devlink diskerror" +PACKAGECONFIG[sqlite3] = "-Dsqlite3=enabled,-Dsqlite3=disabled,sqlite3,python3-sqlite3" +PACKAGECONFIG[mysql] = "-Dmysql=enabled,-Dmysql=disabled,mariadb" +PACKAGECONFIG[postgresql] = "-Dpostgresql=enabled,-Dpostgresql=disabled,postgresql" +PACKAGECONFIG[mce] = "-Dmce=enabled,-Dmce=disabled" +PACKAGECONFIG[erst] = "-Derst=enabled,-Derst=disabled" +PACKAGECONFIG[aer] = "-Daer=enabled,-Daer=disabled,pciutils" +PACKAGECONFIG[pcie-edpc] = "-Dpcie-edpc=enabled,-Dpcie-edpc=disabled,pciutils" +PACKAGECONFIG[extlog] = "-Dextlog=enabled,-Dextlog=disabled" +PACKAGECONFIG[devlink] = "-Ddevlink=enabled,-Ddevlink=disabled" +PACKAGECONFIG[diskerror] = "-Ddiskerror=enabled,-Ddiskerror=disabled" +PACKAGECONFIG[cxl] = "-Dcxl=enabled,-Dcxl=disabled" +PACKAGECONFIG[memory-failure] = "-Dmemory-failure=enabled,-Dmemory-failure=disabled" +PACKAGECONFIG[memory-ce-pfa] = "-Dmemory-ce-pfa=enabled,-Dmemory-ce-pfa=disabled" +PACKAGECONFIG[memory-row-ce-pfa] = "-Dmemory-row-ce-pfa=enabled,-Dmemory-row-ce-pfa=disabled" +PACKAGECONFIG[cpu-fault-isolation] = "-Dcpu-fault-isolation=enabled,-Dcpu-fault-isolation=disabled" +PACKAGECONFIG[signal] = "-Dsignal=enabled,-Dsignal=disabled" +PACKAGECONFIG[abrt-report] = "-Dabrt-report=enabled,-Dabrt-report=disabled" +PACKAGECONFIG[bmc-generic] = "-Dbmc-generic=enabled,-Dbmc-generic=disabled" +PACKAGECONFIG[openbmc-unified-sel] = "-Dopenbmc-unified-sel=enabled,-Dopenbmc-unified-sel=disabled" +PACKAGECONFIG[ampere-oem-sel] = "-Dampere-oem-sel=enabled,-Dampere-oem-sel=disabled" +PACKAGECONFIG[arm] = "-Darm=enabled,-Darm=disabled" +PACKAGECONFIG[reri] = "-Dreri=enabled,-Dreri=disabled" +PACKAGECONFIG[amp-ns-decode] = "-Damp-ns-decode=enabled,-Damp-ns-decode=disabled" +PACKAGECONFIG[hisi-ns-decode] = "-Dhisi-ns-decode=enabled,-Dhisi-ns-decode=disabled" +PACKAGECONFIG[jaguar-ns-decode] = "-Djaguar-ns-decode=enabled,-Djaguar-ns-decode=disabled" +PACKAGECONFIG[nvidia-ns-decode] = "-Dnvidia-ns-decode=enabled,-Dnvidia-ns-decode=disabled" +PACKAGECONFIG[yitian-ns-decode] = "-Dyitian-ns-decode=enabled,-Dyitian-ns-decode=disabled" + +do_install:append() { + install -d ${D}${sysconfdir}/init.d + install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/rasdaemon +} + +FILES:${PN} += "${datadir} \ + ${PYTHON_SITEPACKAGES_DIR} \ + ${systemd_system_unitdir}" + +SYSTEMD_SERVICE:${PN} = "rasdaemon.service" +SYSTEMD_AUTO_ENABLE = "enable" + +INITSCRIPT_PACKAGES = "${PN}" +INITSCRIPT_NAME:${PN} = "rasdaemon" +INITSCRIPT_PARAMS:${PN} = "defaults 89" diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend b/meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend deleted file mode 100644 index 5c48fd5c03..0000000000 --- a/meta-oe/dynamic-layers/perl-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend +++ /dev/null @@ -1 +0,0 @@ -RDEPENDS:packagegroup-meta-oe-support += "rasdaemon" diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/rasdaemon.service b/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/rasdaemon.service deleted file mode 100644 index 4fbf23142a..0000000000 --- a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/rasdaemon.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=RAS daemon to log the RAS events -After=syslog.target - -[Service] -ExecStart=/usr/sbin/rasdaemon -f -r -ExecStartPost=/usr/sbin/rasdaemon --enable -ExecStop=/usr/sbin/rasdaemon --disable -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.5.bb b/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.5.bb deleted file mode 100644 index 750a6ea227..0000000000 --- a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.5.bb +++ /dev/null @@ -1,50 +0,0 @@ -DESCRIPTION = "Tools to provide a way to get Platform Reliability, Availability and Serviceability (RAS) reports made via the Kernel tracing events" -HOMEPAGE = "https://github.com/mchehab/rasdaemon" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc" - -SRC_URI = "git://github.com/mchehab/rasdaemon.git;branch=master;protocol=https;tag=v${PV} \ - file://rasdaemon.service \ - file://init" - -SRCREV = "769593be915b4f00a9a7d56569df99bc0cff249a" - -DEPENDS = "libtraceevent pciutils" -RDEPENDS:${BPN} = "perl perl-module-file-basename perl-module-file-find perl-module-file-spec perl-module-getopt-long \ - perl-module-posix perl-module-file-glob libdbi-perl libdbd-sqlite-perl" - -inherit autotools pkgconfig update-rc.d systemd - -PACKAGECONFIG ??= "sqlite3 mce aer extlog devlink diskerror" -PACKAGECONFIG[sqlite3] = "--enable-sqlite3,--disable-sqlite3,sqlite3" -PACKAGECONFIG[mce] = "--enable-mce,--disable-mce" -PACKAGECONFIG[aer] = "--enable-aer,--disable-aer" -PACKAGECONFIG[extlog] = "--enable-extlog,--disable-extlog" -PACKAGECONFIG[devlink] = "--enable-devlink,--disable-devlink" -PACKAGECONFIG[diskerror] = "--enable-diskerror,--disable-diskerror" -PACKAGECONFIG[arm] = "--enable-arm,--disable-arm" -PACKAGECONFIG[hisi-ns-decode] = "--enable-hisi-ns-decode,--disable-hisi-ns-decode" -PACKAGECONFIG[non-standard] = "--enable-non-standard,--disable-non-standard" -PACKAGECONFIG[abrt-report] = "--enable-abrt-report,--disable-abrt-report" - -DEPENDS:append:libc-musl = " argp-standalone" -LDFLAGS:append:libc-musl = " -largp" - -do_install:append() { - install -d ${D}${sysconfdir}/init.d - install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/rasdaemon - install -d ${D}${systemd_unitdir}/system - install -m 0644 ${UNPACKDIR}/rasdaemon.service ${D}${systemd_unitdir}/system -} - -FILES:${PN} += "${sbindir}/rasdaemon \ - ${sysconfdir}/init.d \ - ${datadir} \ - ${systemd_unitdir}/system/rasdaemon.service" - -SYSTEMD_SERVICE:${PN} = "rasdaemon.service" -SYSTEMD_AUTO_ENABLE = "enable" - -INITSCRIPT_PACKAGES = "${PN}" -INITSCRIPT_NAME:${PN} = "rasdaemon" -INITSCRIPT_PARAMS:${PN} = "defaults 89" From patchwork Wed Nov 25 08:06:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105611 Received: from mail-dy1-f182.google.com (mail-dy1-f182.google.com [74.125.82.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37948.1795594114788932516 for ; Wed, 25 Nov 2026 00:08:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=qkmzyIHi; spf=pass (domain: gmail.com, ip: 74.125.82.182, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f182.google.com with SMTP id 5a478bee46e88-3866a784546so7290624eec.0 for ; Wed, 25 Nov 2026 00:08:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594114; x=1796198914; 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=1rYDJoLBOJZxYH4M2g1kKFvEVhx2vvVAgKh0rz0/8Pw=; b=qkmzyIHiUu5ltm9zoCQe77g+VOTQuLDyZU75+/LS6oatsB2bE3wsvNAhDH16TXieyM RxMoBraWYGcXmzZAg5rgUZIILdgSBr22XsDw/k8AQyfv5Qw9oN7H8H4AkgWvs1oM3t6F 1d/mFUnhgS6iVHXZGSItEbFjjDSR2hZXXg/WoWxeM/tdJtvkW3w7Jsrbj3OWtwwiN3sh 5tFZyYnJruM5toNsnUlm/BnF2NKFtPNL/PBVX6osCOvHTSVSz0nf08Vu7AleVzhYhVAt VOk6v7Gzn2BUuB967KUDz14wJDKL5rK8SLUTWxUnSa78YWcb4+B7UjkR10elQhJM34aK 5cNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594114; x=1796198914; 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=1rYDJoLBOJZxYH4M2g1kKFvEVhx2vvVAgKh0rz0/8Pw=; b=XdqEnIWbsd9EiQQn0tDZvk7OPYIAbAf7ICp6n3jwLwfFUIkrzuqCsyu4vPPyWMRJYm G33//N4WJDh8ABkiwcYB8ZnAzU9DI/XafY1xUmym4Gqt3RZ0heSVqpSTqG+V98y7yGIg ZL7gmiAgFRmhrIDNva8iLKQLVvN04eqtkLeB4xqrPDrpcIOESo7y4gND6iXEaR8W0zZa Q0Q6/Fla85qoJpZjIurW3KxKAxiTPUwAXhyHz3R4p9qNUJOhiXO1WAm5it8qnS1FsvuD 9oOqzMMFxgqzuo4dCAKwh5gpOm53AANTldw/uPuJXWPKwR9WB5Hy8SVbh2IG93YOWZIH VHrQ== X-Gm-Message-State: APuU4Z+dNFNxBjAAWKudogTDnv0MxcwYuzYnds/mo+xWNd+UMDuKxMeT fBOXtABZ+7ZunqHcBDjSSmCXf70idx2c+Hibe7lC10GsWrw4BBnrCsyBXujEvd65 X-Gm-Gg: AZFdTZdwYCFMMIJmg0UDjzwHRbUQmLdeHWzWjcWIqDtU/CkYUnzSqDftStcl8Q0GpiL pT37o4ZCwBW54KshLXAUenV66sfhEF3mm+o0M2g+85qcaEjP1bSEuDRzUxpzQu7dLn697REnLAH OmUxygvrXG4pUVR3U0o98DFUFyqlJxLdpIgNpfO5NG98xesufH79JidRcqjOYVXGPEm3Xw9E4zk uhdAvej2MKqQwSYr6ecabzt5vqU8OPBdC6XTNSINLw31lEB4qJ90N0zpyXiToq7mJaE73t3bgMA VGDtXCyUCbp7qpF2YjSvsCLhVjGLVlOD0hme8I6WVPpGguFjmyAbESEAeeAe2G2WuKKH5BDBYcB +MNGS6Fx1UX1rRjp2KPkJxFRcsfWhQB1vw5HzbGx3/E3vGITMNRaF18z2AC4Ej6r2elCWdGtK8v C6dULwdIr/PI/3l6e5Ar7n+M4LgLQWekaMaerHk8DI0YtCgEQn/uwBPiXTQOMuiFfjNkCpZtTp0 RHjvc7TSovdE6+5kGeJeOT6YSP5pQfenT16Uc8G9RWj+6VJHgsFrxsxyiKkAxZiE+3Lf9/K+h/a n9MRpiVfNcZdRfuLUAdSNAgjsSgFNnn2qrAfXPIuWYoM8QvehHVM0Wov+UIAca8ajQI52Bzy9Ri sXHsZjfEpvtEZp75OkISS+iltAP4+j5lB6XqxkwHOdGen2WOsvrlIA27R4UnsqYBD6avz8afV7c JSe1bsOY6SGL3b1XhYPsyY3co+arKH8TSNBsnjFM+fTDC6iYQba2cpvHP1m1sifRijK92Rxgapf +Xa/h4KmfgWEfF+BaR/VS7k/k+F1bfkQLsEQWXLJaKSCWwwKTLRM05HbGZSQGlPUXisirdVj/ZY O9JY X-Received: by 2002:a05:7301:6e9a:b0:37b:e01b:9f15 with SMTP id 5a478bee46e88-3857025f802mr18592624eec.24.1795594113697; Wed, 25 Nov 2026 00:08:33 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:33 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 41/55] simpleiot: upgrade 0.18.5 -> 0.36.1 Date: Wed, 25 Nov 2026 00:06:57 -0800 Message-ID: <20261125080732.2419614-47-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:35 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133044 Upstream changes (CHANGELOG.md): - The Elm web UI is replaced by a SvelteKit UI; the built assets are committed and embedded, so no node/npm is needed to build. - The legacy gps package is removed (breaking). - The `siot store` command, the Flux-query API, GET /v1/nodes and auth.getNatsURI are removed; the SQLite store is replaced by NATS JetStream streams (existing databases need `siot export`). - Client API renames, Influx tag nodeID -> node.id, and many security hardening changes (HTTP timeouts and limits, per-device credentials). - Built with Go 1.27.x (go.mod requires go 1.27.4). Drop the removed gps package from GO_INSTALL. Fetch by tag and add an upstream check that skips the stray 2020 v1.0.912 tag. modernc sqlite and bigfft are no longer dependencies, so drop the riscv64 bigfft license removal. simpleiot-go-mods.inc and simpleiot-licenses.inc are regenerated with `bitbake -c update_modules simpleiot`. The class cannot classify three module licenses, so set them by hand from their LICENSE files: beevik/ntp (BSD-2-Clause), warthog618/go-gpiocdev (MIT) and klauspost/compress/s2 (BSD-3-Clause). Remove the release helper scripts from the installed Go sources; they would pull bash into simpleiot-dev. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../simpleiot/simpleiot-go-mods.inc | 197 +++--------------- .../simpleiot/simpleiot-licenses.inc | 75 ++++--- ...impleiot_0.18.5.bb => simpleiot_0.36.1.bb} | 11 +- 3 files changed, 75 insertions(+), 208 deletions(-) rename meta-oe/recipes-extended/simpleiot/{simpleiot_0.18.5.bb => simpleiot_0.36.1.bb} (87%) diff --git a/meta-oe/recipes-extended/simpleiot/simpleiot-go-mods.inc b/meta-oe/recipes-extended/simpleiot/simpleiot-go-mods.inc index e2a7ba55aa..13a521cdf0 100644 --- a/meta-oe/recipes-extended/simpleiot/simpleiot-go-mods.inc +++ b/meta-oe/recipes-extended/simpleiot/simpleiot-go-mods.inc @@ -5,189 +5,60 @@ # running the update-modules task. SRC_URI += "\ - gomod://dario.cat/mergo;version=v1.0.1;mod=1;sha256sum=e23c4b803a6c6e6e45747946e87d24704cd77756cc484bdfd17b57223bf320d6 \ - gomod://github.com/RaveNoX/go-jsoncommentstrip;version=v1.0.0;mod=1;sha256sum=2b6982af288513a74b1e988042dad3f4a12d7ecb7af7320408d896e985ce7136 \ gomod://github.com/Wifx/gonetworkmanager/v2;version=v2.2.0;sha256sum=18ade00b4f176832df17d82c4877c7ddd415631f2e5622a83fd82efc98e30693 \ - gomod://github.com/adrianmo/go-nmea;version=v1.10.0;sha256sum=ee43675a0f61fa3a31cd51dc6e1484d7183867c654235a9671ba62b65fa2b030 \ + gomod://github.com/adrianmo/go-nmea;version=v1.11.0;sha256sum=fc3a281da709b93cbd05e6a4edf9e28984cd053f6e9359bf350959469138a470 \ + gomod://github.com/antithesishq/antithesis-sdk-go;version=v0.8.0;sha256sum=dd04b26ea465b9a90c8d4c87c4420091ed582df4ff384aeaa92d12e6be23856d \ gomod://github.com/apapsch/go-jsonmerge/v2;version=v2.0.0;sha256sum=b5fbdf29dc23b3ce98f5215b125ccd324b7673f0e940bc122080fcf2c77bbaf7 \ - gomod://github.com/beevik/ntp;version=v1.4.3;sha256sum=825c41d73aa363f10d94900c04b73b9ff6e43bfcfefb3666fdaaa8ce89434349 \ - gomod://github.com/bep/godartsass/v2;version=v2.5.0;mod=1;sha256sum=02ce0aa4e6352343bd13acc77da9f9785c606e701496d992e62db3d703a73f04 \ - gomod://github.com/bep/golibsass;version=v1.2.0;mod=1;sha256sum=7fb5d50c053fec7489a7b44ec2729f6315393a3c023c9055862e34ffef2d669a \ + gomod://github.com/beevik/ntp;version=v1.6.0;sha256sum=385cb6c9913b2e7614dc29f66c85de12861071f65f16c05eb858672b497891f5 \ gomod://github.com/blang/semver/v4;version=v4.0.0;sha256sum=96a2bbe11960f3a3c16db0da822c69ce9ac4b738ee731a0476031bbb71987504 \ - gomod://github.com/bmatcuk/doublestar;version=v1.1.1;mod=1;sha256sum=8742788f26a4d073c6a72174e6a068867c48ae4ea596664f7906a2d07329df52 \ gomod://github.com/cavaliercoder/grab;version=v2.0.0+incompatible;sha256sum=da1bd01e727ce57f8c5b49ce96e588cd831693a8f176481a3990fb93c4538cae \ - gomod://github.com/cosmtrek/air;version=v1.61.2;mod=1;sha256sum=9c2caf994a9a9c350c5b70d33890e0534ada6275b7af77a1ac532e93433e1054 \ - gomod://github.com/creack/goselect;version=v0.1.3;sha256sum=822b19b2e93d0d539af2d4549a20e4d0e30f7bc36b2c8b1a2e1e9f086e292702 \ - gomod://github.com/creack/pty;version=v1.1.24;mod=1;sha256sum=a3979fd32c00f35d17eb3b97d0b3cc6f4efb057bf78271361fa773531e601531 \ - gomod://github.com/davecgh/go-spew;version=v1.1.0;mod=1;sha256sum=bcb29393251237b79a17b6c19bf29134f43e8f438c3198988fcd461a1cdf05cc \ - gomod://github.com/davecgh/go-spew;version=v1.1.1;mod=1;sha256sum=bcb29393251237b79a17b6c19bf29134f43e8f438c3198988fcd461a1cdf05cc \ - gomod://github.com/dim13/cobs;version=v0.1.0;sha256sum=d43f6a1982362758699cc0b2eba466605f6a410ab4f9c6b4061b85ee5545ec7e \ + gomod://github.com/dim13/cobs;version=v1.0.5;sha256sum=7a7b47629fd498d3f7108c81fd34f3ac50605194ced93c6a8d115c71a7f2f416 \ gomod://github.com/donovanhide/eventsource;version=v0.0.0-20210830082556-c59027999da0;sha256sum=cf2e0fb54521715528f53d7030b286bb0896b4d6f11ee4478a456efcc25c4269 \ - gomod://github.com/dustin/go-humanize;version=v1.0.1;sha256sum=319404ea84c8a4e2d3d83f30988b006e7dd04976de3e1a1a90484ad94679fa46 \ - gomod://github.com/fatih/color;version=v1.18.0;mod=1;sha256sum=8732da74f45ec4c0ea5a7a3072c4d458aafb6102af75155d459dcb70afce6ae6 \ - gomod://github.com/frankban/quicktest;version=v1.7.2;mod=1;sha256sum=08a3eadc1b2c1b26532c07f937c883de0b29cb4df016f772907e75a934a9ce47 \ - gomod://github.com/fsnotify/fsnotify;version=v1.9.0;sha256sum=94e64824b23591b7aa504e3321d5ec3f57de88f4d49882eaefbbf6820dab746e \ + gomod://github.com/fsnotify/fsnotify;version=v1.10.1;sha256sum=b2c6a334e0d518da2e046066bdd9da34cb26bad6df9f17701802d3de522ab016 \ + gomod://github.com/fxamacker/cbor/v2;version=v2.9.6;sha256sum=f336ba6592c33671f7c331f3182ed60dbcc5e946c9cc9aef7818344634486652 \ gomod://github.com/go-audio/audio;version=v1.0.0;sha256sum=67d0a0608e5938058051a424e0ddddc351f14d053af4cc3b912eb0ef3b03d7a6 \ gomod://github.com/go-audio/riff;version=v1.0.0;sha256sum=1fb211d7f24bd1bbadf764ce92debf386fd4d86d17c5d3ab5198eeda0761e2fa \ gomod://github.com/go-audio/wav;version=v1.1.0;sha256sum=884d351372627717f4779da1fa58751481db5bfe9a623bdfd9a9e887c13e2e62 \ - gomod://github.com/go-ole/go-ole;version=v1.2.6;mod=1;sha256sum=de7da59858d6121956da002ded711242cc14ecf597e932a8625246418fd3bbaa \ - gomod://github.com/go-ole/go-ole;version=v1.3.0;mod=1;sha256sum=fcf0840f2ff50fbc3b5a54b9d4cb240c64d47003ab03e420aeff0057015a8953 \ - gomod://github.com/go-stack/stack;version=v1.8.1;mod=1;sha256sum=59885252908f44191d242c2384fbcc10b551763eb579c76c31301ef2b231194b \ - gomod://github.com/gobwas/glob;version=v0.2.3;mod=1;sha256sum=b5c6b172adc1878cd8e690ba9123b0a65753bacb38d87e6d683aca136d435578 \ - gomod://github.com/goccy/go-yaml;version=v1.17.1;sha256sum=d696eddbab891896b3a70334d04cfb0208cdc0e18544bebdf95926e1f64df310 \ - gomod://github.com/godbus/dbus/v5;version=v5.1.0;sha256sum=03dfa8e71089a6f477310d15c4d3a036d82d028532881b50fee254358e782ad9 \ - gomod://github.com/gofrs/uuid;version=v4.4.0+incompatible;sha256sum=5679a06ff2120efb43764a2d1389baf32c8971c0e664741c4d184299c76ebd3d \ - gomod://github.com/gohugoio/hugo;version=v0.146.5;mod=1;sha256sum=a9df5025ea96784eb9e982b83a6fb7b93af784931289942137e78670cb00a998 \ - gomod://github.com/golang/mock;version=v1.6.0;mod=1;sha256sum=bfb6a97ee76c72a56da2e8ac5dfd926166f793dfeafbbfb80cb33e6a060301a8 \ + gomod://github.com/goccy/go-yaml;version=v1.19.2;sha256sum=9ea8b466385c1ecf61fa55b68e409ea048b3d7fb1178eba66c1e24a7a30dfffb \ + gomod://github.com/godbus/dbus/v5;version=v5.2.4;sha256sum=2a3a2996c274cbb735aa7f634dbcc0b292c0dff154447896d3a95955d078fb83 \ + gomod://github.com/gofrs/uuid/v5;version=v5.5.1;sha256sum=1f3a1af9f73c5934482bccfeb3bca76779d0ea6668e1f21d7e8771052c6c8ada \ gomod://github.com/golang/protobuf;version=v1.5.4;sha256sum=9a2f43d3eac8ceda506ebbeb4f229254b87235ce90346692a0e233614182190b \ gomod://github.com/golang-jwt/jwt/v4;version=v4.5.2;sha256sum=ec5ee69a31fd478fc197fddce7c06dad1abe7543095a55c4ee6546ae79d99a0f \ - gomod://github.com/google/go-cmp;version=v0.3.1;mod=1;sha256sum=81df7917c225a9da7604b230d952fa278c60a8832c10d799385d134b05d5b087 \ - gomod://github.com/google/go-cmp;version=v0.7.0;mod=1;sha256sum=31c874a1d2a18e62b0550f823ce7a575c8dec7f8fd9d4fa1959bb12d7f7c0f14 \ - gomod://github.com/google/go-tpm;version=v0.9.3;mod=1;sha256sum=356b36889e4a391711d858bc6232b174b0dc9f6c527f7702f82dbf58a0fc5931 \ - gomod://github.com/google/uuid;version=v1.3.0;mod=1;sha256sum=73da47b6338b00a082fd451aa35a3273d3adc09b8e9bba98dab01091e402af6e \ gomod://github.com/google/uuid;version=v1.6.0;sha256sum=d0f02f377217f42702e259684e06441edbf5140dddcc34ba9bea56038b38a6ed \ gomod://github.com/gorilla/websocket;version=v1.5.3;sha256sum=dbbd31dd0f08548c5dc43e4c2f12bbba66abff5252b224b1cd06afbb72783a76 \ - gomod://github.com/inconshreveable/log15;version=v3.0.0-testing.5+incompatible;mod=1;sha256sum=7fed6370677c9ae877d9debbf3b11e0bfb9d3a8b1eee7ffcda6eba8b24f6f4be \ gomod://github.com/influxdata/influxdb-client-go/v2;version=v2.14.0;sha256sum=4ffe08fb3627acb6b8d2e3123b81e078b1ac80e43f7df99c07774350ee28cb20 \ gomod://github.com/influxdata/line-protocol;version=v0.0.0-20210922203350-b1ad95c89adf;sha256sum=5066d4c259facbf60f7bb1e9958ccdd6ea1a48b3091f473728264fbaa3acc868 \ - gomod://github.com/jacobsa/go-serial;version=v0.0.0-20180131005756-15cf729a72d4;sha256sum=9e41a562f445b3af5d55c4c2b2260a0c72905a7450b19e29cf5cebc68d3341fc \ - gomod://github.com/juju/gnuflag;version=v0.0.0-20171113085948-2ce1bb71843d;mod=1;sha256sum=6b38f2d5b0b9aaa7b7291c452735479c60d52e9b965e8c98628628914bd2757b \ - gomod://github.com/kevinburke/go-types;version=v0.0.0-20240719050749-165e75e768f7;sha256sum=f124d1b875448933a3f29f28c03e84686fb67b8ad225d2302afbf4c0cbdec741 \ - gomod://github.com/kevinburke/rest;version=v0.0.0-20240617045629-3ed0ad3487f0;sha256sum=954fe77c8119256baddee2d25fd1e5fdbf92436779e30c95bbdd7111abb730aa \ - gomod://github.com/kevinburke/twilio-go;version=v0.0.0-20240716172313-813590983ccc;sha256sum=4ab3e20e601335565e9ffed36f9add0b7f02f6b39317b8598efa329b4ea12711 \ + gomod://github.com/kevinburke/go-types;version=v1.3.0;sha256sum=63a551ac86d3cf40ecb2fafbd96e5dccfc589ba9b36fddefdbf3011d8c217000 \ + gomod://github.com/kevinburke/rest;version=v0.0.0-20260604005914-d145d8a0294b;sha256sum=a2a8a071b6c823f4ef8798239f17e1d58e535e93e7e184e071a71327aee0f6a7 \ + gomod://github.com/kevinburke/twilio-go;version=v0.0.0-20260522200016-74f727d55757;sha256sum=88755c6b8b7f329e12171e9a33287c5e5dd91089e7037c0fc481bf7c833db279 \ gomod://github.com/kjx98/crc16;version=v0.0.0-20190915014410-d407ba22e1b5;sha256sum=26290d513e54c37f15290333a12cbc1186ccdbf082b439d54ff7c2f3765b7809 \ - gomod://github.com/klauspost/compress;version=v1.18.0;sha256sum=c4679e4cbc820a21758199d985be754abf5eb2a38e6f1de95cd70b2e7ef06905 \ - gomod://github.com/koding/websocketproxy;version=v0.0.0-20181220232114-7ed82d81a28c;sha256sum=f6b7634941bce86359a30d42f15e9ff481e27586efb32c79195c3b150a4b1520 \ - gomod://github.com/kr/pretty;version=v0.1.0;mod=1;sha256sum=e3d5d46d2f6ac94a666a54b5e867ec16bf199d9f4b700827cd731607efdd109a \ - gomod://github.com/kr/pty;version=v1.1.1;mod=1;sha256sum=6da4c9c7364446894e5ef877e19f985cd51d671ce6e8f4ca87862b449f6dd7f6 \ - gomod://github.com/kr/text;version=v0.1.0;mod=1;sha256sum=2fba9529e5c13dde62f371ef7383baf04d7132501dac6aa08e910f9ec0bf85c5 \ - gomod://github.com/lufia/plan9stats;version=v0.0.0-20250317134145-8bc96cf8fc35;mod=1;sha256sum=37a53f16d9ab910339d4395983695afb4490aae01435c0a59980675c45d0bd95 \ - gomod://github.com/mattn/go-colorable;version=v0.1.13;mod=1;sha256sum=d6743ae2eae65716122f12b42c9f3f83a805c0ae32bd3c553d4a6f1bcb9243a5 \ - gomod://github.com/mattn/go-colorable;version=v0.1.14;mod=1;sha256sum=c199aee551968c8290b917524e0b232a862790a4831b0ed4cb43687e8c08aa18 \ - gomod://github.com/mattn/go-isatty;version=v0.0.16;mod=1;sha256sum=714766ec82d67db895ade8af6b8054ad430c3cea5e15b3a888f23ed2f3e1b863 \ - gomod://github.com/mattn/go-isatty;version=v0.0.20;mod=1;sha256sum=1eeabef1b4d98db73c6c2073289163649bc9a044552aca86b9d592fe84eaa1c8 \ - gomod://github.com/mattn/go-runewidth;version=v0.0.15;mod=1;sha256sum=216c93d19310612c81d5c741024989f83897d2333c3a9f967b58b1317587f519 \ - gomod://github.com/miekg/dns;version=v1.1.55;mod=1;sha256sum=aceec437e5016204726d92a6e111832f7e2f2f868beda5983b9e42d8d577cf74 \ - gomod://github.com/miekg/dns;version=v1.1.65;sha256sum=bec3cb244380ff7c70b492bd751c83450d9e7e67144c80ba9b926da79d344c53 \ - gomod://github.com/minio/highwayhash;version=v1.0.3;sha256sum=5fb067ae0c887ef9a9f4349fe32961533d0d7b33aad5fecea5bc451bd99029ed \ - gomod://github.com/nats-io/jwt/v2;version=v2.7.4;sha256sum=92c5eeb1ec70adb0360ce8ff3ea22d70d8f47be807ffb5cbe40dc5f518a1c0b5 \ - gomod://github.com/nats-io/nats-server/v2;version=v2.11.1;sha256sum=90fae990a307cfd37695a56e17bdd470c1a931bec696717ce5104c3cb5572ce2 \ - gomod://github.com/nats-io/nats.go;version=v1.41.2;sha256sum=6a1b2631e0d983032860c79ba138f008ba2cd5ce936595ae0f9d9eff36e3696f \ - gomod://github.com/nats-io/nkeys;version=v0.4.11;sha256sum=e4995029fc7859a685d5dd87532de27e259ca00ec077a0a55a185c983b02589d \ + gomod://github.com/klauspost/compress;version=v1.20.3;sha256sum=1eb710a814c44bf21332a512a19f496fb5c489ca8eb72244bb9c49f80900848f \ + gomod://github.com/miekg/dns;version=v1.1.73;sha256sum=bbed3c53b503db53002598615bf9bdb59918a6f9d72bd9151e0c52ab19e22a6f \ + gomod://github.com/minio/highwayhash;version=v1.0.4;sha256sum=7161afca7e587e4e3b5f76f6b7b9422eb14b2246c13cc1e7d6a7ac374f5f219b \ + gomod://github.com/nats-io/jwt/v2;version=v2.8.2;sha256sum=5e0760f093da6da081edf1940adba0d8bb03634075c8cbdc83639e6dab7713d0 \ + gomod://github.com/nats-io/nats-server/v2;version=v2.15.2;sha256sum=cd32ac3e814234d2b99368ad1eef71c3c76334a5595780b5c32166eee49aaba6 \ + gomod://github.com/nats-io/nats.go;version=v1.55.0;sha256sum=18e655f24519136d879af6017897a33e7d472174b3e4516306627e3e3acbff5d \ + gomod://github.com/nats-io/nkeys;version=v0.4.16;sha256sum=622f43893c8136fae2ee5a3b4375e5e6812ad564fde63fc80b806c1438428a31 \ gomod://github.com/nats-io/nuid;version=v1.0.1;sha256sum=809d144fbd16f91651a433e28d2008d339e19dafc450c5995e2ed92f1c17c1f3 \ - gomod://github.com/ncruces/go-strftime;version=v0.1.9;mod=1;sha256sum=e5864a1dd9ac62bd778e7444e02e1e4130fa7c00d88eaea271c34f934e724f73 \ - gomod://github.com/oapi-codegen/runtime;version=v1.1.1;sha256sum=59ad08313df3b8b1a24d9f8ecce0215ce48f5e39c16ad9a6b30aa393e0a80f89 \ - gomod://github.com/oklog/run;version=v1.1.0;sha256sum=d6f69fc71aa155043f926c2a98fc1e5b3a8ebab422f2f36d785cfba38a7ebee4 \ - gomod://github.com/pelletier/go-toml;version=v1.9.5;mod=1;sha256sum=c0ec26c7f843d368a2d5a9390359c567ebe316171bd651d31dcead1bb2e07ad9 \ - gomod://github.com/pelletier/go-toml/v2;version=v2.2.4;mod=1;sha256sum=72b2ddd20583039d110a50147c63fd1e419a5c4acc1ba8f28881f1df4486abae \ + gomod://github.com/oapi-codegen/runtime;version=v1.7.0;sha256sum=cd296c9a4b9d6d8e47de57c3e07b4f192ce5188253f8c29581f380404f99bb4b \ + gomod://github.com/oklog/run;version=v1.2.0;sha256sum=730451ad4b759a648873e99b72abb9e8b3f7e23a4949f808d0238b827594073d \ gomod://github.com/pkg/errors;version=v0.9.1;sha256sum=d4c36b8bcd0616290a3913215e0f53b931bd6e00670596f2960df1b44af2bd07 \ - gomod://github.com/pmezard/go-difflib;version=v1.0.0;mod=1;sha256sum=74b2e766eb215377864d587badf57e95521f692d2a7860b3c7759093f9c9bec2 \ - gomod://github.com/power-devops/perfstat;version=v0.0.0-20240221224432-82ca36839d55;mod=1;sha256sum=05744a9262bcd294613e65624f3f8bae83d79a58aa48b8328c7df91190aa07bf \ - gomod://github.com/remyoudompheng/bigfft;version=v0.0.0-20230129092748-24d4a6f8daec;sha256sum=9be16c32c384d55d0f7bd7b03f1ff1e9a4e4b91b000f0aa87a567a01b9b82398 \ - gomod://github.com/rivo/uniseg;version=v0.2.0;mod=1;sha256sum=6c7318a27a8d5473a8eb661e75fb00528176e0efc59310ed277ca13bd12a53f1 \ gomod://github.com/shirou/gopsutil/v3;version=v3.24.5;sha256sum=95ae6f59bf23d3400d96bdd3b8c84117effbd59cfab6ab37bd667d4b0ed79518 \ - gomod://github.com/shoenig/go-m1cpu;version=v0.1.6;mod=1;sha256sum=ddbcd6c6572075e609cbda5b7af0547a734e6ff2e1736e326051f5209c458b17 \ gomod://github.com/simpleiot/canparse;version=v0.0.0-20221213134514-84672be992d4;sha256sum=7e4fbfe8c354573384615cd35110dd399758332d0f133bbc451e71a573b7bd97 \ gomod://github.com/simpleiot/mdns;version=v0.0.1;sha256sum=fd4aa5408c4f2bc0f91d0d9a76f3f11040f30f254e6744a6e8ae8db60cca008d \ - gomod://github.com/spf13/afero;version=v1.14.0;mod=1;sha256sum=f2957f49917d0f746a956a2d8b2eed9d85b138427c74830d5555a9c0658f7e33 \ - gomod://github.com/spf13/cast;version=v1.7.1;mod=1;sha256sum=7d2f6a01b576af92f8a35c582145dc94137966ee88378b4a3a611457d7104211 \ - gomod://github.com/spkg/bom;version=v0.0.0-20160624110644-59b7046e48ad;mod=1;sha256sum=5b5cb30d6228ba0011eaa47ad0526c2ed1ec0764e25581b0979899c0b955431b \ - gomod://github.com/stretchr/objx;version=v0.1.0;mod=1;sha256sum=1350354d52d2287a62336ecc0d56232d4c47699af9bba49c67c2b48254da98f1 \ - gomod://github.com/stretchr/testify;version=v1.3.0;mod=1;sha256sum=ab063d5154a8e8730bced4c52698e5770eb50bfae347bebc35eca488b8e3f6e3 \ - gomod://github.com/stretchr/testify;version=v1.5.1;mod=1;sha256sum=e3a11c2a6c5fe06f8a221e7289684917ac49ad01233f81b51c8360773707e700 \ - gomod://github.com/tdewolff/parse/v2;version=v2.7.23;mod=1;sha256sum=441757c222cd891c400ec37f144a2180982684bea7fe2389f3d849ad2ac2ac2f \ - gomod://github.com/tdewolff/test;version=v1.0.11;mod=1;sha256sum=f4479f3afd09fbb91a219348a522207effae7389ae5da311fd866ff48b8616eb \ - gomod://github.com/tklauser/go-sysconf;version=v0.3.15;sha256sum=caa29c6df6c316969c9f2559186bd1ca8f8aceafbef236233e415c1d974f0383 \ - gomod://github.com/tklauser/numcpus;version=v0.10.0;sha256sum=b2526d47517ccff481cc7baad7f450bdde58ddb9b65d53e3eec7c3504f94e853 \ + gomod://github.com/tklauser/go-sysconf;version=v0.4.0;sha256sum=61e89253bc4d7091170601be12633dc02e94a3bc30470b081a2449944fa18784 \ + gomod://github.com/tklauser/numcpus;version=v0.12.0;sha256sum=56c22a112976df3a4d8db776b41288658070650ae6382ec86d0a32fc07af0276 \ gomod://github.com/ttacon/builder;version=v0.0.0-20170518171403-c099f663e1c2;sha256sum=f557d1c3978f22d3b4aa564881e71ae6f25cbfa4e30c574ab95259ba8c5c20f7 \ gomod://github.com/ttacon/libphonenumber;version=v1.2.1;sha256sum=607fc7cf995eb8a26acc36cb9292bc7c82ccac8ba83bd3933bb7def85dc77020 \ - gomod://github.com/yuin/goldmark;version=v1.3.5;mod=1;sha256sum=dab1d663b860ebe545fcdcec24e5f933d517bd2019af68d7a6b5a8764aa61b0f \ - gomod://github.com/yuin/goldmark;version=v1.4.13;mod=1;sha256sum=ee7fe4466203a01d3ac19adc134cdec99bc6de71992c28f3dd9a74480bff0603 \ - gomod://github.com/yusufpapurcu/wmi;version=v1.2.4;mod=1;sha256sum=ff2a9c8c99aaed6bc6984eae094a9e8cdc36f6ab2ef2c56779dd98ecc583135b \ - gomod://go.bug.st/serial;version=v1.6.4;sha256sum=4d529616edc9d0ae1213c7bdf76ff45b2c269561262d958f8113993fde38fd49 \ - gomod://go.einride.tech/can;version=v0.12.2;sha256sum=d7bc5a3d13aa66513e7d5ba2018111cf82441eb670f169850cefef00ed54dc53 \ - gomod://golang.org/x/crypto;version=v0.0.0-20190308221718-c2843e01d9a2;mod=1;sha256sum=33ed070a5a66e0960685ac5386440e1b59899e74d8a38a1180685e72a2195ded \ - gomod://golang.org/x/crypto;version=v0.0.0-20191011191535-87dc89f01550;mod=1;sha256sum=3ab9f01f4610fe7b39bd85d68e8d97825351e7e282c39cda41457c2a276f3be3 \ - gomod://golang.org/x/crypto;version=v0.0.0-20210921155107-089bfa567519;mod=1;sha256sum=cd6311612a2aa4d0d7e03c41b3aa1fbc2d5f895ab3f61089fab80bfe9f8f5485 \ - gomod://golang.org/x/crypto;version=v0.11.0;mod=1;sha256sum=fcbb894badd69e1e81ba36878fa88b90dad5ee703d5f55069d4b5fa240019743 \ - gomod://golang.org/x/crypto;version=v0.37.0;sha256sum=7ce6b2be21be1ce9e04dc784830e08931f09b5903596b8017839322c9e828667 \ - gomod://golang.org/x/exp;version=v0.0.0-20250408133849-7e4ce0ab07d0;sha256sum=2d49e384cac0121dd56d7acba9d396f69e05203a5a9931c47879984f333c3963 \ - gomod://golang.org/x/lint;version=v0.0.0-20241112194109-818c5a804067;mod=1;sha256sum=4be743c2c22d63cc685d604114b0ab9312ab1f1c35266441e503317b78b7cf50 \ - gomod://golang.org/x/mod;version=v0.1.1-0.20191105210325-c90efee705ee;mod=1;sha256sum=d76bbdea81d196d09858967a67ac805dacecdd1fb30c5001a187d24c129b1597 \ - gomod://golang.org/x/mod;version=v0.24.0;mod=1;sha256sum=1fb8ad2f7201cd79bf178578b35aaead1720cab2b8cfea35b99b25b60839f1ef \ - gomod://golang.org/x/mod;version=v0.4.2;mod=1;sha256sum=b288f088fd851885a6d348339e2f588e58a94e6c76e5e634ae1d67c2749eb413 \ - gomod://golang.org/x/mod;version=v0.6.0-dev.0.20220419223038-86c51ed26bb4;mod=1;sha256sum=42d19023ff8f2eae700bc5495f371ecd998a22d19ba985d0af5f69900b254083 \ - gomod://golang.org/x/mod;version=v0.7.0;mod=1;sha256sum=624567459c6e9947ac4abde0b7034ee61dcbb6a9373f5970094c0bb3e8121964 \ - gomod://golang.org/x/mod;version=v0.8.0;mod=1;sha256sum=624567459c6e9947ac4abde0b7034ee61dcbb6a9373f5970094c0bb3e8121964 \ - gomod://golang.org/x/net;version=v0.0.0-20190404232315-eb5bcb51f2a3;mod=1;sha256sum=f7046769daac02beb57cbcc481280df59fb403c96fe8262282aba858c7f7fa4d \ - gomod://golang.org/x/net;version=v0.0.0-20190620200207-3b0461eec859;mod=1;sha256sum=e6efdaf78a29503f080cf6d2615e289cfb1d9e3ab7d570f53668eca2b4ab41da \ - gomod://golang.org/x/net;version=v0.0.0-20210226172049-e18ecbb05110;mod=1;sha256sum=fef5896d103a0bce5055fdb5e96e830944334792437865347718edceb633348a \ - gomod://golang.org/x/net;version=v0.0.0-20210405180319-a5a99cb37ef4;mod=1;sha256sum=f6b0f9968f5a7d986fcb57ebe2a14095118bbd1cbf6785d003f7afd711dcb1bd \ - gomod://golang.org/x/net;version=v0.0.0-20220722155237-a158d28d115b;mod=1;sha256sum=b315c52647d2da2f76e5cdb9d367e1d6727784236a9bffb612192b19b10a128d \ - gomod://golang.org/x/net;version=v0.10.0;mod=1;sha256sum=d3b7e236ff09e6322be489170216e018d3221862f1a053dcb63e53eab8533c17 \ - gomod://golang.org/x/net;version=v0.12.0;mod=1;sha256sum=081afe562ad029bcf9a528eadada1f210d75aaa37b51773ede7b3eab1d2bc0e9 \ - gomod://golang.org/x/net;version=v0.2.0;mod=1;sha256sum=07ec645e3353fc2673f2d8dee5c14eb928b9c13127a409fe3ec40eaba4dbdb30 \ - gomod://golang.org/x/net;version=v0.39.0;sha256sum=d8434ce72d2356472570adbbd38c538d24fe9a9678bffaa6ef99ec47ca3be0a5 \ - gomod://golang.org/x/net;version=v0.6.0;mod=1;sha256sum=41ec76ea2172f3ee3031e38f9a535939a584d6bb35ef480854fdcb8c2026701b \ - gomod://golang.org/x/sync;version=v0.0.0-20190423024810-112230192c58;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \ - gomod://golang.org/x/sync;version=v0.0.0-20210220032951-036812b2e83c;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \ - gomod://golang.org/x/sync;version=v0.0.0-20220722155255-886fb9371eb4;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \ - gomod://golang.org/x/sync;version=v0.1.0;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \ - gomod://golang.org/x/sync;version=v0.13.0;sha256sum=4bdaaffe69cc7c997cff97cd81dc9c6777777bd311175f100f76b049bbbe7ed9 \ - gomod://golang.org/x/sys;version=v0.0.0-20190215142949-d0b11bdaac8a;mod=1;sha256sum=8969115e4a39108848324e79a1bd8a8445230e6e3aaccbe9f8057fb50fffc8c1 \ - gomod://golang.org/x/sys;version=v0.0.0-20190412213103-97732733099d;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \ - gomod://golang.org/x/sys;version=v0.0.0-20190916202348-b4ddaad3f8a3;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \ - gomod://golang.org/x/sys;version=v0.0.0-20201119102817-f84b799fce68;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \ - gomod://golang.org/x/sys;version=v0.0.0-20201204225414-ed752295db88;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \ - gomod://golang.org/x/sys;version=v0.0.0-20210330210617-4fbd30eecc44;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \ - gomod://golang.org/x/sys;version=v0.0.0-20210510120138-977fb7262007;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.0.0-20210615035016-665e8c7367d1;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.0.0-20220520151302-bc2c85ada10a;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.0.0-20220722155257-8c9f86f7a55f;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.0.0-20220811171246-fbc7d0a398ab;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.1.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.10.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.13.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.14.0;mod=1;sha256sum=d227b325f621f4ebe28d39ba773ea99b870f393b7c09c34592c365b16dd560de \ - gomod://golang.org/x/sys;version=v0.2.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.21.0;mod=1;sha256sum=d227b325f621f4ebe28d39ba773ea99b870f393b7c09c34592c365b16dd560de \ - gomod://golang.org/x/sys;version=v0.32.0;sha256sum=85d47075d21fd7ef35d9a47fc73f2356fb3cd2e7fab7f45c874b814bf312127d \ - gomod://golang.org/x/sys;version=v0.5.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.6.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/sys;version=v0.8.0;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \ - gomod://golang.org/x/term;version=v0.0.0-20201126162022-7de9c90e9dd1;mod=1;sha256sum=4cbab14f7706771b271d995a1b3cc131fe5a246aadc7ee6d1ba6f0bd894781fa \ - gomod://golang.org/x/term;version=v0.0.0-20210927222741-03fcf44c2211;mod=1;sha256sum=740794e2914f5cc87e25656c5843222b2c65665821205f45632a0477c8d3f79b \ - gomod://golang.org/x/term;version=v0.10.0;mod=1;sha256sum=db4065eb2413a271c2a3b3c71c8a8aa20b77fa185953d9664faa87ac95a99d81 \ - gomod://golang.org/x/term;version=v0.13.0;mod=1;sha256sum=26277b0b5bc33d0241f2337839e8a663d2a6c603058870f27ced9df1fee7e357 \ - gomod://golang.org/x/term;version=v0.2.0;mod=1;sha256sum=edf833da101900fe2ce8db23409e42448f441898d3d7d8ee451988e3b30c9302 \ - gomod://golang.org/x/term;version=v0.5.0;mod=1;sha256sum=0d6f58228aadc1a6528e6755da018516566e3ae5c5201f7ade1773f56fa8d934 \ - gomod://golang.org/x/term;version=v0.8.0;mod=1;sha256sum=5d362d6a83453f7024725e824c05c5949624ef8f4cb13f5d7e3d4b7f1ca0b327 \ - gomod://golang.org/x/text;version=v0.11.0;mod=1;sha256sum=151e6a1839491c4b50dfe9c33451f06328d5518bd8ee4a0061de02b7ad332fb2 \ - gomod://golang.org/x/text;version=v0.24.0;sha256sum=f585335a57a6fa5fa0c0bf319b45f0909e5ff1aba91e8567187ba8e423084c00 \ - gomod://golang.org/x/text;version=v0.3.0;mod=1;sha256sum=36879d586fd8001e84da8787190a11e4f78749e2a81dfe8b9b6931899fff31cf \ - gomod://golang.org/x/text;version=v0.3.3;mod=1;sha256sum=fbb7a88ed140515e790eca7a10ffd319c9786b11c6a6c7e59f80f7fb37bb4542 \ - gomod://golang.org/x/text;version=v0.3.7;mod=1;sha256sum=c45d669089427bc4635d07b185f9b9680332d1c48c75b3c49cb715b81a04a5b0 \ - gomod://golang.org/x/text;version=v0.4.0;mod=1;sha256sum=15929e76fce04aea4c92a354426bb43370684645a4ee03f2e75d0c2eb1466304 \ - gomod://golang.org/x/text;version=v0.7.0;mod=1;sha256sum=15929e76fce04aea4c92a354426bb43370684645a4ee03f2e75d0c2eb1466304 \ - gomod://golang.org/x/text;version=v0.9.0;mod=1;sha256sum=436f592e77b593b02fbea374e23ad3369c8623ff0d29c91de7de1e6672db9a41 \ - gomod://golang.org/x/time;version=v0.11.0;sha256sum=a94a0e3766428c1b0acb6f33d8e97f162403530d993938c1741088f6d2a4cd13 \ - gomod://golang.org/x/tools;version=v0.0.0-20180917221912-90fa682c2a6e;mod=1;sha256sum=a0e02f0678fe62dc3c4b4bc77fa912c9b70de10fa9f7cf2f7aad0337392b52af \ - gomod://golang.org/x/tools;version=v0.0.0-20191119224855-298f0cb1881e;mod=1;sha256sum=88d479265f886f5e598d76c003d0f257b42dbf1b895d820a12b5ab0b3501aca1 \ - gomod://golang.org/x/tools;version=v0.0.0-20200130002326-2f3ba24bd6e7;mod=1;sha256sum=5ea469c803b6ef8d41d1561b9e301a003fdd93976468bda5574b26b056ea7f49 \ - gomod://golang.org/x/tools;version=v0.1.1;mod=1;sha256sum=03697605374ee3b0fa9b502ea456d9c6ae1835dac22e35baa2a99c4058a0fe31 \ - gomod://golang.org/x/tools;version=v0.1.12;mod=1;sha256sum=2a8b9365898f0822face65ba089a1353e68a65d342f300ca317cceccde6421f3 \ - gomod://golang.org/x/tools;version=v0.3.0;mod=1;sha256sum=be082bd1ac60dce89e16e82652f02d1236109c95f3fd76c165b500d97ea3984e \ - gomod://golang.org/x/tools;version=v0.32.0;mod=1;sha256sum=4fa3f3fcd7c18fc9ee29aa942ab9d27ec1d88faa932d32a68652bbb4dc20dcd9 \ - gomod://golang.org/x/tools;version=v0.6.0;mod=1;sha256sum=830ed78dcd3e9927c412e2641230308447749d513d31024d276e2443b2016609 \ - gomod://golang.org/x/xerrors;version=v0.0.0-20190717185122-a985d3407aa7;mod=1;sha256sum=aa5e3ec9bb7b9f681609efac019d9de1a7ba7719248ff1eaa27e78882db3d7f5 \ - gomod://golang.org/x/xerrors;version=v0.0.0-20191011141410-1b5146add898;mod=1;sha256sum=aa5e3ec9bb7b9f681609efac019d9de1a7ba7719248ff1eaa27e78882db3d7f5 \ - gomod://golang.org/x/xerrors;version=v0.0.0-20200804184101-5ec99f83aff1;mod=1;sha256sum=aa5e3ec9bb7b9f681609efac019d9de1a7ba7719248ff1eaa27e78882db3d7f5 \ - gomod://google.golang.org/protobuf;version=v1.36.6;sha256sum=3294ac8ea5089b3c231351afaea4f012e8027a9beeb523bbf31dcb383cc0ab99 \ - gomod://gopkg.in/check.v1;version=v0.0.0-20161208181325-20d25e280405;mod=1;sha256sum=5c306e0d633cd66a11b40e2e5fbbc6da42110db7d72ea3c1524ceb45ee40c33f \ - gomod://gopkg.in/yaml.v2;version=v2.2.2;mod=1;sha256sum=88d979d2f093d2397f756bc86efa2ca03f73a60d668ceb391b3510029f3f7cfc \ - gomod://gopkg.in/yaml.v3;version=v3.0.1;mod=1;sha256sum=21579860a20306fcf43b1bd234d1fba319499c77611b71c05f9bf3ba90dab939 \ - gomod://modernc.org/libc;version=v1.63.0;sha256sum=e74cb037965c63872c284d6db4f7a77bad774be3252ab3fcb7507449ab3a8b1d \ - gomod://modernc.org/mathutil;version=v1.7.1;sha256sum=5be0da18eb557a1198bfe370e37022f2dbdb9cdc5d63130fc8e8330ab240bd2e \ - gomod://modernc.org/memory;version=v1.10.0;sha256sum=491975efca8af6053b783363ea99d111fdee588413280cd35aef23aaacb8cc92 \ - gomod://modernc.org/sqlite;version=v1.37.0;sha256sum=3d76af7bb3f336f1880dd7b29f7edc78f58dfcb9b0df664e6d6aca9cc6996ebe \ + gomod://github.com/warthog618/go-gpiocdev;version=v0.10.0;sha256sum=ada5f6dad2eb20a70672d9297920ca09a2f2ba70bc8e7338c47a6a4437805ab2 \ + gomod://github.com/x448/float16;version=v0.8.4;sha256sum=73b24a41037ea999ab66851e3798a0973dbb1f214925915b01f0820f7b2f1500 \ + gomod://go.bug.st/serial;version=v1.8.0;sha256sum=378c14e9abfbee0dcf681ce6603a5d21ce10bdb2930a4aedc571aa0e6eb2fb93 \ + gomod://go.einride.tech/can;version=v0.17.0;sha256sum=636fcff5905e020f5ec9f390c9189231fdb2a4956b7a8101158cb1944e4105cb \ + gomod://golang.org/x/crypto;version=v0.58.0;sha256sum=b0a45594cda20ddb4264d84aeff9b588b8570bf6a2833c51a0b821734a298d95 \ + gomod://golang.org/x/net;version=v0.61.0;sha256sum=f6843a98d608298e48a6ca287292c9a6fae066284050ce174d5ffb781c9b3dcf \ + gomod://golang.org/x/sync;version=v0.24.0;sha256sum=ca3fcf3ea8259e75891f7947e1a816a5b89402c542d45d8bbbd9e061b0c58019 \ + gomod://golang.org/x/sys;version=v0.49.0;sha256sum=e73a06591ca0d7016ce3ccb45c36a8ed7128468aecc1a357f94d815c760c6b31 \ + gomod://golang.org/x/text;version=v0.43.0;sha256sum=b75131f628f6e2e4892fd638d33127e952a5027775e0162b94ba069cb4e13863 \ + gomod://golang.org/x/time;version=v0.16.0;sha256sum=ac27777be8088859ba3b1bea3648064dc95ff8bac3023b1b059d1ab126dc729e \ + gomod://google.golang.org/protobuf;version=v1.36.12;sha256sum=68f8a3174aff42950fd9bd02c11b45c6986eb8060508d124d1c3dd6bf86b9be6 \ " diff --git a/meta-oe/recipes-extended/simpleiot/simpleiot-licenses.inc b/meta-oe/recipes-extended/simpleiot/simpleiot-licenses.inc index 30d1dcaed8..2a68e49e71 100644 --- a/meta-oe/recipes-extended/simpleiot/simpleiot-licenses.inc +++ b/meta-oe/recipes-extended/simpleiot/simpleiot-licenses.inc @@ -8,65 +8,60 @@ LICENSE += "AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT" LIC_FILES_CHKSUM += "\ file://pkg/mod/github.com/!wifx/gonetworkmanager/v2@v2.2.0/LICENSE;md5=6141b9302c8d2bf2b55e88f6b544aca4;spdx=MIT \ - file://pkg/mod/github.com/adrianmo/go-nmea@v1.10.0/LICENSE;md5=6e0535478493248dd9a4800d34e3c5e4;spdx=MIT \ + file://pkg/mod/github.com/adrianmo/go-nmea@v1.11.0/LICENSE;md5=6e0535478493248dd9a4800d34e3c5e4;spdx=MIT \ + file://pkg/mod/github.com/antithesishq/antithesis-sdk-go@v0.8.0/LICENSE;md5=d4acd312580e85f1c3581f3db0284c3f;spdx=MIT \ file://pkg/mod/github.com/apapsch/go-jsonmerge/v2@v2.0.0/LICENSE;md5=d28a9354af0254dfae10c119378968c3;spdx=MIT \ - file://pkg/mod/github.com/beevik/ntp@v1.4.3/LICENSE;md5=4a1cd241543bc24ca646216d5070e3ba;spdx=BSD-2-Clause \ + file://pkg/mod/github.com/beevik/ntp@v1.6.0/LICENSE;md5=6eb8be47a6e20b65c54e10079cf78fed;spdx=BSD-2-Clause \ file://pkg/mod/github.com/blang/semver/v4@v4.0.0/LICENSE;md5=5a3ade42a900439691ebc22013660cae;spdx=MIT \ file://pkg/mod/github.com/cavaliercoder/grab@v2.0.0+incompatible/LICENSE;md5=73a9fd187cdcda4e3009f73e69b5b348;spdx=BSD-3-Clause \ - file://pkg/mod/github.com/creack/goselect@v0.1.3/LICENSE;md5=53145d9bb75251a18e111de5d23803e6;spdx=MIT \ - file://pkg/mod/github.com/dim13/cobs@v0.1.0/LICENSE;md5=03347de97baa07892a6fd07d08c7d69f;spdx=ISC \ + file://pkg/mod/github.com/dim13/cobs@v1.0.5/LICENSE;md5=03347de97baa07892a6fd07d08c7d69f;spdx=ISC \ file://pkg/mod/github.com/donovanhide/eventsource@v0.0.0-20210830082556-c59027999da0/LICENCE;md5=b8c58c415ca3eaa2fd30f0e87a1f6d0b;spdx=Apache-2.0 \ - file://pkg/mod/github.com/dustin/go-humanize@v1.0.1/LICENSE;md5=8c6127b79304a5e0a5756d03c7a58766;spdx=MIT \ - file://pkg/mod/github.com/fsnotify/fsnotify@v1.9.0/LICENSE;md5=8bae8b116e2cfd723492b02d9a212fe2;spdx=BSD-3-Clause \ + file://pkg/mod/github.com/fsnotify/fsnotify@v1.10.1/LICENSE;md5=8bae8b116e2cfd723492b02d9a212fe2;spdx=BSD-3-Clause \ + file://pkg/mod/github.com/fxamacker/cbor/v2@v2.9.6/LICENSE;md5=827f5a2fa861382d35a3943adf9ebb86;spdx=MIT \ file://pkg/mod/github.com/go-audio/audio@v1.0.0/LICENSE;md5=754bb36ff8a144c2b48c0d94a7d4dc93;spdx=Apache-2.0 \ file://pkg/mod/github.com/go-audio/riff@v1.0.0/LICENSE;md5=b56ab64450854def91d77fe6e243bbbf;spdx=Apache-2.0 \ file://pkg/mod/github.com/go-audio/wav@v1.1.0/LICENSE;md5=754bb36ff8a144c2b48c0d94a7d4dc93;spdx=Apache-2.0 \ - file://pkg/mod/github.com/goccy/go-yaml@v1.17.1/LICENSE;md5=346470d8ac0a6ffe1eb8635a452cec2b;spdx=MIT \ - file://pkg/mod/github.com/godbus/dbus/v5@v5.1.0/LICENSE;md5=09042bd5c6c96a2b9e45ddf1bc517eed;spdx=BSD-2-Clause \ - file://pkg/mod/github.com/gofrs/uuid@v4.4.0+incompatible/LICENSE;md5=ae4ba217c6e20c2d8f48f69966b9121b;spdx=MIT \ + file://pkg/mod/github.com/goccy/go-yaml@v1.19.2/LICENSE;md5=346470d8ac0a6ffe1eb8635a452cec2b;spdx=MIT \ + file://pkg/mod/github.com/godbus/dbus/v5@v5.2.4/LICENSE;md5=09042bd5c6c96a2b9e45ddf1bc517eed;spdx=BSD-2-Clause \ + file://pkg/mod/github.com/gofrs/uuid/v5@v5.5.1/LICENSE;md5=ae4ba217c6e20c2d8f48f69966b9121b;spdx=MIT \ file://pkg/mod/github.com/golang/protobuf@v1.5.4/LICENSE;md5=939cce1ec101726fa754e698ac871622;spdx=BSD-3-Clause \ file://pkg/mod/github.com/golang-jwt/jwt/v4@v4.5.2/LICENSE;md5=a21b708d8b320c68979c44ac9dba9b0d;spdx=MIT \ file://pkg/mod/github.com/google/uuid@v1.6.0/LICENSE;md5=88073b6dd8ec00fe09da59e0b6dfded1;spdx=BSD-3-Clause \ file://pkg/mod/github.com/gorilla/websocket@v1.5.3/LICENSE;md5=c007b54a1743d596f46b2748d9f8c044;spdx=BSD-2-Clause \ file://pkg/mod/github.com/influxdata/influxdb-client-go/v2@v2.14.0/LICENSE;md5=d9c113dde7e4204f5f9d358891a4e443;spdx=MIT \ file://pkg/mod/github.com/influxdata/line-protocol@v0.0.0-20210922203350-b1ad95c89adf/LICENSE;md5=f39a8d10930fb37bd59adabb3b9d0bd6;spdx=MIT \ - file://pkg/mod/github.com/jacobsa/go-serial@v0.0.0-20180131005756-15cf729a72d4/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \ - file://pkg/mod/github.com/kevinburke/go-types@v0.0.0-20240719050749-165e75e768f7/LICENSE;md5=4204bfe0edce818653d44307464444b7;spdx=MIT \ - file://pkg/mod/github.com/kevinburke/rest@v0.0.0-20240617045629-3ed0ad3487f0/LICENSE;md5=227f6afd9446fe7966184746a27f5242;spdx=MIT \ - file://pkg/mod/github.com/kevinburke/twilio-go@v0.0.0-20240716172313-813590983ccc/LICENSE;md5=b791e6d3eb7e39934aeaedd48ce381f8;spdx=MIT \ + file://pkg/mod/github.com/kevinburke/go-types@v1.3.0/LICENSE;md5=4204bfe0edce818653d44307464444b7;spdx=MIT \ + file://pkg/mod/github.com/kevinburke/rest@v0.0.0-20260604005914-d145d8a0294b/LICENSE;md5=227f6afd9446fe7966184746a27f5242;spdx=MIT \ + file://pkg/mod/github.com/kevinburke/twilio-go@v0.0.0-20260522200016-74f727d55757/LICENSE;md5=b791e6d3eb7e39934aeaedd48ce381f8;spdx=MIT \ file://pkg/mod/github.com/kjx98/crc16@v0.0.0-20190915014410-d407ba22e1b5/LICENSE;md5=591778525c869cdde0ab5a1bf283cd81;spdx=BSD-3-Clause \ - file://pkg/mod/github.com/klauspost/compress@v1.18.0/LICENSE;md5=d0fd9ebda39468b51ff4539c9fbb13a8;spdx=BSD-3-Clause \ - file://pkg/mod/github.com/koding/websocketproxy@v0.0.0-20181220232114-7ed82d81a28c/LICENSE.md;md5=25aa8f754fcf7724a7cc932e6e402467;spdx=MIT \ - file://pkg/mod/github.com/miekg/dns@v1.1.65/COPYRIGHT;md5=2ba6b7bd91e16af46a856eca87db2504;spdx=BSD-3-Clause \ - file://pkg/mod/github.com/minio/highwayhash@v1.0.3/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \ - file://pkg/mod/github.com/nats-io/jwt/v2@v2.7.4/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ - file://pkg/mod/github.com/nats-io/nats-server/v2@v2.11.1/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ - file://pkg/mod/github.com/nats-io/nats.go@v1.41.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ - file://pkg/mod/github.com/nats-io/nkeys@v0.4.11/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ + file://pkg/mod/github.com/klauspost/compress@v1.20.3/LICENSE;md5=d0fd9ebda39468b51ff4539c9fbb13a8;spdx=BSD-3-Clause \ + file://pkg/mod/github.com/klauspost/compress@v1.20.3/s2/LICENSE;md5=2460814a2b25a7277556c2d89de915d1;spdx=BSD-3-Clause \ + file://pkg/mod/github.com/miekg/dns@v1.1.73/COPYRIGHT;md5=2ba6b7bd91e16af46a856eca87db2504;spdx=BSD-3-Clause \ + file://pkg/mod/github.com/minio/highwayhash@v1.0.4/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \ + file://pkg/mod/github.com/nats-io/jwt/v2@v2.8.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ + file://pkg/mod/github.com/nats-io/nats-server/v2@v2.15.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ + file://pkg/mod/github.com/nats-io/nats.go@v1.55.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ + file://pkg/mod/github.com/nats-io/nkeys@v0.4.16/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ file://pkg/mod/github.com/nats-io/nuid@v1.0.1/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ - file://pkg/mod/github.com/oapi-codegen/runtime@v1.1.1/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ - file://pkg/mod/github.com/oklog/run@v1.1.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ + file://pkg/mod/github.com/oapi-codegen/runtime@v1.7.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ + file://pkg/mod/github.com/oklog/run@v1.2.0/LICENSE;md5=c19dbea2f4885137f8d45fede9891755;spdx=Apache-2.0 \ file://pkg/mod/github.com/pkg/errors@v0.9.1/LICENSE;md5=6fe682a02df52c6653f33bd0f7126b5a;spdx=BSD-2-Clause \ - file://pkg/mod/github.com/remyoudompheng/bigfft@v0.0.0-20230129092748-24d4a6f8daec/LICENSE;md5=591778525c869cdde0ab5a1bf283cd81;spdx=BSD-3-Clause \ file://pkg/mod/github.com/shirou/gopsutil/v3@v3.24.5/LICENSE;md5=ae6de3dee02712a1e55b280671be53bf;spdx=BSD-3-Clause \ file://pkg/mod/github.com/simpleiot/canparse@v0.0.0-20221213134514-84672be992d4/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327;spdx=Apache-2.0 \ file://pkg/mod/github.com/simpleiot/mdns@v0.0.1/LICENSE;md5=448ff43c4a3e516543f6851bbd93e91c;spdx=MIT \ - file://pkg/mod/github.com/tklauser/go-sysconf@v0.3.15/LICENSE;md5=d4eb2084b3083d2c275ec52ef4ba9ac1;spdx=BSD-3-Clause \ - file://pkg/mod/github.com/tklauser/numcpus@v0.10.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \ + file://pkg/mod/github.com/tklauser/go-sysconf@v0.4.0/LICENSE;md5=d4eb2084b3083d2c275ec52ef4ba9ac1;spdx=BSD-3-Clause \ + file://pkg/mod/github.com/tklauser/numcpus@v0.12.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57;spdx=Apache-2.0 \ file://pkg/mod/github.com/ttacon/builder@v0.0.0-20170518171403-c099f663e1c2/LICENSE;md5=aafb066baab23d173788a374c4f1237c;spdx=MIT \ file://pkg/mod/github.com/ttacon/libphonenumber@v1.2.1/LICENSE;md5=c50a0d1f6d5c976b3a49e7446b35dad4;spdx=MIT \ - file://pkg/mod/go.bug.st/serial@v1.6.4/LICENSE;md5=6067cc6529e21146d9c556ee2f680c27;spdx=BSD-3-Clause \ - file://pkg/mod/go.einride.tech/can@v0.12.2/LICENSE;md5=4b52f8fd14bd4d6b199350d4963091e5;spdx=MIT \ - file://pkg/mod/golang.org/x/crypto@v0.37.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ - file://pkg/mod/golang.org/x/exp@v0.0.0-20250408133849-7e4ce0ab07d0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ - file://pkg/mod/golang.org/x/net@v0.39.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ - file://pkg/mod/golang.org/x/sync@v0.13.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ - file://pkg/mod/golang.org/x/sys@v0.32.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ - file://pkg/mod/golang.org/x/text@v0.24.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ - file://pkg/mod/golang.org/x/time@v0.11.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ - file://pkg/mod/google.golang.org/protobuf@v1.36.6/LICENSE;md5=02d4002e9171d41a8fad93aa7faf3956;spdx=BSD-3-Clause \ - file://pkg/mod/modernc.org/libc@v1.63.0/COPYRIGHT-MUSL;md5=b03f1cc25363d094011f8f4fd8bcfb68;spdx=BSD-3-Clause \ - file://pkg/mod/modernc.org/mathutil@v1.7.1/LICENSE;md5=2604a98416f52ae5aaceb3630431020c;spdx=BSD-3-Clause \ - file://pkg/mod/modernc.org/memory@v1.10.0/LICENSE;md5=c4dac399c2cb8794cc72e762c9f07263;spdx=BSD-3-Clause \ - file://pkg/mod/modernc.org/sqlite@v1.37.0/LICENSE;md5=3cd92e5f84bae63802a058f3ff54fbe7;spdx=BSD-3-Clause \ + file://pkg/mod/github.com/warthog618/go-gpiocdev@v0.10.0/LICENSE;md5=b2cd159d37bfc3904adf7de1e8ecb7a0;spdx=MIT \ + file://pkg/mod/github.com/x448/float16@v0.8.4/LICENSE;md5=de8f8e025d57fe7ee0b67f30d571323b;spdx=MIT \ + file://pkg/mod/go.bug.st/serial@v1.8.0/LICENSE;md5=6d76123cc4ba1191dac3099b3828cdd4;spdx=BSD-3-Clause \ + file://pkg/mod/go.einride.tech/can@v0.17.0/LICENSE;md5=4b52f8fd14bd4d6b199350d4963091e5;spdx=MIT \ + file://pkg/mod/golang.org/x/crypto@v0.58.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ + file://pkg/mod/golang.org/x/net@v0.61.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ + file://pkg/mod/golang.org/x/sync@v0.24.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ + file://pkg/mod/golang.org/x/sys@v0.49.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ + file://pkg/mod/golang.org/x/text@v0.43.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ + file://pkg/mod/golang.org/x/time@v0.16.0/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a;spdx=BSD-3-Clause \ + file://pkg/mod/google.golang.org/protobuf@v1.36.12/LICENSE;md5=02d4002e9171d41a8fad93aa7faf3956;spdx=BSD-3-Clause \ " diff --git a/meta-oe/recipes-extended/simpleiot/simpleiot_0.18.5.bb b/meta-oe/recipes-extended/simpleiot/simpleiot_0.36.1.bb similarity index 87% rename from meta-oe/recipes-extended/simpleiot/simpleiot_0.18.5.bb rename to meta-oe/recipes-extended/simpleiot/simpleiot_0.36.1.bb index e852e3d3e5..07fc60128e 100644 --- a/meta-oe/recipes-extended/simpleiot/simpleiot_0.18.5.bb +++ b/meta-oe/recipes-extended/simpleiot/simpleiot_0.36.1.bb @@ -6,15 +6,15 @@ HOMEPAGE = "http://simpleiot.org" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX}" +SRC_URI = "git://${GO_IMPORT};protocol=https;branch=master;tag=v${PV};destsuffix=${GO_SRCURI_DESTSUFFIX}" -SRCREV = "9addf01e40eae111f59c822141a47aa87caf04b6" +SRCREV = "0d7ca333b4818c4176324ac258abb96828ea84d1" +# v1.0.912 is a stray 2020 tag, not a release +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P(?!1\.0\.912$)\d+(\.\d+)+)$" require ${BPN}-licenses.inc require ${BPN}-go-mods.inc -LIC_FILES_CHKSUM:remove:riscv64 = "file://pkg/mod/github.com/remyoudompheng/bigfft@v0.0.0-20230129092748-24d4a6f8daec/LICENSE;md5=591778525c869cdde0ab5a1bf283cd81;spdx=BSD-3-Clause" - GO_IMPORT = "github.com/simpleiot/simpleiot" GO_INSTALL = "${GO_IMPORT}/cmd/edge \ @@ -29,7 +29,6 @@ GO_INSTALL = "${GO_IMPORT}/cmd/edge \ ${GO_IMPORT}/cmd/siot \ ${GO_IMPORT}/cmd/tof10120 \ ${GO_IMPORT}/cmd/test-resp-reader-close \ - ${GO_IMPORT}/gps \ " inherit go-mod go-mod-update-modules pkgconfig systemd update-rc.d @@ -47,6 +46,8 @@ do_install:append() { else install -Dm 0755 ${S}/src/${GO_IMPORT}/contrib/siot.init ${D}${sysconfdir}/init.d/siot fi + # release helper scripts would pull bash into ${PN}-dev + rm -rf ${D}${libdir}/go/src/${GO_IMPORT}/scripts } SYSTEMD_SERVICE:${PN} = "siot.service" From patchwork Wed Nov 25 08:06:58 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105617 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37950.1795594115809924805 for ; Wed, 25 Nov 2026 00:08:35 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=V9YyYlHp; 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-385d8a00598so8057921eec.1 for ; Wed, 25 Nov 2026 00:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594115; x=1796198915; 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=xKWh26WiYNaCXp6CmiH1pwtq4Dt6sZ7q6s/OSrRzBGs=; b=V9YyYlHp+bSQ6FgjI2eEdVcZAnSbJzG/bNst6njKNvJjYFsWAih+6qc5D5u3FhEWkK lV3GyktOm7qlOhpN5FWH22vgWTtRbwiuBEY/oIZekBSjLMPctpbRP1i8Q7J3zY6dcxDG 38ur3Bsvez92xAITOkdnCg7QOS7LFkdHYv4cX2FJaPazoDMuNtJSQ70NGoz2SLMQcjgx T6CpGjZsNlPKfjL40eiPHVK0uXocZWiVq5rq8SbQq+tYb2sGntJN47P7ThGb8BOzQMn5 A8QRtVj7OfylVgtJDP7z7N/+XvxHeTQES4KvePJxb73g5/Xcut6M45Gah1zB3nyxwzDg Sw7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594115; x=1796198915; 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=xKWh26WiYNaCXp6CmiH1pwtq4Dt6sZ7q6s/OSrRzBGs=; b=QZOOjLFB+0kRsCWK0p05HhgQhJXeUMPWUcuERWWzU+RrBMCI1waQd1z1fJINC1M92F lKc1PUXzBL2BrJBLOymex4oAS7fmRzWpiqMqg+yTuTyDhi4ZUQzcZO8IQXQb+vleQW+4 r3DcujaQICxHE68s19Zv8fI1rSpv9L/G22HfC4+Vt1l5wnEIvNc5pCOW6N+v0JGS1NYq d7GkPL/YsSwd9UOQ2YE9c6DfoTzu/CMS+SYnfucFp4g4BrAfCIR07bmoVbC1IcLHpqoi bG1hN1TmrI3WFO1+NAWDMRPVt0EOKX795houerayTz/zEVIx8mi3Rpp8lCt4yRfycp5Z uRBw== X-Gm-Message-State: APuU4Z9XrkPpgLHM2XSMVbisiDijReqpYGGxzKPLYvYs6R7f4EGDqcKY RHDMT5iUxby/o9hbW6Sr4zyUVhLV0gCMcafL7ogkUZUWUirTkmjLnpi2ErR3l0wF X-Gm-Gg: AZFdTZdJlfEiYnN0Jcd9wIygFQxwVyLauEFMd1YSVqSlnsG0vmOUb8r/PgzGY6fpyby WXplFXAilR8lwgzxsUSrrwJ4LO+x22VvlgnKKOv/FE2C88mtfuzw3Qr7BpINjUOj00OVCF+GrPv 7P562yOd5Gu5ij86NEWC2EIwTqGRswcYsHsao6sbnbL8dyQh+bbk4Ik7sDBfrnEL0WscfywOAp5 5y0GyLU2iPoT2sHkvtlvlYD+6Qv+nFUJbhvBRnSf1qj5wiSpAuFHg8mS3xK2honyWuREUBF8+kb 3BWUa6y0r0c/dBaUqJoE4A+H9VRWz+IoeQPYABez4nD+8SOYbu0uNse6RnC+kdXcRLS8uDdvSAm uBRhGEt5jD9YorAlVAC94GXSXQBr92iFA/o3KxXtPHfyjSGIMaShNEeoOgPwqWilVOxBoDzBzna FvPEIecv5GIkYHdc2z4Jxw+vkk23TljS2k7vvNSBlxWCinjgAmrxnrkH0RtJT6rlp8Wy3BpASud RZAzfsnlA+9VVtLSLjnMQxDXZHfNgmwn7eYawvg1uA6A4djw4j9TxXEQl0nKxDzdPjEEvukbX3k Uhcf0pLwIyauwSdwUDHjk5k0/Eh1AgeMdnkP6CzIgwJIKAhvG02VXIxQCloyicHR2HWHkZOtyCb Qs/bY+I3utXmsJAyxHAPeLhjXwtLrFdGCLgWKLACcBQxzdbyrwb1kyznHgnHiAaRa6fhe7gQbQF aO+nPZFcQvRTM/1KSc7j8wFFkLhvjD7utT/CAgHo4qPqHuTv4qbBK0t4VX1+so083CrQKBSYEPW Dtg2zuSHqzASNXWRFi0O826HgcKOwpUB66atoxprhz6CM9FCM/QUbhmc/Uls3J9jE5BNSUvjrrq 7Jhd X-Received: by 2002:a05:693c:83cf:10b0:386:b526:24d1 with SMTP id 5a478bee46e88-386b52638e1mr8189745eec.9.1795594114983; Wed, 25 Nov 2026 00:08:34 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:34 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 42/55] tipcutils: upgrade 2.2.0+git -> 3.0.7 Date: Wed, 25 Nov 2026 00:06:58 -0800 Message-ID: <20261125080732.2419614-48-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133045 Upstream changes (git log, README): - New libtipc library with C, Go, Java and Python APIs, a character API (3.0.7) and demos for it (tipcc_hello_world, c_api_demo, groupcast_demo, tipc-pipe). - Tree reorganised into demos/, test/ and utils/; demo binaries were renamed (e.g. hello_client/hello_server instead of client_tipc/server_tipc). - New tools: tipc-link-watcher, net topology tracker and the tipc-trace front-end; utils now need libmnl. - Reproducible build date from SOURCE_DATE_EPOCH; a top-level BSD-3-Clause LICENSE file was added. 3.0.7 is not tagged upstream (the last tag is v3.0.4); the README of master names this commit 3.0.7 (configure.ac still says 2.1.1), so name the recipe 3.0.7 and pin SRCREV to master HEAD. Check upstream for new commits (UPSTREAM_CHECK_COMMITS), as releases are not tagged. Add libmnl to DEPENDS. Rewrite the demo and ptts install for the new layout and binary names. tipc-trace is a Python script installed to bindir; package it in ${PN}-trace with its python3 runtime deps and point its shebang at python3. Drop 0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch (libtipc uses struct tipc_group_req) and 0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch (upstream commit 4e4c8c7). Refresh 0002-replace-non-standard-uint-with-unsigned-int.patch for the renamed benchmark sources and the new net topology tracker. configure.ac adds -I paths relative to the source subdirectories, so build in the source tree (autotools-brokensep). Add a patch that builds tipc_test_suite only when linux/tipc.h provides struct tipcc_addr, which mainline kernel headers lack. License-Update: the old LIC_FILES_CHKSUM file, tipclog/tipc.h, is gone. Use the new top-level LICENSE, which is BSD-3-Clause; the GPL-2.0 alternative of the old header is not offered anywhere in the tree, so LICENSE changes from GPL-2.0-only to BSD-3-Clause. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...tipcc-Fix-struct-type-for-TIPC_GROUP.patch | 33 ------ ...cv-buffer-size-too-max-to-receive-as.patch | 66 ----------- ...-non-standard-uint-with-unsigned-int.patch | 107 +++++++++++------- ...test_suite-only-when-struct-tipcc_ad.patch | 50 ++++++++ .../tipcutils/tipcutils_3.0.7.bb | 67 +++++++++++ .../tipcutils/tipcutils_git.bb | 57 ---------- 6 files changed, 180 insertions(+), 200 deletions(-) delete mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils/0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch delete mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils/0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch create mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils/0003-test-Build-tipc_test_suite-only-when-struct-tipcc_ad.patch create mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils_3.0.7.bb delete mode 100644 meta-oe/recipes-extended/tipcutils/tipcutils_git.bb diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils/0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch b/meta-oe/recipes-extended/tipcutils/tipcutils/0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch deleted file mode 100644 index e495285051..0000000000 --- a/meta-oe/recipes-extended/tipcutils/tipcutils/0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 1ce892749e4f53bd0aeaa4c3ce45f80178799411 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 3 Mar 2018 17:52:51 -0800 -Subject: [PATCH] multicast_blast/tipcc: Fix struct type for TIPC_GROUP_JOIN - -Kernel defines it as tipc_group_req and not tipc_mreq -this code was not excercised with older kernels so we -never ran into the compiler failures since TIPC_GROUP_JOIN -is only defined in kernel starting 4.15 - -Signed-off-by: Khem Raj ---- -Upstream-Status: Pending - - multicast_blast/tipcc.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/multicast_blast/tipcc.c b/multicast_blast/tipcc.c -index 90644d3..911c759 100755 ---- a/multicast_blast/tipcc.c -+++ b/multicast_blast/tipcc.c -@@ -213,7 +213,7 @@ int tipc_accept(int sd, struct tipc_addr *src) - int tipc_join(int sd, struct tipc_addr *member) - { - #ifdef TIPC_GROUP_JOIN -- struct tipc_mreq mreq = { -+ struct tipc_group_req mreq = { - .type = member->type, - .instance = member->instance, - .scope = domain2scope(member->domain) --- -2.16.2 - diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils/0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch b/meta-oe/recipes-extended/tipcutils/tipcutils/0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch deleted file mode 100644 index cc0ef42967..0000000000 --- a/meta-oe/recipes-extended/tipcutils/tipcutils/0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 4e4c8c7a1cca2125e2bf2a67cbab0bdbd78fdb86 Mon Sep 17 00:00:00 2001 -From: He Zhe -Date: Tue, 30 Jul 2019 13:24:22 +0800 -Subject: [PATCH] ptts: Set recv buffer size too max to receive as many - packets as possible - -Flooding multicast may make the rcv buffer overrun and is considered -premature messages later and thus cause the following error. - -"Ignoring premature msg 16, currently handling 12" - -This patch sets SO_RCVBUF the of socket to max int value to receive as many -packets as possible, and give a hint to user when possible overrun occurs. Note -that the value of SO_RCVBUF will be limited up to min(INT_MAX/2, -sysctl_rmem_max) in kernel. - -Signed-off-by: He Zhe - -Upstream-Status: Backport [https://sourceforge.net/p/tipc/tipcutils/ci/4e4c8c7a1cca2125e2bf2a67cbab0bdbd78fdb86/] - -Signed-off-by: Li Zhou ---- - ptts/tipc_ts_server.c | 18 ++++++++++++++++-- - 1 file changed, 16 insertions(+), 2 deletions(-) - -diff --git a/ptts/tipc_ts_server.c b/ptts/tipc_ts_server.c -index a286daa..3a2f96f 100644 ---- a/ptts/tipc_ts_server.c -+++ b/ptts/tipc_ts_server.c -@@ -641,8 +641,9 @@ void server_mcast - if (rc < 0) - err("multicast message not received"); - if (msgno != *(int*) buf) { -- dbg1("Ignoring premature msg %u, currently handling %u\n", -- *(int*)buf, msgno); -+ dbg1("Ignoring premature msg %u, currently handling %u\n" -+ "You can enlarge /proc/sys/net/core/rmem_max and try again\n", -+ *(int*)buf, msgno); - continue; - } - rc = recvfrom(sd[i], buf, expected_szs[numSubTest], -@@ -687,8 +688,21 @@ void server_test_multicast(void) - FD_ZERO(&readfds); - - for (i = 0; i < TIPC_MCAST_SOCKETS; i++) { -+ int optval = (int)(~0U >> 1); -+ socklen_t optlen = sizeof(optval); -+ int rc = 0; -+ - sd[i] = createSocketTIPC (SOCK_RDM); - FD_SET(sd[i], &readfds); -+ -+ /* -+ * Flooding multicast may make the rcv buffer overrun and considered premature msg later. -+ * Set SO_RCVBUF to max int value to receive as many packets as possible. -+ * Note that it will be limited up to min(INT_MAX/2, sysctl_rmem_max) in kernel. -+ */ -+ rc = setsockopt(sd[i], SOL_SOCKET, SO_RCVBUF, (const char*)&optval, optlen); -+ if(rc != 0) -+ printf("Failed to set SO_RCVBUF of %d: %s\n", sd[i], strerror(errno)); - } - - server_bindMulticast( 0, 99, sd[0]); --- -2.17.1 - diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils/0002-replace-non-standard-uint-with-unsigned-int.patch b/meta-oe/recipes-extended/tipcutils/tipcutils/0002-replace-non-standard-uint-with-unsigned-int.patch index 89eae015c6..515292d5d9 100644 --- a/meta-oe/recipes-extended/tipcutils/tipcutils/0002-replace-non-standard-uint-with-unsigned-int.patch +++ b/meta-oe/recipes-extended/tipcutils/tipcutils/0002-replace-non-standard-uint-with-unsigned-int.patch @@ -9,17 +9,17 @@ Signed-off-by: Khem Raj --- Upstream-Status: Pending - demos/benchmark/client_tipc.c | 34 +++++++++++++++++----------------- - demos/benchmark/common_tipc.h | 2 +- - demos/benchmark/server_tipc.c | 10 +++++----- - demos/inventory_sim/inventory_sim.c | 12 ++++++------ - 4 files changed, 29 insertions(+), 29 deletions(-) + demos/benchmark/benchmark_client.c | 36 +++++++++++++------------- + demos/benchmark/benchmark_server.c | 12 ++++----- + demos/benchmark/common_tipc.h | 4 +-- + demos/inventory_sim/inventory_sim.c | 12 ++++----- + utils/net_topology_tracker/tipc_net_topology.c | 2 +- + 5 files changed, 33 insertions(+), 33 deletions(-) -diff --git a/demos/benchmark/client_tipc.c b/demos/benchmark/client_tipc.c -index 5d889ee..d913e42 100644 ---- a/demos/benchmark/client_tipc.c -+++ b/demos/benchmark/client_tipc.c -@@ -65,7 +65,7 @@ static const struct sockaddr_tipc master_clnt_addr = { +diff --git a/demos/benchmark/benchmark_client.c b/demos/benchmark/benchmark_client.c +--- a/demos/benchmark/benchmark_client.c ++++ b/demos/benchmark/benchmark_client.c +@@ -48,7 +48,7 @@ static int master_clnt_sd; static int master_srv_sd; @@ -28,7 +28,7 @@ index 5d889ee..d913e42 100644 static unsigned char *buf = NULL; static int non_blk = 0; static int select_ip(struct srv_info *sinfo, char *name); -@@ -79,7 +79,7 @@ struct master_client_cmd { +@@ -62,7 +62,7 @@ struct master_client_cmd { __u32 bounce; }; @@ -37,7 +37,7 @@ index 5d889ee..d913e42 100644 { struct master_client_cmd c; -@@ -93,7 +93,7 @@ static void master_to_client(uint cmd, uint msglen, uint msgcnt, uint bounce) +@@ -76,7 +76,7 @@ static void master_to_client(uint cmd, uint msglen, uint msgcnt, uint bounce) die("Unable to send cmd %u to clients\n", cmd); } @@ -46,7 +46,7 @@ index 5d889ee..d913e42 100644 { struct master_client_cmd c; -@@ -114,7 +114,7 @@ struct client_master_cmd { +@@ -97,7 +97,7 @@ struct client_master_cmd { __u32 cmd; }; @@ -55,7 +55,7 @@ index 5d889ee..d913e42 100644 { struct client_master_cmd c; -@@ -125,7 +125,7 @@ static void client_to_master(uint cmd) +@@ -108,7 +108,7 @@ static void client_to_master(uint cmd) die("Client: Unable to send msg to master\n"); } @@ -64,7 +64,7 @@ index 5d889ee..d913e42 100644 { struct client_master_cmd c; -@@ -137,7 +137,7 @@ static void master_from_client(uint *cmd) +@@ -120,7 +120,7 @@ static void master_from_client(uint *cmd) *cmd = ntohl(c.cmd); } @@ -73,7 +73,7 @@ index 5d889ee..d913e42 100644 { struct master_srv_cmd c; -@@ -151,7 +151,7 @@ static void master_to_srv(uint cmd, uint msglen, uint msgcnt, uint echo) +@@ -134,7 +134,7 @@ static void master_to_srv(uint cmd, uint msglen, uint msgcnt, uint echo) die("Unable to send cmd %u to servers\n", cmd); } @@ -82,7 +82,7 @@ index 5d889ee..d913e42 100644 { struct srv_to_master_cmd c; -@@ -290,7 +290,7 @@ static void client_main(unsigned int clnt_id, ushort tcp_port, int tcp_addr) +@@ -276,7 +276,7 @@ static void client_main(unsigned int clnt_id, ushort tcp_port, int tcp_addr) { int peer_sd, efd = 0; int imp = clnt_id % 4; @@ -91,8 +91,8 @@ index 5d889ee..d913e42 100644 struct epoll_event event, revents; struct sockaddr_in tcp_dest; int rc; -@@ -400,22 +400,22 @@ static void client_main(unsigned int clnt_id, ushort tcp_port, int tcp_addr) - int main(int argc, char *argv[], char *dummy[]) +@@ -386,23 +386,23 @@ static void client_main(unsigned int clnt_id, ushort tcp_port, int tcp_addr) + int main(int argc, char *argv[]) { int c; - uint cmd; @@ -101,12 +101,14 @@ index 5d889ee..d913e42 100644 - uint req_clients = DEFAULT_CLIENTS; - uint first_msglen = DEFAULT_MSGLEN; - uint last_msglen = TIPC_MAX_USER_MSG_SIZE; +- uint instance = 0; + unsigned int cmd; + unsigned int latency_transf = DEFAULT_LAT_MSGS; + unsigned int thruput_transf = DEFAULT_THRU_MSGS; + unsigned int req_clients = DEFAULT_CLIENTS; + unsigned int first_msglen = DEFAULT_MSGLEN; + unsigned int last_msglen = TIPC_MAX_USER_MSG_SIZE; ++ unsigned int instance = 0; unsigned long long msglen; unsigned long long num_clients; struct timeval start_time; @@ -123,23 +125,9 @@ index 5d889ee..d913e42 100644 struct srv_info sinfo; __u32 peer_tipc_addr; char ifname[16] = {0,}; -diff --git a/demos/benchmark/common_tipc.h b/demos/benchmark/common_tipc.h -index 1765ba1..47947e0 100644 ---- a/demos/benchmark/common_tipc.h -+++ b/demos/benchmark/common_tipc.h -@@ -256,7 +256,7 @@ static void get_ip_list(struct srv_info *sinfo, char *ifname) - } - } - --static uint own_node(void) -+static unsigned int own_node(void) - { - struct sockaddr_tipc addr; - socklen_t sz = sizeof(addr); -diff --git a/demos/benchmark/server_tipc.c b/demos/benchmark/server_tipc.c -index 9d0e2be..3cd82b7 100644 ---- a/demos/benchmark/server_tipc.c -+++ b/demos/benchmark/server_tipc.c +diff --git a/demos/benchmark/benchmark_server.c b/demos/benchmark/benchmark_server.c +--- a/demos/benchmark/benchmark_server.c ++++ b/demos/benchmark/benchmark_server.c @@ -45,7 +45,7 @@ static int wait_for_connection(int listener_sd); static void echo_messages(int peer_sd, int master_sd, int srv_id); static __u32 own_node_addr; @@ -158,18 +146,20 @@ index 9d0e2be..3cd82b7 100644 { struct master_srv_cmd c; -@@ -84,8 +84,8 @@ int main(int argc, char *argv[], char *dummy[]) +@@ -84,9 +84,9 @@ int main(int argc, char *argv[]) { ushort tcp_port = 4711; struct srv_info sinfo; - uint cmd; - uint max_msglen; +- uint instance = 0; + unsigned int cmd; + unsigned int max_msglen; ++ unsigned int instance = 0; struct sockaddr_in srv_addr; int lstn_sd, peer_sd; int srv_id = 0, srv_cnt = 0;; -@@ -221,7 +221,7 @@ static int wait_for_connection(int lstn_sd) +@@ -228,7 +228,7 @@ static int wait_for_connection(int lstn_sd) static void echo_messages(int peer_sd, int master_sd, int srv_id) { @@ -178,11 +168,31 @@ index 9d0e2be..3cd82b7 100644 do { /* Get msg length and number to expect, and ack: */ +diff --git a/demos/benchmark/common_tipc.h b/demos/benchmark/common_tipc.h +--- a/demos/benchmark/common_tipc.h ++++ b/demos/benchmark/common_tipc.h +@@ -136,7 +136,7 @@ static struct sockaddr_tipc master_clnt_addr = { + .addr.name.domain = 0 + }; + +-static void init_addresses(uint instance) ++static void init_addresses(unsigned int instance) + { + clnt_ctrl_addr.addr.name.name.type = CLNT_CTRL_NAME(instance); + master_clnt_addr.addr.name.name.type = MASTER_NAME(instance); +@@ -289,7 +289,7 @@ static void get_ip_list(struct srv_info *sinfo, char *ifname) + } + } + +-static uint own_node(void) ++static unsigned int own_node(void) + { + struct sockaddr_tipc addr; + socklen_t sz = sizeof(addr); diff --git a/demos/inventory_sim/inventory_sim.c b/demos/inventory_sim/inventory_sim.c -index 22c33d1..9bf5443 100644 --- a/demos/inventory_sim/inventory_sim.c +++ b/demos/inventory_sim/inventory_sim.c -@@ -940,9 +940,9 @@ int simItem(int itemID, int lagTime, int speed) +@@ -946,9 +946,9 @@ int simItem(int itemID, int lagTime, int speed) char outMsg[MSG_SIZE_MAX]; char *marker; int msgSize; @@ -195,7 +205,7 @@ index 22c33d1..9bf5443 100644 char itemName[NAME_SIZE]; int haveItem; int res; -@@ -1134,9 +1134,9 @@ int simCust(int itemID, int lagTime, int waitTime, int speed, int taskID) +@@ -1140,9 +1140,9 @@ int simCust(int itemID, int lagTime, int waitTime, int speed, int taskID) char msg[MSG_SIZE_MAX]; char *marker; int msgSize; @@ -208,6 +218,15 @@ index 22c33d1..9bf5443 100644 char custName[NAME_SIZE]; int transactionID; int needItem; --- -2.12.2 - +diff --git a/utils/net_topology_tracker/tipc_net_topology.c b/utils/net_topology_tracker/tipc_net_topology.c +--- a/utils/net_topology_tracker/tipc_net_topology.c ++++ b/utils/net_topology_tracker/tipc_net_topology.c +@@ -35,7 +35,7 @@ static struct node nodes[MAX_NODES]; + static struct pollfd pfd[MAX_NODES]; + static int node_cnt = 1; + +-static uint own_node_addr(void) ++static unsigned int own_node_addr(void) + { + struct sockaddr_tipc addr; + socklen_t sz = sizeof(addr); diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils/0003-test-Build-tipc_test_suite-only-when-struct-tipcc_ad.patch b/meta-oe/recipes-extended/tipcutils/tipcutils/0003-test-Build-tipc_test_suite-only-when-struct-tipcc_ad.patch new file mode 100644 index 0000000000..176af06d4b --- /dev/null +++ b/meta-oe/recipes-extended/tipcutils/tipcutils/0003-test-Build-tipc_test_suite-only-when-struct-tipcc_ad.patch @@ -0,0 +1,50 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 03:07:50 -0800 +Subject: [PATCH] test: Build tipc_test_suite only when struct tipcc_addr is + available + +tipc_test_suite uses struct tipcc_addr and TIPCC_ADDR, which only exist +in a linux/tipc.h carrying the out-of-tree TIPC "tipcc" address API. +Mainline kernel headers do not have them, so the build fails with: + + tipc_test.h:69:21: error: field has incomplete type 'struct tipcc_addr' + +libtipc and the tipcc_hello_world demo already guard their use with +'#ifdef TIPCC_ADDR'. Check for it in configure and skip the test suite +when it is missing. + +Upstream-Status: Submitted [tipc-discussion@lists.sourceforge.net, <20261125080050.2410104-1-raj.khem@gmail.com>] +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + configure.ac | 4 ++++ + test/Makefile.am | 6 +++++- + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 83e0ea5..d7a1558 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -32,6 +32,10 @@ LDFLAGS="$LDFLAGS ../../libtipc/libtipc.a -lpthread" + AC_CHECK_TYPE(struct tipc_sioc_ln_req, [tipc_lss=yes],[], [[#include ]]) + AM_CONDITIONAL(TIPC_LINK_STATE_SUBSCRITION, test "x$tipc_lss" = "xyes") + ++# tipc_test_suite needs struct tipcc_addr, which mainline linux/tipc.h lacks ++AC_CHECK_DECL(TIPCC_ADDR, [tipcc_addr=yes], [], [[#include ]]) ++AM_CONDITIONAL(TIPCC_ADDR, test "x$tipcc_addr" = "xyes") ++ + # Checks for TIPC GO API + AC_ARG_WITH(goapi,AS_HELP_STRING([--with-goapi],[Compile TIPC GO APIs examples]),[goapi=true],[]) + if test "x$goapi" == "xtrue"; then +diff --git a/test/Makefile.am b/test/Makefile.am +index b45dfd2..edda891 100644 +--- a/test/Makefile.am ++++ b/test/Makefile.am +@@ -1 +1,5 @@ +-SUBDIRS = group_test ptts multicast_blast overlapping_ranges iovec topsrv_stress rdm tipc_test_suite ++SUBDIRS = group_test ptts multicast_blast overlapping_ranges iovec topsrv_stress rdm ++ ++if TIPCC_ADDR ++SUBDIRS += tipc_test_suite ++endif diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils_3.0.7.bb b/meta-oe/recipes-extended/tipcutils/tipcutils_3.0.7.bb new file mode 100644 index 0000000000..ffb8e60105 --- /dev/null +++ b/meta-oe/recipes-extended/tipcutils/tipcutils_3.0.7.bb @@ -0,0 +1,67 @@ +SUMMARY = "Transparent Inter-Process Communication protocol" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=796417cb33987d462bc15155605a1861" + +SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \ + file://tipcutils.conf \ + file://0001-include-sys-select.h-for-FD_-definitions.patch \ + file://0002-replace-non-standard-uint-with-unsigned-int.patch \ + file://0003-test-Build-tipc_test_suite-only-when-struct-tipcc_ad.patch \ + " +# 3.0.7 is untagged, README names this commit's version +SRCREV = "103c971228a6ec05e40ea757c7283f961df66f71" +UPSTREAM_CHECK_COMMITS = "1" + +inherit autotools-brokensep pkgconfig systemd + +DEPENDS += "libdaemon libmnl" + +RDEPENDS:${PN} = "iproute2-tipc" + + +do_configure:prepend() { + ( cd ${S}; ${S}/bootstrap ) +} + +do_install:append() { + for d in hello_world:hello connection_demo:conn topology_subscr_demo:top \ + multicast_demo:mcast stream_demo:stream benchmark:benchmark \ + tipcc_hello_world:tipcc_hello; do + dir=$(echo $d | cut -d: -f1) + pfx=$(echo $d | cut -d: -f2) + install -d ${D}/opt/tipcutils/demos/$dir + install ${B}/demos/$dir/"$pfx"_client ${D}/opt/tipcutils/demos/$dir/ + install ${B}/demos/$dir/"$pfx"_server ${D}/opt/tipcutils/demos/$dir/ + done + for d in inventory_sim:inventory_sim iov_control:iov_control groupcast_demo:group_cast; do + dir=$(echo $d | cut -d: -f1) + prog=$(echo $d | cut -d: -f2) + install -d ${D}/opt/tipcutils/demos/$dir + install ${B}/demos/$dir/$prog ${D}/opt/tipcutils/demos/$dir/ + done + + install -d ${D}/opt/tipcutils/ptts + install ${B}/test/ptts/tipcTS ${D}/opt/tipcutils/ptts/ + install ${B}/test/ptts/tipcTC ${D}/opt/tipcutils/ptts/ + + sed -i -e '1s|^#!.*python$|#!/usr/bin/env python3|' ${D}${bindir}/tipc-trace + + install -d ${D}${sysconfdir} + cp -R --no-dereference --preserve=mode,links -v ${S}/scripts/etc/* ${D}${sysconfdir}/ + chown -R root:root ${D}${sysconfdir} + + # Install systemd related configuration file + if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then + install -d ${D}${sysconfdir}/modules-load.d + install -m 0644 ${UNPACKDIR}/tipcutils.conf ${D}${sysconfdir}/modules-load.d + fi +} + +SYSTEMD_SERVICE:${PN} = "" + +PACKAGES =+ "${PN}-trace" +PACKAGES += "${PN}-demos" +FILES:${PN}-trace = "${bindir}/tipc-trace" +RDEPENDS:${PN}-trace = "python3-core python3-datetime python3-syslog" +FILES:${PN}-dbg += "/opt/tipcutils/demos/*/.debug /opt/tipcutils/ptts/.debug" +FILES:${PN}-demos = "/opt/tipcutils/*" diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb deleted file mode 100644 index a4bf3eaaca..0000000000 --- a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb +++ /dev/null @@ -1,57 +0,0 @@ -SUMMARY = "Transparent Inter-Process Communication protocol" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://tipclog/tipc.h;endline=35;md5=985b6ea8735818511d276c1b466cce98" - -SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \ - file://tipcutils.conf \ - file://0001-include-sys-select.h-for-FD_-definitions.patch \ - file://0002-replace-non-standard-uint-with-unsigned-int.patch \ - file://0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch \ - file://0001-test-ptts-Set-recv-buffer-size-too-max-to-receive-as.patch \ - " -SRCREV = "7ab2211b87414ba240b0b2e4af219c1057c9cf9a" -PV = "2.2.0+git" - -inherit autotools pkgconfig systemd - -DEPENDS += "libdaemon" - -RDEPENDS:${PN} = "iproute2-tipc" - - -do_configure:prepend() { - ( cd ${S}; ${S}/bootstrap ) -} - -do_install:append() { - demos="benchmark hello_world topology_subscr_demo connection_demo \ - multicast_demo stream_demo" - for i in $demos;do - install -d ${D}/opt/tipcutils/demos/$i - install ${B}/demos/$i/client_tipc ${D}/opt/tipcutils/demos/$i/ - install ${B}/demos/$i/server_tipc ${D}/opt/tipcutils/demos/$i/ - done - install -d ${D}/opt/tipcutils/demos/inventory_sim - install ${B}/demos/inventory_sim/inventory_sim ${D}/opt/tipcutils/demos/inventory_sim/ - - install -d ${D}/opt/tipcutils/ptts - install ${B}/ptts/tipcTS ${D}/opt/tipcutils/ptts/ - install ${B}/ptts/tipcTC ${D}/opt/tipcutils/ptts/ - - install -d ${D}${sysconfdir} - cp -R --no-dereference --preserve=mode,links -v ${S}/scripts/etc/* ${D}${sysconfdir}/ - chown -R root:root ${D}${sysconfdir} - - # Install systemd related configuration file - if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then - install -d ${D}${sysconfdir}/modules-load.d - install -m 0644 ${UNPACKDIR}/tipcutils.conf ${D}${sysconfdir}/modules-load.d - fi -} - -SYSTEMD_SERVICE:${PN} = "" - -PACKAGES += "${PN}-demos" -FILES:${PN}-dbg += "/opt/tipcutils/demos/*/.debug /opt/tipcutils/ptts/.debug" -FILES:${PN}-demos = "/opt/tipcutils/*" - From patchwork Wed Nov 25 08:06:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105618 Received: from mail-dy1-f176.google.com (mail-dy1-f176.google.com [74.125.82.176]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37951.1795594116650038597 for ; Wed, 25 Nov 2026 00:08:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=kGXjAXra; 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-38644aedba1so8367541eec.0 for ; Wed, 25 Nov 2026 00:08:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594116; x=1796198916; 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=MvLjU+N6iJnse8EnSpwuhVu6n5+DbxC2jMRhJl1k8qE=; b=kGXjAXraylZ+ex/rew9vQm1FeJka+vOuNEfR3SARp4yQSMjjijiBwxR5uIx8p0AWtQ Z7UBis3KgE0+LYNCkBdlWR3F80nHCt5Jj3Jy3NEokF4kLrqZRAkyEMJvkm/8urhnoEYE O76a14uFdd+8FcRDUNTl0UCIKFdwrkRTqrl3RtUjEjSPTvx4PYMFpePwaGHdx64bjxAB 72Fm5rTbhlXAq7bCj/8YR9gpgbsJ8g2ZxsnZtgtKmJ/gWDG2yyskDLOaVA297/TNPhTB h7dH/Wf+Qoeebqa69yVUTV96ivNsUZGwQrz6QGo3d6sAHUUX9I2SWihF+IuEXZ4UwQOG 3mOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594116; x=1796198916; 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=MvLjU+N6iJnse8EnSpwuhVu6n5+DbxC2jMRhJl1k8qE=; b=dygjVSEDNquFV1+wSmELOUDvHm7IyWGCmn13lxlDax9LpbM7l4meYRJ9Co3ZKZ9Q/A N3uIIJCkx2BJszz7021O+3KOtKWeDk8i24SxQzQfnjwRUtcMcX+otEsAIKihPgP1FNjd MaXiFM+CdxQ6WZ51NZfk0xVq9ms/w2XVtZOBGNjfrJckUemZCjMrAlUNgIuc9R9O9mgs 73F28vJuw1bAXfHSKWtAP15jHn1FJEIU3fR+cEGl87PqS6Ik0C/mF310XXHU0lSOk3La 6RZbLH+MvavoVqajICd50lYdpK4UnSeqVikvfDJgnBtqekSUqufF4DuohAm0krkLLrCQ eNLw== X-Gm-Message-State: APuU4Z+iacfc6lx7E3OByHzQ/r7jsNUguCDsqCQfkL8Mt1AEAW41ZvTS MHlEw95ElU0UuX2D9IVn8PCl0qcREzTWB7uUSva5GLqgUUpk39pFQ3KR1Su+5t/h X-Gm-Gg: AZFdTZc+RWHsYWZ94LXgNInuqL/XSjPiJ3ocGCvYvy7uQHB+9EHNTMZBydswFaqXvRr /VhmnSZBOkZiUqD3MQMmAi9/HY5TsxZfxdy0BlkzKeo/9+9AbaZGZrryv5PdAeREEkFaIVgA2xN 9W2jJnWxbNR9iWRwnD1knM5KhRidEGnCwxzIU2F1+S+kZcQXjhxdI+h2q0IJWA9b2lswgflzJNE iyVDxqNWaHWt3tvFmrI+GFGk/rnd41a2BmUNulr6Caea6FEbymVc9i61o1X5VSyedHNqixR7nUx Jdud+riEISG/O+0eqQ3IihW6WYMRLGRjMKAuQkL98N80++0RCCH0TlKmhDjVLJyNz++EDoM6Iaj Bs/yjKivZZT9m9U5hysu5PufMjYPEGQy8smP4xM53kogO4JVpHCfQn17dzKd0B7QAYLHPcy0QOl POJH7V8RrQK9SFTAIVN98jPYX+nkbcLwIjWggvpN1R6o2dEidiqYBXqq0wCF4idG6JBxtkA9zLf kbnljUeWmgnr9xJ8bB/wgPx/sw3CGpvognN+RKkGg20Jj8BoP46U3FVIjtOgT1RoS741cxL/T+2 nHr6YSAkatg5/hMaVaasfHraL24ShMqyB369zD/U/iwd4IMQ/jHTodjFU9WZypivZlrR5DbKK2X lggjrDkztDHpbXfjTdw8N9Mm00N+0GWUhUJSr6xgD2Q7i/j5zTWSiSqCazFKVWJgDpNFUS8K/2G C674+oOjOLCm/YS+cqkY/lfmBGv/4w7+c2rJepTSi+9GT8/6z8jxjhjXPbQAlgw3qmpPCsAJx6O gElqY3oW+41IO6YoXGrnY3E32bTdBjj1OzhDimyrxN5zQOzmMYtyKsp+AsP5Lf4fP1n/NvKl5zR vYML X-Received: by 2002:a05:7300:d941:b0:385:4b9:18e9 with SMTP id 5a478bee46e88-3856f94f874mr18435671eec.18.1795594115919; Wed, 25 Nov 2026 00:08:35 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:35 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 43/55] xdelta3: upgrade 3.1.0 -> 3.2.2 Date: Wed, 25 Nov 2026 00:06:59 -0800 Message-ID: <20261125080732.2419614-49-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133046 Upstream revived the project in 2026 (NEWS, git log): - Autotools build replaced by CMake; the core library, xdelta3.h, xdelta3.pc and a CMake package config are now installed. - New armor mode: whole-file BLAKE3 verification carried in the VCDIFF application header. - stdin can be used as the source, and help is shown when run without arguments on a terminal. - Hardened allocation sizing against integer overflow and allocation failures, rejection of invalid armor streams, and a full XZ magic check before external decompression. Switch to inherit cmake and follow upstream from the release3_1_apl branch to main, fetching by tag, with an upstream check limited to the v3 tags (the repository also carries xdelta1 v1.x tags). Upstream's CMake fetches BLAKE3 1.8.5 with FetchContent for armor mode, which does not work in an offline do_configure, so fetch it in SRC_URI and point FETCHCONTENT_SOURCE_DIR_BLAKE3 at it; it is linked statically into the xdelta3 tool. Turn off the regression-test targets. The lzma option becomes -DXD3_LZMA_MODE=on/off so liblzma is never auto-detected. The new static library and its headers, pkg-config and CMake files go to the default -staticdev and -dev packages. Unpack BLAKE3 inside ${S} so the debug prefix map covers its __FILE__ strings (buildpaths QA). License-Update: relicensed by the author from GPL-2.0-only (COPYING) to Apache-2.0 (xdelta3/LICENSE); add the BLAKE3 license files (CC0-1.0 OR Apache-2.0 OR Apache-2.0-with-LLVM-exception). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../recipes-support/xdelta/xdelta3_3.1.0.bb | 20 ----------- .../recipes-support/xdelta/xdelta3_3.2.2.bb | 35 +++++++++++++++++++ 2 files changed, 35 insertions(+), 20 deletions(-) delete mode 100644 meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb create mode 100644 meta-oe/recipes-support/xdelta/xdelta3_3.2.2.bb diff --git a/meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb b/meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb deleted file mode 100644 index 93692af682..0000000000 --- a/meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Xdelta is a tool for differential compression" -DESCRIPTION = "Open-source binary diff, differential compression tools, \ - VCDIFF (RFC 3284) delta compression." -HOMEPAGE = "http://xdelta.org/" -SECTION = "console/utils" - -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" - -SRC_URI = "git://github.com/jmacd/xdelta.git;branch=release3_1_apl;protocol=https" -SRCREV = "4b4aed71a959fe11852e45242bb6524be85d3709" -S = "${UNPACKDIR}/${BP}/xdelta3" - -inherit autotools - -# Optional secondary compression -PACKAGECONFIG ??= "" -PACKAGECONFIG[lzma] = "--with-liblzma,--without-liblzma,xz" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/xdelta/xdelta3_3.2.2.bb b/meta-oe/recipes-support/xdelta/xdelta3_3.2.2.bb new file mode 100644 index 0000000000..71dc076f7f --- /dev/null +++ b/meta-oe/recipes-support/xdelta/xdelta3_3.2.2.bb @@ -0,0 +1,35 @@ +SUMMARY = "Xdelta is a tool for differential compression" +DESCRIPTION = "Open-source binary diff, differential compression tools, \ + VCDIFF (RFC 3284) delta compression." +HOMEPAGE = "http://xdelta.org/" +SECTION = "console/utils" + +LICENSE = "Apache-2.0 AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0-with-LLVM-exception)" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cf96fa0d649f7c7b16616d95e7880a73 \ + file://blake3/LICENSE_A2;md5=36f2d65d5af763138c43f12eab1ded63 \ + file://blake3/LICENSE_A2LLVM;md5=9f15032a73646326104ebe0c70580f1a \ + file://blake3/LICENSE_CC0;md5=65d3616852dbf7b1a6d4b53b00626032" + +# BLAKE3 is needed for armor mode, upstream's CMake would fetch it during configure +SRC_URI = "git://github.com/jmacd/xdelta.git;branch=main;protocol=https;tag=v${PV};name=xdelta \ + git://github.com/BLAKE3-team/BLAKE3.git;branch=master;protocol=https;tag=1.8.5;name=blake3;destsuffix=${BP}/xdelta3/blake3 \ + " +SRCREV_xdelta = "5f8f5a553181c139d91b0289c009e5c276c5318c" +SRCREV_blake3 = "93a431c78a52d7ccf0f366f106467f5070e6075e" +SRCREV_FORMAT = "xdelta_blake3" +UPSTREAM_CHECK_GITTAGREGEX = "^v(?P3(\.\d+)+)$" + +S = "${UNPACKDIR}/${BP}/xdelta3" + +inherit cmake + +EXTRA_OECMAKE = "-DXD3_BUILD_TESTS=OFF \ + -DXD3_ARMOR=ON \ + -DFETCHCONTENT_SOURCE_DIR_BLAKE3=${S}/blake3 \ +" + +# Optional secondary compression +PACKAGECONFIG ??= "" +PACKAGECONFIG[lzma] = "-DXD3_LZMA_MODE=on,-DXD3_LZMA_MODE=off,xz" + +BBCLASSEXTEND = "native nativesdk" From patchwork Wed Nov 25 08:07:00 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105619 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.37953.1795594117784581429 for ; Wed, 25 Nov 2026 00:08:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=P/YpiMhY; 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-33bf40b0c8bso11737491eec.0 for ; Wed, 25 Nov 2026 00:08:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594117; x=1796198917; 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=Mwr2eWaCmmc+l17XF3V5l28tW8oZ+FUcjc+nAwY020c=; b=P/YpiMhYpJuBUgSM/k0Bs2c0NProhTXUhQ3pXNJJVyvBcmpClPmxRqpB6H5nzRqUAH jTDM8i1FNu8ngD3SzyEWmRt/UyQFVP2/tIctqThHoO9flwwNEk6Ya6UqhMQSncLDn1ki +XSO+7q8MNo/3SdJQbQeEejL3nL2wT4Loy08/RK9sHQrnccCuDv0yOj+xwy3gne1RZ8k Y+IQdICGmm+LOAl9Dy8hXnHjxV30bKmEM9CN/KBzCrlmf/RyDMIwlRrQUpRQNMsisllk ZiTIK04a7w+Oo85c8aKlL3/wcT+6quXQVtRiksUwiNotZ0c5Y+bmgUjaAiF8AVM08dPP kLVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594117; x=1796198917; 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=Mwr2eWaCmmc+l17XF3V5l28tW8oZ+FUcjc+nAwY020c=; b=GUPUH3nGj4h6OGTxikv23SKfah02eUMJhufcFHxrXuzWwbZDX/zNEBkAusYxItPHgV 9omWNmp8yZw2GswYnul+0K55NAB3HpzATnWZF+ZWGoyNovW1+UnHBQXq1vRHcjTeHGSs f0qOaHG6sUhKkVERrvL6TcYRmF+06qWC611czJqvdKMj7o/dDxgoEXvHICj8F6AWNHwY /gOduWPaOIga2RBLmrGo55WdEUSDuVXCpsFQ50VU1urxRG/5GypxTzJZsTKH6ehOGmYJ wHRK4sCOPvbIP15gzixDrpyNJB/215dHFvPXPxT3kZRuBjKfhe1cWg4G/3HTIQqfdHpI WNjg== X-Gm-Message-State: APuU4Z8/p//KThvF6+F2NYQ5Z352VyinOCt/cOCnipXaU8PnRmVM7KYW 7fevU3yui3VNj0kpQo1KBR8/VlK3C8o/7fjlQWpA01hwWtwCt1LhuSMf0GPMqj/Z X-Gm-Gg: AZFdTZcRaBuDmOEe+oMv42PYxSpeuvT4s/oYwqFhcZSsWR5IGvkklwau8Jio5rPQecf w+YsBaKVd0h3F4PnS4IpcMaUbh4SqzaKm/0JP4RGCeIfc96DdF0QpGK7lY9eEWhHXo5sf1nKrTX tvC+VGmRqPU+EWH/7eecOo5NfZdMuf8a2Ilb7swCjpvKbtf3pEd0mlpflkvlhn/+tSJq8zrl5UB LGWVnjrCJdLSnKyVTvv63bPu3e4j349Mfg3MLVOAWdPuaiOE24j2p8scgn5YtC7YewV9H66v60s xi4iKDA4RJt//UfbL1gdhpi0eBsK7P4ahPjm1uCpHjzs8PtaO5HhySSfo+Zs8Gb5H13KrbXGrwn jF9mDUg6V4l6iblJ2j8nCtZb6iKxJnVkJj1T5LE6wLPNj6zWFizlmNembOw72mIETGf8kc+MW8w yzfBLSNRAQdgQ0pjAQKqJBQ61bo3wqf6t77H80nxgSYQj0IqQUm213t7Sq3p+Z1Mo2iYF0qrjHC PT93erLGCD5MachYsO/JsoCuO+qGzk3LHLaVRKKR6emK9PiqwpkyJcEy0Vx9oDsLy1d+uURSeun jI09y3rIM3VOARiwMAYwNzAihfihUBIY5OQdXv0ZL4xkz+qocb3/LnYnhQ/ROFPPBBDOydXp6IG u7fbBfq/tIkQx/cF+rUmLhv24oDv6ADKyuqpi1BuyH76baOPuQp8QUvaBbtvDl/Gamuc6vRtrQj mNWPt52ZSbHV+FxCSavCBPwkx4Hq+Fcu8c+7O/t2QdwzQMXKv6K57eXIVq4QXwkx5SwMp1MRS35 rYLTiwazcWnHKDD6dgb2JW3KFqubUIiKQHNQ+WpWfMGXUWPGOe4Zz6UtnI6Ec5L74kCZ/B+Ingu I1CG X-Received: by 2002:a05:7301:416:b0:356:7ddb:2e54 with SMTP id 5a478bee46e88-38570f27b33mr17848699eec.29.1795594117042; Wed, 25 Nov 2026 00:08:37 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:36 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 44/55] psutils: upgrade 2.10 -> 3.3.17 Date: Wed, 25 Nov 2026 00:07:00 -0800 Message-ID: <20261125080732.2419614-50-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133047 PSUtils 3 is a rewrite in Python that adds PDF support to the same commands (psbook, psnup, pstops, psselect, psresize, epsffit, extractres, includeres, psjoin). Later 3.x releases improve paper size detection from PostScript files, accept psnup page specs without --specs again, and fix psresize --height. The recipe is rewritten from autotools/perl to a setuptools PEP 517 build. It now needs python3-puremagic, python3-pypdf and python3-argparse-manpage (for the man pages generated in setup.py) from meta-python, so it moves to meta-oe's meta-python dynamic layer. setup.py and the commands run 'paper', so libpaper-native stays a build dependency and libpaper becomes a runtime one. perl is no longer needed at runtime. setup.py runs 'paper', which needs a default paper size and cannot find the paperspecs file of a relocated libpaper-native, so set PAPERSIZE and XDG_CONFIG_HOME for the build. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../recipes-support/psutils/psutils_3.3.17.bb | 37 +++++++++++++++++++ .../recipes-support/psutils/psutils_2.10.bb | 27 -------------- 2 files changed, 37 insertions(+), 27 deletions(-) create mode 100644 meta-oe/dynamic-layers/meta-python/recipes-support/psutils/psutils_3.3.17.bb delete mode 100644 meta-oe/recipes-support/psutils/psutils_2.10.bb diff --git a/meta-oe/dynamic-layers/meta-python/recipes-support/psutils/psutils_3.3.17.bb b/meta-oe/dynamic-layers/meta-python/recipes-support/psutils/psutils_3.3.17.bb new file mode 100644 index 0000000000..93b7d2d729 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-support/psutils/psutils_3.3.17.bb @@ -0,0 +1,37 @@ +SUMMARY = "Utilities for manipulating PDF and PostScript documents" +DESCRIPTION = "PSUtils is a collection of utilities for manipulating PDF \ +and PostScript documents: page selection and rearrangement, arrangement \ +into signatures for booklet printing, and page merging for n-up printing." +HOMEPAGE = "https://github.com/rrthomas/psutils" +LICENSE = "GPL-3.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=87212b5f1ae096371049a12f80034f32" + +SRC_URI = "https://github.com/rrthomas/psutils/releases/download/v${PV}/psutils-${PV}.tar.gz" +SRC_URI[sha256sum] = "3ff76cc9f9fb535ec553d1591de56d6dbaa0d9f4df86778f6a49731ebd764cdf" + +UPSTREAM_CHECK_URI = "https://github.com/rrthomas/psutils/releases" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P\d+(\.\d+)+)" + +inherit python_setuptools_build_meta + +# setup.py generates the man pages from the argparse parsers and runs 'paper' +DEPENDS += " \ + libpaper-native \ + python3-argparse-manpage-native \ + python3-puremagic-native \ + python3-pypdf-native \ +" + +# setup.py runs 'paper', which needs a default size and finds no paperspecs in a relocated sysroot +export PAPERSIZE = "a4" +export XDG_CONFIG_HOME = "${STAGING_ETCDIR_NATIVE}" + +RDEPENDS:${PN} += " \ + libpaper \ + python3-core \ + python3-io \ + python3-puremagic \ + python3-pypdf \ +" + +BBCLASSEXTEND = "native" diff --git a/meta-oe/recipes-support/psutils/psutils_2.10.bb b/meta-oe/recipes-support/psutils/psutils_2.10.bb deleted file mode 100644 index bfb5cbe75b..0000000000 --- a/meta-oe/recipes-support/psutils/psutils_2.10.bb +++ /dev/null @@ -1,27 +0,0 @@ -LICENSE = "GPL-3.0-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=87212b5f1ae096371049a12f80034f32" - -SRC_URI = "https://github.com/rrthomas/psutils/releases/download/v${PV}/psutils-${PV}.tar.gz" -SRC_URI[sha256sum] = "6f8339fd5322df5c782bfb355d9f89e513353220fca0700a5a28775404d7e98b" - -UPSTREAM_CHECK_URI = "https://github.com/rrthomas/psutils/releases" -UPSTREAM_CHECK_REGEX = "releases/tag/v(?P\d+(\.\d+)+)" - -inherit perlnative autotools - -export PERL = "/usr/bin/env perl" - -DEPENDS += "libpaper-native" - -do_install:append() { - sed -i -e 's|${STAGING_BINDIR_NATIVE}/perl-native/|/usr/bin/env |g' ${D}${bindir}/pstops - for f in psbook psresize psnup psselect; do - grep -v '${B}' ${D}${bindir}/$f > ${D}${bindir}/$f.temp - install -m 0755 ${D}${bindir}/$f.temp ${D}${bindir}/$f - rm -f ${D}${bindir}/$f.temp - done -} - -BBCLASSEXTEND += "native" -# /usr/bin/pstops contained in package psutils requires perl -RDEPENDS:${PN} += "perl" From patchwork Wed Nov 25 08:07:01 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105620 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37954.1795594119093831962 for ; Wed, 25 Nov 2026 00:08:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=LuNn8NTY; spf=pass (domain: gmail.com, ip: 74.125.82.172, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-386bd881d39so3908705eec.1 for ; Wed, 25 Nov 2026 00:08:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594118; x=1796198918; 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=Qw+RRt+oFWjmHsWIzKbmnPzDdKI/M95M+VvDJ7IypJM=; b=LuNn8NTYhOJaYwEM+AG5H+L1hlWVlc/LNNrtbqZYVsRUbtYpd5PysLUNqE5ClU4fsy GtXi8BhPGnq0XqC6hLuPGzQ55hSJgY9ftBGzhu+cSDzNy/MNJ8NXzvJAZFXO1siOZLK/ vHaBTxWokI6z4GPGDM51xnFjYryJVQgk2OAwrOtpU4XFITl9mLS1U2aV/6BSdkdD4M6D F/SmqM1OB3E5ZRSvC8DVZ1L343EgRXmVSpamAw9V4B/dTaIqz4S6o2tr3eWSoPKZBgk5 cp5DVwE8phF0AAsSA9NDNYsLfnrVaMl19F5zxFafJ6x7fIB7bFIxNEZDuIF4uhe2jNtz 3wUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594118; x=1796198918; 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=Qw+RRt+oFWjmHsWIzKbmnPzDdKI/M95M+VvDJ7IypJM=; b=FkDtHiO3Uytz+zpJfk/rLYUTaZF0m3OiavLMHi0mMirUxnlsiuL8WoFhsTvIOr80bM yvRHast632UsZfHhgJ5Y79aH/R5bu1vn7ij68uGW/tP+4k1ujFMY1C0cIpc/akLmHBoN Hzj9lXUIUecxnDuMAlZwZVI8zbox/290PGkDgPekcCvl5c1SrMHHYkTNDT6YOhnewIrB O2ULSDMXMNPpKy1H0OhGtc8ZnYa5MMYNmPPsGe/GeEnvh50LeC5Jh9fKaHCp7MBIYt7H WgOqp47gAa/gfasihCA/TnNc1tSKFQpm6acJgMRqTImhwtIC4p+LY6o//MBB10DPHb7Y E7bQ== X-Gm-Message-State: APuU4Z8Li/uRWMFAXONk2Fl0HH9/M3HjtTP4sFuOIZjocWyr2+ZQ8jnw klQ9CLtizO0mtIWq/vitzFNgTlAUqGHYxVg3eZN32X4I0RmYRgKCZDNfuM7rslcY X-Gm-Gg: AZFdTZchfTPNzQJIPhamArx3Nne5UcgMMF4x5TOUBHgN91T5uLS9IjZC1Giv8smKiBo X0d2Lyj4XWW21Bl827Swsd3bV57MEnkjb8bEVAxuM5/AyE0u2dy8wUzrVp4wgECn24h7p2YkmCk avRb8P009xbmSUD8medwQO7gf0uLB5P5zp9I01shjGtZ2gi23cmcdHBRTNuaBilKbzLNL1KtS7N 2v+nT+F5IuvygzjEPC6sVz+IitBy5GJbC6kfagc/+fwA7ryvevjbNrMkah3DvXU9CoPkLuK748y icPrwMCagrgiF+wagHxZqLwpLQtGJi63RzWK3I46XjMsTVmwZcT6JvHCk7cai4wZQygn5hptguG AoEubNWLzohbAt6TJsLo5qBJludqNSsj9F1E2nj/Q3HgjUloeVmjZlUkknOPk775gVxUhZjzBdK EbmLOnbovL+Ll36J4rhcLeuO4ztk+fGdv7dZBA9RO4Z25LBsK/Afg8rfm1mMwM13Zpq1LyAF13y 2Kse4my5hovbgD372pJYd6FJZ33su7JTVa6T/Ccpd//3rcNRrVt6O6FsoLwdTjsU0idIbbwEhWn fCxSSEToF2yCGb0zuti9UB9P8o0HfDEX+j0Q8u13WQuqAHU/z37tGeww1eVShWqnqIKi/bJWzUy hZoJalBzDex0HGINjNRaXhbPFvlqub2ezufN3JUqgh6N4vPMHI7BslySaMeouz6fobNOKUe/VvC o1mAIU8EYI40YSTuq5Y+FAE5W4Eiled3slbRsxEjBZANd938PSxkh45j6lQzHOizYpAD5Y9uojU fLjUcjDJ1sKGN6y7Feh85nLZQiI8x7aqZIgg1K+VFVn4VeM8s2KAzX+pX09f05IMHxKHyK6LsfJ D0oa X-Received: by 2002:a05:7301:4710:b0:378:314:4042 with SMTP id 5a478bee46e88-385702587c5mr16251205eec.14.1795594118162; Wed, 25 Nov 2026 00:08:38 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:37 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 45/55] binwalk: upgrade 2.3.4 -> 3.1.0 Date: Wed, 25 Nov 2026 00:07:01 -0800 Message-ID: <20261125080732.2419614-51-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133048 Binwalk 3 is a complete rewrite in Rust: much faster, with fewer false positives and support for more extractors. It is a CLI only; the Python module and API of 2.x (import binwalk, plugins) are gone, and the command line options and extraction layout changed. Replace meta-python's python3-binwalk with a cargo based binwalk recipe in meta-oe, fetched from crates.io. The crates include was generated from the crate's Cargo.lock with the same logic as 'bitbake -c update_crates binwalk'. lzma-sys, bzip2-sys and the fontconfig/freetype -sys crates (entropy plots) link the system libraries. The extractor tools that OE provides are RRECOMMENDS, and RREPLACES/RCONFLICTS python3-binwalk handle upgrades. No recipe in the layers depended on python3-binwalk. License-Update: copyright changed from "2010-2015 Craig Heffner" to "2024 devttys0" and text rewrapped; still MIT AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../binwalk/binwalk-crates.inc | 316 ++++++++++++++++++ .../recipes-devtools/binwalk/binwalk_3.1.0.bb | 33 ++ .../python/python3-binwalk_2.3.4.bb | 25 -- 3 files changed, 349 insertions(+), 25 deletions(-) create mode 100644 meta-oe/recipes-devtools/binwalk/binwalk-crates.inc create mode 100644 meta-oe/recipes-devtools/binwalk/binwalk_3.1.0.bb delete mode 100644 meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb diff --git a/meta-oe/recipes-devtools/binwalk/binwalk-crates.inc b/meta-oe/recipes-devtools/binwalk/binwalk-crates.inc new file mode 100644 index 0000000000..a332e3522d --- /dev/null +++ b/meta-oe/recipes-devtools/binwalk/binwalk-crates.inc @@ -0,0 +1,316 @@ +# Autogenerated with 'bitbake -c update_crates binwalk' + +# from Cargo.lock +SRC_URI += " \ + crate://crates.io/adler/1.0.2 \ + crate://crates.io/adler2/2.0.0 \ + crate://crates.io/aho-corasick/1.1.3 \ + crate://crates.io/android-tzdata/0.1.1 \ + crate://crates.io/android_system_properties/0.1.5 \ + crate://crates.io/anstream/0.6.15 \ + crate://crates.io/anstyle/1.0.8 \ + crate://crates.io/anstyle-parse/0.2.5 \ + crate://crates.io/anstyle-query/1.1.1 \ + crate://crates.io/anstyle-wincon/3.0.4 \ + crate://crates.io/autocfg/1.3.0 \ + crate://crates.io/base64/0.22.1 \ + crate://crates.io/bitflags/1.3.2 \ + crate://crates.io/bitflags/2.6.0 \ + crate://crates.io/bumpalo/3.16.0 \ + crate://crates.io/bytemuck/1.18.0 \ + crate://crates.io/byteorder/1.5.0 \ + crate://crates.io/bzip2/0.4.4 \ + crate://crates.io/bzip2-sys/0.1.11+1.0.8 \ + crate://crates.io/cc/1.1.21 \ + crate://crates.io/cfg-if/1.0.0 \ + crate://crates.io/chrono/0.4.38 \ + crate://crates.io/clap/4.5.18 \ + crate://crates.io/clap_builder/4.5.18 \ + crate://crates.io/clap_derive/4.5.18 \ + crate://crates.io/clap_lex/0.7.2 \ + crate://crates.io/color_quant/1.1.0 \ + crate://crates.io/colorchoice/1.0.2 \ + crate://crates.io/colored/2.1.0 \ + crate://crates.io/core-foundation/0.9.4 \ + crate://crates.io/core-foundation-sys/0.8.7 \ + crate://crates.io/core-graphics/0.23.2 \ + crate://crates.io/core-graphics-types/0.1.3 \ + crate://crates.io/core-text/20.1.0 \ + crate://crates.io/crc32-v2/0.0.4 \ + crate://crates.io/crc32c/0.6.8 \ + crate://crates.io/crc32fast/1.4.2 \ + crate://crates.io/dirs/5.0.1 \ + crate://crates.io/dirs-sys/0.4.1 \ + crate://crates.io/dlib/0.5.2 \ + crate://crates.io/dwrote/0.11.1 \ + crate://crates.io/entropy/0.4.2 \ + crate://crates.io/env_filter/0.1.2 \ + crate://crates.io/env_logger/0.11.5 \ + crate://crates.io/fdeflate/0.3.4 \ + crate://crates.io/flate2/1.0.34 \ + crate://crates.io/float-ord/0.3.2 \ + crate://crates.io/font-kit/0.14.2 \ + crate://crates.io/foreign-types/0.5.0 \ + crate://crates.io/foreign-types-macros/0.2.3 \ + crate://crates.io/foreign-types-shared/0.3.1 \ + crate://crates.io/freetype-sys/0.20.1 \ + crate://crates.io/getrandom/0.2.15 \ + crate://crates.io/gif/0.12.0 \ + crate://crates.io/heck/0.5.0 \ + crate://crates.io/hermit-abi/0.3.9 \ + crate://crates.io/humantime/2.1.0 \ + crate://crates.io/iana-time-zone/0.1.61 \ + crate://crates.io/iana-time-zone-haiku/0.1.2 \ + crate://crates.io/image/0.24.9 \ + crate://crates.io/is_terminal_polyfill/1.70.1 \ + crate://crates.io/itoa/1.0.11 \ + crate://crates.io/jpeg-decoder/0.3.1 \ + crate://crates.io/js-sys/0.3.70 \ + crate://crates.io/lazy_static/1.5.0 \ + crate://crates.io/libc/0.2.158 \ + crate://crates.io/libloading/0.8.5 \ + crate://crates.io/libredox/0.1.3 \ + crate://crates.io/log/0.4.22 \ + crate://crates.io/lzma-sys/0.1.20 \ + crate://crates.io/memchr/2.7.4 \ + crate://crates.io/miniz_oxide/0.7.4 \ + crate://crates.io/miniz_oxide/0.8.0 \ + crate://crates.io/num-traits/0.2.19 \ + crate://crates.io/num_cpus/1.16.0 \ + crate://crates.io/once_cell/1.19.0 \ + crate://crates.io/option-ext/0.2.0 \ + crate://crates.io/pathfinder_geometry/0.5.1 \ + crate://crates.io/pathfinder_simd/0.5.4 \ + crate://crates.io/pkg-config/0.3.30 \ + crate://crates.io/plotters/0.3.7 \ + crate://crates.io/plotters-backend/0.3.7 \ + crate://crates.io/plotters-bitmap/0.3.7 \ + crate://crates.io/plotters-svg/0.3.7 \ + crate://crates.io/png/0.17.13 \ + crate://crates.io/ppv-lite86/0.2.20 \ + crate://crates.io/proc-macro2/1.0.86 \ + crate://crates.io/quote/1.0.37 \ + crate://crates.io/rand/0.8.5 \ + crate://crates.io/rand_chacha/0.3.1 \ + crate://crates.io/rand_core/0.6.4 \ + crate://crates.io/redox_users/0.4.6 \ + crate://crates.io/regex/1.10.6 \ + crate://crates.io/regex-automata/0.4.7 \ + crate://crates.io/regex-syntax/0.8.4 \ + crate://crates.io/rustc_version/0.4.1 \ + crate://crates.io/ryu/1.0.18 \ + crate://crates.io/same-file/1.0.6 \ + crate://crates.io/semver/1.0.23 \ + crate://crates.io/serde/1.0.210 \ + crate://crates.io/serde_derive/1.0.210 \ + crate://crates.io/serde_json/1.0.128 \ + crate://crates.io/shlex/1.3.0 \ + crate://crates.io/simd-adler32/0.3.7 \ + crate://crates.io/strsim/0.11.1 \ + crate://crates.io/syn/2.0.77 \ + crate://crates.io/termsize/0.1.9 \ + crate://crates.io/thiserror/1.0.63 \ + crate://crates.io/thiserror-impl/1.0.63 \ + crate://crates.io/threadpool/1.8.1 \ + crate://crates.io/ttf-parser/0.20.0 \ + crate://crates.io/unicode-ident/1.0.13 \ + crate://crates.io/utf8parse/0.2.2 \ + crate://crates.io/uuid/1.10.0 \ + crate://crates.io/uuid-macro-internal/1.10.0 \ + crate://crates.io/walkdir/2.5.0 \ + crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ + crate://crates.io/wasm-bindgen/0.2.93 \ + crate://crates.io/wasm-bindgen-backend/0.2.93 \ + crate://crates.io/wasm-bindgen-macro/0.2.93 \ + crate://crates.io/wasm-bindgen-macro-support/0.2.93 \ + crate://crates.io/wasm-bindgen-shared/0.2.93 \ + crate://crates.io/web-sys/0.3.70 \ + crate://crates.io/weezl/0.1.8 \ + 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.9 \ + crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ + crate://crates.io/windows-core/0.52.0 \ + crate://crates.io/windows-sys/0.48.0 \ + crate://crates.io/windows-sys/0.52.0 \ + crate://crates.io/windows-sys/0.59.0 \ + crate://crates.io/windows-targets/0.48.5 \ + crate://crates.io/windows-targets/0.52.6 \ + 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/wio/0.2.2 \ + crate://crates.io/xxhash-rust/0.8.12 \ + crate://crates.io/xz2/0.1.7 \ + crate://crates.io/yeslogic-fontconfig-sys/6.0.0 \ + crate://crates.io/zerocopy/0.7.35 \ + crate://crates.io/zerocopy-derive/0.7.35 \ +" + +SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +SRC_URI[adler2-2.0.0.sha256sum] = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" +SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" +SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +SRC_URI[anstream-0.6.15.sha256sum] = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" +SRC_URI[anstyle-1.0.8.sha256sum] = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" +SRC_URI[anstyle-parse-0.2.5.sha256sum] = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" +SRC_URI[anstyle-query-1.1.1.sha256sum] = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" +SRC_URI[anstyle-wincon-3.0.4.sha256sum] = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" +SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +SRC_URI[bumpalo-3.16.0.sha256sum] = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +SRC_URI[bytemuck-1.18.0.sha256sum] = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" +SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +SRC_URI[bzip2-0.4.4.sha256sum] = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" +SRC_URI[bzip2-sys-0.1.11+1.0.8.sha256sum] = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +SRC_URI[cc-1.1.21.sha256sum] = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" +SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +SRC_URI[chrono-0.4.38.sha256sum] = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +SRC_URI[clap-4.5.18.sha256sum] = "b0956a43b323ac1afaffc053ed5c4b7c1f1800bacd1683c353aabbb752515dd3" +SRC_URI[clap_builder-4.5.18.sha256sum] = "4d72166dd41634086d5803a47eb71ae740e61d84709c36f3c34110173db3961b" +SRC_URI[clap_derive-4.5.18.sha256sum] = "4ac6a0c7b1a9e9a5186361f67dfa1b88213572f427fb9ab038efb2bd8c582dab" +SRC_URI[clap_lex-0.7.2.sha256sum] = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" +SRC_URI[color_quant-1.1.0.sha256sum] = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" +SRC_URI[colorchoice-1.0.2.sha256sum] = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" +SRC_URI[colored-2.1.0.sha256sum] = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" +SRC_URI[core-foundation-0.9.4.sha256sum] = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +SRC_URI[core-foundation-sys-0.8.7.sha256sum] = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" +SRC_URI[core-graphics-0.23.2.sha256sum] = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081" +SRC_URI[core-graphics-types-0.1.3.sha256sum] = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf" +SRC_URI[core-text-20.1.0.sha256sum] = "c9d2790b5c08465d49f8dc05c8bcae9fea467855947db39b0f8145c091aaced5" +SRC_URI[crc32-v2-0.0.4.sha256sum] = "7f546fcecc3490696c3bea070d8949208279bbc220a5a7738573a10f584cda51" +SRC_URI[crc32c-0.6.8.sha256sum] = "3a47af21622d091a8f0fb295b88bc886ac74efcc613efc19f5d0b21de5c89e47" +SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +SRC_URI[dirs-5.0.1.sha256sum] = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +SRC_URI[dirs-sys-0.4.1.sha256sum] = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +SRC_URI[dlib-0.5.2.sha256sum] = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" +SRC_URI[dwrote-0.11.1.sha256sum] = "2da3498378ed373237bdef1eddcc64e7be2d3ba4841f4c22a998e81cadeea83c" +SRC_URI[entropy-0.4.2.sha256sum] = "d68716e45ef572f351be6fad93a7bbf35242b4289a2ff75434032e5d73d74cc2" +SRC_URI[env_filter-0.1.2.sha256sum] = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" +SRC_URI[env_logger-0.11.5.sha256sum] = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +SRC_URI[fdeflate-0.3.4.sha256sum] = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645" +SRC_URI[flate2-1.0.34.sha256sum] = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" +SRC_URI[float-ord-0.3.2.sha256sum] = "8ce81f49ae8a0482e4c55ea62ebbd7e5a686af544c00b9d090bba3ff9be97b3d" +SRC_URI[font-kit-0.14.2.sha256sum] = "b64b34f4efd515f905952d91bc185039863705592c0c53ae6d979805dd154520" +SRC_URI[foreign-types-0.5.0.sha256sum] = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" +SRC_URI[foreign-types-macros-0.2.3.sha256sum] = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" +SRC_URI[foreign-types-shared-0.3.1.sha256sum] = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" +SRC_URI[freetype-sys-0.20.1.sha256sum] = "0e7edc5b9669349acfda99533e9e0bcf26a51862ab43b08ee7745c55d28eb134" +SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +SRC_URI[gif-0.12.0.sha256sum] = "80792593675e051cf94a4b111980da2ba60d4a83e43e0048c5693baab3977045" +SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +SRC_URI[hermit-abi-0.3.9.sha256sum] = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" +SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +SRC_URI[iana-time-zone-0.1.61.sha256sum] = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" +SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +SRC_URI[image-0.24.9.sha256sum] = "5690139d2f55868e080017335e4b94cb7414274c74f1669c84fb5feba2c9f69d" +SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +SRC_URI[jpeg-decoder-0.3.1.sha256sum] = "f5d4a7da358eff58addd2877a45865158f0d78c911d43a5784ceb7bbf52833b0" +SRC_URI[js-sys-0.3.70.sha256sum] = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" +SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +SRC_URI[libc-0.2.158.sha256sum] = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +SRC_URI[libloading-0.8.5.sha256sum] = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" +SRC_URI[libredox-0.1.3.sha256sum] = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +SRC_URI[log-0.4.22.sha256sum] = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +SRC_URI[lzma-sys-0.1.20.sha256sum] = "5fda04ab3764e6cde78b9974eec4f779acaba7c4e84b36eca3cf77c581b85d27" +SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +SRC_URI[miniz_oxide-0.7.4.sha256sum] = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" +SRC_URI[miniz_oxide-0.8.0.sha256sum] = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" +SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +SRC_URI[num_cpus-1.16.0.sha256sum] = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +SRC_URI[option-ext-0.2.0.sha256sum] = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" +SRC_URI[pathfinder_geometry-0.5.1.sha256sum] = "0b7b7e7b4ea703700ce73ebf128e1450eb69c3a8329199ffbfb9b2a0418e5ad3" +SRC_URI[pathfinder_simd-0.5.4.sha256sum] = "5cf07ef4804cfa9aea3b04a7bbdd5a40031dbb6b4f2cbaf2b011666c80c5b4f2" +SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" +SRC_URI[plotters-0.3.7.sha256sum] = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747" +SRC_URI[plotters-backend-0.3.7.sha256sum] = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a" +SRC_URI[plotters-bitmap-0.3.7.sha256sum] = "72ce181e3f6bf82d6c1dc569103ca7b1bd964c60ba03d7e6cdfbb3e3eb7f7405" +SRC_URI[plotters-svg-0.3.7.sha256sum] = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670" +SRC_URI[png-0.17.13.sha256sum] = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1" +SRC_URI[ppv-lite86-0.2.20.sha256sum] = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +SRC_URI[quote-1.0.37.sha256sum] = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" +SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +SRC_URI[redox_users-0.4.6.sha256sum] = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +SRC_URI[regex-1.10.6.sha256sum] = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" +SRC_URI[regex-automata-0.4.7.sha256sum] = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" +SRC_URI[regex-syntax-0.8.4.sha256sum] = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" +SRC_URI[rustc_version-0.4.1.sha256sum] = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +SRC_URI[semver-1.0.23.sha256sum] = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" +SRC_URI[serde-1.0.210.sha256sum] = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" +SRC_URI[serde_derive-1.0.210.sha256sum] = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" +SRC_URI[serde_json-1.0.128.sha256sum] = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" +SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +SRC_URI[simd-adler32-0.3.7.sha256sum] = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" +SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" +SRC_URI[syn-2.0.77.sha256sum] = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" +SRC_URI[termsize-0.1.9.sha256sum] = "6f11ff5c25c172608d5b85e2fb43ee9a6d683a7f4ab7f96ae07b3d8b590368fd" +SRC_URI[thiserror-1.0.63.sha256sum] = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" +SRC_URI[thiserror-impl-1.0.63.sha256sum] = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" +SRC_URI[threadpool-1.8.1.sha256sum] = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa" +SRC_URI[ttf-parser-0.20.0.sha256sum] = "17f77d76d837a7830fe1d4f12b7b4ba4192c1888001c7164257e4bc6d21d96b4" +SRC_URI[unicode-ident-1.0.13.sha256sum] = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +SRC_URI[uuid-1.10.0.sha256sum] = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314" +SRC_URI[uuid-macro-internal-1.10.0.sha256sum] = "ee1cd046f83ea2c4e920d6ee9f7c3537ef928d75dce5d84a87c2c5d6b3999a3a" +SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +SRC_URI[wasm-bindgen-0.2.93.sha256sum] = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" +SRC_URI[wasm-bindgen-backend-0.2.93.sha256sum] = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" +SRC_URI[wasm-bindgen-macro-0.2.93.sha256sum] = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" +SRC_URI[wasm-bindgen-macro-support-0.2.93.sha256sum] = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" +SRC_URI[wasm-bindgen-shared-0.2.93.sha256sum] = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" +SRC_URI[web-sys-0.3.70.sha256sum] = "26fdeaafd9bd129f65e7c031593c24d62186301e0c72c8978fa1678be7d532c0" +SRC_URI[weezl-0.1.8.sha256sum] = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" +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.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +SRC_URI[windows-core-0.52.0.sha256sum] = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" +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[wio-0.2.2.sha256sum] = "5d129932f4644ac2396cb456385cbf9e63b5b30c6e8dc4820bdca4eb082037a5" +SRC_URI[xxhash-rust-0.8.12.sha256sum] = "6a5cbf750400958819fb6178eaa83bee5cd9c29a26a40cc241df8c70fdd46984" +SRC_URI[xz2-0.1.7.sha256sum] = "388c44dc09d76f1536602ead6d325eb532f5c122f17782bd57fb47baeeb767e2" +SRC_URI[yeslogic-fontconfig-sys-6.0.0.sha256sum] = "503a066b4c037c440169d995b869046827dbc71263f6e8f3be6d77d4f3229dbd" +SRC_URI[zerocopy-0.7.35.sha256sum] = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +SRC_URI[zerocopy-derive-0.7.35.sha256sum] = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" diff --git a/meta-oe/recipes-devtools/binwalk/binwalk_3.1.0.bb b/meta-oe/recipes-devtools/binwalk/binwalk_3.1.0.bb new file mode 100644 index 0000000000..f8b06a32ef --- /dev/null +++ b/meta-oe/recipes-devtools/binwalk/binwalk_3.1.0.bb @@ -0,0 +1,33 @@ +SUMMARY = "Firmware analysis tool" +DESCRIPTION = "Binwalk identifies, and optionally extracts, files and data \ +embedded inside other files, such as firmware images." +HOMEPAGE = "https://github.com/ReFirmLabs/binwalk" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1b10c9218a44cbb4b7efb15b5288898b" + +SRC_URI = "crate://crates.io/binwalk/${PV};name=binwalk" +SRC_URI[binwalk.sha256sum] = "99d5dc70f5021c55624f098adae4d1de9c1c07d000475664704b675aad7e0811" +S = "${CARGO_VENDORING_DIRECTORY}/binwalk-${PV}" + +CVE_PRODUCT = "binwalk" + +inherit cargo cargo-update-recipe-crates pkgconfig + +require ${BPN}-crates.inc + +# lzma-sys, bzip2-sys, yeslogic-fontconfig-sys and freetype-sys +DEPENDS += "bzip2 fontconfig freetype xz" + +# External extraction utilities run by binwalk -e that OE provides +RRECOMMENDS:${PN} += " \ + 7zip \ + cabextract \ + dtc \ + lz4 \ + lzop \ + tar \ + zstd \ +" + +RREPLACES:${PN} = "python3-binwalk" +RCONFLICTS:${PN} = "python3-binwalk" diff --git a/meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb b/meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb deleted file mode 100644 index e2d6b24acb..0000000000 --- a/meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "Firmware analysis tool" -DESCRIPTION = "This package contains Python Binwalk tool. Binwalk is a fast, \ -easy to use tool for analyzing, reverse engineering, and extracting firmware \ -images." -HOMEPAGE = "https://github.com/ReFirmLabs/binwalk" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=65bbee055d3ea3bfc475f07aecf4de64" - -SRC_URI = "git://github.com/ReFirmLabs/binwalk;protocol=https;branch=master" - -SRCREV = "cddfede795971045d99422bd7a9676c8803ec5ee" - -CVE_PRODUCT = "binwalk" - -UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" - -inherit setuptools3 - -RDEPENDS:${PN} += " \ - python3-compression \ - python3-logging \ - python3-netserver \ - python3-setuptools \ - python3-stringold \ -" From patchwork Wed Nov 25 08:07:02 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105612 Received: from mail-dl1-f49.google.com (mail-dl1-f49.google.com [74.125.82.49]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37955.1795594119836113194 for ; Wed, 25 Nov 2026 00:08:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Dx0CaIhb; spf=pass (domain: gmail.com, ip: 74.125.82.49, mailfrom: raj.khem@gmail.com) Received: by mail-dl1-f49.google.com with SMTP id a92af1059eb24-1b244fb7fffso5440336c88.1 for ; Wed, 25 Nov 2026 00:08:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594119; x=1796198919; 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=iQ0FPhEpEc3XSwDdFXnuIq0zJcXa1nb5ZEttk61e1ZU=; b=Dx0CaIhbvzVAsXFGTZxhfF9anJRIuU3uFy3MrOaQcN15HFyaUtoH1ZhbXk74JO5ha/ Iu85utSnr+HNtGf9UnXXbIw4caC/Giimc2CYyDpvyeS3BD5nQq/ZnBTzff4R3MXm89U7 QSHorehnkdfeovZoHQnO6FIOZqHbCEfkl4BDiGB5wqwJLmwuvuuoEbgQiiSX/SshpsVU yZyyMqG05agtZrJiCh7C9jWkoEYxwxlzOCD8iNv5Yy/jR4j/edZ6ziZ63ZbPW5QAlC4k EZNwQowt1zv4Y6a6eCPJlkQ9zPUxKEUI7+Uk1cWFNSzVkTDYtMBJLp/BdNjkw7htx1Q/ xvlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594119; x=1796198919; 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=iQ0FPhEpEc3XSwDdFXnuIq0zJcXa1nb5ZEttk61e1ZU=; b=Onh6BZA4yGU4cZAAy1DYWVKzbyk07Z8TPKUq7Cas59sN7MFGdP7KCw6u7BPpFUCN0Y ItbaWHIugLqQojI30FitFoMw8Meb3vBp9O0a71oH9WSbhtFIvLwHPigj4eUNJscUKA18 SSojTbdAt1tSo/mPKpxv/w9hcg3dbRQKnrCZEFERvUMCoclsjFn/QOcdNmy1NblXYuvh JSExX142DfSwoK7oQ+bVJGYVajbd8XbMy4fTO6JLPVMO5Dmy5tKftuETbbUiacLog7tK zXr6zDVckz0iNGXLdBsN3OwiMpt65wcOGhQItv+n53u1pOnkGdjwUDRbXC9unV8GMBwF m37Q== X-Gm-Message-State: APuU4Z9AiqMEG+lZxiewPcBqGGeNDHAG8B4rgJwpv5pk0gA4RyUSC1UP 3JXvo02hvYE7uWDGIlixTODYgbYQ3mNRDADn6E9FhQPctpS+OXzGN10a6Gsc5jVd X-Gm-Gg: AZFdTZeQNBrVPHmO969L4iv0C+C90otKAdfQvNVrGKxJDmxSfYSLqCv2OwnBvz52q7a J2HK2tMVyzc2VWhxyFEr2XkUMDeg/b3Wn4V+GOyjEuUmsueL+oeWIETgxfsPzcI/3CeMqDNj6oY G8o0e8wxauuaE43F9LwnrO5qlKUEwCFVz4lBh0SF/1JtC5wfG0xggqYDRG9cxUB+gDyWCqcPxQP ock6goOkBSugKV8G4VNABmlnoV5+QV/7Ob6thV64vY7EaTLSAdQiMIT/GR9iLkaO10YkduTNWsg /Osvrku+wQNcQ+mc9KJrZjUwYuoLDVhra2/l5ZrJmP6LOxxEyNwQZrMep81k0U8PobeBkfkemzb G/m3X2ROuUq6Za8R8GyY36zJONrK3SQA6tZfekXz3sOqmaw492cBvyY/+HpOY/rkDrAAFe1Dkn1 l+mxjAnQTUKaJyn/qtCwwFFAJhjz8RvEha1aq9N+yguLtpbAoNzLhjUXh2MIO+LQlzFpzO1NxbF zgOqYE7i2wO05zU2vA+Rim19GCAy0egAmbkyzFVRk7KB08Sct/Q9bwxX+Cf70M/pMhwK9y6Cf/b 0TgiIGqMZE8iTX65jgmUKqlgcj34B5l5I8MIepvy4+o7UGg+8HN80+nM/iM/kfwOMMKoq2n4HaW 2/Mrkl1ZhJv4c1Htp+Ad+T3gHtw27J0p8WQmKmaH7V6iiXk1cT//RzOHh0/sjB2OIT9mal7KIJj BA4oXC3qWCwZpeqeivcc393UE2sSPfrFrt1e6KYo9UkSG0GkqfK6KnS+iNbmP7SOXsSVnFKON5p SsirgbuUA9Av/dNpY5YmB/3dowo3TYccLsVuC/YVtqnmwRULJIAIfDoFfLEl/kcVNCnMdUMQcAv QMJh/Q== X-Received: by 2002:a05:7300:51f6:b0:384:7b4c:8564 with SMTP id 5a478bee46e88-3857131a749mr20081279eec.41.1795594119146; Wed, 25 Nov 2026 00:08:39 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:38 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 46/55] inotify-tools: upgrade 4.25.9.0 -> 4.26.291 Date: Wed, 25 Nov 2026 00:07:02 -0800 Message-ID: <20261125080732.2419614-52-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133049 inotify-tools was rewritten in Rust. The tools and libinotifytools are meant as drop-in replacements: the library keeps SONAME libinotifytools.so.0 and the C headers. Upstream now releases every green commit on master as .. Also new: - fanotify mount and filesystem watches (btrfs sub-volumes, overlayfs) - filenames preserved in fanotify delete and move events - timeouts respected while waiting for filtered or batched events Autotools is gone; the top-level GNU Makefile runs cargo for the workspace, generates the headers and man pages and installs the historical layout. Build with the cargo class and call make with the OE target triple, profile and target dir. Use the release tarball, which has the full version stamped in VERSION. The only crate is libc; the crates include was generated from Cargo.lock with the same logic as 'bitbake -c update_crates inotify-tools'. The static library is not installed, as with the old --disable-static build. The ptest keeps running the C++ C-ABI unit test (libinotifytools/src/test.cpp), now built against the Rust cdylib. The upstream package metadata (Cargo.toml) declares GPL-2.0-or-later and COPYING is the GPLv2 text, so LICENSE becomes GPL-2.0-or-later. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../inotify-tools/inotify-tools-crates.inc | 8 +++ .../inotify-tools/inotify-tools_4.25.9.0.bb | 37 ------------ .../inotify-tools/inotify-tools_4.26.291.bb | 57 +++++++++++++++++++ 3 files changed, 65 insertions(+), 37 deletions(-) create mode 100644 meta-oe/recipes-support/inotify-tools/inotify-tools-crates.inc delete mode 100644 meta-oe/recipes-support/inotify-tools/inotify-tools_4.25.9.0.bb create mode 100644 meta-oe/recipes-support/inotify-tools/inotify-tools_4.26.291.bb diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools-crates.inc b/meta-oe/recipes-support/inotify-tools/inotify-tools-crates.inc new file mode 100644 index 0000000000..90ab41a802 --- /dev/null +++ b/meta-oe/recipes-support/inotify-tools/inotify-tools-crates.inc @@ -0,0 +1,8 @@ +# Autogenerated with 'bitbake -c update_crates inotify-tools' + +# from Cargo.lock +SRC_URI += " \ + crate://crates.io/libc/0.2.183 \ +" + +SRC_URI[libc-0.2.183.sha256sum] = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d" diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools_4.25.9.0.bb b/meta-oe/recipes-support/inotify-tools/inotify-tools_4.25.9.0.bb deleted file mode 100644 index a03b835641..0000000000 --- a/meta-oe/recipes-support/inotify-tools/inotify-tools_4.25.9.0.bb +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "Command line tools and C library providing a simple interface to inotify" -HOMEPAGE = "http://wiki.github.com/rvoicilas/inotify-tools" -SECTION = "console/devel" -LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=ac6c26e52aea428ee7f56dc2c56424c6" - -SRCREV = "81c6c9881edf4844f2b8250e63f82da9cb7f5444" - -SRC_URI = "git://github.com/${BPN}/${BPN};branch=master;protocol=https \ - file://run-ptest \ - " - - -inherit autotools ptest - -EXTRA_OECONF = "--disable-doxygen" - -# workaround until glibc 2.35 is fixed for this [1] -# [1] https://sourceware.org/pipermail/libc-alpha/2021-December/134215.html -CFLAGS += "-Wno-error" - -PACKAGES =+ "libinotifytools" - -FILES:libinotifytools = "${libdir}/lib*.so.*" - -do_compile_ptest() { - cd libinotifytools/src - oe_runmake - oe_runmake test -} - -do_install_ptest() { - install -d ${D}${PTEST_PATH} - cp -r ${B}/libinotifytools/src/.libs/test ${D}${PTEST_PATH}/ -} - -FILES:${PN}-ptest += "${PTEST_PATH}" diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools_4.26.291.bb b/meta-oe/recipes-support/inotify-tools/inotify-tools_4.26.291.bb new file mode 100644 index 0000000000..75f26e8a97 --- /dev/null +++ b/meta-oe/recipes-support/inotify-tools/inotify-tools_4.26.291.bb @@ -0,0 +1,57 @@ +SUMMARY = "Command line tools and C library providing a simple interface to inotify" +HOMEPAGE = "https://github.com/inotify-tools/inotify-tools" +SECTION = "console/devel" +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=ac6c26e52aea428ee7f56dc2c56424c6" + +SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.gz \ + file://run-ptest \ + " +SRC_URI[sha256sum] = "633c012d30a0f66770454ee15e6d5d24003a61206b4a698cc4b32e6715855667" + +UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" +UPSTREAM_CHECK_REGEX = "releases/tag/(?P\d+(\.\d+)+)" + +inherit cargo cargo-update-recipe-crates ptest + +require ${BPN}-crates.inc + +EXTRA_OEMAKE = " \ + CARGOFLAGS='-v --frozen' \ + PROFILE=${CARGO_PROFILE} \ + TARGET=${RUST_HOST_SYS} \ + CARGO_TARGET_DIR=${B}/target \ + ENABLE_STATIC=0 \ + prefix=${prefix} \ + bindir=${bindir} \ + libdir=${libdir} \ + includedir=${includedir} \ + mandir=${mandir} \ +" + +do_compile() { + export RUSTFLAGS="${RUSTFLAGS}" + oe_runmake -C ${S} +} + +do_install() { + oe_cargo_fix_env + export RUSTFLAGS="${RUSTFLAGS}" + oe_runmake -C ${S} install DESTDIR=${D} +} + +PACKAGES =+ "libinotifytools" + +FILES:libinotifytools = "${libdir}/lib*.so.*" + +# The C++ unit test of the C ABI, linked against the installed library +do_compile_ptest() { + ${CXX} ${CXXFLAGS} -std=c++17 -Wall -I${S}/libinotifytools/src \ + -o ${B}/test ${S}/libinotifytools/src/test.cpp \ + -L${B}/target/${CARGO_TARGET_SUBDIR} -linotifytools ${LDFLAGS} +} + +do_install_ptest() { + install -d ${D}${PTEST_PATH} + install -m 0755 ${B}/test ${D}${PTEST_PATH}/ +} From patchwork Wed Nov 25 08:07:03 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105613 Received: from mail-dy1-f169.google.com (mail-dy1-f169.google.com [74.125.82.169]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37953.1795594121411292590 for ; Wed, 25 Nov 2026 00:08:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=GfCjZBka; spf=pass (domain: gmail.com, ip: 74.125.82.169, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f169.google.com with SMTP id 5a478bee46e88-385d8a00598so8058019eec.1 for ; Wed, 25 Nov 2026 00:08:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594121; x=1796198921; 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=hAIimAGftk9wlNoWa4vy06SOGUE+/j2DtitNmzZwE5k=; b=GfCjZBkaDYVe+YwtNHVY5KElowKQSPg0tPcRtktsXt55M8HXDdBU/XGFjlarsuB/kK bGGpHvDkAQemYyxFo1INh815dMrKuvQKMJnUiCWdgSJ2ckSqfTJX5O7aMrfFkIzqAz+4 ymLWCm6fNGmfVMet0s+74Z0iYq5NjPFMSsHE5JvQ+Nk85d9eTzp2wBkuUdAmH2cmHsSZ u43pehdxp7HYrjkE7KhOU5CI0RDcs0BGnSrhifJ/6AZxsmrbhZaiRiWaMPX4WOb8mAfk oG/Lqxl0ckcv5Vt89WxHxsbXWUq4kaMl9gdeiNE+/KUAtoKa0xQGBUK4IlNJOfYkljqZ HG3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594121; x=1796198921; 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=hAIimAGftk9wlNoWa4vy06SOGUE+/j2DtitNmzZwE5k=; b=CZMprwL2JdDRJHA9VRb6jHzmEdpXRQ+6pyDkfgn6pn5shkeN91HEiAav7dwhHLZxaG KmVAIAO3uxJK/YKNM99UUzBWHxL5lrKBQCl3g6kC4PWXKQ82uCT/sU6JbXjaultZ/EOq 5fu9GPOTLhyC5r07Q2URQuFx3shQfoC+yubKP4vAPGTRFII83ixcjX9QaQUEStFhCJoz 1K1DXwvStE6gCkQ46O9BmLfIRcDH1yu1ji+8Zk4FFTkurYUG9JQHMHSOgkbElRBYWoN3 ukRticO3CBCl4VzHXga2DPbI34E4TTWZ10P3u0/BzY6mki75dvJpkyWzIAQCqHvDYOub 8ydw== X-Gm-Message-State: APuU4Z9z1/sA+H5yV2djcvChpkkCFHnVmMLHtDd93cYngDycRGVqs9rw vpHX5k+qMmq08ezEN5Qz2Uwqm2A6+IzejTSkExoXzcS6BI8IVFlP7uUdqw3K3tGT X-Gm-Gg: AZFdTZfNU7ha+FxtMDk6UD8z8eeXOCYJWTiEJUjYiI52KyO5vdcC7tssJiF3/FEoe/h EW/3rBruwtDHaLpquowW3r+dom5I1rTzpJZN15JkQapBmxs3zdCi0Mg187l3GBnIJuJvcsJ5Ay4 XEcthLdr+2hkm4foVU86PEwvglbT/x5dbpYJdOBfgcxVNizXuRS8JQdGTQGA6OiMr2Lq9c8KVFk KWQA7Imk9lSenVgJlt2uWfHghIl/eJsTiPPAzImct9359CYekSQoDIfU2n4kx/wcEym4SAVm15g A1lRtvL/nSw5TSUy3IO19ltlvAxpWEQXxGmCIGHlbNtxiJy25/PgbQPb85sr96pdJjblnZB+iU7 qbcTW331YJCUesVtA3GPIduNFOjEutb2l4rO6h8f5561txjBrdg+DdazFdPyVbuYZDZROf+OGdA SomdoD5fzS+vFTn+6cZlqhIYSXv7oUn7yupc5Q2iNwMKNVauq4hjzuyk+ztzmtV8z5kGa/KAyoq HS5RXzKKt9tQRdJ2TMIprP2u5vYNeSdaZyd8RoBQMmxaPOUtKX7RrS613eChRH5kYomTU5qBiNA 9nRYsW3VcQ115tIpxK0VVvtupgtGMbhw6ZnEHm2czogWerze0g9BJA0XzRtHif0M1BW1ODxBK9a moy385JuUD1qmc/WGTRDsbNijiyCA66IkQUWqC3KeSD7S12OsQunZcj738yEm83/h7IMH3RgPqm GK7+MKm3bt4p42JTQQpbOOjOfzpdG2qgCfukPxazVA/AnKQak9hwFT0ruKOwPPC8Lk6b1miBftB QJxaMheFR4oZzDgAL1oM72PPIDLpPHoFBgecJi8PsLlK1ahelYHDWwNXm6RvhiuuLxA6xHh+cnC IzEO X-Received: by 2002:a05:693c:65cb:b0:386:b12f:c693 with SMTP id 5a478bee46e88-386b12fcaabmr8325480eec.39.1795594120548; Wed, 25 Nov 2026 00:08:40 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:39 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 47/55] webkitgtk3: Sync with oe-core webkitgtk 2.54.3 Date: Wed, 25 Nov 2026 00:07:03 -0800 Message-ID: <20261125080732.2419614-53-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133050 webkitgtk3 is the GTK 3 (API 4.1) build of the oe-core webkitgtk recipe, which gets updated more often. Bring the recipe in line with oe-core's webkitgtk_2.54.3.bb, keeping only the GTK 3 differences (gtk+3, -DUSE_GTK4=OFF, the webkitgtk tarball name and S, the webkit2gtk-4.1 injected bundle path and the WebKitWebDriver3 rename): - Add 0001-libpas-Do-not-include-stdatomic.h-from-C-translation.patch: libpas includes unconditionally since 310886@main, which breaks C++ translation units in GCC cross builds. - Add t6-not-declared.patch and 0001-Source-cmake-FindGLib.cmake-do-not-set-include-dirs-.patch; the latter replaces our own 0001-FindGI-drop-bare-system-include-dirs patch, fixing the bare -I/usr/include at its source. - Take oe-core's refreshed versions of the shared patches. - Drop cairo from DEPENDS (oe-core d71d5f9c4d82): 2.54 removed the option to render with cairo. Also drop libnotify (unused) and libepoxy (comes with gtk+3). - Add the assertions PACKAGECONFIG, -DENABLE_RELEASE_LOG=ON, and use oe.utils.vartrue for the introspection and documentation options. - Disable the JIT on riscv64, mark 32-bit x86 incompatible (broken since 2.52.4) and disable ccache, as oe-core does. - Drop TOOLCHAIN:arm = "gcc": it worked around a clang 21 bug that is fixed in clang 22 and later. Keep gstreamer1.0-plugins-bad in DEPENDS: the video support needs its gstreamer-mpegts library. oe-core gets it through the gstreamer media backend of gtk4, which gtk+3 does not have. Keep no-musttail-arm.patch, which oe-core does not carry because it builds with gcc by default. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...able-to-control-macro-__PAS_ALWAYS_I.patch | 18 +++-- ...-system-include-dirs-from-g-ir-scann.patch | 72 ------------------ ...spection.cmake-prefix-variables-obta.patch | 4 +- ...dGLib.cmake-do-not-set-include-dirs-.patch | 30 ++++++++ ...clude-stdatomic.h-from-C-translation.patch | 57 ++++++++++++++ .../webkitgtk3/fix-ftbfs-riscv64.patch | 27 +++++-- .../webkitgtk3/reproducibility.patch | 8 +- .../webkitgtk/webkitgtk3/sys_futex.patch | 11 ++- .../webkitgtk3/t6-not-declared.patch | 35 +++++++++ .../webkitgtk/webkitgtk3_2.54.3.bb | 75 ++++++++++--------- 10 files changed, 209 insertions(+), 128 deletions(-) delete mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Source-cmake-FindGLib.cmake-do-not-set-include-dirs-.patch create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-libpas-Do-not-include-stdatomic.h-from-C-translation.patch create mode 100644 meta-oe/recipes-support/webkitgtk/webkitgtk3/t6-not-declared.patch diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch index 87f6608592..5e1fb8b265 100644 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch @@ -1,4 +1,4 @@ -From bbf661310448d430350eb2ad8c5869ace648dcf8 Mon Sep 17 00:00:00 2001 +From 73f7316ee08a5369555e3e631d48ba6a5a01cf9e Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Fri, 11 Aug 2023 14:20:48 +0800 Subject: [PATCH] Add a variable to control macro @@ -35,18 +35,21 @@ gcc option `-Og` is used. * Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h: * Source/cmake/WebKitCompilerFlags.cmake: +Rebased on 2.54.2. + Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/16601] Signed-off-by: Kai Kang -Signed-off-by: Jiaying Song --- Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h | 2 +- - Source/cmake/WebKitCompilerFlags.cmake | 7 +++++++ - 2 files changed, 8 insertions(+), 1 deletion(-) + Source/cmake/WebKitCompilerFlags.cmake | 8 ++++++++ + 2 files changed, 9 insertions(+), 1 deletion(-) +diff --git a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h +index c42ee5f1..353c58f3 100644 --- a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h +++ b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h -@@ -45,7 +45,7 @@ +@@ -45,7 +45,7 @@ __PAS_BEGIN_EXTERN_C; #define __SUSPICIOUS__ #define __BROKEN__ @@ -55,13 +58,16 @@ Signed-off-by: Jiaying Song #define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE __attribute__((__always_inline__)) #else #define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE +diff --git a/Source/cmake/WebKitCompilerFlags.cmake b/Source/cmake/WebKitCompilerFlags.cmake +index 0793c789..9a139f2f 100644 --- a/Source/cmake/WebKitCompilerFlags.cmake +++ b/Source/cmake/WebKitCompilerFlags.cmake -@@ -635,3 +635,10 @@ +@@ -635,3 +635,11 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND WTF_CPU_MIPS) # (see comment #28 in the link above). WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-mno-lxc1-sxc1) endif () + ++# rebased on 2.54.2 +# It fails to compile with `gcc -Og` +set(WEBKIT_NO_INLINE_HINTS OFF CACHE BOOL "Disable funtion attribute always_inline for WebKit") + diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch deleted file mode 100644 index 65a3371852..0000000000 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch +++ /dev/null @@ -1,72 +0,0 @@ -From: Khem Raj -Date: Wed, 25 Jun 2026 00:00:00 +0000 -Subject: [PATCH] FindGI: drop bare system include dirs from g-ir-scanner flags - -When cross-compiling, CMake's pkg_check_modules records the bare pkg-config -INCLUDEDIR variable (e.g. /usr/include) on the imported targets' -INTERFACE_INCLUDE_DIRECTORIES. FindGI forwards every interface include dir -to g-ir-scanner as -I, so the introspection compile is invoked with a bare --I/usr/include. With a GCC configured with ---enable-poison-system-directories=error (as in OpenEmbedded) this is a hard -error: - - cc1: error: include location "/usr/include" is unsafe for cross-compilation - [-Werror=poison-system-directories] - -g-ir-scanner does not forward the recipe's -Wno-error=poison-system-directories -(it only extracts -D/-I/-U from CFLAGS), so the warning cannot be relaxed from -the recipe. Filter the bare host system include directories out instead; the -proper sysroot include path is added by the compiler driver automatically, so -dropping them is safe. - -The include dirs reach the scanner through two paths, both of which must be -filtered: - - * the dependency loop that appends to scanner_flags, and - * the per-target INTERFACE_INCLUDE_DIRECTORIES generator expression that is - joined into -I flags on the g-ir-scanner command line. - -Filtering only the first path is not enough: JavaScriptCore-4.1.gir happens to -have no bare /usr/include on its target, but WebKit2/WebKitGTK does, so the -WebKitGTK introspection still failed via the generator-expression path. Filter -both. - -Upstream-Status: Pending - -Signed-off-by: Khem Raj ---- - Source/cmake/FindGI.cmake | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - ---- a/Source/cmake/FindGI.cmake -+++ b/Source/cmake/FindGI.cmake -@@ -297,6 +297,15 @@ - if (NOT IS_ABSOLUTE "${incdir}") - get_filename_component(incdir "${incdir}" REALPATH BASE_DIR "${target_srcdir}") - endif () -+ # Skip bare host system include directories. When cross-compiling -+ # these leak in via the bare pkg-config INCLUDEDIR variable and -+ # g-ir-scanner passes them to the compiler, which rejects them with -+ # -Werror=poison-system-directories ("include location \"/usr/include\" -+ # is unsafe for cross-compilation"). The sysroot include path is added -+ # automatically, so dropping these is safe. -+ if (incdir STREQUAL "/usr/include" OR incdir STREQUAL "/usr/local/include") -+ continue () -+ endif () - list(APPEND scanner_flags "-I${incdir}") - endforeach () - -@@ -337,6 +346,13 @@ - # Generate .gir - set(target_def "$") - set(target_inc "$") -+ # The target's INTERFACE_INCLUDE_DIRECTORIES are joined into -I flags on -+ # the g-ir-scanner command line below. Drop the bare host system include -+ # dirs (/usr/include, /usr/local/include) here too, otherwise -I/usr/include -+ # trips -Werror=poison-system-directories under the OpenEmbedded cross -+ # compiler. The sysroot include path is added automatically, so dropping -+ # them is safe. -+ set(target_inc "$") - set(scanner_env "CC=${CMAKE_C_COMPILER}" "CFLAGS=${CMAKE_C_FLAGS}") - if (ENABLED_COMPILER_SANITIZERS) - string(JOIN " " sanitizer_flags ${ENABLED_COMPILER_SANITIZERS}) diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch index 06030c047c..5a9be94836 100644 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch @@ -1,4 +1,4 @@ -From e68e87c14243b1c8707c56883a53e841310974a1 Mon Sep 17 00:00:00 2001 +From 773c76b7f22c213fd8b67dc6952c3c715973ee4d Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Tue, 27 Oct 2015 16:02:19 +0200 Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained @@ -14,7 +14,7 @@ Signed-off-by: Alexander Kanavin 1 file changed, 3 insertions(+) diff --git a/Source/cmake/FindGI.cmake b/Source/cmake/FindGI.cmake -index fdc56b21..d42eca52 100644 +index a8a56fdd..572ca99c 100644 --- a/Source/cmake/FindGI.cmake +++ b/Source/cmake/FindGI.cmake @@ -72,6 +72,9 @@ if (PKG_CONFIG_FOUND) diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Source-cmake-FindGLib.cmake-do-not-set-include-dirs-.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Source-cmake-FindGLib.cmake-do-not-set-include-dirs-.patch new file mode 100644 index 0000000000..cabdd3dab1 --- /dev/null +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Source-cmake-FindGLib.cmake-do-not-set-include-dirs-.patch @@ -0,0 +1,30 @@ +From f4361f879eefd480197ba0210d102c2100a4c24b Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Sun, 21 Jun 2026 22:57:24 +0200 +Subject: [PATCH] Source/cmake/FindGLib.cmake: do not set include dirs from + INCLUDEDIR + +The correct include directory set is provided by INCLUDE_DIRS (e.g. the following line). +INCLUDEDIR is a prefix to them (e.g. it's set to /usr/include in most cases), and adding +it is causing problems in cross-compile scenarios where the build is performed against +a system root and include locations are substituted to that using pkg-config override +mechanisms. + +Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/67960] +Signed-off-by: Alexander Kanavin +--- + Source/cmake/FindGLib.cmake | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Source/cmake/FindGLib.cmake b/Source/cmake/FindGLib.cmake +index b6ff9283..e9697ba8 100644 +--- a/Source/cmake/FindGLib.cmake ++++ b/Source/cmake/FindGLib.cmake +@@ -195,7 +195,6 @@ function(GLib_HandleComponent name) + list(TRANSFORM dependencies PREPEND GLib::) + add_library(GLib::${name} UNKNOWN IMPORTED GLOBAL) + set_target_properties(GLib::${name} PROPERTIES IMPORTED_LOCATION "${GLib_${name}_LIBRARY}") +- target_include_directories(GLib::${name} INTERFACE ${PC_GLib_${name}_INCLUDEDIR}) + target_include_directories(GLib::${name} INTERFACE ${PC_GLib_${name}_INCLUDE_DIRS}) + target_compile_options(GLib::${name} INTERFACE ${PC_GLib_${name}_CFLAGS}) + target_compile_options(GLib::${name} INTERFACE ${PC_GLib_${name}_CFLAGS_OTHER}) diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-libpas-Do-not-include-stdatomic.h-from-C-translation.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-libpas-Do-not-include-stdatomic.h-from-C-translation.patch new file mode 100644 index 0000000000..ef962bd742 --- /dev/null +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-libpas-Do-not-include-stdatomic.h-from-C-translation.patch @@ -0,0 +1,57 @@ +From ed10e504c0a627769973d3078548bbd54ed750f9 Mon Sep 17 00:00:00 2001 +From: Pablo Saavedra +Date: Thu, 17 Sep 2026 12:05:38 +0200 +Subject: [PATCH] Do not include from C++ translation units + https://bugs.webkit.org/show_bug.cgi?id=324345 + +Reviewed by NOBODY (OOPS!). + +310886@main added an unconditional include to pas_utils.h. +GCC 13 cross builds in Yocto fail to compile C++ translation units that +pull in pas_utils.h because of it. 312138@main fixed the equivalent +breakage for xcodebuild by moving libpas to gnu++23, but a CMake build +using an older C++ standard is not covered by that. + +The include cannot simply be dropped for C++. clang requires + to be included wherever the _Atomic qualifier is used +(-Wqualifier-requires-header), and PAS_ATOMIC_TYPE() expands to _Atomic +under PAS_COMPILER(CLANG). pas_utils.h suppresses that diagnostic around +its own body, but PAS_DEFINE_COMPACT_ATOMIC_PTR() expands in other +headers -- pas_segregated_heap.h and friends -- which are outside that +region. Satisfying those expansions is what 310886@main needed the +include for. + +No other compiler sees _Atomic here: PAS_ATOMIC_TYPE() expands to a plain +type and the atomic operations go through the __atomic builtins, and the +__c11_atomic_* uses in this file are all inside PAS_COMPILER(CLANG) +blocks. So keep the include for clang, where it is load-bearing and where +this is a no-op, and skip it only for the C++ compilers that never need +it. + +No new tests. Build fix. Verified by preprocessing pas_utils.h from C++ +with both compilers: g++ no longer reaches while clang++ +still does, and Source/bmalloc/bmalloc/bmalloc.cpp still compiles with +both. + +* Source/bmalloc/libpas/src/libpas/pas_utils.h: + +Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/74158] +Signed-off-by: Jaipaul Cheernam +--- + Source/bmalloc/libpas/src/libpas/pas_utils.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Source/bmalloc/libpas/src/libpas/pas_utils.h b/Source/bmalloc/libpas/src/libpas/pas_utils.h +index 433b26f0..49117c2f 100644 +--- a/Source/bmalloc/libpas/src/libpas/pas_utils.h ++++ b/Source/bmalloc/libpas/src/libpas/pas_utils.h +@@ -42,7 +42,9 @@ + #endif + + #include ++#if !defined(__cplusplus) || defined(__clang__) + #include ++#endif + #include + #include + #include diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-ftbfs-riscv64.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-ftbfs-riscv64.patch index 00347ef3e1..5d1687f039 100644 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-ftbfs-riscv64.patch +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-ftbfs-riscv64.patch @@ -1,14 +1,23 @@ +From c9ef6dd13cbdc16b1ba50757451d631f572c723d Mon Sep 17 00:00:00 2001 From: Alberto Garcia -Description: Use WTF_CPU_UNKNOWN when building for riscv64 - WebKitGTK doesn't build on riscv64 even with the JIT disabled. - Treating the CPU as unknown is perhaps a bit severe, but it allows us - to get the build done until someone steps up to maintain this - properly. +Date: Fri, 19 Dec 2025 10:10:41 +0000 +Subject: [PATCH] Use WTF_CPU_UNKNOWN when building for riscv64 + +WebKitGTK doesn't build on riscv64 even with the JIT disabled. +Treating the CPU as unknown is perhaps a bit severe, but it allows us +to get the build done until someone steps up to maintain this +properly. Bug: https://bugs.webkit.org/show_bug.cgi?id=271371 -Forwarded: no -Upstream-Status: Pending +Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=271371#c1] Signed-off-by: Khem Raj +--- + Source/WTF/wtf/PlatformCPU.h | 8 -------- + Source/cmake/WebKitCommon.cmake | 2 -- + 2 files changed, 10 deletions(-) + +diff --git a/Source/WTF/wtf/PlatformCPU.h b/Source/WTF/wtf/PlatformCPU.h +index fabd6cba..c8639827 100644 --- a/Source/WTF/wtf/PlatformCPU.h +++ b/Source/WTF/wtf/PlatformCPU.h @@ -286,14 +286,6 @@ @@ -26,9 +35,11 @@ Signed-off-by: Khem Raj #if !CPU(KNOWN) #define WTF_CPU_UNKNOWN 1 #endif +diff --git a/Source/cmake/WebKitCommon.cmake b/Source/cmake/WebKitCommon.cmake +index d96e1850..3daa0eaf 100644 --- a/Source/cmake/WebKitCommon.cmake +++ b/Source/cmake/WebKitCommon.cmake -@@ -125,8 +125,6 @@ if (NOT HAS_RUN_WEBKIT_COMMON) +@@ -186,8 +186,6 @@ if (NOT HAS_RUN_WEBKIT_COMMON) set(WTF_CPU_PPC64 1) elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le") set(WTF_CPU_PPC64LE 1) diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/reproducibility.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/reproducibility.patch index 0a5720c99e..9ca40a0ad3 100644 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/reproducibility.patch +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/reproducibility.patch @@ -1,7 +1,7 @@ -From 7336dfd02c20ec9b2a984e1e42d17201af55c8f5 Mon Sep 17 00:00:00 2001 +From f0c2db534b2807465a36f6e23011dad9cf711da3 Mon Sep 17 00:00:00 2001 From: Richard Purdie -Date: Thu, 27 Jul 2023 22:09:06 +0200 -Subject: [PATCH] webkitgtk3: add recipe +Date: Mon, 3 Jan 2022 14:18:34 +0000 +Subject: [PATCH] webkitgtk: Add reproducibility fix Injection a year based on the current date isn't reproducible. Hack this to a specific year for now for reproducibilty and to avoid autobuilder failures. @@ -16,7 +16,7 @@ Signed-off-by: Richard Purdie 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/JavaScriptCore/generator/GeneratedFile.rb b/Source/JavaScriptCore/generator/GeneratedFile.rb -index 6ed2b6e4..86a28286 100644 +index 9a951947..d499ae30 100644 --- a/Source/JavaScriptCore/generator/GeneratedFile.rb +++ b/Source/JavaScriptCore/generator/GeneratedFile.rb @@ -25,7 +25,7 @@ require 'date' diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch index 19d18dea88..decd5d0d5c 100644 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch @@ -1,7 +1,16 @@ -Fix build on newer 32bit architectures with only 64bit time_t +From d537da81bbec0c05e10525c0a29e0af9128c0ce4 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 18 Dec 2024 20:24:22 -0800 +Subject: [PATCH] Fix build on newer 32bit architectures with only 64bit time_t Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/angle/angle/+/6108397] Signed-off-by: Khem Raj +--- + Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp b/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp +index 4ed0af51..11feda6c 100644 --- a/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp +++ b/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp @@ -17,6 +17,9 @@ diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/t6-not-declared.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/t6-not-declared.patch new file mode 100644 index 0000000000..2a59f3b2d9 --- /dev/null +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/t6-not-declared.patch @@ -0,0 +1,35 @@ +From 668ee03b07f9d64b1e7eaefba6c74ed1975f7b7c Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro +Date: Mon, 5 Feb 2024 11:00:49 -0600 +Subject: [PATCH] =?UTF-8?q?LowLevelInterpreter.cpp:339:21:=20error:=20?= + =?UTF-8?q?=E2=80=98t6=E2=80=99=20was=20not=20declared=20in=20this=20scope?= + =?UTF-8?q?=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid=3D268739?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Unreviewed build fix. Seems a backport went badly, and we didn't notice +because the code is architecture-specific. + +* Source/JavaScriptCore/llint/LowLevelInterpreter.cpp: +(JSC::CLoop::execute): + +Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/3d5373575695b293b8559155431d0079a6153aff] +Signed-off-by: Alexander Kanavin +--- + Source/JavaScriptCore/llint/LowLevelInterpreter.cpp | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp +index dd0b44de..c0a68a22 100644 +--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp ++++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp +@@ -345,8 +345,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm, + UNUSED_VARIABLE(t2); + UNUSED_VARIABLE(t3); + UNUSED_VARIABLE(t5); +- UNUSED_VARIABLE(t6); +- UNUSED_VARIABLE(t7); + + struct StackPointerScope { + StackPointerScope(CLoopStack& stack) diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.54.3.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.54.3.bb index 96bfd7754d..2919fe53da 100644 --- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.54.3.bb +++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.54.3.bb @@ -15,12 +15,14 @@ LIC_FILES_CHKSUM = "file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d842 SRC_URI = "https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz \ file://0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch \ - file://0001-FindGI-drop-bare-system-include-dirs-from-g-ir-scann.patch \ file://reproducibility.patch \ file://no-musttail-arm.patch \ + file://0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch \ + file://t6-not-declared.patch \ file://sys_futex.patch \ file://fix-ftbfs-riscv64.patch \ - file://0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch \ + file://0001-Source-cmake-FindGLib.cmake-do-not-set-include-dirs-.patch \ + file://0001-libpas-Do-not-include-stdatomic.h-from-C-translation.patch \ " SRC_URI[sha256sum] = "2779c1b46f88762e8400650271ba14452dc4e30b37059981552d8b562b7d0862" @@ -37,7 +39,6 @@ DEPENDS += " \ ruby-native \ gperf-native \ unifdef-native \ - cairo \ harfbuzz \ jpeg \ atk \ @@ -45,32 +46,29 @@ DEPENDS += " \ gtk+3 \ libxslt \ libtasn1 \ - libnotify \ gstreamer1.0 \ gstreamer1.0-plugins-base \ gstreamer1.0-plugins-bad \ glib-2.0-native \ gettext-native \ libsoup \ - libepoxy \ " -PACKAGECONFIG ??= " \ - ${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'webgl opengl', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'webgl gles2', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl-or-es', '', d)} \ - enchant \ - libsecret \ - " +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'webgl opengl', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'webgl gles2', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl-or-es', '', d)} \ + enchant \ + libsecret \ + " +PACKAGECONFIG[assertions] = "-DUSE_CXX_STDLIB_ASSERTIONS=ON,-DUSE_CXX_STDLIB_ASSERTIONS=OFF," PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND_TARGET=ON,-DENABLE_WAYLAND_TARGET=OFF,wayland libwpe wpebackend-fdo wayland-native" PACKAGECONFIG[angle] = "-DUSE_ANGLE_WEBGL=ON,-DUSE_ANGLE_WEBGL=OFF" PACKAGECONFIG[x11] = "-DENABLE_X11_TARGET=ON,-DENABLE_X11_TARGET=OFF,virtual/libx11 libxcomposite libxdamage libxrender libxt" PACKAGECONFIG[geoclue] = "-DENABLE_GEOLOCATION=ON,-DENABLE_GEOLOCATION=OFF,geoclue" PACKAGECONFIG[enchant] = "-DENABLE_SPELLCHECK=ON,-DENABLE_SPELLCHECK=OFF,enchant2" PACKAGECONFIG[gles2] = "-DENABLE_GLES2=ON,-DENABLE_GLES2=OFF,virtual/libgles2" -PACKAGECONFIG[jpegxl] = " -DUSE_JPEGXL=ON,-DUSE_JPEGXL=OFF,libjxl" PACKAGECONFIG[webgl] = "-DENABLE_WEBGL=ON,-DENABLE_WEBGL=OFF,virtual/egl" PACKAGECONFIG[opengl] = "-DENABLE_GRAPHICS_CONTEXT_GL=ON,-DENABLE_GRAPHICS_CONTEXT_GL=OFF,virtual/egl" PACKAGECONFIG[opengl-or-es] = "-DUSE_OPENGL_OR_ES=ON,-DUSE_OPENGL_OR_ES=OFF" @@ -84,26 +82,26 @@ PACKAGECONFIG[lcms] = "-DUSE_LCMS=ON,-DUSE_LCMS=OFF,lcms" PACKAGECONFIG[journald] = "-DENABLE_JOURNALD_LOG=ON,-DENABLE_JOURNALD_LOG=OFF,systemd" PACKAGECONFIG[avif] = "-DUSE_AVIF_LOG=ON,-DUSE_AVIF=OFF,libavif" PACKAGECONFIG[media-recorder] = "-DENABLE_MEDIA_RECORDER=ON,-DENABLE_MEDIA_RECORDER=OFF,gstreamer1.0-plugins-bad" -PACKAGECONFIG[gamepad] = "-DENABLE_GAMEPAD=ON,-DENABLE_GAMEPAD=OFF,libmanette" -PACKAGECONFIG[webrtc] = "-DENABLE_WEB_RTC=ON,-DENABLE_WEB_RTC=OFF" -PACKAGECONFIG[bubblewrap] = "-DENABLE_BUBBLEWRAP_SANDBOX=ON -DBWRAP_EXECUTABLE=${bindir}/bwrap -DDBUS_PROXY_EXECUTABLE=${bindir}/xdg-dbus-proxy,-DENABLE_BUBBLEWRAP_SANDBOX=OFF,,bubblewrap xdg-dbus-proxy" +PACKAGECONFIG[jpegxl] = "-DUSE_JPEGXL=ON,-DUSE_JPEGXL=OFF,libjxl" PACKAGECONFIG[backtrace] = "-DUSE_LIBBACKTRACE=ON,-DUSE_LIBBACKTRACE=OFF,libbacktrace" +PACKAGECONFIG[gamepad] = "-DENABLE_GAMEPAD=ON,-DENABLE_GAMEPAD=OFF,libmanette" PACKAGECONFIG[sysprof-capture] = "-DUSE_SYSTEM_SYSPROF_CAPTURE=YES,-DUSE_SYSTEM_SYSPROF_CAPTURE=NO,sysprof" PACKAGECONFIG[speech] = "-DENABLE_SPEECH_SYNTHESIS=ON,-DENABLE_SPEECH_SYNTHESIS=OFF,flite" -PACKAGECONFIG[librice] = "-DUSE_LIBRICE=YES,-DUSE_LIBRICE=NO,librice" +PACKAGECONFIG[librice] = "-DUSE_LIBRICE=ON,-DUSE_LIBRICE=OFF,librice" +PACKAGECONFIG[webrtc] = "-DENABLE_WEB_RTC=ON,-DENABLE_WEB_RTC=OFF" +PACKAGECONFIG[bubblewrap] = "-DENABLE_BUBBLEWRAP_SANDBOX=ON -DBWRAP_EXECUTABLE=${bindir}/bwrap -DDBUS_PROXY_EXECUTABLE=${bindir}/xdg-dbus-proxy,-DENABLE_BUBBLEWRAP_SANDBOX=OFF,,bubblewrap xdg-dbus-proxy" EXTRA_OECMAKE = " \ - -DPORT=GTK \ - -DUSE_GTK4=OFF \ - ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \ - ${@bb.utils.contains('GIDOCGEN_ENABLED', 'True', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \ - ${@oe.utils.vartrue('DEBUG_BUILD', '-DWEBKIT_NO_INLINE_HINTS=ON', '-DWEBKIT_NO_INLINE_HINTS=OFF', d)} \ - -DENABLE_MINIBROWSER=ON \ - -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \ - -DUSE_SOUP2=OFF \ - " -# pass -g1 to massively reduce the size of the debug symbols (4.3GB to 700M at time of writing) -DEBUG_LEVELFLAG = "-g1" + -DPORT=GTK \ + ${@oe.utils.vartrue('GI_DATA_ENABLED', '-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \ + ${@oe.utils.vartrue('GIDOCGEN_ENABLED', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \ + ${@oe.utils.vartrue('DEBUG_BUILD', '-DWEBKIT_NO_INLINE_HINTS=ON', '-DWEBKIT_NO_INLINE_HINTS=OFF', d)} \ + -DENABLE_MINIBROWSER=ON \ + -DUSE_GTK4=OFF \ + -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \ + -DENABLE_RELEASE_LOG=ON \ + -DUSE_SOUP2=OFF \ + " # Javascript JIT is not supported on ARC EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF " @@ -130,6 +128,7 @@ EXTRA_OECMAKE:append:armv6 = " -DENABLE_JIT=OFF " # JIT does not work on RISCV EXTRA_OECMAKE:append:riscv32 = " -DENABLE_JIT=OFF" +EXTRA_OECMAKE:append:riscv64 = " -DENABLE_JIT=OFF" # JIT not supported on MIPS either EXTRA_OECMAKE:append:mipsarch = " -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON " @@ -160,14 +159,18 @@ ARM_INSTRUCTION_SET:armv7a = "thumb" ARM_INSTRUCTION_SET:armv7r = "thumb" ARM_INSTRUCTION_SET:armv7ve = "thumb" -# ANGLE requires SSE support as of webkit 2.40.x on 32 bit x86 -COMPATIBLE_HOST:x86 = "${@bb.utils.contains_any('TUNE_FEATURES', 'core2 corei7', '.*', 'null', d)}" +# As of 2.52.4, 32 bit x86 builds are broken: +# https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/4013/steps/12/logs/stdio +COMPATIBLE_HOST:x86 = "null" # introspection inside qemu-arm hangs forever on musl/arm builds # therefore disable GI_DATA GI_DATA_ENABLED:libc-musl:armv7a = "False" GI_DATA_ENABLED:libc-musl:armv7ve = "False" +# Can't be built with ccache +CCACHE_DISABLE = "1" + do_install:append() { mv ${D}${bindir}/WebKitWebDriver ${D}${bindir}/WebKitWebDriver3 } @@ -183,7 +186,9 @@ src_package_preprocess () { ${B}/WebKitGTK/DerivedSources/webkit/*.cpp } - -# complation fails with Clang-21 issue - https://github.com/llvm/llvm-project/issues/132322 -# Can be removed when clang is updated to v22 -TOOLCHAIN:arm = "gcc" +# Pass -g1 to massively reduce the size of the +# debug symbols (4.3GB to 700M at time of writing) +# workaround error: +# qemux86-64: "relocation truncated to fit: R_X86_64_32 against `.debug_info'" +# qemuarm64: "relocation truncated to fit: R_AARCH64_ABS32 against `.debug_info'" +DEBUG_LEVELFLAG = "-g1" From patchwork Wed Nov 25 08:07:04 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105614 Received: from mail-dy1-f172.google.com (mail-dy1-f172.google.com [74.125.82.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37956.1795594122259485094 for ; Wed, 25 Nov 2026 00:08:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=pf+4E0Bm; spf=pass (domain: gmail.com, ip: 74.125.82.172, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f172.google.com with SMTP id 5a478bee46e88-386b8f2f671so2583399eec.1 for ; Wed, 25 Nov 2026 00:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594122; x=1796198922; 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=taFA/cZhP56WTYsjzK4YhHYRrsUvCamwJO4DJEitGcU=; b=pf+4E0BmbSce1lZzjrmQuM/tQYJTTb78sln/6yFeA5PabntayRN9s01uQITG3oSM5u /jtlKLHUqmIG/TcwpRrk7Oer6J9SU+ShsgIivdk0pVqdDENX49m+WxMN9pC+5t3e1Mpt JV/XXBhW+fgPx+s7wLc7bhtE+1FzScOC6Ag9oG7fOj71un7Xw6GSvvJLyDOxttXHy6Ew 0UK/hpkbkToag02DnRspL5sLHaJtzho17twAC+eft0Hmw3Cy0hB8UWPnI9UJlhgmf9Eq hQtU/Q61/oUmqylAbWyRSBF9CuPUtbFZ/rNJSHhi/b2BEcUB3AuKnSdUoxVDKSb5F4+9 EFfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594122; x=1796198922; 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=taFA/cZhP56WTYsjzK4YhHYRrsUvCamwJO4DJEitGcU=; b=AnWLzj5C/SbzcwB7egBxSU/nFPpNKbVxgQR3bV1R4BTP2KcdYg0gwHoAP4flpqjaNU GDUJjTG1Lp+wAXUyGFoUiC0LczRO32lNtnUyqKEfCYA/uftYCA5VmcCkCLhp/82R5hia kj6kgrplmHITeFpyS/eIV1mLvsF30bjBZUjNgPEvp2zvYrniiTqtwFLz0qLekKsabW/A QohfnrkJLfgE6ume8dVjZeOa2r3H4AV00cAIaVSEmBIXmPO363XhKSQ1GykhTt1fw/8N DtNPYrZ9dapUqejbX1ezE4AWzGSYAkOnk2IqZGxIx72IT2jH7HK/flR+g8OblPJJr6t8 wheA== X-Gm-Message-State: APuU4Z/JMq+tpmpUvhAOu8r2nXyTyibNA75DoQmBxQMXZ8L0o+l21jEm /52p001ujcOe9lIcJ84KPkYAs72w3ZURYeECgBR/15S8SEaik2HnBXlIZpgHOV8V X-Gm-Gg: AZFdTZdlk41dTiqLRzRmMU+f60m7hlpOYpqgsU+nlRjfSZ1jT9lJjym1Y5hp9Z43nNb /Fvf/gkCBEQagF7cD252pK/a4VhefIMwF95hcpSAu5gsABFB8HY5IHraN0LoPY/L4GyT35MCUHU L7iBIRy6SaPhJ9aDyoSARWyuazITm5dABIFON6WRIgN7WjpkvOPk+Z7C9Jbhl4r7hOOSa8ugMRp RTokZOV67rSGkNqBZAzlUIs2e7ug1A+RxmPVsq6kj3ba/e3qd1BdYR6IbBv5qJZf8e+B/uyU9oX 0jZthp4srOcI4yaxQO+gOzysg4W9nHUmy6pnOPUiWy957vfpvrdCI0yzXSdYMcT8dTkNOIiXjoX BxfWa/CYooVJxl+HTDQT06y3Oj0M1i6TMA+dSjaTLDNNJEPErtSXAgmtPGo9ZhCija5H3MtWsbM tBH+4UlxkIEsaD9daRQBIz96tNJy8zRBXE9p/7LKIzy4c2+UdV6EX0YUh+F/DhKh1IfnndJYR4M V4HnxRiHaXEXrIvYHivzqKECWr32QJhfG4f0rGlvScVNr6kxF6cwa9pjoTgq9htCT2fUG8eRZGW yI7sDDNEZeYdKObL0mOKOfUZ+f7R2VhHUbjmZNvhpWwPb6JJmSQwWvTRi2lfSM4w0+vyC7gbXx+ e+WmCkdeI1gxNdtMPkSvNYGQNd3NLEGbEUc+mp0MaPWJ9wAu+DwIkjo9ooVfKlYfg+2JzWrJt1I mvP3zK5jC+il9ubwQigEhM23S/8z98M1OKk1tGFl4Yc6iW1aNUxo7qD2BvB99lzOg0hD7n3buWF 1vvQlFkHaM389degWIlM8TDJ09kcvrhhVoqv6ouMtyeTUpKJWNuACCvidDq+eNjwjnaAn+z8JXZ g6K3 X-Received: by 2002:a05:7301:6408:b0:383:1bfc:f1c0 with SMTP id 5a478bee46e88-38570f27a56mr16915532eec.32.1795594121591; Wed, 25 Nov 2026 00:08:41 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:41 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 48/55] sdbus-c++-libsystemd, systemd-repart-native: upgrade 262 -> 262.2 Date: Wed, 25 Nov 2026 00:07:04 -0800 Message-ID: <20261125080732.2419614-54-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:45 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133051 Both recipes require oe-core's systemd.inc, whose SRCREV moved to v262.2 with oe-core's systemd 262.2 upgrade (4ccd16d6e8). With PV still 262, the fetcher rejects the source because tag v262 does not match that SRCREV: The revision the git tag 'v262' resolved to didn't match the SRCREV in use (8cc40e0c... vs 63511d72...) Follow oe-core to 262.2, a v262-stable bug fix release. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...{sdbus-c++-libsystemd_262.bb => sdbus-c++-libsystemd_262.2.bb} | 0 ...ystemd-repart-native_262.bb => systemd-repart-native_262.2.bb} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename meta-oe/recipes-core/sdbus-c++/{sdbus-c++-libsystemd_262.bb => sdbus-c++-libsystemd_262.2.bb} (100%) rename meta-oe/recipes-core/systemd/{systemd-repart-native_262.bb => systemd-repart-native_262.2.bb} (100%) diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.2.bb similarity index 100% rename from meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.bb rename to meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_262.2.bb diff --git a/meta-oe/recipes-core/systemd/systemd-repart-native_262.bb b/meta-oe/recipes-core/systemd/systemd-repart-native_262.2.bb similarity index 100% rename from meta-oe/recipes-core/systemd/systemd-repart-native_262.bb rename to meta-oe/recipes-core/systemd/systemd-repart-native_262.2.bb From patchwork Wed Nov 25 08:07:05 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105615 Received: from mail-dy1-f182.google.com (mail-dy1-f182.google.com [74.125.82.182]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37957.1795594123630115819 for ; Wed, 25 Nov 2026 00:08:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=gCvRhF1U; spf=pass (domain: gmail.com, ip: 74.125.82.182, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f182.google.com with SMTP id 5a478bee46e88-385d8a00598so8058073eec.1 for ; Wed, 25 Nov 2026 00:08:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594123; x=1796198923; 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=5mQSHYfwTNQXEosBTIdjV2WoslcteCYEjUKgQgenvAQ=; b=gCvRhF1US6BULY/hfeENLj68Z0ix5RdSaeVhQng9CSHJ4PrX5gRoublXi+ng33K45+ vFVe1sTIlN6X76EPo+HdWC61nFlXfqpc/tsN59EZSbtCYlzwlOZMJPiRVHsfF3LvEcFf yqEjFPCiEIIcfHgH0FdAii0AmdybEM+24PYeF79EpdZLHnebABhZmzxiyjDffGleHws5 FEn1SqBt4WP/vEsZHHTObreJrrMb6vPjgZcxDxgs8EKqG4JW4bxFXWbzXdNLgoOooO2x 0oBw342TfNx2nFn+ILDY1BwkKUmxer5hHivAmH9JYEumB6ulW8EyENTWJQKGo0q+uSMI WgxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594123; x=1796198923; 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=5mQSHYfwTNQXEosBTIdjV2WoslcteCYEjUKgQgenvAQ=; b=Gy8p3IHJiY1GNQIzzfVrKwz57q5/nEqljUns5EksiW/75THHqES6MOCO/LDfvJWGxe jVfLaeyk5rKaU0g0kLitjPSt2IpMzxEvqBA9VFBzzoAdRxLMJmrWnhi4oWrIjPIG3fLw uumy+oUwK26+iH49xyBAPtNsq7UXJF+dx+JLAV30WC4tu4OwI+4WA4Rnabxxdw5ies1x vSCYp012jRaXAJs/vbDaumHtwbkoOhcFBMswmvE8aWgXSYp/jFsxLr5TJtQ46cIv1fDJ diTDN/eTZ/WCnxETEcjdiCW2SwTPwQZePVFv6paHN5i10E80VMa1rFBf8COyHVqIi+hM 3pCw== X-Gm-Message-State: APuU4Z9fATbTK7Ip9KthxJSvYOc1Q5UXpwSvR91a2RHgS1yxPHWXpQTc e7pBQ/taVeewfSv7BlJCIcrONSioT+gHb6UUHDER/9ltFFzkbcWA3JTMyhFsojmu X-Gm-Gg: AZFdTZfG8hTe2TVLhAoEp/WHNgTnZeO06yxesf4h6I6t6DQdEuVqrUq6mWqFmnNAFo3 jrUM8BGoVxps9VTVlX4CjKA2p4uNO6yDNkSCfGv70ssrIwDOTnEdmTaoBCrrHbeDgNkhRP0pTIF iP2NtEJUi1VWWys4z6VWUu9Lg0f9zXLb+2rAHJEWbia02TjOFYr0nDD79u2wnD7NG1uQnSUg1z/ 91QgwHZYqyDoPR1p7TRqRi0Zyrffur9oRnPZciqOpErnNFgyKWDd+rSHDVCpF1qrdM6qb8heLxp /W/Z7BH22ZQMuTKq2CiKlH1+MLHThsGbXk2zk6iZKUjWSkDfQ9BQDNtJPGbkSkrKQNx+gytT7z0 w2tWSzTg3LdCgowLwC2TnVEgKtjH1A+Go4ZzQOTzR53ZP2bmsgdKyfjDs7l36NAHLD+NBZ0tab0 0TOgeXREV83zP8P37+UqcrVeB7OVIrwcxSwDaXqqL0wCOImecFOu/Z2+kVczIxwp88/h7yrQak5 luPjQ2UqdCDlPbjvpbSgEQLeTywGLLdqadwHLSWrg8kJ8JkEYdHm8TJ4S5pmsKRspJY8yvjswy0 HOhk5fjepM7wRblwn/qT+LIhKA3isslbZZWYZJb/FvRT+L5IEMJahH4ku1gfoxpFk+bZ4kdDOdm I2PHPzV0R6dSLupBNHDeifdD6VL5RVhkhTTBusuJLjINZJjYPehQZJH8kivDYLe96CnHc0ClFyP cGaLFIX49Yg66Xon7TBa2D71jgjdelxwci/BaZeM4lrM4saqvjGrsloyCH6A7B9BH4mfL4HN2lk k/ywbo3py12xANqeakLYA7QdhMUc1mLFtRb7yzNM3ZagaBqww4BZlEsraIWE8RqlOniKd7/opLt 7azf X-Received: by 2002:a05:7301:d587:b0:381:d92e:ecab with SMTP id 5a478bee46e88-3856f25884emr16114858eec.11.1795594122969; Wed, 25 Nov 2026 00:08:42 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:42 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 49/55] bcu: Fix build with CMake 4.5 Date: Wed, 25 Nov 2026 00:07:05 -0800 Message-ID: <20261125080732.2419614-55-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133052 CMakeLists.txt runs create_version_h.sh directly with execute_process(). The script has no "#!" line, which CMake 4.5 no longer tolerates: the exec fails with "exec format error", configure carries on, version.h is never generated and do_compile fails with: bcu.c:58:10: fatal error: 'version.h' file not found Add a shebang to the script. Also add UPSTREAM_CHECK_GITTAGREGEX so only bcu_X.Y.Z release tags are considered (the tag list also has a stray bcu__1.0.173). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...01-create_version_h.sh-Add-a-shebang.patch | 30 +++++++++++++++++++ meta-oe/recipes-support/bcu/bcu_1.2.1.bb | 3 ++ 2 files changed, 33 insertions(+) create mode 100644 meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch diff --git a/meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch b/meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch new file mode 100644 index 0000000000..d8d05eb794 --- /dev/null +++ b/meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch @@ -0,0 +1,30 @@ +From 5cf6653144fe9b3dcb892f40cb919d4536711a5a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Nov 2026 19:28:03 -0800 +Subject: [PATCH] create_version_h.sh: Add a shebang + +CMake runs this script directly through execute_process(). Without a +"#!" line the kernel cannot execute it, and CMake 4.5 reports +"exec format error" and carries on, so version.h is never created +and the build fails with: + + bcu.c:58:10: fatal error: 'version.h' file not found + +Add a /bin/sh shebang so the script can be run directly. + +Upstream-Status: Pending +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj +--- + create_version_h.sh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/create_version_h.sh b/create_version_h.sh +index e777359..0b6ed65 100755 +--- a/create_version_h.sh ++++ b/create_version_h.sh +@@ -1,3 +1,4 @@ ++#!/bin/sh + echo creating ${1}/version.h + + if [ "${APPVEYOR_BUILD_VERSION}" = "" ]; diff --git a/meta-oe/recipes-support/bcu/bcu_1.2.1.bb b/meta-oe/recipes-support/bcu/bcu_1.2.1.bb index 19ea077e90..3a1e80ece5 100644 --- a/meta-oe/recipes-support/bcu/bcu_1.2.1.bb +++ b/meta-oe/recipes-support/bcu/bcu_1.2.1.bb @@ -11,9 +11,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=884d48c2aa7b82e1ad4a33909fab24b6" SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;nobranch=1;tag=${BPN}_${PV} \ file://0001-CMakeLists-do-not-use-vendored-libcurl.patch \ + file://0001-create_version_h.sh-Add-a-shebang.patch \ " SRCREV = "1c79dcf115bcf2c8ad632dadbc749c5e25c52cb1" +UPSTREAM_CHECK_GITTAGREGEX = "^bcu_(?P\d+(\.\d+)+)$" + DEPENDS = "curl libyaml libusb1 openssl libftdi" From patchwork Wed Nov 25 08:07:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105616 Received: from mail-dy1-f179.google.com (mail-dy1-f179.google.com [74.125.82.179]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37958.1795594124786752322 for ; Wed, 25 Nov 2026 00:08:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Z0Hfg0cp; spf=pass (domain: gmail.com, ip: 74.125.82.179, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f179.google.com with SMTP id 5a478bee46e88-38431138772so7038775eec.1 for ; Wed, 25 Nov 2026 00:08:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594124; x=1796198924; 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=0qn5sBuk6ro28twrmxt43XQYnRr5yav90arjMIdlYS8=; b=Z0Hfg0cp5uhPTly+2xpLNYdMdfNCFpguoYPV3unz3tyDy+l+C4mTf1nYxihnuPMtRC 4NXqyshdcCmJ7CvrGjWVHrQK999/s2/8EFQ9zkCyS50lnvDjKDS1ZK6dornGXsRva+jW vl6SfedbdxTOWiCUgFvdk/0TTZKVR41NuBrarig23pUvOroKcYofat4uJMd5h2vLKpzo p4oo88O70rb/yGv7lhWlWVt4odMSohJ+E+FFqYXVzIyGFTX3fs3w2c7oHr716xZdZFvj omRr/fKg3kIKcYCUYHrLrVl7CkH6KVlhq8dqjb4ZXYIe1kR68h00kAtT5LtpmFCEhAuB /gew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594124; x=1796198924; 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=0qn5sBuk6ro28twrmxt43XQYnRr5yav90arjMIdlYS8=; b=QKKOyd2aw/eNlIYTBM5/udSjAzBBpYNRJedNHAa24PyfoFNyZD2oAR/IqdHCxt/MPE 92f3PLbfe95/nNOoh5iYQLBaN4CgCsxBRDJ2ugNweaVwFqcUXjhuaP5oPM9bDRCnBCqj KtihFDX/yEOfPSK24jNxcaY7qoJ7TG854CuZa4qiA8Ldquma5dhYPXavY2pa2PZ7YXjw qM6YGfpeNMNVkWadhdoM7fTxZQMEcGU37pegVU4Ok2qTbJiUDHqWa7iU+3DlECnAfrAa R9faVhhwGwR6vYO3jEwiAzwgxtFFNdIg0CBeak5N5JXInzcPfDFdXeVulRIsB02oHSCo udMQ== X-Gm-Message-State: APuU4Z/mR+SMI03VFcBSYVtP/YIzF71TeAiWsp0me2iq26Z/6Q/cJ27m sTtKWRp3tI+kNu91SPmoez9zhuxG2x0u5jPuc+e+RLofABkdzvt1imtqHXSzuRD1 X-Gm-Gg: AZFdTZcmetV0hj35r/vaaqyRvRBkiDRAVc+bu6JiMrnMRqCnbCFsbHWgRRXr8dB9uPz IWdB+7oSuGRId/enPHUH8HJSszs8Sser7d67SRs9rczhsA/SEDPmXl+xhheLI+dim9Sh8xbKmFn 5psiFK8flhMBfnUP/DWByooEKavgLNpv1lcacRGmta4lhCJIt4sPEeH/bXBGtoKVSb/4hzcxcjS JPtnTUcbIr+1Ppt0qLnp9DCqoIpQ1e7trBY3g6ibnzkmNfX3nTr9VgJv4bYXJxPz5PQu1PzPAfD /x2O9Ymn8QWB6yvDbiAEHUNDsyTfVzMC+QeRYOAUFOOljmd5HaYjmxdnDFGDgHOL8Dsvd2D4P1/ jYoKZIxZsLnJKfvuuptJs96JixaxapiSKz7EcMLNebalc8+HK//JKF8za1FDDfgM0UJl768AL0M ElMOKchizfFaZ21wWV1hB5mspMBpzSEgttkjl0ldhoO+hrQlJCejjLYnIv0H1wOy5gnqyWN8BKy ODxJY0umDp3TMkDIyEw76PHei9rf3Sj0cC6RriKhWvRJOAgJowQDTcXkXqHI2tXDudwN6lqMI8d ZR/+bmRah5rUnJmZyv/rEanpGhna3xLEFEm62jxX0fJRsA0FSHVJ2hq0jZzJ2Vw17rvNUggRr/4 GOshFaj/nksY2TWweRo4fKcY9+gmmrXN+VavVkvGrNG4M7/9GfIKfxpib172kYAae4G6n2DGXrW 0LsOJucf0hGjrStQif7Pr9Qj8PEhodiZKkvWI3oiQI311UdfvLsdf4DfbvAzFA1ZB9HQjXnIWRG l6ZhCuhLM+uhVJF5JAWLZQoVGBacwDIRuKhFPam2zAsEbRIEoziS1mqquKjCylhLYPWDyNI1Xhn V9vKOUxg/9LiVxpw1BIlb9LZfw== X-Received: by 2002:a05:7300:dd08:b0:386:ce6a:b256 with SMTP id 5a478bee46e88-386ce6ab415mr1841526eec.7.1795594124101; Wed, 25 Nov 2026 00:08:44 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:43 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 50/55] libmtp: Fix upstream version check Date: Wed, 25 Nov 2026 00:07:06 -0800 Message-ID: <20261125080732.2419614-56-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133053 The unanchored UPSTREAM_CHECK_REGEX matches any dotted number on the GitHub releases page, including ones from GitHub's own page markup, and the check reports 11.28. Match only release tag links (v). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/libmtp/libmtp_1.1.23.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.23.bb b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.23.bb index a991c0a670..6d724b8047 100644 --- a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.23.bb +++ b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.23.bb @@ -21,7 +21,7 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.g SRC_URI[sha256sum] = "74a2b6e8cb4a0304e95b995496ea3ac644c29371649b892b856e22f12a0bdeed" UPSTREAM_CHECK_URI = "https://github.com/libmtp/libmtp/releases" -UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P\d+(\.\d+)+)$" inherit autotools pkgconfig lib_package From patchwork Wed Nov 25 08:07:07 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105621 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.37954.1795594126228326315 for ; Wed, 25 Nov 2026 00:08:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=eHbeErqC; 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-385c497bf94so2110836eec.1 for ; Wed, 25 Nov 2026 00:08:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594126; x=1796198926; 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=vMDyZVvE92vGbwbczpn4Qsj+mTk1YNjANr/03+UhAlY=; b=eHbeErqC/zixLhE5KGmNrnozwAk6Ww6EKxpcLIuFsKPmzqu7WQ+kU0pM6Klb8KovKZ csppcL9OGsOb7Xh6HxlftzjXh5DTMTQgCxQ+3qhDgup0WAnGJhhIVuDoKlUgU2Be57L0 oq5U4TzB5seroYfDBwMKOoOsojeadRNEj8RA7yyr+dXYRE2h/8WkeQZ+KTkyK89nVPhj hrH6WzoP/Z6BzJ22l/J8Qx6vSQAUPtCvy/87RwspVI2MLmWVF+5niPg67v1yR6nuMltd g5d8GH4X3BgH1bMj47I4BlfG2EZ10dJd9kp4vAvyTKLq+BIuDpAgJNr4aV5+c+3y10/b p1Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594126; x=1796198926; 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=vMDyZVvE92vGbwbczpn4Qsj+mTk1YNjANr/03+UhAlY=; b=WcR5CIWNn+CDNxwRlLKdYsR2tVPjnQc1IQDI3cb42t4UcfcMa+RgN/AteHX4J2evQT oy5PvdFleJ41oFwDAlaVDv2yA6VwQY4Jtokl6rv/8d3kAHbO3qFFwGMI19JcaObLCzcG mDs0eL4pVOOtpPvh5RYzVE67vT/BH0S/4SKMvdEhD+fboqiloO9GIBqT8uYFDZlLjmi2 vIw5fDW7RbfyUBJvEvYbqRO/HzpATrLRlD/dnBkhXECZrE9UuNsiArNeEybZcymbvGng c9+8CT9KkzWcfCuow1lUCk7m0XZMOivLOS/dmzZfL2zBggAOG5gqp2MxwJC/YLsT/K1c PNuw== X-Gm-Message-State: APuU4Z9lAKOTdNCSo8f9QE3PX+rSWjoMIgWCuQnsT3eG9T8Uxmo2DGYd Qw2A5BteB4S6aPt9P9PxmzkvQDLDOjzRcvcvN2vGnwJ3HtRWBZDp0Rf1N5waAlDC X-Gm-Gg: AZFdTZfMEZFX7TV5W39i2N5wSxY88MkCngLGth5BUQFEGS6kXXnohB+FN4dNeVcu0rq jiYjBtVbBEyyLRSH2RFS5S7aDA6yIDKQ8+zV51P/8LetZSftgaj8794TlgCb72YY6rWRl/jY8Wn 1Hfk5NlChUDvSfS+BSjuikBFDZDK1Dq7X6pw/NGTc7gcEYS3M45xvzvORyJUP+iA5b5Qy3BL6za I9aTbtSe4TLdyzJeOXfUSfeeDHhhbVl1w5QAVfQUV3uVLJ0gNHrPs7jCaQxUzfKML95DMobdQeV w2xfN7t5a6meO184EM3kbCWIFpxTEv2OOWem0KbXh4rAIcEvp0ZGVUPQo7GNuv8AHZTQznbzuaO bsxBl4skdlOlUdmVP2zK7KBHUyrwCwFSrzpAFpqIDFBH3Bc9RcOPboJRu4iH7N+xsleRQQk6ADt enub5OK9LUTtxyldgXKN+T/dNGPrTy4um/edWZb6ely5fPqIZMJJFO2ckKYC0phDCdPngNe4Ozr QY+HJSeeMpH/LDOQ6jTwNEkq4jIrBLmw63If81/4K4Xz//AtRk1cHibpDLCQ9iqSzruNaj3Uw5Z rg11AO4YkK4eHVa+ug8Qp7pHfRT3+JYgAfbKuHWfhIqcLXqM+rxwTZVj+f2RVJwwHTy77UvCW9F of4r7jYfYcNiIHmNaDmx63rSMSDA4j1tZ6HaC1/EQPmjzZ+3gqAwVPgj8kFg3uDfhLXwEjrCLxV qJthtI42youUn92vWhIQ5RL5o47DjY5iFXBXE25fQgq2EBPBGkLP1IUKsCxBIYph/q/mf90IBYJ K1dMDr2mXTSKcdv4cCalFiJcKiODPWOhoM/FkW5W9xt019GdsPEclVHf6PoZqqogifG2VCyk+8W LQ6V X-Received: by 2002:a05:7301:3a82:b0:374:ea35:9069 with SMTP id 5a478bee46e88-3856fb67380mr16264219eec.39.1795594125541; Wed, 25 Nov 2026 00:08:45 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:44 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 51/55] czmq: Fix upstream version check Date: Wed, 25 Nov 2026 00:07:07 -0800 Message-ID: <20261125080732.2419614-57-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133054 The unanchored UPSTREAM_CHECK_REGEX matches any dotted number on the GitHub releases page, including ones from GitHub's own page markup, and the check reports 11.28. Match only release tag links (v). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb index 9a71c2e0eb..1327f71ece 100644 --- a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb +++ b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb @@ -9,7 +9,7 @@ SRC_URI = "https://github.com/zeromq/czmq/releases/download/v${PV}/czmq-${PV}.ta SRC_URI[sha256sum] = "5d720a204c2a58645d6f7643af15d563a712dad98c9d32c1ed913377daa6ac39" UPSTREAM_CHECK_URI = "https://github.com/zeromq/${BPN}/releases" -UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P\d+(\.\d+)+)$" inherit cmake pkgconfig From patchwork Wed Nov 25 08:07:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105626 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.37959.1795594127732755960 for ; Wed, 25 Nov 2026 00:08:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=obdjIxPk; 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-386bd881d39so3908893eec.1 for ; Wed, 25 Nov 2026 00:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594127; x=1796198927; 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=zgGqkQW4mlRCdqyiUeR2QpOz80OHATdHBgLwfq+H65Q=; b=obdjIxPkzbuFozff51pfhFYiZmholXhf8G3zg0OCPN/5tnaupQB2derCRYC/YnRm4Y jIQs6PAyvGA+1URmW+loNLEvVPMvF3mj5fJuJTK80Mmypns4TTarzqPZW8W8KZ+YyzcH qK2wdzIsoP6RDgE7wZNNnSKD2lnBsMooXOBELvdlw/3RlHr5xSr4xB7YTa0fBluctSiY V81t3k6hmY0UUsqr9LwUa5fPjjGCmZ/UnhHgi22QLvlaU0u739SVCc9N3bunRzEn3Rqa kyetVTjAFzXXcCCeriG3L3JLtjb99j9lf/qdqyond4/gJ9tQHJVbKRHknPdMUsmvJ3JK Ep0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594127; x=1796198927; 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=zgGqkQW4mlRCdqyiUeR2QpOz80OHATdHBgLwfq+H65Q=; b=QtisJu9h52cu0L1giKcw0p4wKsWV8w05cVUZ5uqHzfNHqjPzrbuyuJZ5NkUkV6B35h 9xEQO1mupi0gPLTTPyIF2pYYazTWpgmqMdRFGf1MeUuVGaps+BNOaUajmkPs8wyGU2h1 xCMtE63e17fg6/xVkprjhN8SmA+eDBJv+LVDTntdEFC9x5fiGEsYmQzFYB4/2yAIn71U gRPU/bsWIv3dHzjq2q4kCZvXkqqrXgjimFBiiJiTbCd8d2zFSh+s1yJsp3KVGLuLcWas TqylOIvPFSTtDCdefrwzvcB+KK23jPxdPK9UkqSJ6/W6fOOLdGBz2+lhiwhQWG8/ayvP 7sww== X-Gm-Message-State: APuU4Z8hSFYz/Gi/B4o6lCHjt+7Q39ZO5iw2v0YsXApZQvjB39iyDpZx 8xiHa9oE4wnuqMg3GEhoHLjW6yKQbE5C7lXm/nMFWMRj3QwCshc0bFoDJETfpOXz X-Gm-Gg: AZFdTZe4YV+c3J5TAWkJ7Jd+J+xW/pTWWOr4qo+2zkXbXb9WpYBFUl+vGmOrTtjEQ/p i2nuPXSm+28y8NpuUgqIZjn6y9/NT9a4l+6Q8ockwZdd1IIrzof3IsJnaFaTEOHRYIUJTnz7Oyg faHeIQipmRuwOUqxS32LMtbDNe6GrLmuFAL9Iv7uKcyZgUAw2Ow+UL1DZlyD9JkwYZkzXXpT0hc rkVVw2xs91poPsalSx6CQAEvASx83/3Ev/ScHUi+13oBbhfLK+m0Mr/3dTDCysKonBqRNRM+9wg b9SarnxpcORS8+Jc0T2+TZ6c7OFvWXeSp7373Kqj4IFeJjrC0U7s3sDEhrWovl2b4PudaVhVtz7 wSv+m594mTwI35hlL74yOp3hZd2eO2cmDty7XoJ2EN3gwNQXW8vJRweTLoAI12x9QcvTyduEXuY 7F9tnlU9uDbBcuf10cCEnhZSbICZY6gjppfE1BjfAVPvv/dtHJkiBuPSVFJYk7iSYMaJ2VYIjBQ FbIyv9lvrBrO3SJYY+euympydod+ll8YqmFziQpvef+CqQK11cdNZQeO2fkMHOX40XjImwfqrCl Z405h9NzsL6KmkiwxR4nXAi7aja6nNVeSTfvuvI34ci5RWqcIkLca/rkFS9Ie5VFCFN8REozfYg 4NWnUsA90ZYS720FOC3Dr6odAtHMv0etSlrMB5thtsuGDLwLBjxHOLjREVJYkhFeGFja0Kw0fvU 46KG9JLo8hnSJAhy2boC+RQBxaLT00SN9/ZEIi+i8u3Fj0OFjjRAR7RMbO+T+RBlx4SHknWxhjF ieOFqU4flbBLcJZALu6gbyJINfIVCwuCpQYycwACeCz06c+vHDrqeZLBUccKj0G2tYgvw/w6pUh vV13 X-Received: by 2002:a05:693c:60d4:b0:360:5f7e:2eb9 with SMTP id 5a478bee46e88-3857111f65amr19576098eec.32.1795594126907; Wed, 25 Nov 2026 00:08:46 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:46 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 52/55] rsyslog: Fix upstream version check Date: Wed, 25 Nov 2026 00:07:08 -0800 Message-ID: <20261125080732.2419614-58-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133055 The unanchored UPSTREAM_CHECK_REGEX matches any dotted number on the GitHub tags page, including ones from GitHub's own page markup, and the check reports 11.28. Match only tag links (v). AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-extended/rsyslog/rsyslog_8.2610.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2610.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2610.0.bb index caee233b2d..eb46ef086a 100644 --- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2610.0.bb +++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2610.0.bb @@ -33,7 +33,7 @@ SRC_URI:append:libc-musl = " \ SRC_URI[sha256sum] = "7bdf95e81ea6c0ee5d586342d57d2a6e395b089fb3c67318a0dc555816de404b" UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/tags" -UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)" +UPSTREAM_CHECK_REGEX = "releases/tag/v(?P\d+(\.\d+)+)$" CVE_PRODUCT = "rsyslog:rsyslog" CVE_STATUS[CVE-2015-3243] = "fix-file-included: The shipped default rsyslog.conf contains the fix" From patchwork Wed Nov 25 08:07:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105627 Received: from mail-dy1-f170.google.com (mail-dy1-f170.google.com [74.125.82.170]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37956.1795594128875265479 for ; Wed, 25 Nov 2026 00:08:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=OcpKFzgQ; spf=pass (domain: gmail.com, ip: 74.125.82.170, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f170.google.com with SMTP id 5a478bee46e88-386c4d2e2ccso2525275eec.0 for ; Wed, 25 Nov 2026 00:08:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594128; x=1796198928; 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=NEdvrWweKn2h2ylYJPxbNR7RfIhPWzGjGhttImgGwM0=; b=OcpKFzgQiWCcCeyTFZbw+LAVSMmtHeTBrktjcGaVLnTEUUfniJQlg6qvLZfbHetB9X vcPUh0fx5yusTe2TqMnDUfXkvePOK0BtHCSqi7lzOR3A5DvqLJ6ahLmOI2Szodyg+XDZ iKiLE9sBEcvW6g5LK6mHvmXCCpoSrCJ2zcpZKVDcedjKWt8diMZ9Iat12fUOPHs0mpQZ 1Wj91qmyw2WIKMOYjBTtHDh2oWaogumR6DWYlDPNRy9vfjUm7DQ+8IceTklYQI5Vvp1d gXabnpT5TawNs49gJOO2pjx9B2KS5DueXpa5fhl1HA9i3DlUHrpQ7QjWJTy0S/aFQhRm v1Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594128; x=1796198928; 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=NEdvrWweKn2h2ylYJPxbNR7RfIhPWzGjGhttImgGwM0=; b=Wlp8CyBOgE3z/zOAPaKMpIAyVz0uNXMuKr4DGiyVStGOqRwdVIhPCxT3jETu/8bmlw ztn6oP9SOy5f3zRAqCRNPtA52qcji2TKMoQXZ/FsbT7naLg5z5toERivjspQilJGc6rv gXTA53KN13QUHvgY1rhyQVmbS9U1SZ+4LcgUjdqze3AOYK/B2XuLqBEXt51aalsn6ERn pr1tCtdNBYMLHefKixcXVE71sbF1JtfTp2oZB+BdGaRmbLdtxFjNNolO3ZVFttSBM0o1 voAwjHLrQf+oLssFmUJmYV3qgKdkVQkDmfoBR9AMxgUSjISr+6hX/HBm87P6dhFaF29J D2DA== X-Gm-Message-State: APuU4Z/HtL9bQL4SPW+RY3lnW3obFycZDtG+W/XJrt4ye1wnOJE54w33 DpfC6yXvcsmp4zr1B1sUfK+tIgdZ4/9McOWyZXS8JyFAPF8rJKyDUX6/3u+pEjjq X-Gm-Gg: AZFdTZe49RP35u0sRurRZhgbUaJMa5mbb12ZDjBBDRcp7K5gbdoXU+D4PuT9ahSqRej MYJx0FZhY1m9OVVQtmuz140YOUbwfq6EVHXh/pwcbzXbErndccVKHgfH+KNwOKKUk5Q0vQn/krS 2jEWOQFfCZCGvKfdRy70Qewb5c3VmzE6i+d+bihGxn/8/VAdLVavm2CM0cRDJJ1+fpqcHDsYzdJ 9ZUdJ8Yzma/LHJSVCpu678xf34BWLi4AcJEfmgudb7nGojmtZWbCNNTiexN2nehip5dMiuJ9PD4 NazOZ4CX95c/cQsCirSakic46XxDun9DuCgqrly50C9brKG2+L20W2jbdvDuIYMhDoIrLpgeh+/ 1tnu6jaHuQE1BSCm/90GpHeEwhh4UyEcS5uL4JsSD0/PGkxnIrwSxuAH/hhvXHdtDfYIc9eD48G NsTizo/9kOv1HR5xFUM9cGJAF0HMv46Kul7hhOz+U9mBdhVIpFF4wROWcpBDeN7fzAMPmscjbg+ sCB14BfuV2ATNwGsItvZaYu6OXZq0DFi/LlqVQiBl39g7dXRfllsrfGFf+O1S7slYlA7fUqnAgw veiVU9r4gLVEtR06CSo1r364LglkntbqpTUL/hyDCAS2lbBuHkmxU/cVkHqprsK0MbZqBWLXgOi bLumVE5QVDi/wWF+5A+kx+2kL0PtRX3pZsptFBj9lgSc4O+5rbzSJ/cxfIDZaMGa9ayFDFWJAV1 Hid1qNan4PYXSkBZvKX/MJJFEXyaB8LDiI/jTeOkYLQrYWzJnaF34p7uESORwSMa9cnDVw3iwwI r8bqmO5JJuXRRS6d4jrbqEdvqXMmto5DdfztcWhhhrvcxBdhtg24xW2YlTATX+vFOSDdbYBQRsW AENscA== X-Received: by 2002:a05:693c:69c7:b0:386:b745:ac60 with SMTP id 5a478bee46e88-386b745b019mr6557739eec.18.1795594128020; Wed, 25 Nov 2026 00:08:48 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:47 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 53/55] rasdaemon: Fix installed-vs-shipped on sysvinit without usrmerge Date: Wed, 25 Nov 2026 00:07:09 -0800 Message-ID: <20261125080732.2419614-59-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133056 Since 1.0.0 rasdaemon builds with meson, which installs its systemd units into ${libdir}/systemd/system unless systemd.pc is found in the sysroot, and systemd is not in DEPENDS. When ${systemd_system_unitdir} is /lib/systemd/system (no usrmerge), systemd.bbclass removes that directory on non-systemd distros but not /usr/lib/systemd, and do_package fails: ERROR: rasdaemon-1.0.0-r0 do_package: QA Issue: rasdaemon: Files/directories were installed but not shipped in any package: /usr/lib/systemd /usr/lib/systemd/system /usr/lib/systemd/system/rasdaemon.service /usr/lib/systemd/system/ras-mc-ctl.service Move the units to ${systemd_system_unitdir} when the paths differ, so systemd.bbclass packages or removes them as usual. This also covers multilib, where ${libdir} is /usr/lib64. Tested with sysvinit with and without usrmerge, and with systemd. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb index 86eced84a1..ae8e2bc5c9 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-support/rasdaemon/rasdaemon_1.0.0.bb @@ -49,6 +49,11 @@ PACKAGECONFIG[nvidia-ns-decode] = "-Dnvidia-ns-decode=enabled,-Dnvidia-ns-decode PACKAGECONFIG[yitian-ns-decode] = "-Dyitian-ns-decode=enabled,-Dyitian-ns-decode=disabled" do_install:append() { + if [ "${libdir}/systemd/system" != "${systemd_system_unitdir}" ]; then + install -d ${D}${systemd_system_unitdir} + mv ${D}${libdir}/systemd/system/* ${D}${systemd_system_unitdir}/ + rm -rf ${D}${libdir}/systemd + fi install -d ${D}${sysconfdir}/init.d install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/rasdaemon } From patchwork Wed Nov 25 08:07: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: 105628 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.37957.1795594129991715817 for ; Wed, 25 Nov 2026 00:08:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=jvo8P931; 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-38692f62b22so6066365eec.0 for ; Wed, 25 Nov 2026 00:08:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594129; x=1796198929; 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=4pZwVnsqgSCgSJtJ5YkFAoX7eyGCNutf5la1yRuIlos=; b=jvo8P931gDHxZGXeIjLduEtAdc9AcP/2qbnUltkOmVo8ixpoYIiRTvSnqTxgZ5QZbu OiLzvQqFmoPJCLkyub9rD7bIPsz8W0+JzhU9B8N/+xd5MMJABlthzK1iY/PZ/C82fwss cww7a7rNRUSqfTnlZ51xv/2Ls5ySqBJBozQZeSZxTXnr6sADEW5CPhVXKNXWAD5St3/r NxpHp3/+hUhUqq3VMwaxIpMdiPSoVjl1gubLqjmaqhrEgP3S4F70ECGA4Y6G06gUmyt0 fIUji0Zkz2oKC5+262SfGaZFWK409MjISraIaLamyuKAOqU7H6XkxKEFVdIS0S4lGl5f +7KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594129; x=1796198929; 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=4pZwVnsqgSCgSJtJ5YkFAoX7eyGCNutf5la1yRuIlos=; b=ayTA6YfuAkJfDvBRroFemXsEoR02NwN+Yj6sXEESjLSnk+pXZT0XABuBTkte4XoHC+ Wp74u3cKfjNInfFSUtJnFdKx9uT985ZrGGykwSdtwxUT34fde7b+s4o/lva0yVGfrtqd bZ1nmDieEfTdXZv5JBHM2JfepvRr9JDa+aW4U8wc1o51VtLf1lucaR21ubtA4NnMBW6f yG0dWn9Ej5yOwrQW9uRU+Zhf9iQhgrgJ/t0iPgRqmDGIYs0aUl5bIL0rYkPzDPUvGYI5 FdacZGjghmt3soU2zZkNctlDd6iPfvgSWhaZlw/JDrgTG+4TntrZMcwS62PscK6l9WrG 7XLw== X-Gm-Message-State: APuU4Z+JxGttXOSX/BFHqDj0l6tYsXIqAGwny3oM2u2WJCFP6FZoPEtG tSEaGnsHWvyIGl0v6s25VD7lNM8BDNcbURdZiOJUQJXhaOabpqgJpftDAwWiRKEX X-Gm-Gg: AZFdTZd1e9m/oo1fFuQ4yYy50/xNQVFk7nSWEu9A8pn0at6d43vL2lQL9Aglyfy9i4L i/Wb7MghVTpNj1P55oGemu8H+cu69K0pF/ManecrlCQ5RKYVAJFK/Zx5639Fcn3G3JQvsGaAd+R EnZHt0PJtf1ogDuKDuMkVh1acS/D6KOe/Z2HWMlK5UMB4VfbWWVuKZg2XH1OCwKLrDq2r+hdLH/ TmFAIhFhIhFMBXFFDSlwIDpko2iSzA7jOhmfA7zSbCQFSMw8MjRvVN78NWigyftg0Qyyxi3f2b3 0Vo8+lCnjwHQYakv/sSE4tPqc/JraWD4gkE+/WMeJxdnYg7XqkCnvxa4bPp3vtSUKtwQJbQvZ0n f+czdFykcr0YzOeVRTsHgxztvoWdDTFk6sIZ8m9jMcTHqb6i9Mr1kvq5hpG5uogalewEU9cZmg5 FcyB2eZyrM/7SKEjo+Q4WffydBuxNmjh5hZFY8nNvSlPaITrXAgkIRERxfIlkxsm8FtUiRlkx7N pMU+LLm1MhXe7pBowyCGeRpCPkTveOOWA6r2n1m7eRdoau40Da8kLsrKUcXevqnVo3rCcX4d/HZ h/hQxZX577OKoRsBHlLQSpxa45hs+Gy9aeew5G3aVoXD0q8aujC0TpEMJUVMHWVZZnOUJMbsyh9 EDIyy6NNOSLoOCXSaHNIEkyG4xRhfsz4MI58ENLMw1IBBmCNyeVK3fvxwtftmJcc8ByoGnRVIEv W+MSUE2kq8lJF5loNR3qWm4pIQZT+1c3BRXf349jRWerhlRdnTmkF3Z2nL+AGqErMvqBjARje3f akda0ZtGjkjdDsiT1aq1uDgYgKn5wKF3ES1gbGN0DAZcpp55WUqtjOc4OEXZG/u/K8dSBCQV+Kr fcUc X-Received: by 2002:a05:7300:2209:b0:386:8d2:929b with SMTP id 5a478bee46e88-38608d2945emr25263014eec.23.1795594129315; Wed, 25 Nov 2026 00:08:49 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:48 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 54/55] postgresql: Add Spanish locale to ptest RDEPENDS Date: Wed, 25 Nov 2026 00:07:10 -0800 Message-ID: <20261125080732.2419614-60-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133057 The nls regression test sets lc_messages to es_ES and expects either a translated message (nls.out) or a "lc_messages is 'C'" notice when the locale is unavailable (nls_2.out). On musl, setlocale() accepts any locale name, so the C fallback never happens, but without the postgresql-regress Spanish catalog installed gettext returns the untranslated string, which matches neither expected output: FAIL: nls Install postgresql-locale-es with the ptest so the translation is found. glibc images without the es_ES locale still take the C fallback. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc index 21dbad30f3..00545ec74e 100644 --- a/meta-oe/recipes-dbs/postgresql/postgresql.inc +++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc @@ -236,7 +236,7 @@ do_install_ptest() { chown -R postgres:postgres ${D}${PTEST_PATH} } -RDEPENDS:${PN}-ptest += "${PN}-client ${PN}-contrib perl" +RDEPENDS:${PN}-ptest += "${PN}-client ${PN}-contrib perl ${PN}-locale-es" FILES:${PN}-ptest += "${libdir}/${BPN}/regress.so" # server needs to configure user and group From patchwork Wed Nov 25 08:07:11 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 105629 Received: from mail-dl1-f52.google.com (mail-dl1-f52.google.com [74.125.82.52]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37960.1795594131451078698 for ; Wed, 25 Nov 2026 00:08:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=Os+jsc7D; spf=pass (domain: gmail.com, ip: 74.125.82.52, mailfrom: raj.khem@gmail.com) Received: by mail-dl1-f52.google.com with SMTP id a92af1059eb24-1ae58d17cd9so5794302c88.1 for ; Wed, 25 Nov 2026 00:08:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795594131; x=1796198931; darn=lists.openembedded.org; h=content-transfer-encoding:content-type: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=LKnnmWbwYPOwbeWdHvv0LW0EX2z341lG4B/g3r12/U4=; b=Os+jsc7DkPZAd+kuFuuA1YA+5QiWnytmTcevDlAUkQNTjBqTR0n+TquKRuCpHVm9YL Lz85lfeJZC7B9JL47N07UyFBGX+KimAj44IilnwYS/J99Cc2maf2AP9/knh/PRz1EBIV xV9+jdXy4pcXVmKiXTbdbicy3N79Ozthtzg1BmuZs+BFKfYJ3BMPqXWRTB8GkYX1/Ndk 0yn5v6ZCWZDHI/JWdTDq4GmJBaQ2i5a85J+ulp61aq5Ne9fD7HsRODkYCjs70mcIX56d b7N8/EK7G9WC/suhHiJVtNZBLUVhugJ9iCswTb/y85cpEsLP0S9SMcAD7jcQ9VBMebTe gyaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795594131; x=1796198931; h=content-transfer-encoding:content-type: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=LKnnmWbwYPOwbeWdHvv0LW0EX2z341lG4B/g3r12/U4=; b=JN1bWKgNLprGB5R2GB2agQcZqr262ZyX64o6Gwjk4ZQGSg3E+lk+ob2hGmBM9br8AP evUD6iB7G9EjD8NesLtTQcnix3SYtJtq1cDNqN4kxmI3ybbV6gc5J/rm/4EsO6+yuTtO aq9lSL3S5Pyt5/C+FvNjXViC6fGraKJIVT5VEpTSp31vxDAfFGKZebgriq2r5mglDtsv dIsetvliV8EmCETvsJATviTz9YcPQHaMW40kGV7Ej7k1jEWVTzQA8P68bx1J6IiHFO7O bh6bTyKaZnpOKkwCNNlhKV9XYv5L3zvKWZvI8Dwrja6jAu3LwXtVAOqyoiA64yUrK3ad EzLA== X-Gm-Message-State: APuU4Z8Z9SLtDlNXeLLDFEA/hG95l7Mbx3iMRHNp8movq5tJsZuusRQc x0FFVDJ7+XT1vv0bEhkcn8XjeV2UrLsX6qyAPtPljQyE6AsxhVJJkfMiyDyvWCG5 X-Gm-Gg: AZFdTZfKCTaEnkqn6uHAYRvcV50FoYqZpV3awWvqG+BSV9RmSxNBnMNJclnWbf3AKHt YkdBL7WFGXOE8dP9EolZ5XFWZOKaDMbRgBHX1/aj9ddBHW/8XoMnqh1G5R15ympT+NYN8Pich4m 3IZzl3aLEImO641+w8cRVfQUskaQqdg+4eYMTDNPKEoD0wodqoYYq1F4d++O+JZk6XYs3PIBjsW 027NBDOTq17aasExOi+BxoDvt7rBYTbRfS5uAKv+AsWaRrOk/83F5wSlgEJae2zT8933fzSamqv LaYy+n/Eza8L4Hmg0NkvlnnanXbeMkq664gy++7agNEHgimaSzutP9kNBuqKq/K1q2wkkWqXzOo uKvNVXZXUJhkaKA2jSaTp6zvdNEzfwKMB69g2Fh0TKApdZMl1RZhAnVC1cQqAmKB+Y6kBjWv6i5 ztFYvsu08Uv2ryXucTmEZO88E4anubRGWrzroMVg5toI9FHyvzI3M3IwvZ74ZhFjx9zs04z5VsR 4/KAK9XeMlg/OCaLmRUoluN961nKn6iAKW4j5B5eY7gyQp0ChVrbaIFsZZfKx4qzIQk9PWzBnr0 Z13BC1R4+OkxLWTk+Ouc7l+HBsU1u8HlKzmHlFdkYDJUSGiAuBe3NFkudh2WeCG40yy0Af3w3d8 ktFR/RwK1/Ts2lzX4sst7D1rGXa2Gc0SmXkc/YoWg0u2YiRnIVarNcQ89tYAGu9dlu5SvjFu2aN yQWwF06RonWyUBfrFdN9pvRd4HH0jgKMzZPWSu8Eunoi9TluZo2S8r+lwtH+0OOT21gYMuNsGAv /9mBSZJZ9oyy9jEUFaytqCSHhyxumP1NyEhCCMxk6wJFpaIcWVBB4qtTDatfN3tZ4lpdt7HpnO7 ok8L2w== X-Received: by 2002:a05:7300:6da7:b0:376:77e6:a66 with SMTP id 5a478bee46e88-385704509cdmr24616462eec.16.1795594130671; Wed, 25 Nov 2026 00:08:50 -0800 (PST) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm90997971eec.3.2026.11.25.00.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2026 00:08:49 -0800 (PST) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-devel@lists.openembedded.org Cc: Khem Raj Subject: [meta-oe][PATCH 55/55] bcu: Go back to the 1.1.x series and upgrade to 1.1.131 Date: Wed, 25 Nov 2026 00:07:11 -0800 Message-ID: <20261125080732.2419614-61-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261125080732.2419614-1-khem.raj@oss.qualcomm.com> References: <20261125080732.2419614-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 ; Wed, 25 Nov 2026 08:08:57 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133058 The 1.1.128 -> 1.2.1 upgrade picked the bcu_1.2.1 tag, which is a 2023 commit ("try win build") that is on no branch, so it was a downgrade. Upstream releases are the 1.1.x tags on master; 1.1.131 is the latest. Notable changes since 1.1.128: - S32N79-RDB RCON, GPIO, PAC1934 power rail and SA56004 temperature sensor support, and i.MX FRDM board support - FT4232 ports can be used as GPIO - Fix ttyUSB devices disappearing after use on Linux - PAC193x VBUS conversion and PCA9847/PAC193x I2C error handling fixes bcu no longer has the https upgrade code, so drop the curl and openssl dependencies together with the vendored-libcurl patch. CMakeLists.txt now requires CMake 3.5, so CMAKE_POLICY_VERSION_MINIMUM is not needed. Refresh the shebang patch from the upstream pull request, and backport the upstream fix for the -Wincompatible-pointer-types error in bcu.c that GCC 14+ and clang treat as an error. Set PE so 1.1.131 upgrades 1.2.1 in package feeds, track branch=master again, and limit the upstream check to 1.1.x tags so the stray tag is ignored. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- ...akeLists-do-not-use-vendored-libcurl.patch | 40 ------------------- .../0001-Fix-error-on-ubuntu-25-builds.patch | 40 +++++++++++++++++++ ...01-create_version_h.sh-Add-a-shebang.patch | 22 +++++----- .../bcu/{bcu_1.2.1.bb => bcu_1.1.131.bb} | 16 ++++---- 4 files changed, 59 insertions(+), 59 deletions(-) delete mode 100644 meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch create mode 100644 meta-oe/recipes-support/bcu/bcu/0001-Fix-error-on-ubuntu-25-builds.patch rename meta-oe/recipes-support/bcu/{bcu_1.2.1.bb => bcu_1.1.131.bb} (60%) diff --git a/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch b/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch deleted file mode 100644 index 806b81188e..0000000000 --- a/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch +++ /dev/null @@ -1,40 +0,0 @@ -Subject: [PATCH] CMakeLists: do not use vendored libcurl - -Upstream-Status: Inappropriate [upstream ticket https://github.com/nxp-imx/bcu/issues/17] - -Signed-off-by: Leonard Göhrs - -Update for 1.1.128 -Signed-off-by: Liu Yiding - ---- - CMakeLists.txt | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3475179..945c373 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -17,17 +17,17 @@ pkg_check_modules(LIBFTDI REQUIRED libftdi1) - pkg_check_modules(LIBYAML REQUIRED yaml-0.1) - pkg_check_modules(LIBOPENSSL REQUIRED openssl) - pkg_check_modules(LIBUSB REQUIRED libusb-1.0) -+pkg_check_modules(LIBCURL REQUIRED libcurl) - project(bcu) --include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${PROJECT_SOURCE_DIR}/libftdi/src ${LIBYAML_INCLUDEDIR} ${PROJECT_SOURCE_DIR}/libcurl/include) -+include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${LIBYAML_INCLUDEDIR} ${LIBCURL_INCLUDE_DIRS}) - include_directories(${PROJECT_SOURCE_DIR}) - - message("operation system is ${CMAKE_SYSTEM}") - if (LINUX) - add_executable(bcu bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c) -- link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS}) -- target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${PROJECT_SOURCE_DIR}/libcurl/build.bcu/lib/libcurl.a -lpthread -lssl -lcrypto -lm) -- execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR} -- COMMAND ${PROJECT_SOURCE_DIR}/build_libs.sh ${PROJECT_SOURCE_DIR}) -+ link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS} ${LIBCURL_LIBRARY_DIRS}) -+ target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${LIBCURL_LIBRARIES} -lpthread -lm) -+ execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR}) - install(TARGETS bcu DESTINATION bin) - elseif (MACOS) - add_executable(bcu_mac bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c) diff --git a/meta-oe/recipes-support/bcu/bcu/0001-Fix-error-on-ubuntu-25-builds.patch b/meta-oe/recipes-support/bcu/bcu/0001-Fix-error-on-ubuntu-25-builds.patch new file mode 100644 index 0000000000..53ea3e74cb --- /dev/null +++ b/meta-oe/recipes-support/bcu/bcu/0001-Fix-error-on-ubuntu-25-builds.patch @@ -0,0 +1,40 @@ +From 6ee0a2792ac66f6beb7c9082e3441b3fd4a96a5d Mon Sep 17 00:00:00 2001 +From: Costin Constantin +Date: Mon, 12 Oct 2026 13:17:40 +0300 +Subject: [PATCH] Fix error on ubuntu 25+ builds +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fix building on versions of Ubuntu greater than 25.04. +The following error is encountered: +bcu.c:930:41: error: passing argument 1 of ‘free_device_linkedlist_backward’ +from incompatible pointer type [-Wincompatible-pointer-types] + +Signed-off-by: Costin Constantin +Upstream-Status: Backport [https://github.com/nxp-imx/bcu/commit/6ee0a2792ac66f6beb7c9082e3441b3fd4a96a5d] +Signed-off-by: Khem Raj +--- + bcu.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/bcu.c b/bcu.c +index d4219fb..bd8c2f1 100644 +--- a/bcu.c ++++ b/bcu.c +@@ -1,5 +1,5 @@ + /* +-* Copyright 2019-2021 NXP. ++* Copyright 2019-2026 NXP. + * + * Redistribution and use in source and binary forms, with or without modification, + * are permitted provided that the following conditions are met: +@@ -927,7 +927,7 @@ static void set_eeprom_boot_mode(struct options_setting* setting) + if (board->boot_configs[j].name == NULL) { + printf("set_boot_mode: No correct boot configuration provided for boot_mode %s!\n", board->boot_modes[i].name); + } +- free_device_linkedlist_backward(end_point); ++ free_device_linkedlist_backward(&end_point->device); + } + + static void set_boot_mode(struct options_setting* setting) diff --git a/meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch b/meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch index d8d05eb794..8d4d7b45c8 100644 --- a/meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch +++ b/meta-oe/recipes-support/bcu/bcu/0001-create_version_h.sh-Add-a-shebang.patch @@ -1,18 +1,20 @@ -From 5cf6653144fe9b3dcb892f40cb919d4536711a5a Mon Sep 17 00:00:00 2001 +From 6c6767f5ea8db86370c53174dec3b3067a7be449 Mon Sep 17 00:00:00 2001 From: Khem Raj -Date: Mon, 23 Nov 2026 19:28:03 -0800 +Date: Tue, 24 Nov 2026 19:51:05 -0800 Subject: [PATCH] create_version_h.sh: Add a shebang CMake runs this script directly through execute_process(). Without a -"#!" line the kernel cannot execute it, and CMake 4.5 reports -"exec format error" and carries on, so version.h is never created -and the build fails with: +"#!" line the kernel cannot execute it, and CMake 4.x reports +"exec format error" and carries on, so version.h is never created and +the build fails with: - bcu.c:58:10: fatal error: 'version.h' file not found + bcu.c:61:10: fatal error: version.h: No such file or directory -Add a /bin/sh shebang so the script can be run directly. +Add a /bin/sh shebang so the script can be run directly, as the macOS +path already does by running it through sh. Tested with CMake 4.5.1 on +Linux: version.h is generated and bcu builds. -Upstream-Status: Pending +Upstream-Status: Submitted [https://github.com/nxp-imx/bcu/pull/42] AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- @@ -20,11 +22,11 @@ Signed-off-by: Khem Raj 1 file changed, 1 insertion(+) diff --git a/create_version_h.sh b/create_version_h.sh -index e777359..0b6ed65 100755 +index c3f86f7..ac688dc 100755 --- a/create_version_h.sh +++ b/create_version_h.sh @@ -1,3 +1,4 @@ +#!/bin/sh echo creating ${1}/version.h - if [ "${APPVEYOR_BUILD_VERSION}" = "" ]; + if [ "${CI_BUILD_VERSION}" = "" ]; diff --git a/meta-oe/recipes-support/bcu/bcu_1.2.1.bb b/meta-oe/recipes-support/bcu/bcu_1.1.131.bb similarity index 60% rename from meta-oe/recipes-support/bcu/bcu_1.2.1.bb rename to meta-oe/recipes-support/bcu/bcu_1.1.131.bb index 3a1e80ece5..ab7fcd18e2 100644 --- a/meta-oe/recipes-support/bcu/bcu_1.2.1.bb +++ b/meta-oe/recipes-support/bcu/bcu_1.1.131.bb @@ -9,20 +9,18 @@ SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=884d48c2aa7b82e1ad4a33909fab24b6" -SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;nobranch=1;tag=${BPN}_${PV} \ - file://0001-CMakeLists-do-not-use-vendored-libcurl.patch \ +SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;branch=master;tag=${BPN}_${PV} \ + file://0001-Fix-error-on-ubuntu-25-builds.patch \ file://0001-create_version_h.sh-Add-a-shebang.patch \ " -SRCREV = "1c79dcf115bcf2c8ad632dadbc749c5e25c52cb1" +SRCREV = "a6625496b140e9e7a738c59e75bb163d3edd6f09" -UPSTREAM_CHECK_GITTAGREGEX = "^bcu_(?P\d+(\.\d+)+)$" +# bcu_1.2.1 is a stray 2023 tag outside master; releases are 1.1.x +PE = "1" +UPSTREAM_CHECK_GITTAGREGEX = "^bcu_(?P1\.1\.\d+)$" - -DEPENDS = "curl libyaml libusb1 openssl libftdi" +DEPENDS = "libyaml libusb1 libftdi" inherit cmake pkgconfig -# CMakeLists.txt still declares cmake_minimum_required(VERSION 3.4) -EXTRA_OECMAKE += "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" - BBCLASSEXTEND = "native nativesdk"