From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8764: 24.0.50; cedet/semantic/bovine/c-by.el:184:1:Error: Lisp nesting exceeds `max-lisp-eval-depth' Date: Fri, 03 Dec 2021 22:20:54 +0100 Message-ID: <87v905tmfd.fsf_-_@gnus.org> References: <87ipssktyz.fsf@cbbrowne.afilias-int.info> <2ec9475a-fdd6-3325-b9f1-9cd7b1df6e5f@cs.ucla.edu> 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="14870"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 8764@debbugs.gnu.org, Christopher Browne , Stefan Monnier , David Engster To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 03 22:22:12 2021 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 1mtG0Q-0003X1-Cc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 22:22:10 +0100 Original-Received: from localhost ([::1]:57202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtG0P-0001Kq-20 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 16:22:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtG0I-0001KV-9e for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 16:22:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtG0I-0005Jp-2E for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 16:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtG0H-0003ma-RB for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 16:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Dec 2021 21:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 8764-submit@debbugs.gnu.org id=B8764.163856647514469 (code B ref 8764); Fri, 03 Dec 2021 21:22:01 +0000 Original-Received: (at 8764) by debbugs.gnu.org; 3 Dec 2021 21:21:15 +0000 Original-Received: from localhost ([127.0.0.1]:52353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtFzX-0003lI-07 for submit@debbugs.gnu.org; Fri, 03 Dec 2021 16:21:15 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:56724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtFzT-0003l1-Gr for 8764@debbugs.gnu.org; Fri, 03 Dec 2021 16:21:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mZJmjC/kzFh43UEmqn+Hr7rWETsi1A0rqA3C6W9XhlE=; b=BjTH8SC91VM0w0GBNTXwE8a6Jo AYQ7x1spq5+xdRA87NnJhdJIOBvZz8vY77zc+6qFgpV6Y3t+FtcEhn6nwF13ALnRbWLw53jdI7rlB WYgsNqMNXcCkbcC+jc+i54G7syZ/FNbES3tGf8h351773xIDjA8L8hCFRKpCJIP1Ufj4=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtFzE-0006Nt-JV; Fri, 03 Dec 2021 22:21:00 +0100 X-Now-Playing: Depeche Mode's _Construction Time Again_: "Love, In Itself" In-Reply-To: <2ec9475a-fdd6-3325-b9f1-9cd7b1df6e5f@cs.ucla.edu> (Paul Eggert's message of "Fri, 5 Nov 2021 12:10:39 -0700") 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" Xref: news.gmane.io gmane.emacs.bugs:221416 Archived-At: Paul Eggert writes: > One hypothesis is that c-by.el depends on some other .el file being > compiled into *.elc form (rather than being present in only source > form), and that using 'make -j5' causes 'make' on my platform to > (unluckily) arrange for c-by.el to be compiled before the other *.elc > file (whatever it is) is available. I found a reproducer: larsi@xo:~/src/emacs/trunk$ rm lisp/emacs-lisp/cconv.elc larsi@xo:~/src/emacs/trunk$ ./src/emacs -batch --eval '(byte-compile-file "= ./lisp/cedet/semantic/bovine/c-by.el")' In toplevel form: lisp/cedet/semantic/bovine/c-by.el:198:1: Error: Lisp nesting exceeds =E2= =80=98max-lisp-eval-depth=E2=80=99 larsi@xo:~/src/emacs/trunk$ ./src/emacs -batch --eval '(byte-compile-file "= ./lisp/emacs-lisp/cconv.el")' larsi@xo:~/src/emacs/trunk$ ./src/emacs -batch --eval '(byte-compile-file "= ./lisp/cedet/semantic/bovine/c-by.el")' larsi@xo:~/src/emacs/trunk$=20 And indeed: larsi@xo:~/src/emacs/trunk$ rm lisp/emacs-lisp/cconv.elc lisp/cedet/semanti= c/bovine/c-by.elc rm: cannot remove 'lisp/cedet/semantic/bovine/c-by.elc': No such file or di= rectory larsi@xo:~/src/emacs/trunk$ make -j8 make -C lib all make -C doc/lispref info [...] make[2]: Entering directory '/home/larsi/src/emacs/trunk/lisp' ELC emacs-lisp/cconv.elc ELC cedet/semantic/bovine/c-by.elc In toplevel form: cedet/semantic/bovine/c-by.el:198:1: Error: Lisp nesting exceeds =E2=80=98m= ax-lisp-eval-depth=E2=80=99 make[2]: *** [Makefile:312: cedet/semantic/bovine/c-by.elc] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/larsi/src/emacs/trunk/lisp' make[1]: *** [Makefile:342: compile-main] Error 2 make[1]: Leaving directory '/home/larsi/src/emacs/trunk/lisp' make: *** [Makefile:439: lisp] Error 2 Now, cconv.elc is already in COMPILE_FIRST... and adding it to MAIN_FIRST in addition doesn't seem to help. It doesn't seem to actually wait until compiling MAIN_FIRST is done before doing the rest? (If I'm reading the Makefile correctly.) Yup. I've now separated out the MAIN_FIRST into its own target, and that fixes this problem. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no