From unknown Fri Jun 20 07:23:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#61155 <61155@debbugs.gnu.org> To: bug#61155 <61155@debbugs.gnu.org> Subject: Status: 29.0.60; build failures tree sitter Reply-To: bug#61155 <61155@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:23:19 +0000 retitle 61155 29.0.60; build failures tree sitter reassign 61155 emacs submitter 61155 John severity 61155 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 29 16:01:15 2023 Received: (at submit) by debbugs.gnu.org; 29 Jan 2023 21:01:15 +0000 Received: from localhost ([127.0.0.1]:45469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMEnb-00029k-Df for submit@debbugs.gnu.org; Sun, 29 Jan 2023 16:01:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:33070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMEnZ-00029c-6t for submit@debbugs.gnu.org; Sun, 29 Jan 2023 16:01:13 -0500 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 1pMEnZ-00061a-0h for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 16:01:13 -0500 Received: from codemist.co.uk ([217.155.197.248]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMEnW-0004b0-P5 for bug-gnu-emacs@gnu.org; Sun, 29 Jan 2023 16:01:12 -0500 Received: from [172.16.4.16] (helo=xenakis.codemist.co.uk) by codemist.co.uk with esmtp (Exim 4.95) (envelope-from ) id 1pMEmu-0007eL-CJ; Sun, 29 Jan 2023 21:00:32 +0000 Received: from jpff by xenakis.codemist.co.uk with local (Exim 4.94.2) (envelope-from ) id 1pMEmV-0002E9-1q; Sun, 29 Jan 2023 21:00:07 +0000 Date: Sun, 29 Jan 2023 21:00:07 +0000 Message-Id: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> X-Mailer: emacs 29.0.60 (via feedmail 11-beta-1 I) From: John To: bug-gnu-emacs@gnu.org Subject: 29.0.60; build failures tree sitter X-ACL-Warn: No reverse lookup Received-SPF: pass client-ip=217.155.197.248; envelope-from=jpff@codemist.co.uk; helo=codemist.co.uk X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, PP_MIME_FAKE_ASCII_TEXT=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) For the last couple of days I have been unable to build emacs-29 branch; error messages are In toplevel form: cedet/semantic/wisent/python.el:30:2: Error: Symbol’s function definition is void: treesit-parser-list make[3]: *** [Makefile:332: cedet/semantic/wisent/python.elc] Error 1" make[3]: Leaving directory '/home/jpff/GNU/emacs/lisp' make[2]: *** [Makefile:366: compile-main] Error 2 make[2]: Leaving directory '/home/jpff/GNU/emacs/lisp' make[1]: *** [Makefile:533: lisp] Error 2 make[1]: Leaving directory '/home/jpff/GNU/emacs' make[1]: Entering directory '/home/jpff/GNU/emacs' *** *** "make all" failed with exit status 2. *** *** You could try to: *** - run "make bootstrap", which might fix the problem *** - run "make V=1", which displays the full commands invoked by make, *** to further investigate the problem *** make[1]: *** [Makefile:414: advice-on-failure] Error 2 make[1]: Leaving directory '/home/jpff/GNU/emacs' I do not have any tree-sitter code. "make bootstrap" appears to work but every day it takes too much time. I read tat tree-sitter as not necessary but this seems to contradict In GNU Emacs 29.0.60 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.16.0) of 2023-01-29 built on xenakis Repository revision: 9058601308db4892fbc3e599b83fe4326fef9886 Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12003000 System Description: openSUSE Leap 15.4 Configured using: 'configure --without-gnutls' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: auto-image-file-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow flyspell mailalias mailcrypt mail-extr comint ansi-osc ansi-color ring ispell emacsbug message yank-media dired dired-loaddefs rfc822 mml url url-proxy url-privacy url-expand url-methods url-history url-cookie rx generate-lisp-file url-domsuf url-util url-parse auth-source eieio eieio-core json map byte-opt bytecomp byte-compile url-vars mm-view mml-smime smime gnutls puny dig mailcap mml-sec password-cache epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev easy-mmode nnheader gnus-util text-property-search cl-seq time-date range gmm-utils mailheader sendmail derived rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils delsel cus-load image-file image-converter crypt crypt++ crypt+pgp-pub subr-x cl-macs inline gv pcase cl-loaddefs cl-lib view mule-util cal-china cal-bahai cal-islam cal-hebrew cal-julian lunar solar cal-dst appt diary-lib diary-loaddefs holidays holiday-loaddefs cal-menu calendar cal-loaddefs time rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 283544 24009) (symbols 48 13303 0) (strings 32 31969 1914) (string-bytes 1 1087000) (vectors 16 12559) (vector-slots 8 238338 10350) (floats 8 531 706) (intervals 56 507 0) (buffers 976 12)) ==John ffitch From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 04:37:14 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 09:37:14 +0000 Received: from localhost ([127.0.0.1]:46407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMQb4-0007er-3k for submit@debbugs.gnu.org; Mon, 30 Jan 2023 04:37:14 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:44565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMQb2-0007eM-7v for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 04:37:04 -0500 Received: by mail-wr1-f46.google.com with SMTP id bk16so10396199wrb.11 for <61155@debbugs.gnu.org>; Mon, 30 Jan 2023 01:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=32SwhcD8e0B77CmY4mFfWo4MAWEu3BBEe5u0f8/HeN4=; b=m6u7E+5xGU2JgJhugCRpH4k366jAVnQbH7G9EiLSYA4UVCLGI94MC84h+XBiJwnVJd l8XAn/k9qlLOb9i3gKgbi5Z/SS93USFMJBrramhcRzoalt1S8IJU8DqMnlzCACJdQQ63 q2789jUinQdooupVvm4X5NozvscZGoZKBz0DE/MI1MHK8Jv21Fw8isRr221IQ4RtgSck YIqyYo3dyfI8oN8rPK4tr+vmKZEIHutCDYGtW2m2I7AFU8LYg7ndaRagfhbNTN3ThEWZ jwFChaItjC3VELLAWyCbojlRt/diArAcdHKznXbD0bL5/uwP7Ls39oAcRFjTkeHm95ob JAkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=32SwhcD8e0B77CmY4mFfWo4MAWEu3BBEe5u0f8/HeN4=; b=5MIkXburs7G5T2sHxbHwjPnOWt/Mox+6BrFKvjxFp+fO1qPeqgU1JkiVyK/Neofg4Z pt7ymSxqKIuLmSSrhSpZCGIOqgx/GCnmIdVbJcvRTqnvJ4AnIfRNAVDToz/EQmKi4MQY vtqpDcfPuVBPtGrWTmcOBt8T83Ly/LOa+9KhPVb6OF8u7aVwhuAMflKuYTtpReEVCBAp jy7hgTwZXwPqMqO3lGzfRE8Ifk54LFl3/Zw4OOQRGi62KLn+qSc1Kj31rPCh8tNsNGQ9 7IQaKiTydhLuiiEwff1n89NyDkHJ73h6aUTfLW0Xu37AOzuz9RUvCCbjJEQPP6QIqr3K +s1A== X-Gm-Message-State: AFqh2kqHyCF24X2V5opluyh0du/taHz0wyg7lrREU6Jz2DOpE2ksyiEc hhpR0LaSyPGVd28u/pqnJOU= X-Google-Smtp-Source: AMrXdXtr+NH7FrnT2Qc8/Ey1TVlBosegIzrREZk11Ga8jhdhySvIsH5E+aq7YDIaWHfNsSYG6uEItQ== X-Received: by 2002:a05:6000:3c9:b0:2bc:7f32:e6ae with SMTP id b9-20020a05600003c900b002bc7f32e6aemr42375750wrg.64.1675071417793; Mon, 30 Jan 2023 01:36:57 -0800 (PST) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id m15-20020a056000024f00b002bfae16ee2fsm11778921wrz.111.2023.01.30.01.36.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 01:36:57 -0800 (PST) From: Robert Pluim To: John Subject: Re: bug#61155: 29.0.60; build failures tree sitter In-Reply-To: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> (John's message of "Sun, 29 Jan 2023 21:00:07 +0000") References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> Date: Mon, 30 Jan 2023 10:36:56 +0100 Message-ID: <877cx4z7lz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61155 Cc: theo@thornhill.no, 61155@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> 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 fun= ction definition is void: treesit-parser-list John> make[3]: *** [Makefile:332: cedet/semantic/wisent/python.elc] Err= or 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 invoked = 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 to = work John> but every day it takes too much time. I read tat tree-sitter as = 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 commit 1de6ebf2878485a0ef6b778df7d6a14d5b22a01c Author: Theodor Thornhill Date: Sat Jan 28 13:57:01 2023 +0100 Make treesit-font-lock-level a defcustom Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 06:10:11 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 11:10:11 +0000 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 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== From: Theodor Thornhill To: Robert Pluim , John Subject: Re: bug#61155: 29.0.60; build failures tree sitter In-Reply-To: <877cx4z7lz.fsf@gmail.com> References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <877cx4z7lz.fsf@gmail.com> Date: Mon, 30 Jan 2023 12:10:01 +0100 Message-ID: <87fsbs1do6.fsf@thornhill.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61155 Cc: 61155@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 06:40:46 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 11:40:46 +0000 Received: from localhost ([127.0.0.1]:46550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMSWj-00053c-KM for submit@debbugs.gnu.org; Mon, 30 Jan 2023 06:40:45 -0500 Received: from out-120.mta1.migadu.com ([95.215.58.120]:60681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMSWg-00053S-In for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 06:40:44 -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=1675078841; 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=9a38r6WROgMZ78iwIRMuf4Yg3Y55kjlCZPxyggkWEJQ=; b=OMOWUkYD/n3xbVR3Qe5dRC6tX7w1/fVR+Rc9HmyxTeVaCUsAt7Oc+Nc9pcJl2CYspyjgBn KObLo7SDEUNa2ddzdqxfxjE3y3rhgPwJcQS3vGHDohFvHOb/OrC8Gkx4zM9D5FRff+jw4h jhqcCXa24+qWWmZLTKJa8ckXulXi1W72iunjji2lw9MAc47ZEIsqCUGq5RVik8JMhfJhZH A6Igaldi6VERtSGg/z10iun2sIm1itjYK2HsVDqdx4MRhl+9JfRnRfYBBiA5jK/UgEgsFD +kJ1FminD3pf+U5R1mThbThnKg3+Btg6ocaK/a9MgtwSmeovM0Uez7wi/3nn4g== From: Theodor Thornhill To: Robert Pluim , John Subject: Re: bug#61155: 29.0.60; build failures tree sitter In-Reply-To: <877cx4z7lz.fsf@gmail.com> References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <877cx4z7lz.fsf@gmail.com> Date: Mon, 30 Jan 2023 12:40:40 +0100 Message-ID: <87cz6w1c93.fsf@thornhill.no> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61155 Cc: 61155@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 Can you try this and see if the error goes away? thanks, Theo diff --git a/lisp/treesit.el b/lisp/treesit.el index 92833fb007..d7e702bfb8 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -568,7 +568,7 @@ treesit--font-lock-level-setter res) (let ((buffer (car buffers))) (with-current-buffer buffer - (if (treesit-parser-list) + (if (and (treesit-available-p) (treesit-parser-list)) (loop (append res (list buffer)) (cdr buffers)) (loop res (cdr buffers)))))))) =20 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 07:36:51 2023 Received: (at 61155-done) by debbugs.gnu.org; 30 Jan 2023 12:36:52 +0000 Received: from localhost ([127.0.0.1]:46574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMTP1-0000c0-Gv for submit@debbugs.gnu.org; Mon, 30 Jan 2023 07:36:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMTOz-0000bk-PL for 61155-done@debbugs.gnu.org; Mon, 30 Jan 2023 07:36:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMTOu-0005bJ-Fj; Mon, 30 Jan 2023 07:36:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=10hWCM9W0+vdQ7ik6uq4r7Ul9Q+rGKu95v0NeDzxWQc=; b=RkEcFnQqtCRo5LKh2Uz3 x3uIXjc3c19HHpaBPJMiw8pDQvSg/0E/fxOaapCmQ9CiDy9rmRpLKH9AeR4QZS2yTRZxS6GqKwVZl tlcSJ9i+lBWbjmLmoqn03Tbjqduj/mAGHXPDKNkZhHt3B7/G/Zr+anyW76em1mBJqA2axNI0hacNM nLU5hgUd4MQh9qKRqPX04x2ErE7rYLhWisx3hSYDOGJtnNWBLKd5/n19k3rA2hzjWXT+Q5I1ulm2s sGI171DvQf4I0F637RHHmMHqjX8j25C2Us9oIRT6TDzgK7N+5TUnqmJ8LUIq4KHOj1fg3D16HebVu ON5NzIPc3AL/hg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMTOt-0002Ta-U8; Mon, 30 Jan 2023 07:36:44 -0500 Date: Mon, 30 Jan 2023 14:36:37 +0200 Message-Id: <83pmaw5hd6.fsf@gnu.org> From: Eli Zaretskii To: John In-Reply-To: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> (message from John on Sun, 29 Jan 2023 21:00:07 +0000) Subject: Re: bug#61155: 29.0.60; build failures tree sitter References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61155-done Cc: 61155-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 29 Jan 2023 21:00:07 +0000 > From: John > > > For the last couple of days I have been unable to build emacs-29 > branch; error messages are > > In toplevel form: > cedet/semantic/wisent/python.el:30:2: Error: Symbol’s function definition is void: treesit-parser-list > make[3]: *** [Makefile:332: cedet/semantic/wisent/python.elc] Error 1" > make[3]: Leaving directory '/home/jpff/GNU/emacs/lisp' > make[2]: *** [Makefile:366: compile-main] Error 2 > make[2]: Leaving directory '/home/jpff/GNU/emacs/lisp' > make[1]: *** [Makefile:533: lisp] Error 2 > make[1]: Leaving directory '/home/jpff/GNU/emacs' > make[1]: Entering directory '/home/jpff/GNU/emacs' Sorry, should be fixed now. > I do not have any tree-sitter code. "make bootstrap" appears to work > but every day it takes too much time. I read tat tree-sitter as not > necessary but this seems to contradict As long as "make bootstrap" fixes the build, everything is okay, and what you see is just an inevitable result of development when some "hot" features that are optional see a lot of changes. We try to minimize these problems, but we don't always succeed. However, this one was a real problem which bootstrap is unable to fix. It should be fixed now. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 08:17:33 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 13:17:33 +0000 Received: from localhost ([127.0.0.1]:46666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMU2O-0006hZ-UG for submit@debbugs.gnu.org; Mon, 30 Jan 2023 08:17:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMU2N-0006hL-KV for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 08:17:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMU2G-00052F-Ts; Mon, 30 Jan 2023 08:17:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cI4Z10zAfZm3DLzMGN+8Po3OwCojYb6PWT49KPKm1X4=; b=Vhs7fQPl3j3s 31LixA55ZPWee0RHqq+koscvg2bPvEgq1L58/UAKGsuHVzcMHZSltlzncv5BcppOX9yxoV8v66ZAE T36ojbE29gDPG/vjZIorpbvzB2i2jpumfx98yf/+xb/qrdCdw48rqePD4A1HBbk7QEuKS0gkZVDJQ RZsBKYZEsl0Nxli6DHfEoOnUQQa2gf2R4+0D2L92M8uObiXfa0YJstgSy3B4ZDTzj+wQk2m1fpGwa eEhWSFXPHMaIf5ewI6pNJOWAyOwT3RQehl8v/G7KzVMpenSc+i5KORZ4WY0Qf9ELYHSN1GgrAaU1x rF8/3tZCQNmuVTeQAbZijA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMU2G-0005vp-3j; Mon, 30 Jan 2023 08:17:24 -0500 Date: Mon, 30 Jan 2023 15:17:17 +0200 Message-Id: <834js85fhe.fsf@gnu.org> From: Eli Zaretskii To: Theodor Thornhill In-Reply-To: <87cz6w1c93.fsf@thornhill.no> (bug-gnu-emacs@gnu.org) Subject: Re: bug#61155: 29.0.60; build failures tree sitter References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <877cx4z7lz.fsf@gmail.com> <87cz6w1c93.fsf@thornhill.no> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61155 Cc: rpluim@gmail.com, 61155@debbugs.gnu.org, jpff@codemist.co.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 61155@debbugs.gnu.org > Date: Mon, 30 Jan 2023 12:40:40 +0100 > From: Theodor Thornhill via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Can you try this and see if the error goes away? > > thanks, > Theo > > diff --git a/lisp/treesit.el b/lisp/treesit.el > index 92833fb007..d7e702bfb8 100644 > --- a/lisp/treesit.el > +++ b/lisp/treesit.el > @@ -568,7 +568,7 @@ treesit--font-lock-level-setter > res) > (let ((buffer (car buffers))) > (with-current-buffer buffer > - (if (treesit-parser-list) > + (if (and (treesit-available-p) (treesit-parser-list)) > (loop (append res (list buffer)) (cdr buffers)) > (loop res (cdr buffers)))))))) I fixed this differently, please see the latest emacs-29 branch: I disabled the loop altogether. Why would we need to loop over buffers if tree-sitter is not available? From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 08:22:31 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 13:22:31 +0000 Received: from localhost ([127.0.0.1]:46679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMU6y-0006q5-EP for submit@debbugs.gnu.org; Mon, 30 Jan 2023 08:22:31 -0500 Received: from out-51.mta1.migadu.com ([95.215.58.51]:33448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMU6w-0006pw-Fl for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 08:22:15 -0500 Date: Mon, 30 Jan 2023 14:22:10 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1675084932; 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=MvFPd468ndJWX5PQXa00axQaZ50FO4++v88zik+/O94=; b=U3hWHHMdUlloXBuhxSW2LPK4/oCS3h6qsBGoOd0loOFp5cNWc+aHC0kTdKkM4kjlUSxxjN 3qmkVzIrmQ9EgZuMPXSIT+R6DI0gxxinTSeeBjkETCjKNoi24ZgsELjoyUKtqXc/795Bkl BE06aXUMQQo0vEOLY7KEcFbOCKYq5hv5wa34nko/hSSrsclEOxfeTW2ffS8R+SpQ+Nk99p bsNVXrF7oB/Acg4skzddnfbdGOqunIyX+M3p+YZMyowu8e5AIACaPQ3Q9MMLtfgIAGC0tn 4TZOjyMRPhMigSECfDSMLuANnEvkEtHGtBntloi4YAD+id++XjAgFZyZ0tYB7Q== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Theodor Thornhill To: Eli Zaretskii Subject: Re: bug#61155: 29.0.60; build failures tree sitter In-Reply-To: <834js85fhe.fsf@gnu.org> References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <877cx4z7lz.fsf@gmail.com> <87cz6w1c93.fsf@thornhill.no> <834js85fhe.fsf@gnu.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61155 Cc: rpluim@gmail.com, 61155@debbugs.gnu.org, jpff@codemist.co.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 30 January 2023 14:17:17 CET, Eli Zaretskii wrote: >> Cc: 61155@debbugs=2Egnu=2Eorg >> Date: Mon, 30 Jan 2023 12:40:40 +0100 >> From: Theodor Thornhill via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> Can you try this and see if the error goes away? >>=20 >> thanks, >> Theo >>=20 >> diff --git a/lisp/treesit=2Eel b/lisp/treesit=2Eel >> index 92833fb007=2E=2Ed7e702bfb8 100644 >> --- a/lisp/treesit=2Eel >> +++ b/lisp/treesit=2Eel >> @@ -568,7 +568,7 @@ treesit--font-lock-level-setter >> res) >> (let ((buffer (car buffers))) >> (with-current-buffer buffer >> - (if (treesit-parser-list) >> + (if (and (treesit-available-p) (treesit-parser-list)) >> (loop (append res (list buffer)) (cdr buffers)) >> (loop res (cdr buffers)))))))) > >I fixed this differently, please see the latest emacs-29 branch: I >disabled the loop altogether=2E > >Why would we need to loop over buffers if tree-sitter is not >available? No need, your fix it fine, i just whipped up something quick in a break he= re :) Theo From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 08:24:11 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 13:24:11 +0000 Received: from localhost ([127.0.0.1]:46683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMU8o-0006tK-Nx for submit@debbugs.gnu.org; Mon, 30 Jan 2023 08:24:10 -0500 Received: from mail-wm1-f54.google.com ([209.85.128.54]:42694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMU8n-0006t8-SY for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 08:24:10 -0500 Received: by mail-wm1-f54.google.com with SMTP id j29-20020a05600c1c1d00b003dc52fed235so2582836wms.1 for <61155@debbugs.gnu.org>; Mon, 30 Jan 2023 05:24:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=N/b/hhfectHeoQfJw3Sj2PGm751JWSLvllDgD9lMEeY=; b=TPEudEYRSPseDnZUl1CprzIZfQ7LuJAAzVYCbuuGHMk/m5cFS6Umzliw+xtuRU98ci 3KYY+/KMZ9/kn2huzvizpQftotZ5gc3BDeMuV5CsEQIegG/pjIDb9TRMgMheRTFlCMT1 rUEwj1RBj8oRkyPGZKfryns9EfvAW7QZgO0xKwzj1+FNDEiXXfSllYFlOHFpHLsNq8dL +0+h7tshNkysaYYtD0RRxcHfWnULRlMevL73SjReersWDOQWePSYmcSbftg+HyRcrKu2 youSL45ERat3gsz6xotQV/fDxJd0wdu5YasqyNwW/nPiKAdXh+7ohwjPDZIuGg4+hq1Y 3JIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=N/b/hhfectHeoQfJw3Sj2PGm751JWSLvllDgD9lMEeY=; b=tuKVpmGBfyZHAhQX7v74UgKjU9f243+vW+SMqxrhpXHCQbeXZuLWxOxSMEm9IAKepL IR2Jb6Ts8w7rXWHlAaUI0Ijb/8TwsBiObZT4gAt0CkBSiXVqI669ueqigSA27+10oOvS 0UmUUY1mMoVQCNmtD8SbMb/wneDIc9jFuR0DA4YzfQbhsqX0OAMpWoxrzi+sSNjhoRVN yuvogv5hw1E1AG9VQU0LEEypn+W6S7GoVWz72FJBCyJKccxgA2fryB6/65UpJgbMdex0 ivW87WBfP0y+YWnNMTQb8ZCv9Wvg58k996eoy3fLZT9dmDXz+XVog1L6tti+M9AXwfNT ICoA== X-Gm-Message-State: AFqh2kqZpgDPTqgVGTsLnVaBHQlycmPt4zoQF+xGEalnv4KSKioguSeg Lb+QREoOf4CdK1lgGlldOXY= X-Google-Smtp-Source: AMrXdXsvCXKF/TsANI+pHdyGjoz9w1aHGNHpPy/J5SJXNnP3TpEAp7LMJgkfcF8fbnlVnRLJhC29HA== X-Received: by 2002:a05:600c:4f10:b0:3d3:48f4:7a69 with SMTP id l16-20020a05600c4f1000b003d348f47a69mr50691465wmq.17.1675085043846; Mon, 30 Jan 2023 05:24:03 -0800 (PST) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id q3-20020adff503000000b002bfae1398bbsm12106528wro.42.2023.01.30.05.24.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 05:24:03 -0800 (PST) From: Robert Pluim To: 61155@debbugs.gnu.org Subject: Re: bug#61155: 29.0.60; build failures tree sitter In-Reply-To: <83pmaw5hd6.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Jan 2023 14:36:37 +0200") References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <83pmaw5hd6.fsf@gnu.org> Date: Mon, 30 Jan 2023 14:24:02 +0100 Message-ID: <87tu08xij1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61155 Cc: eliz@gnu.org, jpff@codemist.co.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Mon, 30 Jan 2023 14:36:37 +0200, Eli Zaretskii said: Eli> However, this one was a real problem which bootstrap is unable to Eli> fix. It should be fixed now. emacs-29 builds fine for me now, thanks. Robert -- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 09:20:53 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 14:20:53 +0000 Received: from localhost ([127.0.0.1]:46768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMV1g-0002Gp-Qd for submit@debbugs.gnu.org; Mon, 30 Jan 2023 09:20:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMV1f-0002GY-8c for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 09:20:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMV1Z-0001rF-Nm; Mon, 30 Jan 2023 09:20:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=wZpjSA+MteI1dl3vvz2dTYa5QXuao7AWVAvLOmuvAWQ=; b=YPOH8b+0ER2D 8uoq9Wj4jPro7aRIY2mkg+y7i14UBikGesdMxAtqLnxw3BG91BzR9kuZ/A8O5objz7p/ZqPXao758 N+WWyBjeKqUq36TsgohahH50nP1yl16SNTkkUy7Mz4cxeHf8hdu2YjKyNmbVTNtce4jApCYNcoV9D Xtnf6JQhavYBdimjlnBsIZbjJnCoDHbJkGObDBrGHFmZyadqpdsnG3jTyjs9KnZNuTtXbpGRjuQz+ GA0lx0VR4VXgEEjjqXfoHAsUA0sJZ44sJX32Cdd8il8UyzecbqBRzmxDKih1/icPjv1W83XDw0uS0 bSioBjsDWS0S2IbLtKSILA==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMV1Z-00088G-71; Mon, 30 Jan 2023 09:20:45 -0500 Date: Mon, 30 Jan 2023 16:20:38 +0200 Message-Id: <83wn543xzd.fsf@gnu.org> From: Eli Zaretskii To: Theodor Thornhill In-Reply-To: (message from Theodor Thornhill on Mon, 30 Jan 2023 14:22:10 +0100) Subject: Re: bug#61155: 29.0.60; build failures tree sitter References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <877cx4z7lz.fsf@gmail.com> <87cz6w1c93.fsf@thornhill.no> <834js85fhe.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61155 Cc: rpluim@gmail.com, 61155@debbugs.gnu.org, jpff@codemist.co.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 30 Jan 2023 14:22:10 +0100 > From: Theodor Thornhill > CC: rpluim@gmail.com, jpff@codemist.co.uk, 61155@debbugs.gnu.org > > > > On 30 January 2023 14:17:17 CET, Eli Zaretskii wrote: > >> Cc: 61155@debbugs.gnu.org > >> Date: Mon, 30 Jan 2023 12:40:40 +0100 > >> From: Theodor Thornhill via "Bug reports for GNU Emacs, > >> the Swiss army knife of text editors" > >> > >> Can you try this and see if the error goes away? > >> > >> thanks, > >> Theo > >> > >> diff --git a/lisp/treesit.el b/lisp/treesit.el > >> index 92833fb007..d7e702bfb8 100644 > >> --- a/lisp/treesit.el > >> +++ b/lisp/treesit.el > >> @@ -568,7 +568,7 @@ treesit--font-lock-level-setter > >> res) > >> (let ((buffer (car buffers))) > >> (with-current-buffer buffer > >> - (if (treesit-parser-list) > >> + (if (and (treesit-available-p) (treesit-parser-list)) > >> (loop (append res (list buffer)) (cdr buffers)) > >> (loop res (cdr buffers)))))))) > > > >I fixed this differently, please see the latest emacs-29 branch: I > >disabled the loop altogether. > > > >Why would we need to loop over buffers if tree-sitter is not > >available? > > No need, your fix it fine, i just whipped up something quick in a break here :) OK, thanks. Btw, it was a bitch finding which code caused the error message. It is easy to forget that the :set functions of defcustom's are called during startup, and the line number shown with the message didn't identify the defcustom, just the file name. I eventually found this was the culprit by running the byte-compilation command under GDB... From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 09:32:43 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 14:32:43 +0000 Received: from localhost ([127.0.0.1]:46786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMVD8-0002Y2-FQ for submit@debbugs.gnu.org; Mon, 30 Jan 2023 09:32:42 -0500 Received: from out-104.mta0.migadu.com ([91.218.175.104]:32722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMVD1-0002XC-H2 for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 09:32:36 -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=1675089153; 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: in-reply-to:in-reply-to:references:references; bh=SojQoLvdtOqy2U3scUUFmGZMYZDBfkyClCFxVLq+1/Q=; b=JOPNhrE7KmsgtzTxqF7EWGx8Nr1DR5D6QMGNvA6HaLzroPqOR80vxdK5lg6mSwPRQ4U4GZ KLT6IAC2e84Hc3KP4faPqJ/xLnAwsJpW7Qy+zlFdQ8Dd9ayMdsa+19BzqppE8uI7BuG1M4 LzKkrmBEKa+cOUVZwRkcVG2pLnwTgsJtaNHGyrLk2j8y9DB+/vCFBUsx238mZzO5cQSxNS RCj6S4peTGp1Dlpm69xvulufocJDxpySA2+WkacJqvSo2vneBd8Ji7DdbQRK1LCEMssGGO kyeET0Q/dzcxT3kJpjvtFcR5sRRhPrFSYbHXGZRpD0YdqJfGfTtCP5w+tlk+xw== From: Theodor Thornhill To: Eli Zaretskii Subject: Re: bug#61155: 29.0.60; build failures tree sitter In-Reply-To: <83wn543xzd.fsf@gnu.org> References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <877cx4z7lz.fsf@gmail.com> <87cz6w1c93.fsf@thornhill.no> <834js85fhe.fsf@gnu.org> <83wn543xzd.fsf@gnu.org> Date: Mon, 30 Jan 2023 15:32:32 +0100 Message-ID: <87a62014an.fsf@thornhill.no> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61155 Cc: rpluim@gmail.com, 61155@debbugs.gnu.org, jpff@codemist.co.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Date: Mon, 30 Jan 2023 14:22:10 +0100 >> From: Theodor Thornhill >> CC: rpluim@gmail.com, jpff@codemist.co.uk, 61155@debbugs.gnu.org >> >> >> >> On 30 January 2023 14:17:17 CET, Eli Zaretskii wrote: >> >> Cc: 61155@debbugs.gnu.org >> >> Date: Mon, 30 Jan 2023 12:40:40 +0100 >> >> From: Theodor Thornhill via "Bug reports for GNU Emacs, >> >> the Swiss army knife of text editors" >> >> >> >> Can you try this and see if the error goes away? >> >> >> >> thanks, >> >> Theo >> >> >> >> diff --git a/lisp/treesit.el b/lisp/treesit.el >> >> index 92833fb007..d7e702bfb8 100644 >> >> --- a/lisp/treesit.el >> >> +++ b/lisp/treesit.el >> >> @@ -568,7 +568,7 @@ treesit--font-lock-level-setter >> >> res) >> >> (let ((buffer (car buffers))) >> >> (with-current-buffer buffer >> >> - (if (treesit-parser-list) >> >> + (if (and (treesit-available-p) (treesit-parser-list)) >> >> (loop (append res (list buffer)) (cdr buffers)) >> >> (loop res (cdr buffers)))))))) >> > >> >I fixed this differently, please see the latest emacs-29 branch: I >> >disabled the loop altogether. >> > >> >Why would we need to loop over buffers if tree-sitter is not >> >available? >> >> No need, your fix it fine, i just whipped up something quick in a break here :) > > OK, thanks. > > Btw, it was a bitch finding which code caused the error message. It > is easy to forget that the :set functions of defcustom's are called > during startup, and the line number shown with the message didn't > identify the defcustom, just the file name. I eventually found this > was the culprit by running the byte-compilation command under GDB... Yeah - thanks for fixing :) Theo From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 09:42:13 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 14:42:13 +0000 Received: from localhost ([127.0.0.1]:46800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMVMK-0002mC-PA for submit@debbugs.gnu.org; Mon, 30 Jan 2023 09:42:13 -0500 Received: from mail-wm1-f46.google.com ([209.85.128.46]:38564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMVMI-0002lz-Jc for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 09:42:11 -0500 Received: by mail-wm1-f46.google.com with SMTP id f47-20020a05600c492f00b003dc584a7b7eso2167625wmp.3 for <61155@debbugs.gnu.org>; Mon, 30 Jan 2023 06:42:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=l9Z556fcmyxvcNUQHg61yU5H+m5pYiFPO3ZyEIgnWVo=; b=Eqbo4wosX5qMA2xFJ2vYkzZCLqktf9AdquQ1oubq2yNYmCh/M0MdaTnGOyw9B8tORM hKz6nPNWsqiqlHQFrg6CRqU2VL/LUoQoep1tSkFRQG6wQH3wl4i9HfTr27D6h4Hb3SVP TNnR6oSyQxrb7qVS8KXnsPkGEBDxLDVTC9vyrvKa2N5I43XQOXi/s+74lXKeRmQEgnjf fkcSWneoTZ66pzpfo7Py22DxR4i3OtMv1HR9+Ofl2jJIpfIzQNq3opJyHfUPF/OybFt8 /t+680qu9JFbutAx3lqIk26yt90kNJUpCrnGStvraDOEGkP9nGo8TKbgaiJ+JTFkLnBN fgYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=l9Z556fcmyxvcNUQHg61yU5H+m5pYiFPO3ZyEIgnWVo=; b=tEteXqVL5VeWx0xD2P7+WcMGZkXTwAKx9XhVF1sfOMw80mIxphy7Tif2dWT2LnTY0N Z/TICvJWfwZkLIQ2C8EkjPX9ZJjQO4ULu/Du//ltRaBJpHD16n+vSEy7vDFY/8YwRk0s m1zXNXo5zLiQgvYZkf6gKSYjkpotYzkHeuLp4EHnSDZbaTek/N+RKwfKO+Ab9anu3vtz AanDYN7EhUU+Zem5GZJXnNVluPReM2uFPKJLTzWK3mr21xLHedNnVlRud+EscL0dm4ws 5R6PUvc793wn0b+oXw5iqJwe7SUQ8NjowpPxdHYQBaTkbSjTV8SVMVHdVfSsmuD5Vt/M boAg== X-Gm-Message-State: AO0yUKWav/TL/YfWeWLgXods4DRdYRzuApGO6RjkzEqOzpP1Bx4lFZ8w oqQakOfaZQKOBvCi7Cvr6Fnl/185h4k= X-Google-Smtp-Source: AK7set+MqauPVebT0H1Xu3nVVltWXr/xRhMNktJ/hikGAirK90uo8eVrHqJFfaYlUaI+hvDUNB1fDw== X-Received: by 2002:a05:600c:1c1f:b0:3dc:37d0:e9df with SMTP id j31-20020a05600c1c1f00b003dc37d0e9dfmr12092082wms.14.1675089724176; Mon, 30 Jan 2023 06:42:04 -0800 (PST) Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id i27-20020a05600c4b1b00b003dc54d9aeeasm4630332wmp.36.2023.01.30.06.42.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 06:42:03 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#61155: 29.0.60; build failures tree sitter In-Reply-To: <83wn543xzd.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 30 Jan 2023 16:20:38 +0200") References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <877cx4z7lz.fsf@gmail.com> <87cz6w1c93.fsf@thornhill.no> <834js85fhe.fsf@gnu.org> <83wn543xzd.fsf@gnu.org> Date: Mon, 30 Jan 2023 15:42:03 +0100 Message-ID: <878rhkxex0.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61155 Cc: Theodor Thornhill , 61155@debbugs.gnu.org, jpff@codemist.co.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Mon, 30 Jan 2023 16:20:38 +0200, Eli Zaretskii said: Eli> OK, thanks. Eli> Btw, it was a bitch finding which code caused the error message. It Eli> is easy to forget that the :set functions of defcustom's are called Eli> during startup, and the line number shown with the message didn't Eli> identify the defcustom, just the file name. I eventually found this Eli> was the culprit by running the byte-compilation command under GDB... The line number pointed at (require 'treesit) so I just took a 'emacs -Q', did M-x toggle-debug-on-error, and C-x C-e, and got dumped at the right location Robert -- From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 30 10:00:46 2023 Received: (at 61155) by debbugs.gnu.org; 30 Jan 2023 15:00:46 +0000 Received: from localhost ([127.0.0.1]:50064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMVeH-0006Uv-OL for submit@debbugs.gnu.org; Mon, 30 Jan 2023 10:00:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMVeF-0006Ui-NU for 61155@debbugs.gnu.org; Mon, 30 Jan 2023 10:00:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMVe6-0002BM-TO; Mon, 30 Jan 2023 10:00:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rlWNYPav+w3zalnh8RIdu5OglZIIbnV+Nk254Yf3C60=; b=mCMs76hjtXcb JEa9/46wRdnX7zUN4lWH0brZyuzx+8yrwZj8ic+fNPPhyTJkBai/rxtHYitaG4hOq4ZUFqUW4xASY gplNW/XVHB3T7bf1S5wFwlrlKebT8nuZ9SqHiZGDHnxhO4IIKGBt66Nsi2ykBU+aZ/Yfq8jH/uZ89 lMK9dmFUZ5514R6VUAM2qWLTcHXfWmsYTqOkW6EjFVrs8sa0o6YNuG1b4yZz8bmF9W5EuvXkPVck5 PEPbjYmRxv/dCupVlQZUR55y9ghdhXJ4KLxjHfrsqzdhd7Upk9rrpNgsworxolIGGREVMqWYbGvxC gSg9ebYAyw8Ouj4Qc+1vUQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMVe4-0006Hm-GD; Mon, 30 Jan 2023 10:00:34 -0500 Date: Mon, 30 Jan 2023 17:00:26 +0200 Message-Id: <83o7qg3w51.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: <878rhkxex0.fsf@gmail.com> (message from Robert Pluim on Mon, 30 Jan 2023 15:42:03 +0100) Subject: Re: bug#61155: 29.0.60; build failures tree sitter References: <7581-Sun29Jan2023210007+0000-jpff@codemist.co.uk> <877cx4z7lz.fsf@gmail.com> <87cz6w1c93.fsf@thornhill.no> <834js85fhe.fsf@gnu.org> <83wn543xzd.fsf@gnu.org> <878rhkxex0.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61155 Cc: theo@thornhill.no, 61155@debbugs.gnu.org, jpff@codemist.co.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Robert Pluim > Cc: Theodor Thornhill , jpff@codemist.co.uk, > 61155@debbugs.gnu.org > Date: Mon, 30 Jan 2023 15:42:03 +0100 > > >>>>> On Mon, 30 Jan 2023 16:20:38 +0200, Eli Zaretskii said: > > Eli> OK, thanks. > > Eli> Btw, it was a bitch finding which code caused the error message. It > Eli> is easy to forget that the :set functions of defcustom's are called > Eli> during startup, and the line number shown with the message didn't > Eli> identify the defcustom, just the file name. I eventually found this > Eli> was the culprit by running the byte-compilation command under GDB... > > The line number pointed at > > (require 'treesit) > > so I just took a 'emacs -Q', did M-x toggle-debug-on-error, and C-x > C-e, and got dumped at the right location Each one and his/her "just so" tricks ;-) From unknown Fri Jun 20 07:23:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 28 Feb 2023 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator