Seen in build.log of app-editors/emacs-29.3-r1: checking type of array argument to getgroups... ./configure: line 34171: test: =: unary operator expected gid_t AFAICS the culprit is in line 271 of lib/autoconf/types.m4: AS_IF([test $ac_cv_type_gid_t = no], This fails when $ac_cv_type_gid_t is empty.
It's nuanced, actually! Please check out the https://lists.gnu.org/archive/html/autoconf-patches/2024-02/msg00000.html thread.
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e34ebc0ccc6c27e7e1217baad9ca74dd7bea4c37
Thanks for the pointer. I'm going to backport that fix, eventually. (Probably together with the patch for bug 930086.)
Thanks. Also, sorry, normally, I would give you a heads up about something affecting a package of yours, but I assumed Paul was just going to backport it to 29 and then no point worrying about it, but that didn't happen.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/emacs-patches.git/commit/?id=7fb4448355df1d5c0c4cb9eef58fac4c91397f6c commit 7fb4448355df1d5c0c4cb9eef58fac4c91397f6c Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2024-04-23 19:46:23 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2024-04-23 19:46:23 +0000 26.3, 27.2, 28.2, 29.3: Compatibility fix for autoconf-2.72 Bug: https://bugs.gentoo.org/930502 Signed-off-by: Ulrich Müller <ulm@gentoo.org> emacs/26.3/09_all_autoconf-2.72.patch | 24 ++++++++++++++++++++++++ emacs/27.2/11_all_autoconf-2.72.patch | 24 ++++++++++++++++++++++++ emacs/28.2/13_all_autoconf-2.72.patch | 24 ++++++++++++++++++++++++ emacs/29.3/03_all_autoconf-2.72.patch | 24 ++++++++++++++++++++++++ 4 files changed, 96 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f209f6283f44692afafea6933296fb65730bd465 commit f209f6283f44692afafea6933296fb65730bd465 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2024-04-23 20:08:32 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2024-04-23 20:10:06 +0000 app-editors/emacs: Fix build with mksh, fix for autoconf-2.72 Closes: https://bugs.gentoo.org/930502 Closes: https://bugs.gentoo.org/930086 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/emacs/Manifest | 4 + app-editors/emacs/emacs-26.3-r18.ebuild | 379 +++++++++++++++++++ app-editors/emacs/emacs-27.2-r16.ebuild | 445 +++++++++++++++++++++++ app-editors/emacs/emacs-28.2-r12.ebuild | 540 +++++++++++++++++++++++++++ app-editors/emacs/emacs-29.3-r2.ebuild | 627 ++++++++++++++++++++++++++++++++ 5 files changed, 1995 insertions(+)