From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter api Date: Thu, 30 Dec 2021 08:35:11 +0200 Message-ID: <83wnjmiork.fsf@gnu.org> References: <9C5A86D6-0E7D-4DDF-B211-278EF9AC7E01@gmail.com> <87a6gq5mxl.fsf@gmail.com> <877dbu5mgj.fsf@gmail.com> <0BB906F7-BD3A-41CC-9783-19AA16934497@gmail.com> <83pmplq9f3.fsf@gnu.org> <5B304D80-2969-4F59-9A90-412D0A284912@gmail.com> <83ilvbpsvl.fsf@gnu.org> <4A6F417A-EF74-40B6-9517-6C0947AB87A6@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28171"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpitclaudel@gmail.com, theo@thornhill.no, ubolonton@gmail.com, emacs-devel@gnu.org, p.stephani2@gmail.com, monnier@iro.umontreal.ca, yoavm448@gmail.com, stephen_leake@stephe-leake.org, john@yates-sheets.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 30 07:48:02 2021 Return-path: Envelope-to: ged-emacs-devel@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 1n2pEH-00078Y-Nv for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 07:48:02 +0100 Original-Received: from localhost ([::1]:34594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2pEG-0000Pv-Cj for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Dec 2021 01:48:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2p1q-0005eF-6q for emacs-devel@gnu.org; Thu, 30 Dec 2021 01:35:10 -0500 Original-Received: from [2001:470:142:3::e] (port=35762 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2p1n-0006Nv-JO; Thu, 30 Dec 2021 01:35:08 -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=c7UUvSerTUoVjih9pkUOsObMVSXwoglEBXQqrZWHdr4=; b=oLJAQYMrBg7hWnHxOjhS 3qmBpowWC+exootBNAySlE5X6djnqabhONh9N8gTk8wfVizI7LVhECOB11HfN+Rjfj6hQxfAHV+Tv v26PZtcgq/M8IiIITAjwWaY9q9JiwVLps+sWDax/P6XmN/aeVc/y91RB1b53QuAMTqLPJQA1o40Wt MEvmRFtvpN+Th5Pb2dXg6DTkPmOM4/ohFbNxMVgRvynVtkt5a/siNH2a01uWsmqMTvPda89pUbWXO MkkcTko97JL+FhPkENIZsXFI5r1p8Rlltj6FQl2iEeJOx603RQe4dDnCT/wTeqkxbZ7tsUTvK0aYs IUff/1chMsM5xA==; Original-Received: from [87.69.77.57] (port=4200 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 1n2p1n-0007lB-Cz; Thu, 30 Dec 2021 01:35:07 -0500 In-Reply-To: <4A6F417A-EF74-40B6-9517-6C0947AB87A6@gmail.com> (message from Yuan Fu on Wed, 29 Dec 2021 16:59:44 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:283620 Archived-At: > From: Yuan Fu > Date: Wed, 29 Dec 2021 16:59:44 -0800 > Cc: Yoav Marco , > Clément Pit-Claudel , > Emacs developers , > John Yates , > Stefan Monnier , > Philipp , > Stephen Leake , > Theodor Thornhill , > ubolonton@gmail.com > > BTW, I can’t seem to compiler Emacs after merging master. (But master along compiles fine.) Neither make bootstrap nor git clean -xf worked. I’m getting > > ./temacs --batch -l loadup --temacs=pbootstrap \ > --bin-dest /Users/yuan/emacs/nextstep/Emacs.app/Contents/MacOS/ --eln-dest /Users/yuan/emacs/nextstep/Emacs.app/Contents/Frameworks/ > Loading loadup.el (source)... > Symbol's function definition is void: internal-timer-start-idle > make[2]: *** [bootstrap-emacs.pdmp] Error 255 > make[1]: *** [src] Error 2 > make: *** [bootstrap] Error 2 > > How should I go about debugging this? Run the offending command under a debugger, and try to find out which code in loadup.el causes this. On macOS, this is a bit tough, since GDB doesn't work,so you cannot easily examine Lisp data using the commands in src/.gdbinit. You could also try bisecting to find the offending commit.