From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Khem Raj <raj.khem@gmail.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [bitbake-devel] [PATCH 1/3] BBHandler: Allow earlier exit for classes not found
Date: Wed, 10 Aug 2022 17:19:25 +0100 [thread overview]
Message-ID: <e37b5612a36eaebe3ac3aa93f36ebe9bcda3861d.camel@linuxfoundation.org> (raw)
In-Reply-To: <CAMKF1sq8xAqD-yzEkV67yDPs3yoeQ86ygHKXoLHbp0Go2n=kWQ@mail.gmail.com>
On Wed, 2022-08-10 at 08:55 -0700, Khem Raj wrote:
> I seeing
>
> % bitbake binutils
> WARNING: ['base', 'sanity-meta-odroid-extras', 'clang',
> 'report-error', 'image-buildinfo', 'package_ipk', 'buildhistory',
> 'buildstats', 'buildstats-summary', 'debian', 'devshell', 'sstate',
> 'license', 'remove-libtool', 'sanity']
> ERROR: ParseError at
> /mnt/b/yoe/master/sources/openembedded-core/meta/classes/buildhistory.bbclass:10:
> Could not inherit file classes/image-artifact-names.bbclass
I think we need something like:
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 4345ffc6939..203310ba975 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -7,7 +7,7 @@
# Copyright (C) 2007-2011 Koen Kooi <koen@openembedded.org>
#
-inherit image-artifact-names
+IMAGE_CLASSES += "image-artifact-names"
BUILDHISTORY_FEATURES ?= "image package sdk"
BUILDHISTORY_DIR ?= "${TOPDIR}/buildhistory"
Does that help?
I need to remove that warning too! Although it does help debugging right now.
Cheers,
Richard
next prev parent reply other threads:[~2022-08-10 16:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-10 13:43 [PATCH 1/3] BBHandler: Allow earlier exit for classes not found Richard Purdie
2022-08-10 13:43 ` [PATCH 2/3] BBHandler: Make inherit calls more directly Richard Purdie
2022-08-10 13:43 ` [PATCH 3/3] BBHandler/cooker: Implement recipe and global classes Richard Purdie
2022-08-10 15:55 ` [bitbake-devel] [PATCH 1/3] BBHandler: Allow earlier exit for classes not found Khem Raj
2022-08-10 16:19 ` Richard Purdie [this message]
2022-08-10 16:27 ` Christopher Larson
2022-08-10 16:34 ` 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=e37b5612a36eaebe3ac3aa93f36ebe9bcda3861d.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=raj.khem@gmail.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 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.