From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: morf Newsgroups: gmane.emacs.bugs Subject: bug#70355: emacs-29 build fails byte-compiling lisp/org/ox.el Date: Sat, 13 Apr 2024 16:33:30 +0200 Message-ID: <628b6349-39d9-d7f0-16f4-e381631bc06b@gmail.com> References: <86cyqusary.fsf@gnu.org> <68e6ab8c-a01a-8863-f637-d0b255e7412b@gmail.com> <86v84lrbdh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------0xTfHrlcrqg9RSBd74euyZWr" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29594"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cc: 70355@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 13 18:40:38 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 1rvgQf-0007ZS-Ib for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Apr 2024 18:40:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvgQ0-0000rA-9T; Sat, 13 Apr 2024 12:39:56 -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 1rvgPz-0000ql-Il for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 12:39:55 -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 1rvgPz-000118-9u for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 12:39:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rvgQ9-0006j5-Ot for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2024 12:40:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: morf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Apr 2024 16:40:05 +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.171302636925418 (code B ref 70355); Sat, 13 Apr 2024 16:40:05 +0000 Original-Received: (at 70355) by debbugs.gnu.org; 13 Apr 2024 16:39:29 +0000 Original-Received: from localhost ([127.0.0.1]:33713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvgPV-0006bB-3K for submit@debbugs.gnu.org; Sat, 13 Apr 2024 12:39:28 -0400 Original-Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]:51244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rveRw-0004hS-Dm for 70355@debbugs.gnu.org; Sat, 13 Apr 2024 10:33:50 -0400 Original-Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a51a7d4466bso204948666b.2 for <70355@debbugs.gnu.org>; Sat, 13 Apr 2024 07:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713018812; x=1713623612; darn=debbugs.gnu.org; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=bdaqQ9Oj2u+9Mkv9sY2Xq2pdbX0U5OiZncbutYJoJq0=; b=GTUvebgLTVK2+0mTuD5TdPeFSEdxqPAzEET/IMer40CkWtisO/LJ6XfLqhXs/++uRp g8GN65yFhpdILt4QEmlYctIVvukbeBxYF+c/F/Teje5hM8LTj50Celfcumw40YRfsg/K xWlZbl0YyNRWOSG5HfN83YTi9XrUhAMX6chJ8qPP1QaJgxRxQ49gMRKUwZI7oV1YPxa8 twx+9HYLCW5kiNjhc+tdewossUSMA7zbmDDXexkCYczMx5M6OlLVRtO7A01q0Q9Bo+WK fVhdQY+9XrNPQTdveJyO2hC0DtpsraHRF+NlwqA7c3AYYvdvXo2SJkT2skdmzqOwlF0o DJ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713018812; x=1713623612; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=bdaqQ9Oj2u+9Mkv9sY2Xq2pdbX0U5OiZncbutYJoJq0=; b=ZQbVbyodETv/kbqsichRcz79DntjodpZ+mdQ+BGseZYzQfYQ7HBD9tHHIfkakyN1xH EOXutDW1kWLg394bEFUlWKh61/dlu4Bhp3HYxZxac5ZCxgVlsnDA7SAkuCtWq3rhajZ9 VBsSqFRaU/wE1hkFpgd8nB2lPcqHDdFdrf7OMYancHLeP/ZEhV5EIS8WVdmJzOXSmkis 1JF8+lj6o0ty+aMkLqFk5kk+O0el3hGihB61TKOgHoZLd0aVJpX6wfOkQ3dQ/dUwcM8R 3RWQ/dpO0zBlktlmLsCCZtF1+v3lKCdnpvdjJ6oBzTde3BGr831WUq0Qj7x114UyvBNr H+yA== X-Gm-Message-State: AOJu0YwT7Z2A5ySB+EEXTTtNbJZ+BqlTWqRjlg9dT7ysKGTG7fhczf87 IamCS+ZG+s46azu6E7drpogQ7zbtQk8F1t6qHj8lwk6n2GIpul8e X-Google-Smtp-Source: AGHT+IEjdzHcsCvs5eTtfFVEWS4CEL0NZzpHR3Z39kXdpTPIIXrTHNXj+1aR9e6rJBsD2cUdeTe5GQ== X-Received: by 2002:a17:906:1355:b0:a52:1770:965 with SMTP id x21-20020a170906135500b00a5217700965mr3316637ejb.42.1713018811461; Sat, 13 Apr 2024 07:33:31 -0700 (PDT) Original-Received: from ?IPV6:2a02:a46f:9175:1:180e:a76d:1ae4:d6c6? (2a02-a46f-9175-1-180e-a76d-1ae4-d6c6.fixed6.kpn.net. [2a02:a46f:9175:1:180e:a76d:1ae4:d6c6]) by smtp.gmail.com with ESMTPSA id z16-20020a170906715000b00a474ef94fddsm3066315ejj.70.2024.04.13.07.33.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Apr 2024 07:33:31 -0700 (PDT) Content-Language: nl In-Reply-To: <86v84lrbdh.fsf@gnu.org> X-Mailman-Approved-At: Sat, 13 Apr 2024 12:39:21 -0400 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:283226 Archived-At: This is a multi-part message in MIME format. --------------0xTfHrlcrqg9RSBd74euyZWr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Ah yes, my bad, thanks for setting me straight. I've been out of this too long. Eli Zaretskii wrote on 4/13/24 09:05: > [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". --------------0xTfHrlcrqg9RSBd74euyZWr Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Ah yes, my bad, thanks for setting me straight. I've been out of this too long.



Eli Zaretskii wrote on 4/13/24 09:05:
[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 <amorfortia@gmail.com>

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 <amorfortia@gmail.com>

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".

--------------0xTfHrlcrqg9RSBd74euyZWr--