From: yann.morin@orange.com
To: Marcus Hoffmann <buildroot@bubu1.eu>
Cc: Ricardo Martincoski <ricardo.martincoski@datacom.com.br>,
James Hilliard <james.hilliard1@gmail.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
buildroot@buildroot.org, Thomas Perale <thomas.perale@mind.be>
Subject: Re: [Buildroot] minimum system/coreutils requirements (was: support/download: add blake2b-256 hash support)
Date: Thu, 18 Jun 2026 16:59:59 +0200 [thread overview]
Message-ID: <ajQH75Zam4xELadz@yd-6wlzhs3> (raw)
In-Reply-To: <9b0c655b-ff65-4841-9390-43515fb06d56@bubu1.eu>
Marcus, James, All,
On 2026-06-18 16:04 +0200, Marcus Hoffmann spake thusly:
> On 6/18/26 07:51, yann.morin@orange.com wrote:
> > On 2026-06-17 11:42 -0600, James Hilliard spake thusly:
[--SNIP--]
> > b2sum was only introduced with coreutils 8.26, but we support running on
> > systems that have an older version: we already check that ln supports
> > --relative (introduced in 8.16) and that realpath exists (introduced in
> > 8.15).
>
> Coreutils 8.26 was released almost 10 years ago, 8.15 was released
> (slightly) over 14 years ago. I wonder at what point we can assume that
> having a version with the required functionality is a given. 10 years is not
> thaaat long ago in lts distro terms, I suppose, but even debian
> old-old-stable has b2sum already. I also wonder if buildroot actually fully
> works on a 10 or 15 year old system. Without known users or actual automatic
> tests being run it feels kind of weird to assume it does.
>
> Anyway, thoughts about this? Anyone got actual experience on running
> buildroot on these old systems? (I'm more on the side of running into
> breakage on the newest stuff on archlinux)
Thing is, either we clain we can run on such systems, and so we extend
the existing checks for those, or we don't claim so and we can drop the
tests.
But since we have the tests for ln --relative and realpath, we either
need to raise the requirement for coreutils on the host, or we also need
to test for b2sum. We can't test for ln -relative and realpath on one
hand, but not for b2sum on the other.
[--SNIP--]
> It's not super great though because if someone where to add a blake2b hash
> for a non-python package which then someone would try to build on an old
> distro it would still break, I think?
Sure, but then it would be a bug in Buildroot; as I said, a package that
adds a blake2 hash would have to have a dependency on
BR2_COREUTILS_HOST_DEPENDENCY.
Unless of course we decide to raise the bar to require at least
coreutils 8.26 or later... But since this is not currently the case, I
think it is easier to also check for b2sum for now...
> I guess I'd mostly like to know if this complexity is actually worth it and
> if we would want to at least define a minimum supported coreutils version
> which we could bump at some point to get rid of these checks again.
> Opinions?
Some people did complain in 2019-or-such that they were still running
with system dating from before 8.15 (released 2012, 7 years before), so
had issues with ln --relative and/or realpath. That makes for 14-year
old systems today; even entreprise-grade distros that are that old and
still in maintenance are few: RHEL 6, released 2011, got EOLed in 2024,
while RHEL 7 was released 2014 and will get EOLed in 2028...
In any case I was just pointing to a discrepancy betweeni how we handle
various tools provided by coreutils... Whatever the eventual outcome, I
don't care much, as long as it is homogeneous.
Regards,
Yann E. MORIN.
--
____________
.-----------------.--------------------: _ :------------------.
| Yann E. MORIN | Real-Time Embedded | __/ ) | /"\ ASCII RIBBON |
| | Software Designer | _/ - /' | \ / CAMPAIGN |
| +33 638.411.245 '--------------------: (_ `--, | X AGAINST |
| yann.morin (at) orange.com |_=" ,--' | / \ HTML MAIL |
'--------------------------------------:______/_____:------------------'
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-06-18 15:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-17 17:42 [Buildroot] [PATCH v2 1/3] support/download: add blake2b-256 hash support James Hilliard
2026-06-17 17:42 ` [Buildroot] [PATCH v2 2/3] package/pkg-python: derive PyPI site from blake2b-256 hash James Hilliard
2026-06-17 17:42 ` [Buildroot] [PATCH v2 3/3] package/python-async-timeout: use hash-based PyPI site James Hilliard
2026-06-18 5:51 ` [Buildroot] [PATCH v2 1/3] support/download: add blake2b-256 hash support yann.morin
2026-06-18 14:04 ` [Buildroot] minimum system/coreutils requirements (was: support/download: add blake2b-256 hash support) Marcus Hoffmann via buildroot
2026-06-18 14:27 ` [Buildroot] minimum system/coreutils requirements Peter Korsgaard
2026-06-18 14:59 ` yann.morin [this message]
2026-06-18 22:37 ` Marcus Hoffmann via buildroot
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=ajQH75Zam4xELadz@yd-6wlzhs3 \
--to=yann.morin@orange.com \
--cc=buildroot@bubu1.eu \
--cc=buildroot@buildroot.org \
--cc=james.hilliard1@gmail.com \
--cc=ricardo.martincoski@datacom.com.br \
--cc=thomas.perale@mind.be \
--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