X-Loop: help-debbugs@HIDDEN Subject: bug#65286: 30.0.50; package-install-file for built-in package Resent-From: Ihor Radchenko <yantar92@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 14 Aug 2023 11:55:01 +0000 Resent-Message-ID: <handler.65286.B.169201409930004 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 65286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 65286 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.169201409930004 (code B ref -1); Mon, 14 Aug 2023 11:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Aug 2023 11:54:59 +0000 Received: from localhost ([127.0.0.1]:33057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qVW9y-0007nr-S3 for submit <at> debbugs.gnu.org; Mon, 14 Aug 2023 07:54:59 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1qVW9x-0007nO-LL for submit <at> debbugs.gnu.org; Mon, 14 Aug 2023 07:54:58 -0400 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 <yantar92@HIDDEN>) id 1qVW9s-0006ya-6u for bug-gnu-emacs@HIDDEN; Mon, 14 Aug 2023 07:54:52 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <yantar92@HIDDEN>) id 1qVW9o-00070N-RI for bug-gnu-emacs@HIDDEN; Mon, 14 Aug 2023 07:54:51 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9302D240101 for <bug-gnu-emacs@HIDDEN>; Mon, 14 Aug 2023 13:54:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692014086; bh=VaQ8PCUpGwVQnSvxoZWndOWnfQgXvTu1PdTvz1P6ru4=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=DgjAc4pYjTcDxHona9WvIKjDxEmJJ0LE8ZkxV5tK10DU6nuDkT26ZWou6EXVBRXRG F/gnaI2i4jBuhnSxwD6JoG5diagKk14cImpSp8oJVGJBXkB+0LiJNU/qLLEd3nf+Gs f7dHWuTw79Nw6mCF+u+agPzC6cQsTrnY2iY0J5kOoPgpQ9ZGU54ZrdXEWrcvc09PC4 LdtuihhvcP8lF1htPQh3z1h+PEewk6WR2TVDZTVWJY2gWRemDXbNgrbHRSCCgcOtrG KfQtjyZTubQ0wEIjOEvR8kP7cQ1l8EXBcvTTHDInYu1AO1BCneUo+6T17ENfEnj4T/ n0/dMBtZmx8Gg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RPXrQ05f3z6twc for <bug-gnu-emacs@HIDDEN>; Mon, 14 Aug 2023 13:54:45 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> Date: Mon, 14 Aug 2023 11:55:11 +0000 Message-ID: <87o7j9q1nk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@HIDDEN; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Hi, I am trying to figure out ways to deal with mixing Org versions. (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62762) In my tests, I was trying to utilize M-x package-install-file to emulate ELPA installation. And I think that I stumbled upon a bug in this command. Recipe: 1. Remove default elpa directory 2. cd /tmp; git clone --depth 1 --branch feature/provide-version https://git.sr.ht/~yantar92/org-mode 3. cd org-mode/lisp 4. emacs -Q 5. M-x org-version 6. M-x package-install-file <RET> /tmp/org-mode/lisp <RET> 7. Observe ob-gnuplot.el:45:2: Error: Recursive load: "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/org.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/org.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/org.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/org.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/ox.el", "/home/yantar92/.emacs.d/elpa/org-9.7pre/ox-ascii.el" The same does not happen if we skip step (4). Also, keeping elpa directory around between the tests triggers various failures. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) of 2023-08-13 built on localhost Repository revision: bfde3a4482ce7775f00a17b597daa1b188ef0d43 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 System Description: Gentoo Linux -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ihor Radchenko <yantar92@HIDDEN> Subject: bug#65286: Acknowledgement (30.0.50; package-install-file for built-in package) Message-ID: <handler.65286.B.169201409930004.ack <at> debbugs.gnu.org> References: <87o7j9q1nk.fsf@localhost> X-Gnu-PR-Message: ack 65286 X-Gnu-PR-Package: emacs Reply-To: 65286 <at> debbugs.gnu.org Date: Mon, 14 Aug 2023 11:55:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 65286 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 65286: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65286 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#65286: 30.0.50; package-install-file for built-in package Resent-From: Philip Kaludercic <philipk@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 14 Aug 2023 13:55:02 +0000 Resent-Message-ID: <handler.65286.B65286.169202128322177 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 65286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ihor Radchenko <yantar92@HIDDEN> Cc: 65286 <at> debbugs.gnu.org Received: via spool by 65286-submit <at> debbugs.gnu.org id=B65286.169202128322177 (code B ref 65286); Mon, 14 Aug 2023 13:55:02 +0000 Received: (at 65286) by debbugs.gnu.org; 14 Aug 2023 13:54:43 +0000 Received: from localhost ([127.0.0.1]:33202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qVY1q-0005lb-PB for submit <at> debbugs.gnu.org; Mon, 14 Aug 2023 09:54:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philipk@HIDDEN>) id 1qVY1n-0005l0-Te for 65286 <at> debbugs.gnu.org; Mon, 14 Aug 2023 09:54:41 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C98E824002A for <65286 <at> debbugs.gnu.org>; Mon, 14 Aug 2023 15:54:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692021273; bh=JJ9Lko2u2sKtYq3dNEo3VwLRjZotH60Djl+SUFxVkvc=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=njBUoyoPwdUUuzTf1zj+2vfqNkbsEIFjOv43UOg/cr0vPYo6JzRGcK51rLjEXgS65 zSuZTiqpUhx6uxgy8AlSCTMSJXF32zBOGPhmcPLfISP0jOTQfalG9Qiy/W6+TXXMfd mhImQbkftRqmj93px56Njrscbg3R3970aNtp2F5CfMQoVNOUmztyB+GxGK1gViILtR GkFTV7yYGpz5joSIiqPJ/q5udGEEKMT2alx6RQLU7pjvuy+wVI9KxFUvnnFLL9BwNI 6XoUvCRY9ymYMTzURCLZnIFlQELKE/OM/FrPkaDilYJLhoXqXn8xabCY1+Pf5t5sLX fZ+NHPHudh9Tg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RPbVd1TrDz6txb; Mon, 14 Aug 2023 15:54:33 +0200 (CEST) From: Philip Kaludercic <philipk@HIDDEN> In-Reply-To: <87o7j9q1nk.fsf@localhost> (Ihor Radchenko's message of "Mon, 14 Aug 2023 11:55:11 +0000") References: <87o7j9q1nk.fsf@localhost> Autocrypt: addr=philipk@HIDDEN; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Date: Mon, 14 Aug 2023 13:54:32 +0000 Message-ID: <87fs4livaf.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Ihor Radchenko <yantar92@HIDDEN> writes: > Hi, > > I am trying to figure out ways to deal with mixing Org versions. > (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62762) > > In my tests, I was trying to utilize M-x package-install-file to emulate > ELPA installation. And I think that I stumbled upon a bug in this > command. > > Recipe: > 1. Remove default elpa directory > 2. cd /tmp; git clone --depth 1 --branch feature/provide-version https://git.sr.ht/~yantar92/org-mode > 3. cd org-mode/lisp > 4. emacs -Q > 5. M-x org-version > 6. M-x package-install-file <RET> /tmp/org-mode/lisp <RET> > 7. Observe > > ob-gnuplot.el:45:2: Error: Recursive load: > "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/org.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/org.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/org.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/org.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/org-element.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/ox.el", > "/home/yantar92/.emacs.d/elpa/org-9.7pre/ox-ascii.el" > > The same does not happen if we skip step (4). > > Also, keeping elpa directory around between the tests triggers various failures. Are you sure that this is not an issue related to org-mode? Could you create a minimal working example to reproduce this issue, by removing as much as possible from the repository while retaining the issue, and then send us a tarball with the remaining files? > In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.38, cairo version 1.17.8) of 2023-08-13 built on localhost > Repository revision: bfde3a4482ce7775f00a17b597daa1b188ef0d43 > Repository branch: master > Windowing system distributor 'The X.Org Foundation', version 11.0.12101008 > System Description: Gentoo Linux
X-Loop: help-debbugs@HIDDEN Subject: bug#65286: 30.0.50; package-install-file for built-in package Resent-From: Ihor Radchenko <yantar92@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 14 Aug 2023 14:03:02 +0000 Resent-Message-ID: <handler.65286.B65286.169202175224457 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 65286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Philip Kaludercic <philipk@HIDDEN> Cc: 65286 <at> debbugs.gnu.org Received: via spool by 65286-submit <at> debbugs.gnu.org id=B65286.169202175224457 (code B ref 65286); Mon, 14 Aug 2023 14:03:02 +0000 Received: (at 65286) by debbugs.gnu.org; 14 Aug 2023 14:02:32 +0000 Received: from localhost ([127.0.0.1]:34091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qVY9P-0006MP-Qj for submit <at> debbugs.gnu.org; Mon, 14 Aug 2023 10:02:32 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1qVY9M-0006M8-Ax for 65286 <at> debbugs.gnu.org; Mon, 14 Aug 2023 10:02:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 36217240027 for <65286 <at> debbugs.gnu.org>; Mon, 14 Aug 2023 16:02:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692021742; bh=daZCzE8VF69GxA1TDl4yJALLj4BDBu1Pt8OJDRMgS5o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=Oxwy1uF6J1T/ROBL1S2edRnq4SSK/7sqhCs8B2VPcUifF9p+oMcEnJxfzvQ2irpEw AjrF5lBtswHYcpnXBsENz2sKXfM9zudhQvpSpAOwJzoN1c5WknVe2KzNo2qvYtEZN1 YpUQts+QEf0G9H6UQXmDWJI+x8SIRj7IYCppuo2hg3z0YbJdlM3/NnKYJdZzmVt8Ni rG/bsvVG0VWqSSzOKc0EFg4SSpgpIn1kuSPQlySalJeRSuJmo8ERtAUWVu1J5Vg6It cADgjDqhJ7csDQZBF0xh28LLkg8JwFOx8VKkOz46sk/5VApFdUB0J6/d/aYSJ+P4zD cJ4E9mtx7FTvQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RPbgd56TLz9rxG; Mon, 14 Aug 2023 16:02:21 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <87fs4livaf.fsf@HIDDEN> References: <87o7j9q1nk.fsf@localhost> <87fs4livaf.fsf@HIDDEN> Date: Mon, 14 Aug 2023 14:02:48 +0000 Message-ID: <87fs4lpvqv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Philip Kaludercic <philipk@HIDDEN> writes: >> Also, keeping elpa directory around between the tests triggers various failures. > > Are you sure that this is not an issue related to org-mode? It might be. But the difference between package-install-file w/without built-in Org loaded is unlikely Org's fault in any case. > Could you create a minimal working example to reproduce this issue, by > removing as much as possible from the repository while retaining the > issue, and then send us a tarball with the remaining files? Sorry, but the issue is triggered by interaction between built-in and non-built-in Org. I have no idea if it is possible at all to create more minimal reproducer. To be clear, I have no clue at all what is going on. I made some relatively innocent changes in Org that added a couple of provide statements. I could see things breaking completely, but not __only__ when built-in Org is loaded. So, any attempt to reduce the reproducer steps will be me trying random things - not very productive unless you absolutely cannot use the reproducer I provided. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
X-Loop: help-debbugs@HIDDEN Subject: bug#65286: 30.0.50; package-install-file for built-in package Resent-From: Philip Kaludercic <philipk@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 14 Aug 2023 14:16:01 +0000 Resent-Message-ID: <handler.65286.B65286.169202251825598 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 65286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ihor Radchenko <yantar92@HIDDEN> Cc: 65286 <at> debbugs.gnu.org Received: via spool by 65286-submit <at> debbugs.gnu.org id=B65286.169202251825598 (code B ref 65286); Mon, 14 Aug 2023 14:16:01 +0000 Received: (at 65286) by debbugs.gnu.org; 14 Aug 2023 14:15:18 +0000 Received: from localhost ([127.0.0.1]:34100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qVYLl-0006en-IV for submit <at> debbugs.gnu.org; Mon, 14 Aug 2023 10:15:18 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philipk@HIDDEN>) id 1qVYLj-0006eY-HK for 65286 <at> debbugs.gnu.org; Mon, 14 Aug 2023 10:15:16 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5268E240101 for <65286 <at> debbugs.gnu.org>; Mon, 14 Aug 2023 16:15:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692022509; bh=zLQMDR+u9WXaQX0jKbegBKVzBIQyDI0BEbaFP7lNQUU=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=hvLRsK4s7qpIcx7hm74DFl12OsabmSdE2iHkFlCy/OSWpJx1y3YoJOy2gCgmg2g92 rRge55fenkDpspB1Mg8o8w+UnBYxG6P2hP3W5kYeRcmE7Pzh9+ubUuLkdlcEkaxri+ 3J0fg9B+YXZuA55Js+jHOrPnQDJyKhLzf5VDL2AG7obNgu7PdUTZHWxeK3+irxxgNl eKBU1RkcJVAFHK0z5VJgclK5fxSDGHiwHZqejx3P0dqCfimsLlwE+WtxusdmogGsMg RBl5SkT71nRbpw62OwifBN3HrY0ryRcDRRuZKKv9hZFjR0H0n6q9wVP+46cYUAD7s3 LnWOlME3Z3Gjg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RPbyN5gfPz9rxL; Mon, 14 Aug 2023 16:15:08 +0200 (CEST) From: Philip Kaludercic <philipk@HIDDEN> In-Reply-To: <87fs4lpvqv.fsf@localhost> (Ihor Radchenko's message of "Mon, 14 Aug 2023 14:02:48 +0000") References: <87o7j9q1nk.fsf@localhost> <87fs4livaf.fsf@HIDDEN> <87fs4lpvqv.fsf@localhost> Autocrypt: addr=philipk@HIDDEN; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Date: Mon, 14 Aug 2023 14:15:07 +0000 Message-ID: <87pm3pyal0.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Ihor Radchenko <yantar92@HIDDEN> writes: > Philip Kaludercic <philipk@HIDDEN> writes: > >>> Also, keeping elpa directory around between the tests triggers various failures. >> >> Are you sure that this is not an issue related to org-mode? > > It might be. But the difference between package-install-file w/without > built-in Org loaded is unlikely Org's fault in any case. For the record, these are the changes between your checkout and what is on master: --=-=-= Content-Type: text/plain Content-Disposition: inline diff -u /tmp/org-mode/lisp/ob-gnuplot.el /home/philip/Source/emacs/lisp/org/ob-gnuplot.el --- /tmp/org-mode/lisp/ob-gnuplot.el 2023-08-14 16:10:37.615919936 +0200 +++ /home/philip/Source/emacs/lisp/org/ob-gnuplot.el 2023-04-05 22:53:26.932222097 +0200 @@ -3,7 +3,7 @@ ;; Copyright (C) 2009-2023 Free Software Foundation, Inc. ;; Author: Eric Schulte -;; Maintainer: Ihor Radchenko <yantar92 at posteo dot net> +;; Maintainer: Ihor Radchenko <yantar92@HIDDEN> ;; Keywords: literate programming, reproducible research ;; URL: https://orgmode.org @@ -40,9 +40,11 @@ ;;; Code: -(require 'ob-9.7 "ob") -(require 'org-macs-9.7 "org-macs") -(require 'ox-ascii-9.7 "ox-ascii") +(require 'org-macs) +(org-assert-version) + +(require 'ob) +(require 'org-macs) (declare-function org-time-string-to-time "org" (s)) (declare-function orgtbl-to-generic "org-table" (table params)) @@ -196,7 +198,7 @@ (defun org-babel-execute:gnuplot (body params) "Execute a block of Gnuplot code. This function is called by `org-babel-execute-src-block'." - (org-require-package 'gnuplot) + (require 'gnuplot) (let ((session (cdr (assq :session params))) (result-type (cdr (assq :results params))) (body (org-babel-expand-body:gnuplot body params)) @@ -260,7 +262,7 @@ If there is not a current inferior-process-buffer in SESSION then create one. Return the initialized session. The current `gnuplot-mode' doesn't provide support for multiple sessions." - (org-require-package 'gnuplot) + (require 'gnuplot) (unless (string= session "none") (save-window-excursion (gnuplot-send-string-to-gnuplot "" "line") @@ -293,33 +295,17 @@ (require 'ox-org) (with-temp-file data-file (insert (let ((org-babel-gnuplot-timestamp-fmt - (or (plist-get params :timefmt) "%Y-%m-%d-%H:%M:%S")) - ;; Create custom limited backend that will disable - ;; advanced ASCII export features that may alter the - ;; original data. - (ob-gnuplot-data - (org-export-create-backend - :parent 'ascii - :transcoders - `(;; Do not try to resolve links. Export them verbatim. - (link . (lambda (link _ _) (org-element-interpret-data link))) - ;; Drop emphasis markers from verbatim and code. - ;; This way, data can use verbatim when escaping - ;; is necessary and yet be readable by Gnuplot, - ;; which is not aware about Org's markup. - (verbatim . (lambda (verbatim _ _) (org-element-property :value verbatim))) - (code . (lambda (code _ _) (org-element-property :value code))))))) + (or (plist-get params :timefmt) "%Y-%m-%d-%H:%M:%S"))) (orgtbl-to-generic table (org-combine-plists - `( :sep "\t" :fmt org-babel-gnuplot-quote-tsv-field + '( :sep "\t" :fmt org-babel-gnuplot-quote-tsv-field ;; Two setting below are needed to make :fmt work. :raw t - :backend ,ob-gnuplot-data) + :backend ascii) params))))) data-file) (provide 'ob-gnuplot) -(provide 'ob-gnuplot-9.7) ;;; ob-gnuplot.el ends here Diff finished. Mon Aug 14 16:12:51 2023 --=-=-= Content-Type: text/plain The (org-assert-version) seems new, with this check `(unless (or org--inhibit-version-check (equal (org-release) ,(org-release))) ... could evaluating (org-release) during macro-expansion cause this recursive load issue? >> Could you create a minimal working example to reproduce this issue, by >> removing as much as possible from the repository while retaining the >> issue, and then send us a tarball with the remaining files? > > Sorry, but the issue is triggered by interaction between built-in and > non-built-in Org. I have no idea if it is possible at all to create more > minimal reproducer. > To be clear, I have no clue at all what is going on. I made some > relatively innocent changes in Org that added a couple of provide > statements. I could see things breaking completely, but not __only__ > when built-in Org is loaded. So, any attempt to reduce the reproducer > steps will be me trying random things - not very productive unless you > absolutely cannot use the reproducer I provided. No, sorry I couldn't reproduce it on my system :/ M-x emacs-version GNU Emacs 30.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-08-14 --=-=-=--
X-Loop: help-debbugs@HIDDEN Subject: bug#65286: 30.0.50; package-install-file for built-in package Resent-From: Ihor Radchenko <yantar92@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 14 Aug 2023 15:10:01 +0000 Resent-Message-ID: <handler.65286.B65286.169202577930963 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 65286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Philip Kaludercic <philipk@HIDDEN> Cc: 65286 <at> debbugs.gnu.org Received: via spool by 65286-submit <at> debbugs.gnu.org id=B65286.169202577930963 (code B ref 65286); Mon, 14 Aug 2023 15:10:01 +0000 Received: (at 65286) by debbugs.gnu.org; 14 Aug 2023 15:09:39 +0000 Received: from localhost ([127.0.0.1]:34175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qVZCN-00083L-CF for submit <at> debbugs.gnu.org; Mon, 14 Aug 2023 11:09:39 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1qVZCL-000837-Ki for 65286 <at> debbugs.gnu.org; Mon, 14 Aug 2023 11:09:38 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 37962240104 for <65286 <at> debbugs.gnu.org>; Mon, 14 Aug 2023 17:09:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692025771; bh=1dr81JA5oaOIQ8aMmbEtFY9nd5ewB9Ytt05owoE3ji4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=jmWzXjj6znf4BtecOXaKJjp5g8vE8ELreY8utpTZOScr+gZSVM1vbBqfeMK6jzJwF eQECPbwzopja/cTqFpy5mBRZ1eGOYLbLA1RRJYY4TwKqy7+a3Ufqq6oWTJYmBl6J2W msVM3TpVgjEOoAn6y1T6VCDBdAS2W/LEvwKlPmUOIc7uIDWhz13ytHDoUu100EWMwx o8FXHBUMgUjvky6N3k5kUWSEiLUjfvLL4+p1uUDVPCsOo491FDaAKI1zxXpXYLB1fj +Kq41Y0wUl6yll+4Zy7jw/l3OLKUbpgfaDU1d4w7HZujm+LldkD0JvT45w8sfUjKIJ +nzipjjVbHp6A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RPd963tVPz9rxF; Mon, 14 Aug 2023 17:09:30 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <87pm3pyal0.fsf@HIDDEN> References: <87o7j9q1nk.fsf@localhost> <87fs4livaf.fsf@HIDDEN> <87fs4lpvqv.fsf@localhost> <87pm3pyal0.fsf@HIDDEN> Date: Mon, 14 Aug 2023 15:09:53 +0000 Message-ID: <877cpxpsn2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Philip Kaludercic <philipk@HIDDEN> writes: > For the record, these are the changes between your checkout and what is > on master: The same error happens for a number of other libraries. I just did not list all the errors in the initial report. Also, the error does not happen when using Org main. I started getting error after the following edits in across Org libraries: > -(require 'ob-9.7 "ob") > -(require 'org-macs-9.7 "org-macs") > -(require 'ox-ascii-9.7 "ox-ascii") > +(require 'org-macs) > +(org-assert-version) > ... > (provide 'ob-gnuplot) > -(provide 'ob-gnuplot-9.7) > The (org-assert-version) seems new, with this check > > `(unless (or org--inhibit-version-check (equal (org-release) ,(org-release))) > ... > > could evaluating (org-release) during macro-expansion cause this > recursive load issue? Nope. `org-release' is defined in automatically generated org-version.el library, which does not depend on anything: ;;; org-version.el --- autogenerated file, do not edit -*- lexical-binding: t -*- ;; ;;; Code: ;;;###autoload (defun org-release () "The release version of Org. Inserted by installing Org mode or when a release is made." (let ((org-release "9.6.7")) org-release)) ;;;###autoload (defun org-git-version () "The Git version of Org mode. Inserted by installing Org or when a release is made." (let ((org-git-version "release_9.6.7-13-g99cc96")) org-git-version)) (provide 'org-version) ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ;; coding: utf-8 ;; End: ;;; org-version.el ends here >> To be clear, I have no clue at all what is going on. I made some >> relatively innocent changes in Org that added a couple of provide >> statements. I could see things breaking completely, but not __only__ >> when built-in Org is loaded. So, any attempt to reduce the reproducer >> steps will be me trying random things - not very productive unless you >> absolutely cannot use the reproducer I provided. > > No, sorry I couldn't reproduce it on my system :/ > > M-x emacs-version > GNU Emacs 30.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-08-14 Curious. To be sure, I just pulled the latest master, did autogen -> configure (with no arguments) -> make bootstrap, and followed the steps to reproduce. I can still see the same problem. Same using Emacs 29, Emacs 28, and Emacs 27. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.