From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61155: 29.0.60; build failures tree sitter Date: Mon, 30 Jan 2023 12:10:01 +0100 Message-ID: <87fsbs1do6.fsf@thornhill.no> References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <877cx4z7lz.fsf@gmail.com> Reply-To: Theodor Thornhill 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="24511"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61155@debbugs.gnu.org To: Robert Pluim , John Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 30 12:11:22 2023 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 1pMS4G-0006AE-UV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Jan 2023 12:11:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMS41-00021b-1w; Mon, 30 Jan 2023 06:11:05 -0500 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 1pMS3z-00021N-73 for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 06:11:03 -0500 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 1pMS3y-0005oV-VN for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 06:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMS3y-00047O-GQ for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2023 06:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jan 2023 11:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61155 X-GNU-PR-Package: emacs Original-Received: via spool by 61155-submit@debbugs.gnu.org id=B61155.167507701115764 (code B ref 61155); Mon, 30 Jan 2023 11:11:02 +0000 Original-Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 11:10:11 +0000 Original-Received: from localhost ([127.0.0.1]:46515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS39-00046C-AC for submit@debbugs.gnu.org; Mon, 30 Jan 2023 06:10:11 -0500 Original-Received: from out-7.mta1.migadu.com ([95.215.58.7]:52304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMS35-00045y-TW for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 06:10:09 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1675077002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QgbxzeBiWGRF/ovOXdRrO9lsH7M+sp9KOOKk5uYiQdU=; b=U/otLdNCUUC5baIEFChyHWOBvAfHAKhIW3lhAsmbHe5oSwH8spN8XGmM8SL2A7OIEQaEnE BkOutwGbyezOP2IVgnuKYzzmmkmonbj/Cyc2ntG77SSUlaI01M2p/56cmqcj9u+njpenFe gfpItPo1iNTcJZhUKl9MoLHT8fbnODAzpNufBTSfd8jVpLXspljOn9hGBmDg/tRr2o5Vub OUzq1Gj0PiMR0HQKoMDhVjGjWSDjKSC4W94gOEwgh9afXp2sC6uWrwPEFLyeRlZuGkX8Af H5R3GKC+jjKqaHwYkcLwSpva6Kt4ONTjuG6Xuuyzjo7dTnGgpHpfu1ZGxqmvxg== In-Reply-To: <877cx4z7lz.fsf@gmail.com> X-Migadu-Flow: FLOW_OUT 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254410 Archived-At: Robert Pluim writes: >>>>>> On Sun, 29 Jan 2023 21:00:07 +0000, John said: > > John> For the last couple of days I have been unable to build emacs-29 > John> branch; error messages are > > John> In toplevel form: > John> cedet/semantic/wisent/python.el:30:2: Error: Symbol=E2=80=99s f= unction definition is void: treesit-parser-list > John> make[3]: *** [Makefile:332: cedet/semantic/wisent/python.elc] E= rror 1" > John> make[3]: Leaving directory '/home/jpff/GNU/emacs/lisp' > John> make[2]: *** [Makefile:366: compile-main] Error 2 > John> make[2]: Leaving directory '/home/jpff/GNU/emacs/lisp' > John> make[1]: *** [Makefile:533: lisp] Error 2 > John> make[1]: Leaving directory '/home/jpff/GNU/emacs' > John> make[1]: Entering directory '/home/jpff/GNU/emacs' > John> *** > John> *** "make all" failed with exit status 2. > John> *** > John> *** You could try to: > John> *** - run "make bootstrap", which might fix the problem > John> *** - run "make V=3D1", which displays the full commands invoke= d by make, > John> *** to further investigate the problem > John> *** > John> make[1]: *** [Makefile:414: advice-on-failure] Error 2 > John> make[1]: Leaving directory '/home/jpff/GNU/emacs' > > John> I do not have any tree-sitter code. "make bootstrap" appears t= o work > John> but every day it takes too much time. I read tat tree-sitter a= s not > John> necessary but this seems to contradict > > I suspect the following commit, which uses treesit-parser-list > unconditionally > > Bob> diff --git a/lisp/shell.el b/lisp/shell.el > Bob> index 5cf108bfa3b..877c48097a8 100644 > Bob> --- a/lisp/shell.el > Bob> +++ b/lisp/shell.el > Bob> @@ -366,6 +366,11 @@ shell-has-auto-cd > Bob> :group 'shell-directories > Bob> :version "28.1") >=20=20 > commit 1de6ebf2878485a0ef6b778df7d6a14d5b22a01c > Author: Theodor Thornhill > Date: Sat Jan 28 13:57:01 2023 +0100 > > Make treesit-font-lock-level a defcustom > > Robert > --=20 Thanks for bringing this to my attention - I think you're right. I'll look into a fix :) Theo