From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Adam Duskett <adam.duskett@amarulasolutions.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3 01/10] package/wlroots: add hwdata and hwdata_pnp_ids as a dependency
Date: Fri, 22 Dec 2023 09:19:43 +0100 [thread overview]
Message-ID: <20231222091943.10f60c34@windsurf> (raw)
In-Reply-To: <CAHDQB6MUTQT4ebnxowo_7+DFVjA5wRY1O6hA_pK6N2d-cR-cRw@mail.gmail.com>
Hello Adam,
On Thu, 21 Dec 2023 07:43:37 -0700
Adam Duskett <adam.duskett@amarulasolutions.com> wrote:
> > > hwdata = dependency('hwdata', required: false, native: true)
> > > if hwdata.found()
> > > hwdata_dir = hwdata.get_variable(pkgconfig: 'pkgdatadir')
> > > pnp_ids = files(hwdata_dir / 'pnp.ids')
> > > else
> > > pnp_ids = files('/usr/share/hwdata/pnp.ids')
> > > endif
> >
> > But does that mean they are actually used, unconditionally, by wlroots?
> > Yes, this sets a path in meson, and then? Yes, they *might* be used,
> > but how mandatory are those pnp.ids?
> >
> The build fails without hwdata and the pnp ids.
Then please mention this in the commit log, with the error message.
This sort of detail should really be part of all your commit messages.
Each time you write a commit message, you should ask yourself "what
will the person reviewing this patch, who hasn't looked into the issue
I'm trying to solve, would need to know to understand the issue and be
convinced that my patch is the correct fix".
Also, if there is a build failure, is the build failure visible in our
autobuilders? If yes, please add a reference. If not, please say so in
the commit log. According to
http://autobuild.buildroot.net/?reason=wlroots% it seems like we didn't
catch this error. Why? Does it happen only under very specific
circumstances?
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2023-12-22 8:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-21 0:19 [Buildroot] [PATCH v3 01/10] package/wlroots: add hwdata and hwdata_pnp_ids as a dependency Adam Duskett
2023-12-21 0:19 ` [Buildroot] [PATCH v3 02/10] package/dmenu-wayland: new package Adam Duskett
2023-12-21 8:33 ` Thomas Petazzoni via buildroot
2023-12-21 0:19 ` [Buildroot] [PATCH v3 03/10] package/foot: " Adam Duskett
2023-12-21 0:19 ` [Buildroot] [PATCH v3 04/10] package/ncurses: install foot terminfo if foot is selected Adam Duskett
2023-12-21 0:19 ` [Buildroot] [PATCH v3 05/10] package/sway: enable bash-completion support Adam Duskett
2023-12-21 0:19 ` [Buildroot] [PATCH v3 06/10] package/sway: enable default-wallpaper support Adam Duskett
2023-12-21 8:35 ` Thomas Petazzoni via buildroot
2023-12-21 14:40 ` Adam Duskett
2023-12-21 0:19 ` [Buildroot] [PATCH v3 07/10] package/sway: enable swaybar support Adam Duskett
2023-12-21 0:19 ` [Buildroot] [PATCH v3 08/10] package/sway: enable swaybar tray support Adam Duskett
2023-12-21 0:19 ` [Buildroot] [PATCH v3 09/10] package/sway: enable swaynag support Adam Duskett
2023-12-21 0:19 ` [Buildroot] [PATCH v3 10/10] package/sway/Config.in: Add a help note about the default terminal Adam Duskett
2023-12-21 8:31 ` [Buildroot] [PATCH v3 01/10] package/wlroots: add hwdata and hwdata_pnp_ids as a dependency Thomas Petazzoni via buildroot
2023-12-21 14:43 ` Adam Duskett
2023-12-22 8:19 ` Thomas Petazzoni via buildroot [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=20231222091943.10f60c34@windsurf \
--to=buildroot@buildroot.org \
--cc=adam.duskett@amarulasolutions.com \
--cc=thomas.petazzoni@bootlin.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