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.bugs Subject: bug#70355: emacs-29 build fails byte-compiling lisp/org/ox.el Date: Sat, 13 Apr 2024 10:05:14 +0300 Message-ID: <86v84lrbdh.fsf@gnu.org> References: <86cyqusary.fsf@gnu.org> <68e6ab8c-a01a-8863-f637-d0b255e7412b@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="33926"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70355@debbugs.gnu.org To: morf Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 13 09:06:23 2024 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 1rvXSx-0008fS-8Q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Apr 2024 09:06:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvXSU-0003l2-W7; Sat, 13 Apr 2024 03:05:55 -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 1rvXSS-0003j2-UW for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 03:05:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rvXSS-0004kt-Ik for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 03:05:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rvXSc-0007OX-G6 for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 03:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Apr 2024 07:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70355 X-GNU-PR-Package: emacs Original-Received: via spool by 70355-submit@debbugs.gnu.org id=B70355.171299193928183 (code B ref 70355); Sat, 13 Apr 2024 07:06:02 +0000 Original-Received: (at 70355) by debbugs.gnu.org; 13 Apr 2024 07:05:39 +0000 Original-Received: from localhost ([127.0.0.1]:59907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvXSD-0007K4-9a for submit@debbugs.gnu.org; Sat, 13 Apr 2024 03:05:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvXS9-0007If-Sr for 70355@debbugs.gnu.org; Sat, 13 Apr 2024 03:05:35 -0400 Original-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 1rvXRt-0004dN-00; Sat, 13 Apr 2024 03:05:18 -0400 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=3Z5gG+qMesKlx2Jjp5fXFy6ZTMwuTTN6zYUnc/LDiEA=; b=EmALxE0Wy2BiIcgq8qQ5 YngCNLrUoEUetG1//MZAbo+bxpuBbOw43uIQsyPNVYP9kmA3T8yLC1hkCi5rA2KFGVXIZU9d8iG5r ToZuPGWkoimLhQemiMdsvMsaNJgQyIkuhUEzGGaobdzEaXHjzHNvYG4ZK9NGvnV+zbYB136VpAuJn xpm4SUXOGCUZRI/2n2Z9E0KZgPtOuuqHN1O5agcGsGFOjebEcTbmSJ3Xnsa7xcyqYnBkJIWHKvbq4 oqFu3a/TiIE/7v+b8e1K6lKjOkJtDbvQ24AXFRFxVLX27bevEBeQAJEc89a7Z5YE2ltK6d+CRRxIO wrhZQqrGd0NO5Q==; In-Reply-To: <68e6ab8c-a01a-8863-f637-d0b255e7412b@gmail.com> (message from morf on Sat, 13 Apr 2024 02:19:17 +0200) 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:283163 Archived-At: [Please use Reply All to reply, to keep the bug tracker CC'ed.] Forwarding to the bug tracker: > Date: Sat, 13 Apr 2024 02:19:17 +0200 > From: morf > > Thank you for responding. > > Yes, make bootstrap, did that already a couple of times, but I keep running into the same error. What is odd is > that the byte-compile (see fragment in my post) of ox.el gives the line number, when manually trying to > byte-compile org-element.el (the offender) I get no line number at all. Hmm. > > Will keep trying to figure out what is wrong here. I wonder where the tramp stuff enters. > > Eli Zaretskii wrote on 4/12/24 20:20: > > Date: Fri, 12 Apr 2024 16:14:38 +0200 > From: morf > > While wondering if this is the place to bring my issue, allow me to state it nevertheless. > > I was trying to compile emacs-29 from sources. However the build fails, and chokes on byte-compiling > lisp/org/ox.el: > > ... > make[3]: Entering directory '/home/bjd/mint/packages/emacs-mirror/lisp' > '../src/emacs' -batch --no-site-file --no-site-lisp --eval "(setq load-prefer-newer t byte-compile-warnings 'all)" -f > batch-byte-compile org/ox.el > > In toplevel form: > org/ox.el:82:2: Error: Eager macro-expansion failure: (error "Eager macro-expansion failure: (error \"Eager > macro-expansion failure: (error \\\"Eager macro-expansion skipped due to cycle: > … => (load \\\\\\\"tramp-archive.el\\\\\\\") => (macroexpand-all …) => (macroexpand (eval-and-compile …)) => > (load \\\\\\\"tramp-gvfs.el\\\\\\\") => (load \\\\\\\"tramp.el\\\\\\\") => (load \\\\\\\"tramp-archive.el\\\\\\\")\\\")\")") > Makefile:332: recipe for target 'org/ox.elc' failed > make[3]: *** [org/ox.elc] Error 1 > make[3]: Leaving directory '/home/bjd/mint/packages/emacs-mirror/lisp' > Makefile:383: recipe for target 'main-first' failed > make[2]: *** [main-first] Error 2 > make[2]: Leaving directory '/home/bjd/mint/packages/emacs-mirror/lisp' > Makefile:533: recipe for target 'lisp' failed > make[1]: *** [lisp] Error 2 > make[1]: Leaving directory '/home/bjd/mint/packages/emacs-mirror' > make[1]: Entering directory '/home/bjd/mint/packages/emacs-mirror' > *** > *** "make all" failed with exit status 2. > ... > > I think this can be traced back to byte-compiling lisp/org/org-element.el; when I try to byte-compile that > manually I do indeed get the error about Eager macro-expansion failure, but I am unsure what actually causes > this failure. > > Comments? > > > I cannot reproduce that. Suggest "make bootstrap".