commit: bff7bb77cc9d7f8219c95a8e6a35459fec2b458a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 9 06:13:53 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 9 06:13:53 2024 +0000
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=bff7bb77
wrappers: mipsel-linux-gnu: fix ac_cv_type_uid_t cache value
Reported by matoro when building coreutils for mipsel-unknown-linux-gnu. If
autoconf-2.72 is used, apparently this shows up, and the coreutils-9.4 dist
tarball was indeed built with it...
The symptoms are similar to bug #885485 but it's a different cause -- we
were exporting a dodgy cache value with a missing '$':
```
configure:14771: checking for uid_t
configure:14771: result: {ac_cv_type_uid_t=yes}
```
```
ac_cv_type_uid_t='{ac_cv_type_uid_t=yes}'
```
```
$ rg ac_cv_type_uid_t
wrappers/site/mipsel-linux-gnu:115:ac_cv_type_uid_t={ac_cv_type_uid_t=yes}
```
Bug: https://bugs.gentoo.org/885485
Signed-off-by: Sam James <sam <AT> gentoo.org>
wrappers/site/mipsel-linux-gnu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wrappers/site/mipsel-linux-gnu b/wrappers/site/mipsel-linux-gnu
index 7ecdba1..c96fad1 100644
--- a/wrappers/site/mipsel-linux-gnu
+++ b/wrappers/site/mipsel-linux-gnu
@@ -112,7 +112,7 @@ mono_cv_uscore=${mono_cv_uscore=no}
ac_cv_have_decl_sys_siglist=${ac_cv_have_decl_sys_siglist=no}
ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
ac_cv_func_memcmp_working=${ac_cv_func_memcmp_working=yes}
-ac_cv_type_uid_t={ac_cv_type_uid_t=yes}
+ac_cv_type_uid_t=${ac_cv_type_uid_t=yes}
# bash
bash_cv_under_sys_siglist=${bash_cv_under_sys_siglist=no}