From patchwork Mon Nov 30 06:42:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Murray X-Patchwork-Id: 106367 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.27175.1796021022797676785 for ; Sun, 29 Nov 2026 22:43:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=nZYQ+eJR; spf=pass (domain: konsulko.com, ip: 209.85.221.48, mailfrom: scott.murray@konsulko.com) Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-497614c95f0so5594008f8f.1 for ; Sun, 29 Nov 2026 22:43:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1796021021; x=1796625821; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=dUHL93PWLS1fD0a3o9HpzyFrtBqc6eP71RMz7DZ2D9g=; b=nZYQ+eJRR0xrjEwSstYaORF9uFVVMLW1y05BUXtNJmuNvEcdSpnlOETmYwNCztsxHU m0oyrc+Pwg2vXaAFLkKjQvn+V9rHkWvS3C2LC5jHpcW2Gig0z9qcNSWouVU3FXyZGOMm IVknZxG7Oj5IS1TDn6yVUSkhUIImDV5ZABUd0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796021021; x=1796625821; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=dUHL93PWLS1fD0a3o9HpzyFrtBqc6eP71RMz7DZ2D9g=; b=Zr0QIpaTtLs7NiwXzlAQWk637LDQ15rjaeMtS9eUTK4+JL5EvzTSXu+HxDJrlIjiVu JNFKUCT25Atly4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SeF9tuOXj8XhWAmbQUPV69m GqEGRmH+AAeZtgdvUp43KIRtQ253oig== X-Received: by 2002:a05:6000:4a03:b0:4ae:f6b2:9fa4 with SMTP id ffacd0b85a97d-4aef6b2a3b1mr51460811f8f.47.1796021020949; Sun, 29 Nov 2026 22:43:40 -0800 (PST) Return-Path: Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab65cb41f4sm60434756f8f.7.2026.11.29.22.43.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 22:43:40 -0800 (PST) From: Scott Murray To: yocto-patches@lists.yoctoproject.org Subject: [meta-security][scarthgap][PATCH 14/27] suricata: drop oe_cargo_build usage Date: Mon, 30 Nov 2026 08:42:59 +0200 Message-ID: X-Mailer: git-send-email 2.47.3 In-Reply-To: References: 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 ; Mon, 30 Nov 2026 06:43:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/5612 Accommodate removal of oe_cargo_build function in oe-core commit a64ac03a61 by renaming our local override to cargo_do_compile to get the same effect. This allows building with the wrynose/rust mixin layer. Signed-off-by: Scott Murray --- recipes-ids/suricata/suricata_8.0.8.bb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/recipes-ids/suricata/suricata_8.0.8.bb b/recipes-ids/suricata/suricata_8.0.8.bb index 0206e14..749cf2b 100644 --- a/recipes-ids/suricata/suricata_8.0.8.bb +++ b/recipes-ids/suricata/suricata_8.0.8.bb @@ -86,12 +86,17 @@ CFLAGS += "-Wno-error=incompatible-pointer-types \ # breaks building this recipe. Providing a copy of the original function # Armin 2025/04/01 # -oe_cargo_build () { +# 08/2026 note - oe_cargo_build function inlined into cargo_do_compile +# upstream in openembedded-core commit a64ac03a61, handle by renaming +# our forked function to cargo_do_compile to override it directly. +# This still works since before a64ac03a61 cargo_do_compile did nothing +# but call oe_cargo_build. +cargo_do_compile () { export RUSTFLAGS="${RUSTFLAGS}" bbnote "Using rust targets from ${RUST_TARGET_PATH}" bbnote "cargo = $(which ${CARGO})" - bbnote "${CARGO} build ${CARGO_BUILD_FLAGS}$@" - "${CARGO}" build ${CARGO_BUILD_FLAGS}"$@" + bbnote "${CARGO} build ${CARGO_BUILD_FLAGS} $@" + "${CARGO}" build ${CARGO_BUILD_FLAGS} "$@" } do_compile () {