From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7633DCC6B39 for ; Thu, 15 Oct 2026 08:58:33 +0000 (UTC) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.35324.1792054711130268067 for ; Thu, 15 Oct 2026 01:58:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=FovxBNuB; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.52, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4a02718da81so40086585e9.1 for ; Thu, 15 Oct 2026 01:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1792054709; x=1792659509; darn=lists.yoctoproject.org; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to:content-type; bh=60tDC3+nHLRJo6a9aMzE0GDdGGCgpbqW0tTFylI4gjs=; b=FovxBNuBSb8RmOq7EnMWCBQygorWazoikr5w5havyLgDhHh6n5H7JhZhuOJ4/Neu/F 7IKq5KYw+scG4QazD2U8zgaU/uwBARToV976r4gKiL5qC/74uCzQYn3B4u7+GD9FKuKv rsFMHICcEBoSHuUoD1A05Ha31NpAfwZz92x7Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792054709; x=1792659509; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:re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o0/NMbD9fnLEKmYPDpeP31dHsCFUM 8uRLMWSVqLIZhYp/UmLgKGBRM4KHsuOSrovcTcscMIWu8s5OZJGPOl7uziFIapO70WcRiNqKr+P 3HQOeP3s+xfNkrCelBzx6/8xPlizTAeeVQCpijh0xWgX43HHzbopB9QSIKvTkc= X-Received: by 2002:a05:600c:8b09:b0:49c:c0d4:53d9 with SMTP id 5b1f17b1804b1-4a18e4a95b7mr398190995e9.14.1792054709143; Thu, 15 Oct 2026 01:58:29 -0700 (PDT) Received: from ?IPv6:2001:8b0:aba:5f3c:8627:1727:8a8a:57f5? ([2001:8b0:aba:5f3c:8627:1727:8a8a:57f5]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a1bd97ef4dsm61569165e9.4.2026.10.15.01.58.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2026 01:58:28 -0700 (PDT) Message-ID: <5d6d74ea44bf61549823ccde83e4c4ed1e274dc4.camel@linuxfoundation.org> Subject: Re: [bitbake-devel] [PATCH 3/4] knotty: convert warnings to errors when -W is passed From: Richard Purdie To: antonin.godard@bootlin.com, bitbake-devel@lists.openembedded.org Cc: Thomas Petazzoni , docs@lists.yoctoproject.org Date: Thu, 15 Oct 2026 09:58:27 +0100 In-Reply-To: <20261013-warn-as-errors-v1-3-ab3658758ceb@bootlin.com> References: <20261013-warn-as-errors-v1-0-ab3658758ceb@bootlin.com> <20261013-warn-as-errors-v1-3-ab3658758ceb@bootlin.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-9 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 Oct 2026 08:58:33 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10673 On Tue, 2026-10-13 at 14:13 +0200, Antonin Godard via lists.openembedded.or= g wrote: > When -W is passed, modify the handlers to show warnings in red and set > the return value to 1. Add a summary line informing the user that the -W > option was used as it might not be obvious when looking at the bottom > the end of the console log. The trouble is this doesn't make warnings behave exactly as errors and I think that is going to confuse people :/. Specifically, if an error is encountered in a task, it will error and fail. The warning will show an error but continue anyway. I also suspect the warnings will still show as warnings in the log files and only appear as errors on the console. Cheers, Richard