GNU bug report logs - #59460
29.0.50; Build failure because of bashism in configure.ac (tree-sitter)

Previous Next

Package: emacs;

Reported by: Sam James <sam <at> gentoo.org>

Date: Mon, 21 Nov 2022 22:03:02 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 59460-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Sam James <sam <at> gentoo.org>
Cc: 59460-done <at> debbugs.gnu.org
Subject: Re: bug#59460: 29.0.50;
 Build failure because of bashism in configure.ac (tree-sitter)
Date: Tue, 22 Nov 2022 14:48:18 +0200
> From: Sam James <sam <at> gentoo.org>
> Date: Mon, 21 Nov 2022 21:58:45 +0000
> 
> Emacs fails to build from master at commit `` with the following error:
> ```
> checking for tree-sitter >= 0.20.2... no
> checking for tree-sitter >= 0.6.3... yes
> checking for ts_set_allocator... yes
> ./configure: 16142: test: yes: unexpected operator
> configure: error: Tree-sitter library exists but its version is too old
> 
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/app-editors/emacs-29.0.9999/work/emacs/config.log
>  * ERROR: app-editors/emacs-29.0.9999::gentoo failed (configure phase):
>   *   econf failed
> ```
> 
> My /bin/sh is dash (POSIX compliant, not bash).
> 
> I've attached the logs for completeness, but the '==' in the
> configure.ac test should become '='.

Thanks, I installed the patch.




This bug report was last modified 2 years and 274 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.