All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin Jansa" <Martin.Jansa@gmail.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: bitbake-devel <bitbake-devel@lists.openembedded.org>
Subject: Re: [bitbake-devel] [PATCH 1/4] bitbake: Switch to using new override syntax
Date: Fri, 30 Jul 2021 16:24:40 +0200	[thread overview]
Message-ID: <CA+chaQfGLE507bYOivb8XSYcNbm3ssHqEFCdgav5W4XYmgiXuA@mail.gmail.com> (raw)
In-Reply-To: <20210730134706.3360651-1-richard.purdie@linuxfoundation.org>

[-- Attachment #1: Type: text/plain, Size: 3441 bytes --]

On Fri, Jul 30, 2021 at 3:47 PM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> This change updates the datastore to use the new override syntax using
> colons instead of underscores exclusively. It is expected layers would
> have to be converted to work with bitbake after this change.
>
> Supporting mixed syntax isn't possible, it is only feasible to have
> one internal representation of overrides.
>
> Whilst we can't warn for every possible override that may be set in the
> old format, show errors for _append/_prepend/_remove since those should
> never be present.
>

Thanks!

Already helped me to catch few cases which weren't converted automatically
with the script:

 ERROR: meta-webosose/meta-webos/recipes-webos/com.webos.app.notification/
com.webos.app.notification.bb: Variable
webos_configure_manifest_comment_remover contains an operation using the
old override syntax. Please convert this layer/metadata before attempting
to use with a newer bitbake.
ERROR: meta-webosose/meta-webos/recipes-webos/libpmscore/libpmscore.bb:
Variable do_generate_toolchain_file_append contains an operation using the
old override syntax. Please convert this layer/metadata before attempting
to use with a newer bitbake.
ERROR: meta-webosose/meta-webos/recipes-webos/media-resource-calculator/
media-resource-calculator.bb: Variable do_generate_toolchain_file_append
contains an operation using the old override syntax. Please convert this
layer/metadata before attempting to use with a newer bitbake.
ERROR: meta-webosose/meta-webos/recipes-webos/com.webos.app.videoplayer/
com.webos.app.videoplayer.bb: Variable
webos_configure_manifest_comment_remover contains an operation using the
old override syntax. Please convert this layer/metadata before attempting
to use with a newer bitbake.
ERROR: meta-webosose/meta-webos/recipes-webos/jemalloc/jemalloc.bb:
Variable do_generate_toolchain_file_append contains an operation using the
old override syntax. Please convert this layer/metadata before attempting
to use with a newer bitbake.
ERROR: oe-core/meta/recipes-kernel/linux/linux-yocto_5.4.bb: Variable
do_deploy_links_append contains an operation using the old override syntax.
Please convert this layer/metadata before attempting to use with a newer
bitbake.
ERROR: meta-webosose/meta-webos/recipes-webos/videooutputd/
com.webos.service.videooutput.bb: Variable
do_generate_toolchain_file_append contains an operation using the old
override syntax. Please convert this layer/metadata before attempting to
use with a newer bitbake.
ERROR: Failed to parse recipe:
meta-webosose/meta-webos/recipes-webos/com.webos.app.notification/
com.webos.app.notification.bb
ERROR: meta-webosose/meta-webos/recipes-webos/com.webos.service.tts/
com.webos.service.tts.bb: Variable do_generate_toolchain_file_append
contains an operation using the old override syntax. Please convert this
layer/metadata before attempting to use with a newer bitbake.

The webos_configure_manifest_comment_remover is a false positive, but I
don't mind renaming it to something else (if it can confuse he regexp, then
person could get confused as well).

And the other 2 are real issues:

$ git grep do_generate_toolchain_file_append
meta-webos/classes/webos_cmake.bbclass:do_generate_toolchain_file_append() {
meta-webos/recipes-webos/db8/db8.bb:cmake_do_generate_toolchain_file_append()
{

[-- Attachment #2: Type: text/html, Size: 4388 bytes --]

  parent reply	other threads:[~2021-07-30 14:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-30 13:47 [PATCH 1/4] bitbake: Switch to using new override syntax Richard Purdie
2021-07-30 13:47 ` [PATCH 2/4] doc/lib: Update to use new override syntax containing colons Richard Purdie
2021-07-30 14:08   ` [bitbake-devel] " Quentin Schulz
2021-07-30 14:11     ` Richard Purdie
2021-08-02  9:17       ` Quentin Schulz
2021-07-30 13:47 ` [PATCH 3/4] doc/lib: Add fixes for issues missed by the automated conversion Richard Purdie
2021-07-30 14:11   ` [bitbake-devel] " Quentin Schulz
2021-07-30 14:12     ` Richard Purdie
2021-08-02 22:09   ` Quentin Schulz
2021-08-04  9:58     ` Richard Purdie
2021-07-30 13:47 ` [PATCH 4/4] bitbake: Update to version 1.51.1 Richard Purdie
2021-07-30 14:24 ` Martin Jansa [this message]
2021-07-30 14:36   ` [bitbake-devel] [PATCH 1/4] bitbake: Switch to using new override syntax Richard Purdie

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=CA+chaQfGLE507bYOivb8XSYcNbm3ssHqEFCdgav5W4XYmgiXuA@mail.gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.