From 627c9c4781c1e96e5aa1dca6560b621e500e9088 Mon Sep 17 00:00:00 2001 From: FlameFlag Date: Sun, 19 Apr 2026 13:03:12 +0300 Subject: [PATCH] gss: fix Darwin build by pinning autoconf269 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: https://github.com/NixOS/nixpkgs/issues/511329 --- pkgs/by-name/gs/gss/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gs/gss/package.nix b/pkgs/by-name/gs/gss/package.nix index cfec67533056..86417ff8ac97 100644 --- a/pkgs/by-name/gs/gss/package.nix +++ b/pkgs/by-name/gs/gss/package.nix @@ -2,7 +2,7 @@ lib, stdenv, fetchzip, - autoconf, + autoconf269, automake, gengetopt, gettext, @@ -47,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: { ''; nativeBuildInputs = [ - autoconf + autoconf269 automake gengetopt gettext