Openembedded Bitbake Development
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <ticotimo@gmail.com>, <bitbake-devel@lists.openembedded.org>
Cc: "Tim Orling" <tim.orling@konsulko.com>,
	"Richard Purdie" <richard.purdie@linuxfoundation.org>
Subject: Re: [bitbake-devel] [PATCH v2 2/2] cookerdata: error on duplicate BBPATH entries
Date: Mon, 02 Nov 2026 08:46:04 +0100	[thread overview]
Message-ID: <DMKK3X9KC5EO.2YRVJLSC8NNPN@bootlin.com> (raw)
In-Reply-To: <20261026002048.86208-3-tim.orling@konsulko.com>

On Mon Oct 26, 2026 at 1:20 AM CET, Tim Orling via lists.openembedded.org wrote:
> A directory listed more than once in BBPATH makes include_all apply the
> same file repeatedly. Fail once the layer configuration is parsed, so
> the error points at the configuration rather than surfacing later as
> duplicate inclusion warnings. Paths are compared after resolving them,
> and empty entries are ignored.
>
> Tested with bitbake-selftest and an oe-core tinfoil config parse.
>
> Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> AI-Generated: Uses Claude Code (Claude Opus 5.5)
> Signed-off-by: Tim Orling <tim.orling@konsulko.com>
> ---

Hi Tim,

I just note this patch is sometimes finding duplicate entries on the
autobuilder: I opened a bug for this.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=16481

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


      reply	other threads:[~2026-11-02  7:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19  2:04 [PATCH] parse: only search each BBPATH directory once in include_all Tim Orling
2026-10-19 16:12 ` [bitbake-devel] " Ross Burton
2026-10-20 12:30   ` Richard Purdie
2026-10-20 12:33     ` Ross Burton
2026-10-20 12:46       ` Richard Purdie
2026-10-20 12:32 ` Richard Purdie
2026-10-26  0:20 ` [PATCH v2 0/2] Handle duplicate BBPATH entries Tim Orling
2026-10-26  0:20 ` [PATCH v2 1/2] parse: only search each BBPATH directory once in include_all Tim Orling
2026-10-26  0:20 ` [PATCH v2 2/2] cookerdata: error on duplicate BBPATH entries Tim Orling
2026-11-02  7:46   ` Mathieu Dubois-Briand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DMKK3X9KC5EO.2YRVJLSC8NNPN@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=ticotimo@gmail.com \
    --cc=tim.orling@konsulko.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox