unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: 58823@debbugs.gnu.org
Cc: Yuan Fu <casouri@gmail.com>
Subject: bug#58823: feature/tree-sitter doesn't build without tree-sitter
Date: Thu, 27 Oct 2022 14:01:12 -0700	[thread overview]
Message-ID: <CADwFkmmDDPxPYq9cB3f8c2xy2HBGDUhtxNQo0Djy23qvsD7n8g@mail.gmail.com> (raw)

This system does not have tree-sitter installed.  The
feature/tree-sitter branch doesn't seem to build without it.

I ran the following command:

    ./autogen.sh && ./configure && make -k -j8 bootstrap

In the compilation log, I see the following relevant parts, but let me
know if you need anything else:

checking for tree-sitter >= 0.0... no
[...]
  Does Emacs use -ltree-sitter?                           no
[...]
In end of data:
treesit.el:1285:23: Warning: the function ‘treesit-query-expand’ is
not known to be defined.
treesit.el:1226:14: Warning: the function ‘treesit-node-check’ is not
known to be defined.
treesit.el:1135:25: Warning: the function
‘treesit-language-available-p’ is not known to be defined.
treesit.el:993:19: Warning: the function ‘treesit-search-forward’ is
not known to be defined.
treesit.el:551:23: Warning: the function ‘treesit-query-language’ is
not known to be defined.
treesit.el:507:24: Warning: the function ‘treesit-query-compile’ is
not known to be defined.
treesit.el:505:17: Warning: the function ‘treesit-compiled-query-p’ is
not known to be defined.
treesit.el:498:18: Warning: the function ‘treesit-query-p’ is not
known to be defined.
treesit.el:308:8: Warning: the function ‘treesit-query-capture’ is not
known to be defined.
treesit.el:298:6: Warning: the function
‘treesit-node-field-name-for-child’ is not known to be defined.
treesit.el:290:24: Warning: the function ‘treesit-node-prev-sibling’
is not known to be defined.
treesit.el:284:19: Warning: the function ‘treesit-node-child-count’ is
not known to be defined.
treesit.el:252:13: Warning: the function ‘treesit-node-end’ is not
known to be defined.
treesit.el:251:13: Warning: the function ‘treesit-node-start’ is not
known to be defined.
treesit.el:240:20: Warning: the function ‘treesit-node-next-sibling’
is not known to be defined.
treesit.el:226:29: Warning: the function ‘treesit-parser-list’ is not
known to be defined.
treesit.el:209:28: Warning: the function ‘treesit-node-parent’ is not
known to be defined.
treesit.el:208:26: Warning: the function ‘treesit-node-type’ is not
known to be defined.
treesit.el:198:6: Warning: the function
‘treesit-node-descendant-for-range’ is not known to be defined.
treesit.el:174:32: Warning: the function ‘treesit-node-child’ is not
known to be defined.
treesit.el:171:12: Warning: the function ‘treesit-node-eq’ is not
known to be defined.
treesit.el:165:26: Warning: the function
‘treesit-node-first-child-for-pos’ is not known to be defined.
treesit.el:137:4: Warning: the function ‘treesit-parser-language’ is
not known to be defined.
treesit.el:133:5: Warning: the function ‘treesit-node-parser’ is not
known to be defined.
treesit.el:132:4: Warning: the function ‘treesit-parser-buffer’ is not
known to be defined.
treesit.el:119:4: Warning: the function
‘treesit-parser-included-ranges’ is not known to be defined.
treesit.el:111:12: Warning: the function ‘treesit-parser-p’ is not
known to be defined.
treesit.el:107:4: Warning: the function
‘treesit-parser-set-included-ranges’ is not known to be defined.
treesit.el:90:7: Warning: the function ‘treesit-parser-create’ is not
known to be defined.
treesit.el:89:6: Warning: the function ‘treesit-parser-root-node’ is
not known to be defined.
[...]
In toplevel form:
cedet/semantic/wisent/python.el:30:2: Error: Symbol’s function
definition is void: treesit-query-p
make[4]: *** [Makefile:332: cedet/semantic/wisent/python.elc] Error 1
[...]
In toplevel form:
org/ob-python.el:33:2: Error: Symbol’s function definition is void:
treesit-query-p
make[4]: *** [Makefile:332: org/ob-python.elc] Error 1
[...]
In end of data:
progmodes/python.el:5489:29: Warning: the function
‘treesit-node-parent’ is not known to be defined.
progmodes/python.el:5387:17: Warning: the function
‘treesit-induce-sparse-tree’ is not known to be defined.
progmodes/python.el:5354:33: Warning: the function
‘treesit-node-start’ is not known to be defined.
progmodes/python.el:5350:20: Warning: the function
‘treesit-node-child-by-field-name’ is not known to be defined.
progmodes/python.el:5344:24: Warning: the function ‘treesit-node-type’
is not known to be defined.
[...]
In toplevel form:
progmodes/ts-mode.el:29:2: Error: Symbol’s function definition is
void: treesit-query-p
make[4]: *** [Makefile:332: progmodes/ts-mode.elc] Error 1
[...]
In toplevel form:
textmodes/mhtml-mode.el:29:2: Error: Symbol’s function definition is
void: treesit-query-p
make[4]: *** [Makefile:332: textmodes/mhtml-mode.elc] Error 1
[...]
  ELC      progmodes/js.elc

In end of data:
progmodes/js.el:3879:6: Warning: the function ‘treesit-parser-create’
is not known to be defined.
progmodes/js.el:3794:17: Warning: the function
‘treesit-induce-sparse-tree’ is not known to be defined.
progmodes/js.el:3766:30: Warning: the function
‘treesit-search-subtree’ is not known to be defined.
progmodes/js.el:3717:29: Warning: the function ‘treesit-node-parent’
is not known to be defined.
progmodes/js.el:3714:25: Warning: the function
‘treesit-node-child-by-field-name’ is not known to be defined.
progmodes/js.el:3699:20: Warning: the function
‘treesit-node-next-sibling’ is not known to be defined.
progmodes/js.el:3696:33: Warning: the function ‘treesit-node-end’ is
not known to be defined.
progmodes/js.el:3693:19: Warning: the function ‘treesit-node-type’ is
not known to be defined.
progmodes/js.el:3691:17: Warning: the function ‘treesit-node-child’ is
not known to be defined.
progmodes/js.el:3412:9: Warning: the function ‘treesit-node-start’ is
not known to be defined.
make[4]: Target 'compile-targets' not remade because of errors.
make[4]: Leaving directory '/home/skangas/wip/emacs/lisp'
make[3]: *** [Makefile:366: compile-main] Error 2
make[3]: Target 'all' not remade because of errors.
make[3]: Leaving directory '/home/skangas/wip/emacs/lisp'
make[2]: *** [Makefile:531: lisp] Error 2
make[2]: Target 'actual-all' not remade because of errors.
make[2]: Leaving directory '/home/skangas/wip/emacs'
make[1]: *** [Makefile:1253: actual-bootstrap] Error 2
make[1]: Leaving directory '/home/skangas/wip/emacs'
make[1]: Entering directory '/home/skangas/wip/emacs'
***
*** "make bootstrap" failed with exit status 2.
[...]
make[1]: *** [Makefile:413: advice-on-failure] Error 2
make[1]: Leaving directory '/home/skangas/wip/emacs'
make: *** [Makefile:1236: bootstrap] Error 2

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.34, cairo version 1.16.0) of 2022-10-25 built on joffe
Repository revision: 9bfe00dda6b59d9b93eb7a825f6e0868afa1cca3
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Debian GNU/Linux bookworm/sid





             reply	other threads:[~2022-10-27 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-27 21:01 Stefan Kangas [this message]
2022-10-27 22:59 ` bug#58823: feature/tree-sitter doesn't build without tree-sitter Yuan Fu
2022-10-28  5:46   ` Eli Zaretskii
2022-10-28 23:48     ` Yuan Fu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmmDDPxPYq9cB3f8c2xy2HBGDUhtxNQo0Djy23qvsD7n8g@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=58823@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).