From unknown Sat Aug 16 15:54:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#65283 <65283@debbugs.gnu.org> To: bug#65283 <65283@debbugs.gnu.org> Subject: Status: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path Reply-To: bug#65283 <65283@debbugs.gnu.org> Date: Sat, 16 Aug 2025 22:54:15 +0000 retitle 65283 29.1; package-vc-install fails to install package "ement" bec= ause some dependencies installed by it are omitted from load-path reassign 65283 emacs submitter 65283 Adam Porter severity 65283 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 14 03:14:36 2023 Received: (at submit) by debbugs.gnu.org; 14 Aug 2023 07:14:36 +0000 Received: from localhost ([127.0.0.1]:60931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVRmc-0007tR-Ih for submit@debbugs.gnu.org; Mon, 14 Aug 2023 03:14:36 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVRmZ-0007sx-Q1 for submit@debbugs.gnu.org; Mon, 14 Aug 2023 03:14:33 -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 ) id 1qVRmS-000370-RC for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 03:14:24 -0400 Received: from black.elm.relay.mailchannels.net ([23.83.212.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVRmO-0000Ed-Co for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2023 03:14:23 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BC8F08017D2 for ; Mon, 14 Aug 2023 07:14:15 +0000 (UTC) Received: from pdx1-sub0-mail-a251.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5492580178E for ; Mon, 14 Aug 2023 07:14:15 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1691997255; a=rsa-sha256; cv=none; b=dzoHJSYHQhDw0lkaJnVoLCwZqgMjz79IHBzY6kuP3l+gl393/cz+u2FOrR/DisJsgwuNk/ lVQw4ewz8fd5VYrIx28GL0wiewnPljYHJk9BJ0FAfCNunQGLbXHsK08HWp5aof7vPswFXP E5vKPZa1zdZ4rln0ks0lGUrK+KedvEr40fVrrjk9Cn43hfF+OZ61tPPASpIqEm6Z9NWuja 8ZsvZ7cmo2h31jrG6PbDaej9GV+4dqr23bN3gSmvraY90Q8DE0Jr3APqCYTTk8XfdWfCXu OSd9yDDi/V3WD6jE8VdmZnSuciI6ImNnVVBEtOqZ5ySTbnJ+PqMVV3jeKXLnQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1691997255; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=7ipDz/3eChIqXVr00V4nB6VIFkwPGf//inL329S3Xx0=; b=7ZbEON/crSTlqvafwneZoBh0GNwZ+jATwatdYZGHIYlX2kqk5HbFIwRJT1uSKRro1V9f+p Vg/49E9K0jJ2ZKEXDWaanLQ7gCQ3aDQtu/AeWAMNactc/5igwxjrJMA5KxB7KPoJsVMLd0 w9Zs+M1VF7Z1NoA203Ys8g8tlEEfPMXXjqWrDHjMQq8cpWfEl3trem3O/LemnUa7xRqIh7 YBS+Sx8b/5kReCNb2b+S0BQbwq1bgSkSQXoWyTDq3uRESUTHCPJrAl+lc6jTKHIqRTow4K AdkLxJ1j4DZXMj3GZJVD/ZxM5SIdYoPHiAz7C1n5b0hiv54zgOJjjrDdV7bspw== ARC-Authentication-Results: i=1; rspamd-749bd77c9c-t5zff; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Hysterical-Shrill: 528988d07a498a32_1691997255625_1688279608 X-MC-Loop-Signature: 1691997255625:3982373253 X-MC-Ingress-Time: 1691997255624 Received: from pdx1-sub0-mail-a251.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.126.240.200 (trex/6.9.1); Mon, 14 Aug 2023 07:14:15 +0000 Received: from [10.66.0.110] (unknown [91.193.232.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a251.dreamhost.com (Postfix) with ESMTPSA id 4RPQck5z00z1d for ; Mon, 14 Aug 2023 00:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1691997255; bh=2gAsw6zJUYm9kCbUMGmeQaTPUYq+m2DBWBiHu5Xc58g=; h=Date:To:Subject:From:Content-Type:Content-Transfer-Encoding; b=SJy5Cw9AcwSwvXnmH9v+Wv8gInUZy76LXytaBO3TZy00yae1MK9fOodzQivOYS2/M amT3hmc7sz5S6N8uL/190EGnAKfX0k+SsJ7UxRo3aOJGUKyjFFxkgDwIz3AA71h02R Ysqk5u95b0lzozmyz4yhpMMt82yzqEEYUtOw46qaXifYp7FPzzTmmfP8VyrpN9Tlxf OArCnoStXtri/IDqPyT3ozttdtg/GMBMHKxyRpmCqJPrFi+21rfyPwWOW+QYtWWHi3 R+Z5O4U9i3jZnGMTE9oj9K5UuopmWtcrRfBBnOmxdACL4VklvbBrGfKVaqilRfXfaT TYsnPtbFwrBBQ== Message-ID: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> Date: Mon, 14 Aug 2023 02:14:04 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 To: bug-gnu-emacs@gnu.org Subject: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path Content-Language: en-US From: Adam Porter Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: neutral client-ip=23.83.212.19; envelope-from=adam@alphapapa.net; helo=black.elm.relay.mailchannels.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) Hi, Wanting to test whether package-vc-install in Emacs 29.1 is now a suitable replacement for Quelpa for installing my Ement.el package from git, I started an instance of Emacs 29.1 in a clean configuration and evaluated: (package-vc-install "https://github.com/alphapapa/ement.el") It seemed to proceed, installing Ement's dependencies, but when it began to compile Ement itself, it gave errors about not being able to find one of the dependencies, taxy-magit-section: Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-api.el at Mon Aug 14 01:56:31 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-directory.el at Mon Aug 14 01:56:31 2023 ement-directory.el:32:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-lib.el at Mon Aug 14 01:56:31 2023 ement-lib.el:30:2: Error: Cannot open load file: No such file or directory, taxy-magit-section Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-macros.el at Mon Aug 14 01:56:31 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-notify.el at Mon Aug 14 01:56:31 2023 ement-notify.el:33:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-room-list.el at Mon Aug 14 01:56:31 2023 ement-room-list.el:34:2: Error: Cannot open load file: No such file or directory, taxy-magit-section Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-room.el at Mon Aug 14 01:56:31 2023 ement-room.el:54:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-structs.el at Mon Aug 14 01:56:31 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-tabulated-room-list.el at Mon Aug 14 01:56:31 2023 ement-tabulated-room-list.el:48:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement.el at Mon Aug 14 01:56:31 2023 ement.el:61:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/ement/’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/tests/ement-tests.el at Mon Aug 14 01:56:31 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/ement/tests/’ ement-tests.el:29:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Pressing "C-h P taxy-magit-section RET" shows: Package taxy-magit-section is dependency. Status: Installed in ‘taxy-magit-section-0.12.2/’. Version: 0.12.2 Commit: 594531569c03206cbc83b74d679ffd0e93edb4d0 But, while other dependency packages have been added to the load-path, taxy-magit-section has not: load-path is a variable defined in ‘C source code’. Its value is ("/tmp/tmp.pHnRPcOV41/elpa/ement" "/tmp/tmp.pHnRPcOV41/elpa/magit-section-20230805.1908" "/tmp/tmp.pHnRPcOV41/elpa/dash-20230714.723" "/tmp/tmp.pHnRPcOV41/elpa/compat-29.1.4.2" "/tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1" "/tmp/tmp.pHnRPcOV41/elpa/plz-0.7" "/tmp/tmp.pHnRPcOV41/elpa/persist-0.5" "/tmp/tmp.pHnRPcOV41/elpa/svg-lib-0.2.7" "/home/me/.guix-profile/share/emacs/site-lisp" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/vc" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/use-package" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/url" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/textmodes" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/progmodes" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/play" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/org" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/nxml" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/net" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/mh-e" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/mail" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/leim" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/language" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/international" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/image" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/gnus" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/eshell" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/erc" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/emulation" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/emacs-lisp" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/cedet" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/calendar" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/calc" "/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/obsolete") I've no explanation for why it would be omitted wile other dependencies installed by the same command were added correctly. My only guess is that it could be that package-vc is not correctly handling the fact that "taxy-magit-section" is maintained in the same git repository as "taxy", in a separate branch. GNU ELPA handles this correctly, so it seems that package-vc should as well. Following is the full output from the "*Compile-Log*" buffer. Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/svg-lib-0.2.7’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/svg-lib-0.2.7/svg-lib-demo.el at Mon Aug 14 01:56:25 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/svg-lib-0.2.7/’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/svg-lib-0.2.7/svg-lib.el at Mon Aug 14 01:56:25 2023 In svg-lib-style: svg-lib.el:227:34: Warning: Unused lexical variable `value' In svg-lib-progress-pie: svg-lib.el:373:49: Warning: ‘pi’ is an obsolete variable (as of 23.3); use ‘float-pi’ instead. svg-lib.el:381:34: Warning: ‘pi’ is an obsolete variable (as of 23.3); use ‘float-pi’ instead. In svg-lib-date: svg-lib.el:650:11: Warning: Unused lexical variable `alignment' svg-lib.el:659:11: Warning: Unused lexical variable `font-weight' svg-lib.el:665:11: Warning: Unused lexical variable `ascent' svg-lib.el:666:11: Warning: Unused lexical variable `tag-char-width' svg-lib.el:667:11: Warning: Unused lexical variable `tag-char-height' Compiling internal form(s) at Mon Aug 14 01:56:25 2023 Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/persist-0.5’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/persist-0.5/persist.el at Mon Aug 14 01:56:25 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/persist-0.5/’ Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/persist-0.5/’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/persist-0.5/test/persist-tests.el at Mon Aug 14 01:56:25 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/persist-0.5/test/’ persist-tests.el:18:7: Warning: ‘seq-contains’ is an obsolete function (as of 27.1); use ‘seq-contains-p’ instead. Compiling internal form(s) at Mon Aug 14 01:56:26 2023 Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/plz-0.7’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/plz-0.7/plz.el at Mon Aug 14 01:56:26 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/plz-0.7/’ Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/plz-0.7/’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/plz-0.7/tests/test-plz.el at Mon Aug 14 01:56:26 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/plz-0.7/tests/’ Compiling internal form(s) at Mon Aug 14 01:56:27 2023 Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1/taxy.el at Mon Aug 14 01:56:27 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1/’ In taxy-take-keyed: taxy.el:148:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting) Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1/’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1/examples/bookmarky.el at Mon Aug 14 01:56:28 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1/examples/’ bookmarky.el:34:2: Error: Cannot open load file: No such file or directory, taxy-magit-section Compiling file /tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1/examples/deffy.el at Mon Aug 14 01:56:28 2023 deffy.el:34:2: Error: Cannot open load file: No such file or directory, taxy-magit-section Compiling file /tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1/examples/diredy.el at Mon Aug 14 01:56:28 2023 diredy.el:32:2: Error: Cannot open load file: No such file or directory, taxy-magit-section Compiling file /tmp/tmp.pHnRPcOV41/elpa/taxy-0.10.1/examples/taxy-package-report.el at Mon Aug 14 01:56:28 2023 taxy-package-report.el:31:2: Error: Cannot open load file: No such file or directory, taxy-magit-section Compiling internal form(s) at Mon Aug 14 01:56:29 2023 Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/compat-29.1.4.2’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/compat-29.1.4.2/compat-25.el at Mon Aug 14 01:56:29 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/compat-29.1.4.2/’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/compat-29.1.4.2/compat-26.el at Mon Aug 14 01:56:29 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/compat-29.1.4.2/compat-27.el at Mon Aug 14 01:56:29 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/compat-29.1.4.2/compat-28.el at Mon Aug 14 01:56:29 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/compat-29.1.4.2/compat-29.el at Mon Aug 14 01:56:29 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/compat-29.1.4.2/compat.el at Mon Aug 14 01:56:29 2023 Compiling internal form(s) at Mon Aug 14 01:56:30 2023 Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/dash-20230714.723’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/dash-20230714.723/dash.el at Mon Aug 14 01:56:30 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/dash-20230714.723/’ Compiling internal form(s) at Mon Aug 14 01:56:30 2023 Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/magit-section-20230805.1908’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/magit-section-20230805.1908/magit-section.el at Mon Aug 14 01:56:30 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/magit-section-20230805.1908/’ Compiling internal form(s) at Mon Aug 14 01:56:31 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-api.el at Mon Aug 14 01:56:31 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-directory.el at Mon Aug 14 01:56:31 2023 ement-directory.el:32:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-lib.el at Mon Aug 14 01:56:31 2023 ement-lib.el:30:2: Error: Cannot open load file: No such file or directory, taxy-magit-section Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-macros.el at Mon Aug 14 01:56:31 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-notify.el at Mon Aug 14 01:56:31 2023 ement-notify.el:33:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-room-list.el at Mon Aug 14 01:56:31 2023 ement-room-list.el:34:2: Error: Cannot open load file: No such file or directory, taxy-magit-section Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-room.el at Mon Aug 14 01:56:31 2023 ement-room.el:54:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-structs.el at Mon Aug 14 01:56:31 2023 Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement-tabulated-room-list.el at Mon Aug 14 01:56:31 2023 ement-tabulated-room-list.el:48:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/ement.el at Mon Aug 14 01:56:31 2023 ement.el:61:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Leaving directory ‘/tmp/tmp.pHnRPcOV41/elpa/ement/’ Compiling file /tmp/tmp.pHnRPcOV41/elpa/ement/tests/ement-tests.el at Mon Aug 14 01:56:31 2023 Entering directory ‘/tmp/tmp.pHnRPcOV41/elpa/ement/tests/’ ement-tests.el:29:2: Error: Eager macro-expansion failure: (file-missing "Cannot open load file" "No such file or directory" "taxy-magit-section") Compiling internal form(s) at Mon Aug 14 01:57:54 2023 Thanks for your work on Emacs. In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure CONFIG_SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash --prefix=/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1 --enable-fast-install --with-modules --with-cairo --with-native-compilation --disable-build-details' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $EMACSLOADPATH: /home/me/.guix-profile/share/emacs/site-lisp:/gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug cl-print help-fns ement-api shr pixel-fill kinsoku url-file notifications dbus dns ement-structs ement-macros magit-section ement-autoloads benchmark format-spec dash cursor-sensor compat magit-section-autoloads dash-autoloads ert-x compat-macs compat-autoloads project taxy bookmark taxy-autoloads plz let-alist pcase info plz-autoloads ert ewoc debug backtrace find-func persist persist-autoloads svg-lib color svg dom xml compile comint ansi-osc ansi-color ring svg-lib-autoloads loaddefs-gen radix-tree tar-mode arc-mode archive-mode vc-git diff-mode easy-mmode package-vc vc vc-dispatcher cus-edit pp cus-start cus-load wid-edit lisp-mnt thingatpt comp comp-cstr warnings icons rx cl-extra help-mode mm-archive message sendmail yank-media dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util text-property-search time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils gnutls network-stream url-cache url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny epg rfc6068 epg-config finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 453507 71437) (symbols 48 22692 0) (strings 32 131134 6661) (string-bytes 1 3346760) (vectors 16 40012) (vector-slots 8 719314 30377) (floats 8 305 79) (intervals 56 839 0) (buffers 976 24)) From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 14 04:13:28 2023 Received: (at 65283) by debbugs.gnu.org; 14 Aug 2023 08:13:28 +0000 Received: from localhost ([127.0.0.1]:60982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVShb-0002FN-TZ for submit@debbugs.gnu.org; Mon, 14 Aug 2023 04:13:28 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54779) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVShZ-0002FA-VZ for 65283@debbugs.gnu.org; Mon, 14 Aug 2023 04:13:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6ABFD240027 for <65283@debbugs.gnu.org>; Mon, 14 Aug 2023 10:13:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692000800; bh=oHtGLdjI7P0AKxDpyEJRWkN7//92qjHLBjiuSYgp1To=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=ne1LvkOAZHdCrsukiJ7cuEFblMfMPEdwRsQSNGbkRvtMyzpb1qjIvZ8EoIG5FqEGQ Ana1L3dH8jiI+sAPemIYvzw/v2KWYGeVfOuNJ18xa3u2yUYojZit1jKR3mWtlfJELb jpvs/cU6/8PnRfkl1takMT8UIWY+iXWvypQEFwp89YHV1ALjWzQ8STGYnMWC+4Xguf tmcZYiO/+kye8ITq8nWpgfMv+Hi1Re9Kg2mTFdaAb6NaBULsFmfAMsyQxjAmY8EmJ2 MqwTUQdlULw5TvrU5d+psXEbiEG86HlI5Cqh8HjIlFuFBry+u7EdpRsYMUmLqg1/F2 eZNxNCNmD9ELw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RPRwv599Wz6tx4; Mon, 14 Aug 2023 10:13:19 +0200 (CEST) From: Philip Kaludercic To: Adam Porter Subject: Re: bug#65283: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path In-Reply-To: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> (Adam Porter's message of "Mon, 14 Aug 2023 02:14:04 -0500") References: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> Autocrypt: addr=philipk@posteo.net; 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 08:13:18 +0000 Message-ID: <87sf8mhwip.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65283 Cc: 65283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Adam Porter writes: > Hi, > > Wanting to test whether package-vc-install in Emacs 29.1 is now a > suitable replacement for Quelpa for installing my Ement.el package from > git, I started an instance of Emacs 29.1 in a clean configuration and > evaluated: > > (package-vc-install "https://github.com/alphapapa/ement.el") > > It seemed to proceed, installing Ement's dependencies, but when it began > to compile Ement itself, it gave errors about not being able to find one > of the dependencies, taxy-magit-section: Did the installation actually fail, or were these warnings just printed? In my case, I got a few error messages as well, but ement was available after the command had finished. > I've no explanation for why it would be omitted wile other > dependencies installed by the same command were added correctly. > > My only guess is that it could be that package-vc is not correctly > handling the fact that "taxy-magit-section" is maintained in the same > git repository as "taxy", in a separate branch. GNU ELPA handles this > correctly, so it seems that package-vc should as well. That shouldn't make a difference, since dependencies for VC packages are downloaded just like for regular packages. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 14 13:28:39 2023 Received: (at 65283) by debbugs.gnu.org; 14 Aug 2023 17:28:39 +0000 Received: from localhost ([127.0.0.1]:34378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVbMt-0005vp-7T for submit@debbugs.gnu.org; Mon, 14 Aug 2023 13:28:39 -0400 Received: from insect.birch.relay.mailchannels.net ([23.83.209.93]:31196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVbMr-0005vg-60 for 65283@debbugs.gnu.org; Mon, 14 Aug 2023 13:28:38 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 02230761AC4; Mon, 14 Aug 2023 17:28:36 +0000 (UTC) Received: from pdx1-sub0-mail-a274.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5DE28761BE0; Mon, 14 Aug 2023 17:28:35 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1692034115; a=rsa-sha256; cv=none; b=U5sohMTqqsCOy4qXqnFLJV1qyHUtaWxSBGRwLU1mwNnvHZmmXxrNw6EJGJ2W8TUB1J8JUz 5kPffI78By+Z0+/UvbDULIOisuOSeY97AXJGB2aacFnIdLnIlpQJNEz80w9Nl7t8hKRffn pmdMQnHV/LSbKdbx0dglSGZPqppPwlq1X5Nm1Db8+bNGEmg/ZMAW3/PDA9nNSB4asOOWYL H5nlNVW/9MaFvB06UbnuoFNyGEQiVVo7A47iwrDUvbs8Ra/LRXvBqC4807q1AWMJiMCfUS WFevNEWVpoUhbQHaUNCCOFIekv9tZ5jtTnWHRLO3bPp9evxX6IykdbTwaSVWbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1692034115; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=b+ZGweDPxTklyAP4vJaJw/eUdqT8HAXsaEG3wpfoEv0=; b=SuC7L/CnAtpXZYFpJrGWzva6SgCNGTW8xe+9aQURDyjFQ4UgDIG4fDyespFfu27BtRp6CQ +hvs397X7UoeJX/EEmLfXS4FmP7jX+MszaEvEScV5i793rG+lPEl0E7t9J04XK6m20ndjp UDt7jkLS+jKW1gCSP8TllJPhB3IApFuvLJutYnnVbeDraP68GJFHmkBqPVLTz0u/b/mqtr MMQYevwzjm+mSjAwU7Ia5Bhk0WHVDE7050u5fteahvXy/T2QC57PoHsW4RvdcRqcsJlP4j 6q0YKxCZLOYV+2rSaBBUTJOrqxjIIgYOK2582MA4UBkP4d8Ja3G4BUQFMthbmQ== ARC-Authentication-Results: i=1; rspamd-749bd77c9c-c74nf; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Relation-Chief: 46d911e5512ab710_1692034115646_2599367187 X-MC-Loop-Signature: 1692034115646:529460386 X-MC-Ingress-Time: 1692034115646 Received: from pdx1-sub0-mail-a274.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.100.168.12 (trex/6.9.1); Mon, 14 Aug 2023 17:28:35 +0000 Received: from [10.66.0.210] (unknown [91.193.232.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a274.dreamhost.com (Postfix) with ESMTPSA id 4RPhFZ6VG0z7l; Mon, 14 Aug 2023 10:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1692034115; bh=b+ZGweDPxTklyAP4vJaJw/eUdqT8HAXsaEG3wpfoEv0=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=W3mtDGFYs+NWGwJN86GrATx2OjzN9uXvCwJh8yY6FmqSCxgjPEQZVQbWJLls04iB4 RN3YtKhWL2jQapkmKmWqvZTUIVHIPdtm4V+16ghYkdvKUlkoaauxUj+Y9tB/3fQsiT OgSsjAUvq5dHhjuxI08aooUoikRIOaHEiA/gPEHHJi5UmfjYhO6KBeAwDNM5pDU0uZ 7/KYhuXkcD+2/XbTW9viWhzZkfjglUCzPUrtaqL+YyIZjUlZNm9EdMv2HSA034E7xa 5hZ5igmVPuDysB99m3jKM5cDE5BF0p3v/rMIlkmp07htn+7m27EbKqiROUYfUjJ64Z 93nSRZpxirRFw== Message-ID: Date: Mon, 14 Aug 2023 12:28:25 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: bug#65283: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path Content-Language: en-US To: Philip Kaludercic References: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> <87sf8mhwip.fsf@posteo.net> From: Adam Porter In-Reply-To: <87sf8mhwip.fsf@posteo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 65283 Cc: 65283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) On 8/14/23 03:13, Philip Kaludercic wrote: > Adam Porter writes: > >> Hi, >> >> Wanting to test whether package-vc-install in Emacs 29.1 is now a >> suitable replacement for Quelpa for installing my Ement.el package from >> git, I started an instance of Emacs 29.1 in a clean configuration and >> evaluated: >> >> (package-vc-install "https://github.com/alphapapa/ement.el") >> >> It seemed to proceed, installing Ement's dependencies, but when it began >> to compile Ement itself, it gave errors about not being able to find one >> of the dependencies, taxy-magit-section: > > Did the installation actually fail, or were these warnings just printed? > In my case, I got a few error messages as well, but ement was available > after the command had finished. Eager macro expansion errors indicate macro-expansion failure and compilation failure; the package is not installed correctly. As well, as I said, the taxy-magit-section package is not present in the load-path, which means it can't be loaded by ement at load time. These problems don't occur when installing ement and its dependencies from GNU ELPA with package-install, nor when installing them from git with Quelpa. >> I've no explanation for why it would be omitted wile other >> dependencies installed by the same command were added correctly. >> >> My only guess is that it could be that package-vc is not correctly >> handling the fact that "taxy-magit-section" is maintained in the same >> git repository as "taxy", in a separate branch. GNU ELPA handles this >> correctly, so it seems that package-vc should as well. > > That shouldn't make a difference, since dependencies for VC packages are > downloaded just like for regular packages. Agreed, however it's the only difference I can think of in the taxy-magit-section package recipe. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 15 16:11:41 2023 Received: (at 65283) by debbugs.gnu.org; 15 Aug 2023 20:11:41 +0000 Received: from localhost ([127.0.0.1]:36729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW0OD-00055h-3T for submit@debbugs.gnu.org; Tue, 15 Aug 2023 16:11:41 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW0O8-00055Q-SJ for 65283@debbugs.gnu.org; Tue, 15 Aug 2023 16:11:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BDE02240101 for <65283@debbugs.gnu.org>; Tue, 15 Aug 2023 22:11:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692130290; bh=Oqq9kzh7o8l3Uv0G0lNARb9E1EHobC3iS5xy1Etfo5E=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=PskQT7ORlA4MAGNZ0hFafF+PSnPYkv/7l/X2vheKlULoFhrtbCUXma66yj70BTv++ bKlWWWDWXhikhqe1AQ9ziFkZNThs/4HHeqqN4/RWBfZqW41JU5PplLTdGWhRVTuJQ4 4ZQapoGTo4xPJDjBD+jpF5gUIdKd4d61c6RFjqiIj12+mFQ9JB1FjfrsbLAq8hptZn qbqI05Xzo1/Hls4OlCng75qy1+aA9qw1iBADC+2bAt1w3UUP0IZdwp4y5fScCuhtnI a7UNX7arYgNhPlgNTIhsaIruBaxeFk7FOmi7L8M5p72eu1+obwyrqolx60RVadqjwW TynodHAWTdwrg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RQMq600PQz6tvm; Tue, 15 Aug 2023 22:11:29 +0200 (CEST) From: Philip Kaludercic To: Adam Porter Subject: Re: bug#65283: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path In-Reply-To: (Adam Porter's message of "Mon, 14 Aug 2023 12:28:25 -0500") References: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> <87sf8mhwip.fsf@posteo.net> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Date: Tue, 15 Aug 2023 20:11:28 +0000 Message-ID: <87h6p0jcb3.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65283 Cc: 65283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Adam Porter writes: > On 8/14/23 03:13, Philip Kaludercic wrote: >> Adam Porter writes: >> >>> Hi, >>> >>> Wanting to test whether package-vc-install in Emacs 29.1 is now a >>> suitable replacement for Quelpa for installing my Ement.el package from >>> git, I started an instance of Emacs 29.1 in a clean configuration and >>> evaluated: When you say clean configuration, do you mean that you invoked emacs with -Q, or also --init-directory=[some fresh directory]? I noticed that you appear to be using Guix, so did you perhaps use a Guix container shell? I ask, because it might be that just using -Q is insufficient in this case, in case you already have a regular Emacs configuration, as it (falsely) assumes the package has already been installed, but it doesn't add it to the load path. Because in my case (GNU Emacs 30.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-08-15), lemacs -Q --init-directory=/tmp appears to have all the right directories in `load-path': Value: ("/tmp/package-isolate-gaZsWf/elpa/ement" "/tmp/package-isolate-gaZsWf/elpa/taxy-magit-section-0.12.2" "/tmp/package-isolate-gaZsWf/elpa/magit-section-3.3.0" "/tmp/package-isolate-gaZsWf/elpa/dash-2.19.1" "/tmp/package-isolate-gaZsWf/elpa/taxy-0.10.1" "/tmp/package-isolate-gaZsWf/elpa/plz-0.7" "/tmp/package-isolate-gaZsWf/elpa/persist-0.5" "/tmp/package-isolate-gaZsWf/elpa/svg-lib-0.2.7" ... From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 15 16:48:09 2023 Received: (at 65283) by debbugs.gnu.org; 15 Aug 2023 20:48:09 +0000 Received: from localhost ([127.0.0.1]:36902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW0xU-00068L-H4 for submit@debbugs.gnu.org; Tue, 15 Aug 2023 16:48:09 -0400 Received: from cross.elm.relay.mailchannels.net ([23.83.212.46]:23497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW0xQ-00067l-Tw for 65283@debbugs.gnu.org; Tue, 15 Aug 2023 16:48:07 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 7A0D390128B; Tue, 15 Aug 2023 20:48:03 +0000 (UTC) Received: from pdx1-sub0-mail-a248.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 7A698900DD4; Tue, 15 Aug 2023 20:48:02 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1692132482; a=rsa-sha256; cv=none; b=SE0B2zB//aGUvSmXfId5oXz6g/+BC/rD5RYHfDxU12HV13iCjdNO7TmxxiRlL6HxDEImeu QCXutTB009Hzs4+/pckFbE4NebeNyWsQGVb0qI9DKsSlcwpKTX4MgUH3xI9Mht0Nvtz9OC VWObM6514IyyV6P4+oACleL2Qw8INYBozf9JXagsOhCL44I8Lkw96oxtkkQSC5a8OTReqn 1vU/42RHbUNU5vthjteUK3tlfka510vIPYvWxya1MhZUUMRd/p95cPzJDz87O2OhVZFkgb IAeWUleUyiegPREuWAti+ZPdUX8t6y/Cp9TQY6OyfQxLS7s8rPBgrjAJjzHm+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1692132482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=df70viBw4w2sIETzxVHp0tAz5BDNzPrqJlvZmPfHArY=; b=xX0x9wD9+a/lEzp0PzZRcpDp8fJ7D97mPc6A8KWkPdkwY0VoHKaueLFay+t7DS0qroNaRH b+MztuTgLntx+4W98i7Bk3//LVEdARcZGbmpK7vHgOFZZzn6EVzXwA9cKuhjMsBdBoVsLZ NSmzXD17MLfMXUxvCah9xjfM1+qPFXIlAwtq3ZNapnadToGrAPZ6UVwwQHrdqVBt8cq35L 7mhK0kDYFJv9vIvtwmubhdtbPCYaLFheg4m21b1wnJXTJDv7zoeJuvftOMGygrC7GboKpK ALnww0TnSStWWNGZnUT+DQkcADJ7B+//W6ensGFc531d0eSX0xn1LYMfPvWfzA== ARC-Authentication-Results: i=1; rspamd-849d547c58-h9njv; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Turn-Gusty: 3b5936d173d45943_1692132483302_1060668483 X-MC-Loop-Signature: 1692132483302:294465729 X-MC-Ingress-Time: 1692132483302 Received: from pdx1-sub0-mail-a248.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.109.205.135 (trex/6.9.1); Tue, 15 Aug 2023 20:48:03 +0000 Received: from [10.66.1.130] (unknown [91.193.232.98]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a248.dreamhost.com (Postfix) with ESMTPSA id 4RQNdG0DP7zZj; Tue, 15 Aug 2023 13:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1692132482; bh=df70viBw4w2sIETzxVHp0tAz5BDNzPrqJlvZmPfHArY=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=vpKca2hjkGBDNN5K8+dHRG7VDZaDOLXEPvMyg0P5Bsdrx6Hm/uyDiTPFTWrTXhcFZ xggcmQji1FmDYH0coJdlsxxlZlnpY4M7M+n2XxZECVNTtEF+MjURgOqjqVXfUCy2V/ SK3wUpDfrp4JugtYAUlZYSlJDasH/j70ytuKQ53eTtytP334zWk2LzI4vGQgsjx9DO sYYvaUIJzfjmuaLhZzCxqfjQ/rI1gWpzUjWiuhPdkDQrznYcXvm47wD0ijrSnOwCKt QEJfcnUGlZxB5HAtYh8EO9tg9kAf94QLR8gHfcVXOeR7NzW6wwWJiuSGtNfI66emKj RcUjY/9GsLq5Q== Message-ID: Date: Tue, 15 Aug 2023 15:47:51 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: bug#65283: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path Content-Language: en-US To: Philip Kaludercic References: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> <87sf8mhwip.fsf@posteo.net> <87h6p0jcb3.fsf@posteo.net> From: Adam Porter In-Reply-To: <87h6p0jcb3.fsf@posteo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 65283 Cc: 65283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Hi Philip, On 8/15/23 15:11, Philip Kaludercic wrote: > Adam Porter writes: > >> On 8/14/23 03:13, Philip Kaludercic wrote: >>> Adam Porter writes: >>> >>>> Hi, >>>> >>>> Wanting to test whether package-vc-install in Emacs 29.1 is now a >>>> suitable replacement for Quelpa for installing my Ement.el package from >>>> git, I started an instance of Emacs 29.1 in a clean configuration and >>>> evaluated: > > When you say clean configuration, do you mean that you invoked emacs > with -Q, or also --init-directory=[some fresh directory]? I noticed > that you appear to be using Guix, so did you perhaps use a Guix > container shell? I've tried three different ways now: 1. Using my with-emacs.sh script [0] (which was written for Emacs before the "--init-directory" option was added, but remains compatible with Emacs 29.1): with-emacs.sh -e emacs-29.1 -- --eval '(package-vc-install "https://github.com/alphapapa/ement.el")' 2. Using "-q --init-directory", i.e. emacs-29.1 -q --init-directory=$(mktemp -d) --eval '(package-vc-install "https://github.com/alphapapa/ement.el")' 3. Using "-Q --init-directory", i.e. emacs-29.1 -Q --init-directory=$(mktemp -d) --eval '(package-vc-install "https://github.com/alphapapa/ement.el")' All three ways seem to produce the same problem with the same error messages and the same load-path missing taxy-magit-section's directory. I do have Emacs 29.1 installed with Guix, on top of my Debian system. However, I've been using this setup for quite some time now, having also used Guix to install Emacs 27 and 28 previously, and I've never had this problem before. So I don't think that Guix is related to the problem, although I can't say for certain. Scouring the "*Messages*" buffer again, I noticed another series of messages: Checking /tmp/tmp.m5Cj6y1gaF/elpa/taxy-0.10.1/examples... Done (Total of 1 file compiled, 4 failed, 2 skipped in 2 directories) Contacting host: elpa.gnu.org:443 Parsing tar file...done Extracting...done INFO Scraping files for loaddefs...done GEN taxy-magit-section-autoloads.el Unable to activate package ‘taxy-magit-section’. Required package ‘magit-section-3.2.1’ is unavailable Contacting host: elpa.gnu.org:443 Parsing tar file...done Extracting...done INFO Scraping files for loaddefs...done GEN dash-autoloads.el Checking /tmp/tmp.m5Cj6y1gaF/elpa/dash-2.19.1... [2 times] As you can see, it says that it can't activate taxy-magit-section because magit-section-3.2.1 is unavailable. However, about 20 lines later: Checking /tmp/tmp.m5Cj6y1gaF/elpa/dash-2.19.1/doc... Done (Total of 2 files compiled, 2 skipped) Contacting host: elpa.nongnu.org:443 Parsing tar file...done Extracting...done INFO Scraping files for loaddefs...done GEN magit-section-autoloads.el Checking /tmp/tmp.m5Cj6y1gaF/elpa/magit-section-3.3.0... [3 times] Compiling /tmp/tmp.m5Cj6y1gaF/elpa/magit-section-3.3.0/magit-section.el...done Wrote /tmp/tmp.m5Cj6y1gaF/elpa/magit-section-3.3.0/magit-section.elc Checking /tmp/tmp.m5Cj6y1gaF/elpa/magit-section-3.3.0... Done (Total of 1 file compiled, 2 skipped) INFO Scraping files for loaddefs...done GEN ement-autoloads.el So it installs magit-section (at v3.3.0) two packages later. The taxy-magit-section has these dependencies specified in "taxy-magit-section.el": ;; Package-Requires: ((emacs "26.3") (magit-section "3.2.1") (taxy "0.10")) And, as listed in "C-h P taxy-magit-section RET": Package taxy-magit-section is dependency. Status: Installed in ‘taxy-magit-section-0.12.2/’. Version: 0.12.2 Commit: 594531569c03206cbc83b74d679ffd0e93edb4d0 Summary: View Taxy structs in a Magit Section buffer Requires: emacs-26.3, magit-section-3.2.1, taxy-0.10 So it seems that magit-section is being installed after taxy-magit-section rather than before, which seems to prevent Emacs from activating the taxy-magit-section package (and thereby adding it to load-path), which later causes the compilation of ement to fail since it can't find taxy-magit-section. And all of this seems to be because the version number of magit-section is not being correctly recognized as a later version and thereby fulfilling the dependency--this even though it is being recognized as a dependency and installed by another part of the process. Meanwhile, if I install using package-install with: emacs-29.1 --init-directory=$(mktemp -d) -q --eval "(package-install 'ement)" Then installation of all packages proceeds without error, and load-path shows: ("/tmp/tmp.19yxzzQiIk/elpa/ement-0.10" " /tmp/tmp.19yxzzQiIk/elpa/persist-0.5" " /tmp/tmp.19yxzzQiIk/elpa/plz-0.7" " /tmp/tmp.19yxzzQiIk/elpa/taxy-magit-section-0.12.2" " /tmp/tmp.19yxzzQiIk/elpa/magit-section-3.3.0" " /tmp/tmp.19yxzzQiIk/elpa/dash-2.19.1" " /tmp/tmp.19yxzzQiIk/elpa/taxy-0.10.1" " /tmp/tmp.19yxzzQiIk/elpa/svg-lib-0.2.7" " /tmp/tmp.19yxzzQiIk/elpa/transient-0.4.1" " /tmp/tmp.19yxzzQiIk/elpa/compat-29.1.4.2" " /home/me/.guix-profile/share/emacs/site-lisp" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/vc" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/use-package" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/url" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/textmodes" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/progmodes" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/play" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/org" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/nxml" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/net" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/mh-e" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/mail" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/leim" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/language" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/international" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/image" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/gnus" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/eshell" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/erc" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/emulation" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/emacs-lisp" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/cedet" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/calendar" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/calc" " /gnu/store/c7vqk20kf6zw73klr8bacnh0gqahk5dd-emacs-29.1-29.1/share/emacs/29.1/lisp/obsolete") So there appears to be a bug somewhere in the package-vc library. I see that you tested with an Emacs 30.0.50 build. Could you test with 29.1, the version I'm using? Thanks, Adam 0: https://github.com/alphapapa/with-emacs.sh From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 15 17:52:23 2023 Received: (at 65283) by debbugs.gnu.org; 15 Aug 2023 21:52:23 +0000 Received: from localhost ([127.0.0.1]:36997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW1xe-0004VP-TV for submit@debbugs.gnu.org; Tue, 15 Aug 2023 17:52:23 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qW1xb-0004VB-GS for 65283@debbugs.gnu.org; Tue, 15 Aug 2023 17:52:21 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 862E0240028 for <65283@debbugs.gnu.org>; Tue, 15 Aug 2023 23:52:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692136333; bh=McBejLWDS05rN8xeZE1ONoOBXm9VOgY2heVpbZucwGo=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=E+ueivTIdL5GdCfIvedptqTeXbuVCVtUdPmWL5Fn5npPre2yrmtrJGXB9nSsbkBBr Rdu2HMpCaCOcpK5qEF6scGoasojNqYPdVzsDlZ0ksTxBDtKoBAbmvTp/o+vBdu19wr o0+ETiYTGd+lueWIFyO5cWkI4Lr3JD7hCotJTBElN+/xIHMg9pQxB3dPlwMP+eQxMY uijwziayBiHjET+eToJXiWuB3R+DEMp6koq4eH6N1JP4S88c+tNLKVarXavh/FyaZO jAPrwaFhuuFjMZKqkc1+bFydJvZyHFGI8b81BlGmjpR8dwfnWV5e7ATm4cfM7ez5UN qT9JOB0Krl6uA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RQQ3J56Smz6tw6; Tue, 15 Aug 2023 23:52:12 +0200 (CEST) From: Philip Kaludercic To: Adam Porter Subject: Re: bug#65283: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path In-Reply-To: (Adam Porter's message of "Tue, 15 Aug 2023 15:47:51 -0500") References: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> <87sf8mhwip.fsf@posteo.net> <87h6p0jcb3.fsf@posteo.net> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Date: Tue, 15 Aug 2023 21:52:11 +0000 Message-ID: <878racj7n8.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65283 Cc: 65283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Adam Porter writes: > Hi Philip, > > On 8/15/23 15:11, Philip Kaludercic wrote: >> Adam Porter writes: >> >>> On 8/14/23 03:13, Philip Kaludercic wrote: >>>> Adam Porter writes: >>>> >>>>> Hi, >>>>> >>>>> Wanting to test whether package-vc-install in Emacs 29.1 is now a >>>>> suitable replacement for Quelpa for installing my Ement.el > package from >>>>> git, I started an instance of Emacs 29.1 in a clean configuration and >>>>> evaluated: >> >> When you say clean configuration, do you mean that you invoked emacs >> with -Q, or also --init-directory=3D[some fresh directory]? I noticed >> that you appear to be using Guix, so did you perhaps use a Guix >> container shell? > I've tried three different ways now: > > 1. Using my with-emacs.sh script [0] (which was written for Emacs > before the "--init-directory" option was added, but remains compatible > with Emacs 29.1): > > with-emacs.sh -e emacs-29.1 -- --eval '(package-vc-install > "https://github.com/alphapapa/ement.el")' > > 2. Using "-q --init-directory", i.e. > > emacs-29.1 -q --init-directory=3D$(mktemp -d) --eval > '(package-vc-install "https://github.com/alphapapa/ement.el")' > > 3. Using "-Q --init-directory", i.e. > > emacs-29.1 -Q --init-directory=3D$(mktemp -d) --eval > '(package-vc-install "https://github.com/alphapapa/ement.el")' > > All three ways seem to produce the same problem with the same error > messages and the same load-path missing taxy-magit-section's > directory. I have been using the third approach (with the difference that I invoked `package-vc-install' as a command using M-x), and it worked. When I use your command, it doesn't -- so that is good from a reproducability perspective. > I do have Emacs 29.1 installed with Guix, on top of my Debian > system. However, I've been using this setup for quite some time now, > having also used Guix to install Emacs 27 and 28 previously, and I've > never had this problem before. So I don't think that Guix is related > to the problem, although I can't say for certain. I wasn't implying that it was to blame, rather I just wanted to make sure whether or not you were/weren't launching Emacs in an isolated container. > Scouring the "*Messages*" buffer again, I noticed another series of > messages: > > Checking /tmp/tmp.m5Cj6y1gaF/elpa/taxy-0.10.1/examples... > Done (Total of 1 file compiled, 4 failed, 2 skipped in 2 directories) > Contacting host: elpa.gnu.org:443 > Parsing tar file...done > Extracting...done > INFO Scraping files for loaddefs...done > GEN taxy-magit-section-autoloads.el > Unable to activate package =E2=80=98taxy-magit-section=E2=80=99. > Required package =E2=80=98magit-section-3.2.1=E2=80=99 is unavailable > Contacting host: elpa.gnu.org:443 > Parsing tar file...done > Extracting...done > INFO Scraping files for loaddefs...done > GEN dash-autoloads.el > Checking /tmp/tmp.m5Cj6y1gaF/elpa/dash-2.19.1... [2 times] > > As you can see, it says that it can't activate taxy-magit-section > because magit-section-3.2.1 is unavailable. However, about 20 lines > later: > > Checking /tmp/tmp.m5Cj6y1gaF/elpa/dash-2.19.1/doc... > Done (Total of 2 files compiled, 2 skipped) > Contacting host: elpa.nongnu.org:443 > Parsing tar file...done > Extracting...done > INFO Scraping files for loaddefs...done > GEN magit-section-autoloads.el > Checking /tmp/tmp.m5Cj6y1gaF/elpa/magit-section-3.3.0... [3 times] > Compiling > /tmp/tmp.m5Cj6y1gaF/elpa/magit-section-3.3.0/magit-section.el...done > Wrote /tmp/tmp.m5Cj6y1gaF/elpa/magit-section-3.3.0/magit-section.elc > Checking /tmp/tmp.m5Cj6y1gaF/elpa/magit-section-3.3.0... > Done (Total of 1 file compiled, 2 skipped) > INFO Scraping files for loaddefs...done > GEN ement-autoloads.el > > So it installs magit-section (at v3.3.0) two packages later. > > The taxy-magit-section has these dependencies specified in > "taxy-magit-section.el": > > ;; Package-Requires: ((emacs "26.3") (magit-section "3.2.1") (taxy > "0.10")) > > And, as listed in "C-h P taxy-magit-section RET": > > Package taxy-magit-section is dependency. > > Status: Installed in =E2=80=98taxy-magit-section-0.12.2/=E2=80=99. > Version: 0.12.2 > Commit: 594531569c03206cbc83b74d679ffd0e93edb4d0 > Summary: View Taxy structs in a Magit Section buffer > Requires: emacs-26.3, magit-section-3.2.1, taxy-0.10 > > So it seems that magit-section is being installed after > taxy-magit-section rather than before, which seems to prevent Emacs > from activating the taxy-magit-section package (and thereby adding it > to load-path), which later causes the compilation of ement to fail > since it can't find taxy-magit-section. That is interesting,=20=20 > And all of this seems to be because the version number of > magit-section is not being correctly recognized as a later version and > thereby fulfilling the dependency--this even though it is being > recognized as a dependency and installed by another part of the > process. > > Meanwhile, if I install using package-install with: > > emacs-29.1 --init-directory=3D$(mktemp -d) -q --eval "(package-install > 'ement)" > > Then installation of all packages proceeds without error, and > load-path shows: > > ("/tmp/tmp.19yxzzQiIk/elpa/ement-0.10" " > /tmp/tmp.19yxzzQiIk/elpa/persist-0.5" " > /tmp/tmp.19yxzzQiIk/elpa/plz-0.7" " > /tmp/tmp.19yxzzQiIk/elpa/taxy-magit-section-0.12.2" " > /tmp/tmp.19yxzzQiIk/elpa/magit-section-3.3.0" " > /tmp/tmp.19yxzzQiIk/elpa/dash-2.19.1" " > /tmp/tmp.19yxzzQiIk/elpa/taxy-0.10.1" " > /tmp/tmp.19yxzzQiIk/elpa/svg-lib-0.2.7" " > /tmp/tmp.19yxzzQiIk/elpa/transient-0.4.1" " > /tmp/tmp.19yxzzQiIk/elpa/compat-29.1.4.2" " > /home/me/.guix-profile/share/emacs/site-lisp"=20 [...] > So there appears to be a bug somewhere in the package-vc library. With a slight modification of `package-vc-install-dependencies', we can see in which order the dependencies are installed: --8<---------------cut here---------------start------------->8--- (package-vc-install-dependencies (package-desc-reqs (cadr (assoc 'ement pac= kage-archive-contents)))) ;=3D> (:to-install (svg-lib persist plz taxy taxy-magit-section) :missing n= il) ; ^ mapc runs over this --8<---------------cut here---------------end--------------->8--- This made me suspect that there might be a bug in that function, and with these changes, the above command works (I can't test it because my matrix account AFAIK isn't supported by Ement): --=-=-= Content-Type: text/plain Content-Disposition: inline diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index db8b41aee6a..2da788ddeec 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el @@ -451,13 +451,11 @@ package-vc-install-dependencies (desc (cadr (assoc package pac)))) (and desc (seq-some (apply-partially #'depends-on-p target) - (package-desc-reqs desc)))))) + (mapcar #'car (package-desc-reqs desc))))))) (dependent-order (a b) (let ((desc-a (package-desc-name a)) (desc-b (package-desc-name b))) - (or (not desc-a) (not desc-b) - (not (depends-on-p desc-b desc-a)) - (depends-on-p desc-a desc-b))))) + (depends-on-p desc-a desc-b)))) (mapc #'search requirements) (cl-callf sort to-install #'version-order) (cl-callf seq-uniq to-install #'duplicate-p) --=-=-= Content-Type: text/plain It boils down to a lack-of-type-safety kind of bug. It was comparing 'package-name with (package-name . "version string"), that always ends up being nil. Not sure about the change to `dependent-order', I'll have to think about that in more detail tomorrow. Perhaps there is an all-together shorter patch? > I see that you tested with an Emacs 30.0.50 build. Could you test > with 29.1, the version I'm using? > > Thanks, > Adam > > 0: https://github.com/alphapapa/with-emacs.sh --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 17 09:53:22 2023 Received: (at 65283) by debbugs.gnu.org; 17 Aug 2023 13:53:22 +0000 Received: from localhost ([127.0.0.1]:43028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWdRC-00041o-DE for submit@debbugs.gnu.org; Thu, 17 Aug 2023 09:53:22 -0400 Received: from cyan.elm.relay.mailchannels.net ([23.83.212.47]:20915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWdR9-00041e-HA for 65283@debbugs.gnu.org; Thu, 17 Aug 2023 09:53:20 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 29A46360BCB; Thu, 17 Aug 2023 13:53:18 +0000 (UTC) Received: from pdx1-sub0-mail-a311.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id BF40B360937; Thu, 17 Aug 2023 13:53:17 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1692280397; a=rsa-sha256; cv=none; b=7YR+oxT9Ma0zTkoPxh7Rhv08rIKpISRln+iAw1771BmRodvuiMKZTdbp2ZCXtQQ8YHgrF1 ur5trpO1+I13JOUpKS2HwT61ocWUehRtlN6h9B+JGBrkzNrDVmbAs8d3HHTGcnkSlknnx8 pQO2iv4xPAbUW0IPSvxJAeY/u3rFPZ5qcRMfDWT0CvG345eEToP/5267ZgNLfLU4GvZCPG uRJsi5BSP8i3ybIAUGI4lvpt1UnrMd8A9QzL7at4B3Q35byCmXJUuZQWj7KxroX17C8G4J B4MdDvyA4ljnHfcKlYXRnE97uWpVVJVlsp55dTRZjHzlEJ4Wjs4TXaQpRwUjlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1692280397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=kVy+tfXbG1OJwHQeOqNCfV93fqY7jG3lv0VlMx3JRMc=; b=Am98XHvCMCyzf7ZFFO+sJu/Dph8NtbQLXBphHIQA1lWUmBzwGlquYMOA6ol3RNxRnLgpRF bNvr3keI7Yt3iANh5Zht+f3kQAGJxxTFeJKhDySLdm/LZnKGS1CxoBp5bSq55wLLm5PT3z 4CRdP25ApDpe2BTa1mg/Hr0RlMBDmfbgDgzhOpJu5XA5T8ru6gdlktdR5nmTQ5SIe7vTFD Aioq0hTWiBGqOwxXTDHl9OWRH9ODThyaqVqZaeh3umwx9Poa36NEy0NzYcHxjRgVx4Hkyr 5uDVSmYg49jcrr2V1C+JFC/3zqGx3nRL0lE2QIeYixd5quDzdnEvIgSTdYUQAg== ARC-Authentication-Results: i=1; rspamd-749bd77c9c-wxtrr; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Fumbling-Tangy: 78d7b17a72e97e40_1692280398002_4108121909 X-MC-Loop-Signature: 1692280398002:868559756 X-MC-Ingress-Time: 1692280398002 Received: from pdx1-sub0-mail-a311.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.126.240.227 (trex/6.9.1); Thu, 17 Aug 2023 13:53:18 +0000 Received: from [10.43.3.66] (unknown [193.56.116.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a311.dreamhost.com (Postfix) with ESMTPSA id 4RRRKn21Pyz1p; Thu, 17 Aug 2023 06:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1692280397; bh=kVy+tfXbG1OJwHQeOqNCfV93fqY7jG3lv0VlMx3JRMc=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=XkORC5khmkQEypz/5kI4aqzM4Mv2IBsDs7sAEIOpLhfABMnJTTi8vrH5Xa2FAvDoM QmMSaTOT9sJeMDjnEel+wA1ejeqYM5ED2Vdm64O0ygbAcS+te6pdyryxteOHcfhMCM gZvi/o2Ps2/1DOAxbPRYRwwroyBB2fblNRJUfbg5q9GYr3J77kGG14Oz+o0bJ2BeVT IHjQy0N0JuV/b9NJjPzEcpKFwZpYp1bJe5QumYkHCT/zZ5v+L44B1wUgpI7stAfkfF mPo7rBtUuZj/2Bfb+rX4wb0zTWIbncj+fxk0rZL0Vf6asaTyIzCJl5SY/qMl3EbjGx Cp2ohxSHEU0xw== Message-ID: <9e6c607a-70b2-2052-96a9-3469450ed07e@alphapapa.net> Date: Thu, 17 Aug 2023 08:53:17 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: bug#65283: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path Content-Language: en-US To: Philip Kaludercic References: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> <87sf8mhwip.fsf@posteo.net> <87h6p0jcb3.fsf@posteo.net> <878racj7n8.fsf@posteo.net> From: Adam Porter In-Reply-To: <878racj7n8.fsf@posteo.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 65283 Cc: 65283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi Philip, On 8/15/23 16:52, Philip Kaludercic wrote: >> So there appears to be a bug somewhere in the package-vc library. > > With a slight modification of `package-vc-install-dependencies', we can > see in which order the dependencies are installed: > > --8<---------------cut here---------------start------------->8--- > (package-vc-install-dependencies (package-desc-reqs (cadr (assoc 'ement package-archive-contents)))) > ;=> (:to-install (svg-lib persist plz taxy taxy-magit-section) :missing nil) > ; ^ mapc runs over this > --8<---------------cut here---------------end--------------->8--- > > This made me suspect that there might be a bug in that function, and > with these changes, the above command works Great. > (I can't test it because my matrix account AFAIK isn't supported by > Ement): This is a bit off-topic, but would you please explain what you mean (via private email would be fine)? AFAIK Ement.el should support any Matrix account on any homeserver. If you've encountered a bug trying to use it, I'd like to fix it. > It boils down to a lack-of-type-safety kind of bug. It was comparing > 'package-name with (package-name . "version string"), that always ends > up being nil. I've encountered similar issues when dealing with package.el functions. The inconsistent use of types can be challenging to work with. > Not sure about the change to `dependent-order', I'll have to think about > that in more detail tomorrow. Perhaps there is an all-together shorter > patch? It seems like a reasonable patch to me. Is there any chance of getting this fix to Emacs 29 users, either via a 29.2 release or by putting a new version of package-vc on GNU ELPA? It would be a shame for this great new feature to be unusable (or unreliable) until Emacs 30 is released. Thanks for your work, Adam From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 17 10:08:47 2023 Received: (at 65283) by debbugs.gnu.org; 17 Aug 2023 14:08:47 +0000 Received: from localhost ([127.0.0.1]:45271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWdg7-0007ZX-0Z for submit@debbugs.gnu.org; Thu, 17 Aug 2023 10:08:47 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWdg4-0007ZK-Ko for 65283@debbugs.gnu.org; Thu, 17 Aug 2023 10:08:46 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9C997240104 for <65283@debbugs.gnu.org>; Thu, 17 Aug 2023 16:08:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692281318; bh=Qn6kWrs5yUpc25VybPbu9chD4shOSad9CYMLLovi+DA=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=Y5T+DObXpvP9WGdSl/KNgOKrO4vlXWrsx7wIdh1J/dHcZxNgARgkq8zzY8JsAmH27 RYCssKqEol+TNq6QIt3Ly9my3hwRjEmLZXs3Yupl04fqSzUvISzTSfcfWAkob8zzFS /1r5/0H1WWLq4z0a4Vs7u2ozVL8M8PnT0dJMLSQGmoK9uYga4j1vcXP7hR0ppn73CX 9MnC91bi6+hmT/Pk3wQ7PGJuY9ajEPXwcNsOg8abzjPjQAn0U2njkc2G6H1v9FccX0 PjFXJuOVjQVNnEPtu2kJSxxLCCXH+XQdoOUqHPe0fCOIJs6e6CBT+N5J88eEvfbBmh kNUvD+7A4JgSQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RRRgT6BR5z6twZ; Thu, 17 Aug 2023 16:08:37 +0200 (CEST) From: Philip Kaludercic To: Adam Porter Subject: Re: bug#65283: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path In-Reply-To: <9e6c607a-70b2-2052-96a9-3469450ed07e@alphapapa.net> (Adam Porter's message of "Thu, 17 Aug 2023 08:53:17 -0500") References: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> <87sf8mhwip.fsf@posteo.net> <87h6p0jcb3.fsf@posteo.net> <878racj7n8.fsf@posteo.net> <9e6c607a-70b2-2052-96a9-3469450ed07e@alphapapa.net> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Date: Thu, 17 Aug 2023 14:08:37 +0000 Message-ID: <87bkf5hica.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65283 Cc: 65283@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Adam Porter writes: > Hi Philip, > > On 8/15/23 16:52, Philip Kaludercic wrote: > >>> So there appears to be a bug somewhere in the package-vc library. >> With a slight modification of `package-vc-install-dependencies', we >> can >> see in which order the dependencies are installed: >> --8<---------------cut here---------------start------------->8--- >> (package-vc-install-dependencies (package-desc-reqs (cadr (assoc >> 'ement package-archive-contents)))) >> ;=> (:to-install (svg-lib persist plz taxy taxy-magit-section) :missing nil) >> ; ^ mapc runs over this >> --8<---------------cut here---------------end--------------->8--- >> This made me suspect that there might be a bug in that function, and >> with these changes, the above command works > > Great. > >> (I can't test it because my matrix account AFAIK isn't supported by >> Ement): > This is a bit off-topic, but would you please explain what you mean > (via private email would be fine)? AFAIK Ement.el should support any > Matrix account on any homeserver. If you've encountered a bug trying > to use it, I'd like to fix it. I misphrased my comment, what I meant to say was that my server appears to only support Element right now. So nothing is wrong with Ement. >> It boils down to a lack-of-type-safety kind of bug. It was comparing >> 'package-name with (package-name . "version string"), that always ends >> up being nil. > > I've encountered similar issues when dealing with package.el > functions. The inconsistent use of types can be challenging to work > with. The best way to solve this is my experience is to provide helper functions like `package-equal' or something like that smooth over smaller mistakes like this. >> Not sure about the change to `dependent-order', I'll have to think about >> that in more detail tomorrow. Perhaps there is an all-together shorter >> patch? > > It seems like a reasonable patch to me. > > Is there any chance of getting this fix to Emacs 29 users, either via > a 29.2 release or by putting a new version of package-vc on GNU ELPA? > It would be a shame for this great new feature to be unusable (or > unreliable) until Emacs 30 is released. I would expect that this patch would be applied to the emacs-29 branch. There has been a discussion on the topic of adding both package.el and package-vc.el to ELPA, but there hasn't been any further discussion for a few months now. > Thanks for your work, > Adam From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 05:45:00 2023 Received: (at 65283-done) by debbugs.gnu.org; 19 Aug 2023 09:45:00 +0000 Received: from localhost ([127.0.0.1]:49485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXIVw-0006oz-3v for submit@debbugs.gnu.org; Sat, 19 Aug 2023 05:45:00 -0400 Received: from mout02.posteo.de ([185.67.36.66]:47747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXIVs-0006ol-VC for 65283-done@debbugs.gnu.org; Sat, 19 Aug 2023 05:44:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 644BE240103 for <65283-done@debbugs.gnu.org>; Sat, 19 Aug 2023 11:44:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692438290; bh=2bWeSk0sKlbkd9/ElScdfjnJaQ+iPQf5yibc2fRuiRM=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=RX1VquW6/WKWUOskuYO0UtOTUmyZcRYt3DmBtiw9oQXmKo2AkEyaRwaZe6KqvlYa2 ZnJ1pdLp4BKNOAUZDs/mK2/6sQYDcsUYCYJKqXJkQtrXXENIYK67u6uyJphXjuVJok pd/icI6ZvxghbKhvqGhkZ09jeF/UmwwWAuYW1y6COK6dqLu3RMg166Tq4VsB6W8S1j 949ENAyvJSM84Bjo3pCxa0Frv5EbkHJ3Chms9ydnh7Mza2kPj2j5iCfv5eth064Kap f163yb7XmnId0vYelWcj1PIGSZSb+Q+sgD1Lzhefe7WFoRnlvWWysiDO7RoWGMJHnp kNNTCM/rkxOEw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RSYk94LNPz6ty2; Sat, 19 Aug 2023 11:44:49 +0200 (CEST) From: Philip Kaludercic To: Adam Porter Subject: Re: bug#65283: 29.1; package-vc-install fails to install package "ement" because some dependencies installed by it are omitted from load-path In-Reply-To: <9e6c607a-70b2-2052-96a9-3469450ed07e@alphapapa.net> (Adam Porter's message of "Thu, 17 Aug 2023 08:53:17 -0500") References: <9bea8c31-fda0-dc75-7c37-ac5aedba1bc4@alphapapa.net> <87sf8mhwip.fsf@posteo.net> <87h6p0jcb3.fsf@posteo.net> <878racj7n8.fsf@posteo.net> <9e6c607a-70b2-2052-96a9-3469450ed07e@alphapapa.net> Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Date: Sat, 19 Aug 2023 09:44:48 +0000 Message-ID: <877cprxt67.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65283-done Cc: 65283-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Adam Porter writes: > Hi Philip, > > On 8/15/23 16:52, Philip Kaludercic wrote: > >>> So there appears to be a bug somewhere in the package-vc library. >> With a slight modification of `package-vc-install-dependencies', we >> can >> see in which order the dependencies are installed: >> --8<---------------cut here---------------start------------->8--- >> (package-vc-install-dependencies (package-desc-reqs (cadr (assoc 'ement package-archive-contents)))) >> ;=> (:to-install (svg-lib persist plz taxy taxy-magit-section) :missing nil) >> ; ^ mapc runs over this >> --8<---------------cut here---------------end--------------->8--- >> This made me suspect that there might be a bug in that function, and >> with these changes, the above command works > > Great. > >> (I can't test it because my matrix account AFAIK isn't supported by >> Ement): > This is a bit off-topic, but would you please explain what you mean > (via private email would be fine)? AFAIK Ement.el should support any > Matrix account on any homeserver. If you've encountered a bug trying > to use it, I'd like to fix it. > >> It boils down to a lack-of-type-safety kind of bug. It was comparing >> 'package-name with (package-name . "version string"), that always ends >> up being nil. > > I've encountered similar issues when dealing with package.el > functions. The inconsistent use of types can be challenging to work > with. > >> Not sure about the change to `dependent-order', I'll have to think about >> that in more detail tomorrow. Perhaps there is an all-together shorter >> patch? > > It seems like a reasonable patch to me. I have pushed the above patch and will close this report. > Is there any chance of getting this fix to Emacs 29 users, either via > a 29.2 release or by putting a new version of package-vc on GNU ELPA? > It would be a shame for this great new feature to be unusable (or > unreliable) until Emacs 30 is released. See https://mail.gnu.org/archive/html/emacs-devel/2023-08/msg00667.html. > Thanks for your work, > Adam From unknown Sat Aug 16 15:54:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 16 Sep 2023 11:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator