Re: fedora 42 doesn't have awk: how to deal with autoconf subst?

Bruce Dubbs <[email protected]> Thu, 17 Apr 2025 10:37:43 -0500
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
On 4/17/25 8:51 AM, Eric Blake wrote:
> On Thu, Apr 17, 2025 at 08:31:08AM +0200, Simon Josefsson via Gnulib discussion list wrote:
>> Hi
>>
>> I got a CI/CD build failure [1] for libidn on the new release fedora 42.
> 
> It's not just Fedora 42; OpenSUSE did the same back in last August:
> https://gitlab.com/libvirt/libvirt-ci/-/merge_requests/425
> https://bugzilla.suse.com/show_bug.cgi?id=1214365#c6
> 
> I wonder if distros that provide shortcuts for setting up a devel
> environment (such as installing gcc, make, etc) should make sure awk
> is part of that common devel environment.  But yeah, we are now at the
> point where it is no longer reasonable to assume that awk is available
> on every bare-bones distro, and so we either need to tweak autoconf to
> avoid awk (hard) or to at least alert the user that their environment
> is too bare-bones, and they need to adjust their CI setup to install
> just a bit more.

This is what we use at LFS to build a fairly complete system:

   https://www.linuxfromscratch.org/lfs/view/stable/chapter02/hostreqs.html

We try to work with standards even though some are not updated any more:

   https://www.linuxfromscratch.org/lfs/view/stable/prologue/standards.html

I'll note that we don't need autotools to start, but we do build them.

   -- Bruce Dubbs
      LFS