From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#65286: 30.0.50; package-install-file for built-in package Date: Mon, 14 Aug 2023 11:55:11 +0000 Message-ID: <87o7j9q1nk.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11528"; mail-complaints-to="usenet@ciao.gmane.io" To: 65286@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 14 13:55:09 2023 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 1qVWA8-0002kl-OJ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Aug 2023 13:55:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVWA4-0006zV-Fw; Mon, 14 Aug 2023 07:55:04 -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 1qVWA2-0006zE-Bo for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 07:55:02 -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 1qVWA2-00076F-34 for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 07:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVWA1-0007oI-UR for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 07:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Aug 2023 11:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65286 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169201409930004 (code B ref -1); Mon, 14 Aug 2023 11:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Aug 2023 11:54:59 +0000 Original-Received: from localhost ([127.0.0.1]:33057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVW9y-0007nr-S3 for submit@debbugs.gnu.org; Mon, 14 Aug 2023 07:54:59 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:40694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVW9x-0007nO-LL for submit@debbugs.gnu.org; Mon, 14 Aug 2023 07:54:58 -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 1qVW9s-0006ya-6u for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 07:54:52 -0400 Original-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 ) id 1qVW9o-00070N-RI for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 07:54:51 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9302D240101 for ; 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== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RPXrQ05f3z6twc for ; Mon, 14 Aug 2023 13:54:45 +0200 (CEST) Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; 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-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:267408 Archived-At: 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 /tmp/org-mode/lisp 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 . Support Org development at , or support my work at