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

2025-04-17 Thread Bruno Haible via Bug reports for autoconf
Simon Josefsson wrote: > It seems awk is going away as a standard tool, and it is possible to > either fight that or just accept it. I don't think that the set of "standard tools" is shrinking. Rather, it's expanding. On OpenBSD for example, perl is installed by default. Similarly, Python is consi

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

2025-04-17 Thread Paul Eggert
On 2025-04-17 04:31, Simon Josefsson wrote: Paul Eggert writes: [ awk cat cmp cp diff echo expr false grep ls mkdir mv printf pwd rm rmdir sed sort test touch tr true Of those, I'm guessing awk, grep, sed and ls are the most complex. The 'diff' tool also stands out, and most of my packages b

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

2025-04-17 Thread Eli Schwartz
On 4/17/25 10:14 AM, Eric Blake wrote: > On Thu, Apr 17, 2025 at 02:28:36PM +0200, Bruno Haible via Bug reports for > autoconf wrote: >> Jeffrey Walton wrote: >>> Awk is a standard Posix utility: >>> . >> >> The newest POSIX is P

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

2025-04-17 Thread Bruno Haible via Bug reports for autoconf
Simon Josefsson wrote: > the docker container images (which are typically > used for CI) or the cloud images (which are typically used in Kubernetes > environments). I'm not sure there is a trend that container images for > OS's are growing, I think most distributions are actively trying to make >

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

2025-04-17 Thread Simon Josefsson via Bug reports for autoconf
Bruno Haible via Bug reports for autoconf writes: > Simon Josefsson wrote: >> It seems awk is going away as a standard tool, and it is possible to >> either fight that or just accept it. > > I don't think that the set of "standard tools" is shrinking. Rather, > it's expanding. On OpenBSD for exam

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

2025-04-17 Thread Simon Josefsson via Bug reports for autoconf
Bruno Haible via Bug reports for autoconf writes: > Simon Josefsson wrote: >> 0) Modify autoconf to continue to work in this situation without awk, >> replacing it with more POSIX shell or something else? > > Many years ago, Autoconf produced configure scripts that used 'sed' > for the job of

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

2025-04-17 Thread Bruno Haible via Bug reports for autoconf
Jeffrey Walton wrote: > Awk is a standard Posix utility: > . The newest POSIX is POSIX:2024. Update your URLs: . Bruno

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

2025-04-17 Thread Bruce Dubbs
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

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

2025-04-17 Thread Eric Blake
On Thu, Apr 17, 2025 at 02:28:36PM +0200, Bruno Haible via Bug reports for autoconf wrote: > Jeffrey Walton wrote: > > Awk is a standard Posix utility: > > . > > The newest POSIX is POSIX:2024. Update your URLs: >

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

2025-04-17 Thread Bruno Haible via Bug reports for autoconf
Simon Josefsson wrote: > 0) Modify autoconf to continue to work in this situation without awk, > replacing it with more POSIX shell or something else? Many years ago, Autoconf produced configure scripts that used 'sed' for the job of replacing the various @FOO@ occurrences in *.in files. When

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

2025-04-17 Thread Jeffrey Walton
On Thu, Apr 17, 2025 at 2:33 AM Simon Josefsson via Gnulib discussion list wrote: > > I got a CI/CD build failure [1] for libidn on the new release fedora 42. > > checking that generated files are newer than configure... done > configure: creating ./config.status > config.status: creating csharpco

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

2025-04-17 Thread Simon Josefsson via Bug reports for autoconf
Paul Eggert writes: > On 2025-04-16 23:31, Simon Josefsson via Bug reports for autoconf wrote: > >> I tried reading through the autoconf manual to see if 'awk' is a >> run-time dependency for running generated ./configure scripts > > It is a dependency, and the documentation should mention this

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

2025-04-17 Thread Paul Eggert
On 2025-04-16 23:31, Simon Josefsson via Bug reports for autoconf wrote: I tried reading through the autoconf manual to see if 'awk' is a run-time dependency for running generated ./configure scripts It is a dependency, and the documentation should mention this. I installed the attached patch