Xi Ruoyao wrote:
> > > It can be worked around with
> > > ac_cv_func_posix_spawn_file_actions_addchdir=yes (which basically tells
> > > the configure system we have a posix_spawn_file_actions_addchdir, some
> > > kind of a "fact" with glibc 2.44).
> > >
> > > Thoughts on fix this?
> >
> > Does the attached patch work?
>
> Works for me for building m4 and gettext with the shipped
> posix_spawn_faction_addchdir.m4 file patched. I think I've not
> encountered posix_spawn_faction_addfchdir.m4 yet.
Thanks for the confirmation.
Since some distros already start to include Collin's workaround [1],
I'm committing it now (with added comments).
Still, it's important to fix it on the glibc side, because
- of the impact on glibc bindings (as stated in [2]),
- we don't want to make new releases of GNU m4, GNU gettext, GNU bison,
GNU recutils, GNU wget, GNU wget2, just because of this.
Bruno
[1] https://src.fedoraproject.org/rpms/gettext/pull-request/42
[2] https://lists.gnu.org/archive/html/bug-gnulib/2026-07/msg00188.html