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


View this message in rfc822 format

From: Sam James <sam <at> gentoo.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 59460-done <at> debbugs.gnu.org
Subject: bug#59460: 29.0.50; Build failure because of bashism in configure.ac (tree-sitter)
Date: Wed, 23 Nov 2022 09:48:50 +0000
[Message part 1 (text/plain, inline)]

> On 22 Nov 2022, at 12:48, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> 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.

Many thanks!
[signature.asc (application/pgp-signature, attachment)]

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.