Repository navigation
gss: fix Darwin build by pinning autoconf269 - #511361
Conversation
The autoconf 2.73 update on staging-next broke gnulib's stdint.h
generation: the `GNULIBHEADERS_OVERRIDE_WINT_T` AC_SUBST variable ends
up empty in the generated Makefile, so sed substitutes it as the empty
string in `stdint.h` line 89 (from `stdint.in.h` line 88, plus the one
`DO NOT EDIT` header line the generator prepends), producing a bare
`#if` that fails to parse:
In file included from strverscmp.c:25:
./stdint.h:89:5: error: expected value in expression
89 | #if
| ^
Template line:
https://github.com/coreutils/gnulib/blob/0a01f6737dc5666c730bdfe6a038da53a4156cc2/lib/stdint.in.h#L88
A `CFLAGS=-std=gnu17` pin does not help: autoconf still reports C11
features as "none needed" (same as the previously-succeeding autoconf
2.72 build), yet the substitution is still empty
The nixpkgs gnulib pin (2024-10-01) is too old for this autoconf
Refs: NixOS#511329
|
|
Ah, I've seen this before for musl. Upstream needs to update their vendored gnulib code. |
|
Have you tried the latest upstream commit? |
|
No, but I'll give it a try |
|
I just tried Digging into the configure log, the substitution breaks before any compilation. With autoconf 2.72, The second expansion prints So for |
|
Alright, probably still too outdated then. Let's just pin autoconf.
|
a4853c6
If anyone has better idea please let me know and I'll do it, otherwise this should do?
The autoconf 2.73 update on staging-next broke gnulib's stdint.h
generation: the
GNULIBHEADERS_OVERRIDE_WINT_TAC_SUBST variable endsup empty in the generated Makefile, so sed substitutes it as the empty
string in
stdint.hline 89 (fromstdint.in.hline 88, plus the oneDO NOT EDITheader line the generator prepends), producing a bare#ifthat fails to parse:Template line:
https://github.com/coreutils/gnulib/blob/0a01f6737dc5666c730bdfe6a038da53a4156cc2/lib/stdint.in.h#L88
A
CFLAGS=-std=gnu17pin does not help: autoconf still reports C11features as "none needed" (same as the previously-succeeding autoconf
2.72 build), yet the substitution is still empty
The nixpkgs gnulib pin (2024-10-01) is too old for this autoconf
Refs: #511329
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.