All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Joshua Watt <jpewhacker@gmail.com>, bitbake-devel@lists.openembedded.org
Subject: Re: [bitbake-devel][PATCH] cooker: Handle ImportError for websockets
Date: Tue, 25 Feb 2025 10:52:14 +0000	[thread overview]
Message-ID: <bdc5729820853195b796dc21444eadee95c8c0c2.camel@linuxfoundation.org> (raw)
In-Reply-To: <CANNYZj9nsLOLGMoH9WykwuETM7U5wen-KWbqFnPSVgN--U_Yag@mail.gmail.com>

On Tue, 2025-02-25 at 11:40 +0100, Alexander Kanavin wrote:
> On Tue, 25 Feb 2025 at 11:11, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> 
> > So whilst I do see your point, we do have to draw a line somewhere and
> > I'm not convinced always using buildtools is the right one as a
> > default, particularly if we want every day developers using the tool
> > too (which we do).
> 
> I'm no longer proposing always using buildtools by default. The point
> of my message was something else: should we direct bitbake-setup users
> to buildtools if they get a fail that can be addressed with them, and
> if so, how? I'm pretty sure a lot of first timers are going to get the
> 'missing python websockets module' problem, and they will find a hint
> about buildtools helpful  (and something that is already installed and
> ready to run even more so). I'd rather think about it now, and not
> when bitbake-setup, standard configs and associated CDN sstate cache
> go 'live'.
> 
> There were several options proposed in my previous message, and they
> were all skipped in response :(

I'd stand by the idea what failure messages should be good in general
and standalone. We have worked on sanity.bbclass in the past to try and
ensure that the messages are understandable and give pointers to users.

What might be missing is documentation in the quick build docs saying
"if you run into host problems, you could use buildtools?"

Perhaps if sanity.bbclass is failing the build, there could be a
message in there mentioning buildtools as possibly helping/

Could bitbake-setup actually run the sanity tests before the build and
wrap the result with a message about buildtools?

Cheers,

Richard


  reply	other threads:[~2025-02-25 10:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-02 18:35 [bitbake-devel][PATCH] cooker: Handle ImportError for websockets Joshua Watt
2025-02-20 16:05 ` Alexander Kanavin
2025-02-21  9:16   ` Richard Purdie
2025-02-21 16:07     ` Joshua Watt
2025-02-25  8:22       ` Alexander Kanavin
2025-02-25 10:11         ` Richard Purdie
2025-02-25 10:40           ` Alexander Kanavin
2025-02-25 10:52             ` Richard Purdie [this message]
2025-02-25 11:48               ` Alexander Kanavin
     [not found] ` <1825F6393BB749ED.25123@lists.openembedded.org>
2025-02-21  9:11   ` Alexander Kanavin
2025-02-21  9:14     ` Richard Purdie
2025-02-21 12:18       ` Alexander Kanavin

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=bdc5729820853195b796dc21444eadee95c8c0c2.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=alex.kanavin@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=jpewhacker@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.