GNU bug report logs - #65123
29.1; Build fails with "configure --without-all --with-tree-sitter"

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Mon, 7 Aug 2023 10:46:01 UTC

Severity: normal

Found in version 29.1

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: Ulrich Mueller <ulm <at> gentoo.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 65123 <at> debbugs.gnu.org
Subject: bug#65123: 29.1; Build fails with "configure --without-all --with-tree-sitter"
Date: Mon, 07 Aug 2023 15:02:43 +0200
>>>>> On Mon, 07 Aug 2023, Eli Zaretskii wrote:

>> From: Ulrich Mueller <ulm <at> gentoo.org>
>> Date: Mon, 07 Aug 2023 12:44:38 +0200
>> 
>> Forwarding downstream bug: https://bugs.gentoo.org/911826
>> 
>> Linking of temacs fails with undefined references to symbols
>> dynlib_error, dynlib_open and dynlib_sym when using configure options
>> --without-all --with-tree-sitter. To reproduce:

> Thanks.  Does the patch below fix this?

> diff --git a/configure.ac b/configure.ac
> index 5dd182a..ab401be 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3254,6 +3254,7 @@ AC_DEFUN
>      [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])
>    if test "${HAVE_TREE_SITTER}" = yes; then
>      AC_DEFINE(HAVE_TREE_SITTER, 1, [Define if using tree-sitter.])
> +    NEED_DYNLIB=yes
>    else
>      EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.6.3],
>        [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])

Thanks, this fixes the problem for me.




This bug report was last modified 1 year and 291 days ago.

Previous Next


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