From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#58823: feature/tree-sitter doesn't build without tree-sitter Date: Thu, 27 Oct 2022 14:01:12 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31925"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu To: 58823@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 23:02:21 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ooA17-00083D-Pb for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 23:02:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooA0u-0005kq-So; Thu, 27 Oct 2022 17:02:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooA0o-0005ke-Tm for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooA0o-00012w-KX for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooA0o-0002pz-6F; Thu, 27 Oct 2022 17:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: casouri@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2022 21:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58823 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Yuan Fu Original-Received: via spool by submit@debbugs.gnu.org id=B.166690448110852 (code B ref -1); Thu, 27 Oct 2022 21:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Oct 2022 21:01:21 +0000 Original-Received: from localhost ([127.0.0.1]:59463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooA08-0002ow-21 for submit@debbugs.gnu.org; Thu, 27 Oct 2022 17:01:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooA05-0002oo-9n for submit@debbugs.gnu.org; Thu, 27 Oct 2022 17:01:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooA05-0005cP-2D for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:01:17 -0400 Original-Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooA03-0000xi-4F for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 17:01:16 -0400 Original-Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-13ae8117023so3906141fac.9 for ; Thu, 27 Oct 2022 14:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:mime-version :from:from:to:cc:subject:date:message-id:reply-to; bh=8svUJsihmfIF71R24KXmmq0UFMozbQg/VvooG29kY0g=; b=ofJOl/3qxUlern1kVZ8dFDhblTVWzdSYejFoGd+i/1iLZN4QhW5aEyVRaPXDypao6G FVyo5GfqPS2frxEV7K2JT/XcGvLAIY/YndX86idrZHQIxEd91N4+J/1ZVhF67gYGI/k0 W82ErOpd+b6+AP3mkSECJUKv8szAcXPPxtyCb6+WKrBFBKD5MsarNHMWQp8Q/44YerKe b7q0GfBCVxQ/cH+3rSBh8UGo9ZMEjRpw7wI4W7kheO9iIl4VjTT3F4wHasx9KtNpUE27 oqFglqmkRgVI3SbMnPHupYoyM2DVfM5NorIjrlv36+CO58zuPox3/JBJighQ1As1nx/D 9f9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:mime-version :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8svUJsihmfIF71R24KXmmq0UFMozbQg/VvooG29kY0g=; b=17Y13S4A07RQeBJKkZL+7+Kre9y9j7WIL9OGf+/X8xOWooi+3dK3/aqskL8tJhgPwL TM0z/ssZ8GzFH8dSOJdik92DErpzbJXKjE6uucpzKmJlqg5txVxvUUrYwD8HjOougRs7 Jbfz28o4Bzu7brL0DaaBV6RdclQLbqrXXmNhY6WphqBiBZXTxVV65lu6nXerKbZUc0Dm 0Yp8Fsa7or2Ku/3z9QOFdbe8Ezz6rvhHPQymNFfQKM8cOIq0o4uX9Uy3mTCDU3pHq9Fg 33N4tfceequcND70FcxgUiCPlNBLlffmHg+kjELiNY6HhxRF2KA+pXVIWR7rea1GDl0R aItw== X-Gm-Message-State: ACrzQf2iGD16Q1FwmTkggoQwl7jiL/KE+rnxiYjUcpwgBa1VhdVAWLxE om5Qq13bdMFIq+n5apRM1KpIbj4DSe5Sv/VgZ1x3/ooL X-Google-Smtp-Source: AMsMyM7uGgOp8+aZu5vywnxppY1vmu38vDRiMRedrLlvClhOtlBe344JLXveSqqFZunkpTdvUkXHsw3kH44/pFety9s= X-Received: by 2002:a05:6870:d79a:b0:136:50d7:faa9 with SMTP id bd26-20020a056870d79a00b0013650d7faa9mr6488251oab.92.1666904473312; Thu, 27 Oct 2022 14:01:13 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 27 Oct 2022 14:01:12 -0700 X-Hashcash: 1:20:221027:bug-gnu-emacs@gnu.org::7xYyYieEM2sBZCZw:0aAP Received-SPF: pass client-ip=2001:4860:4864:20::2b; envelope-from=stefankangas@gmail.com; helo=mail-oa1-x2b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246370 Archived-At: 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 >=3D 0.0... no [...] Does Emacs use -ltree-sitter? no [...] In end of data: treesit.el:1285:23: Warning: the function =E2=80=98treesit-query-expand=E2= =80=99 is not known to be defined. treesit.el:1226:14: Warning: the function =E2=80=98treesit-node-check=E2=80= =99 is not known to be defined. treesit.el:1135:25: Warning: the function =E2=80=98treesit-language-available-p=E2=80=99 is not known to be defined. treesit.el:993:19: Warning: the function =E2=80=98treesit-search-forward=E2= =80=99 is not known to be defined. treesit.el:551:23: Warning: the function =E2=80=98treesit-query-language=E2= =80=99 is not known to be defined. treesit.el:507:24: Warning: the function =E2=80=98treesit-query-compile=E2= =80=99 is not known to be defined. treesit.el:505:17: Warning: the function =E2=80=98treesit-compiled-query-p= =E2=80=99 is not known to be defined. treesit.el:498:18: Warning: the function =E2=80=98treesit-query-p=E2=80=99 = is not known to be defined. treesit.el:308:8: Warning: the function =E2=80=98treesit-query-capture=E2= =80=99 is not known to be defined. treesit.el:298:6: Warning: the function =E2=80=98treesit-node-field-name-for-child=E2=80=99 is not known to be defi= ned. treesit.el:290:24: Warning: the function =E2=80=98treesit-node-prev-sibling= =E2=80=99 is not known to be defined. treesit.el:284:19: Warning: the function =E2=80=98treesit-node-child-count= =E2=80=99 is not known to be defined. treesit.el:252:13: Warning: the function =E2=80=98treesit-node-end=E2=80=99= is not known to be defined. treesit.el:251:13: Warning: the function =E2=80=98treesit-node-start=E2=80= =99 is not known to be defined. treesit.el:240:20: Warning: the function =E2=80=98treesit-node-next-sibling= =E2=80=99 is not known to be defined. treesit.el:226:29: Warning: the function =E2=80=98treesit-parser-list=E2=80= =99 is not known to be defined. treesit.el:209:28: Warning: the function =E2=80=98treesit-node-parent=E2=80= =99 is not known to be defined. treesit.el:208:26: Warning: the function =E2=80=98treesit-node-type=E2=80= =99 is not known to be defined. treesit.el:198:6: Warning: the function =E2=80=98treesit-node-descendant-for-range=E2=80=99 is not known to be defi= ned. treesit.el:174:32: Warning: the function =E2=80=98treesit-node-child=E2=80= =99 is not known to be defined. treesit.el:171:12: Warning: the function =E2=80=98treesit-node-eq=E2=80=99 = is not known to be defined. treesit.el:165:26: Warning: the function =E2=80=98treesit-node-first-child-for-pos=E2=80=99 is not known to be defin= ed. treesit.el:137:4: Warning: the function =E2=80=98treesit-parser-language=E2= =80=99 is not known to be defined. treesit.el:133:5: Warning: the function =E2=80=98treesit-node-parser=E2=80= =99 is not known to be defined. treesit.el:132:4: Warning: the function =E2=80=98treesit-parser-buffer=E2= =80=99 is not known to be defined. treesit.el:119:4: Warning: the function =E2=80=98treesit-parser-included-ranges=E2=80=99 is not known to be defined= . treesit.el:111:12: Warning: the function =E2=80=98treesit-parser-p=E2=80=99= is not known to be defined. treesit.el:107:4: Warning: the function =E2=80=98treesit-parser-set-included-ranges=E2=80=99 is not known to be def= ined. treesit.el:90:7: Warning: the function =E2=80=98treesit-parser-create=E2=80= =99 is not known to be defined. treesit.el:89:6: Warning: the function =E2=80=98treesit-parser-root-node=E2= =80=99 is not known to be defined. [...] In toplevel form: cedet/semantic/wisent/python.el:30:2: Error: Symbol=E2=80=99s 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=E2=80=99s 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 =E2=80=98treesit-node-parent=E2=80=99 is not known to be defined. progmodes/python.el:5387:17: Warning: the function =E2=80=98treesit-induce-sparse-tree=E2=80=99 is not known to be defined. progmodes/python.el:5354:33: Warning: the function =E2=80=98treesit-node-start=E2=80=99 is not known to be defined. progmodes/python.el:5350:20: Warning: the function =E2=80=98treesit-node-child-by-field-name=E2=80=99 is not known to be defin= ed. progmodes/python.el:5344:24: Warning: the function =E2=80=98treesit-node-ty= pe=E2=80=99 is not known to be defined. [...] In toplevel form: progmodes/ts-mode.el:29:2: Error: Symbol=E2=80=99s 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=E2=80=99s function definition i= s 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 =E2=80=98treesit-parser-creat= e=E2=80=99 is not known to be defined. progmodes/js.el:3794:17: Warning: the function =E2=80=98treesit-induce-sparse-tree=E2=80=99 is not known to be defined. progmodes/js.el:3766:30: Warning: the function =E2=80=98treesit-search-subtree=E2=80=99 is not known to be defined. progmodes/js.el:3717:29: Warning: the function =E2=80=98treesit-node-parent= =E2=80=99 is not known to be defined. progmodes/js.el:3714:25: Warning: the function =E2=80=98treesit-node-child-by-field-name=E2=80=99 is not known to be defin= ed. progmodes/js.el:3699:20: Warning: the function =E2=80=98treesit-node-next-sibling=E2=80=99 is not known to be defined. progmodes/js.el:3696:33: Warning: the function =E2=80=98treesit-node-end=E2= =80=99 is not known to be defined. progmodes/js.el:3693:19: Warning: the function =E2=80=98treesit-node-type= =E2=80=99 is not known to be defined. progmodes/js.el:3691:17: Warning: the function =E2=80=98treesit-node-child= =E2=80=99 is not known to be defined. progmodes/js.el:3412:9: Warning: the function =E2=80=98treesit-node-start= =E2=80=99 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