X-Loop: help-debbugs@HIDDEN Subject: bug#74794: `./pre-inst-env guix deploy' does not use packages from the git tree Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 11 Dec 2024 16:22:02 +0000 Resent-Message-ID: <handler.74794.B.173393409110154 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 74794 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74794 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.173393409110154 (code B ref -1); Wed, 11 Dec 2024 16:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Dec 2024 16:21:31 +0000 Received: from localhost ([127.0.0.1]:35875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLPSs-0002dh-Oc for submit <at> debbugs.gnu.org; Wed, 11 Dec 2024 11:21:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:41332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1tLPSq-0002dV-6I for submit <at> debbugs.gnu.org; Wed, 11 Dec 2024 11:21:28 -0500 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 <~@wolfsden.cz>) id 1tLPSo-0001Sj-LO for bug-guix@HIDDEN; Wed, 11 Dec 2024 11:21:26 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1tLPSl-0007tN-GP for bug-guix@HIDDEN; Wed, 11 Dec 2024 11:21:26 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id E6508351801; Wed, 11 Dec 2024 16:21:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1733934077; bh=1QBfZOn4AsaHV05IMIKMwupJvYme3HdMIWY5VSNYzqY=; h=From:To:Subject:Date; b=IuoODSxUUjJvr6L4lLXPv4zbrzPssFS4EhA9gtqTQqgdQOCppkXxzyqbLV7n/kUrD Xe4IwYHeHzZ/iD6veO4AjilGDqItgKzM0ZpSMXrG5peQmpUVBDwh4B1YHIhsiA6zL6 oTMrqT4RC8Gf0v9qOzww3scUDG6s64zkgFjHSd/JC3nHHuIx7v8Yn8Az+rJ+E/kKly DKBlt/kf2K1Cq2s6xihrAAeRqyJeGoAXth7CZItsSQ6JK8qI0aSK+n7saUUbfzJCnU f86GPvZRsix6z2XgHs2e3W+MK3Z1ydxsWQ6iZjjiPrf6fEzC/YygGdXIzyCXFVziBc edrQ3HR8F09EzbbQO67aF6LyO5RwzOxjFOxyL8SVPPIEmH20cPjD02cBface8UMYvJ TtSLbWCclNpwv9VCE/X71NKiBNFSo3NjeS/QEqlzYoBABf+q1pJjv3dsgAEYb+wYAf tXs7ioaHp1Og9IBPT4LbKn5K95oYPc0Bo71UStGug+Ny0Mmflv+rncJQeCXF8M45ru aE01ANf9pF8lrI3QpyZ5QNEkw9+bB//F4fQboXX3wI/PwF4Wp9Ew0UAa0dDjY6cWJ+ 8dQM3cflWgnavLlj4mKUCgAr94lmBEtj7mZimJlxoNBfXvIep4uphW2jJGBV8qBs9V PqzVlOyN6VpsMaKrL3sTO0G0= X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 19EF2350F84 for <bug-guix@HIDDEN>; Wed, 11 Dec 2024 16:21:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1733934077; bh=1QBfZOn4AsaHV05IMIKMwupJvYme3HdMIWY5VSNYzqY=; h=From:To:Subject:Date; b=IuoODSxUUjJvr6L4lLXPv4zbrzPssFS4EhA9gtqTQqgdQOCppkXxzyqbLV7n/kUrD Xe4IwYHeHzZ/iD6veO4AjilGDqItgKzM0ZpSMXrG5peQmpUVBDwh4B1YHIhsiA6zL6 oTMrqT4RC8Gf0v9qOzww3scUDG6s64zkgFjHSd/JC3nHHuIx7v8Yn8Az+rJ+E/kKly DKBlt/kf2K1Cq2s6xihrAAeRqyJeGoAXth7CZItsSQ6JK8qI0aSK+n7saUUbfzJCnU f86GPvZRsix6z2XgHs2e3W+MK3Z1ydxsWQ6iZjjiPrf6fEzC/YygGdXIzyCXFVziBc edrQ3HR8F09EzbbQO67aF6LyO5RwzOxjFOxyL8SVPPIEmH20cPjD02cBface8UMYvJ TtSLbWCclNpwv9VCE/X71NKiBNFSo3NjeS/QEqlzYoBABf+q1pJjv3dsgAEYb+wYAf tXs7ioaHp1Og9IBPT4LbKn5K95oYPc0Bo71UStGug+Ny0Mmflv+rncJQeCXF8M45ru aE01ANf9pF8lrI3QpyZ5QNEkw9+bB//F4fQboXX3wI/PwF4Wp9Ew0UAa0dDjY6cWJ+ 8dQM3cflWgnavLlj4mKUCgAr94lmBEtj7mZimJlxoNBfXvIep4uphW2jJGBV8qBs9V PqzVlOyN6VpsMaKrL3sTO0G0= From: Tomas Volf <~@wolfsden.cz> Date: Wed, 11 Dec 2024 17:21:15 +0100 Message-ID: <875xnq6vic.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: -2.3 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, during debugging #74787, I noticed that when ran via pre-inst-env, guix deploy does not use packages from the local git tree. I reverted the commit da3c8a963f83c044568d99921480259eaa26a923 and applied the following patch locally: =2D-8<---------------cut here---------------start------------->8--- diff --git a/guix/remote.scm b/guix/remote.scm index a58ec2103c..1d4442da4f 100644 =2D-- a/guix/remote.scm +++ b/guix/remote.scm @@ -67,6 +67,8 @@ (define* (remote-pipe-for-gexp lowered session #:optional= become-command) `("-c" ,(shell-quote (lowered-gexp-sexp lowered))))) =20 + (pk ((@ (ssh version) get-library-version))) + (let ((pipe (apply open-remote-pipe* session OPEN_READ repl-command))) (when (eof-object? (peek-char pipe)) (let ((status (channel-get-exit-status pipe))) =2D-8<---------------cut here---------------end--------------->8--- Now building the package produces 0.17.0 as expected: =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build guile-ssh /gnu/store/x3ikdxld27l1ikldwkijlv42qcgscw8w-guile-ssh-0.17.0-debug /gnu/store/0hrwzamw41k1gl6ysnssfgzhfx3fx299-guile-ssh-0.17.0 =2D-8<---------------cut here---------------end--------------->8--- But running guix deploy still uses 0.18.0: =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix deploy ... ;;; ("0.18.0") =2D-8<---------------cut here---------------end--------------->8--- I am not sure whether this is intended, but I definitely did not expect it and it makes local experimentation harder. Have a nice day, Tomas =2D-=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCgAsFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmdZu/sOHH5Ad29sZnNk ZW4uY3oACgkQL7/ufbZ/wamvGA//dOZC0S8rxJuO4l311NKGIf/dS71xgqYekeYX uG1KNYS96lWbJmzxEM7ZwmvMI1GWxa0N7CoX184banR4fxBoKRgLtCouoE4Ol+pf czfuqWgPOTq3wFaTiqHWII79jxcWamrgR46bwgjNKh5B6+JLjwmb4g0+nnBZJZb/ Q+/AxKjPXhuy0OR7Eczfg4hre5pIf7BGu/4W64QyyCF+TRZoAQInENI+8ncfBtht utKzepYCCGjiEnabCcYAMKsvdyERbJxriVYatIBciYifJ1yesR1vD6dpZhmlmlvB Z3n9g0B2zZMvF+vj3VKm69T5UW8OuMUvXy4/yUDfabWI3UCWeFbk5OfIPLC1Om7b lSB62iAGYl03SjhjowMsMojDs9cPeAFI3e07wfDaSkkA24/Uf0aOeV2xtDuE2OdS 4x34B9pyN4Ma5OClem20pHb5bJjONWJZX6KoZHopBttId7Go0m+9ZqLpII/dRcNI riZTkb3s1cvAFAYlrmjUFg/4SbXeC2sJ8s4Gzo7CD0mUwwLa/od30ZRwMO6BUU6V B7irYSl1ZLCxkMyO5fX2MJ/henEhLevgEgJYzc0DN22J8TPchNCroUrxVcNXFSVE mNmLAMxSLYhqgU9kG01YwXE3i1adTaoMzzTuK7ouxMlIEF1YrrHfotldd9CHIfby vmV2Mhg= =NC4h -----END PGP SIGNATURE----- --=-=-=--
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: Tomas Volf <~@wolfsden.cz> Subject: bug#74794: Acknowledgement (`./pre-inst-env guix deploy' does not use packages from the git tree) Message-ID: <handler.74794.B.173393409110154.ack <at> debbugs.gnu.org> References: <875xnq6vic.fsf@HIDDEN> X-Gnu-PR-Message: ack 74794 X-Gnu-PR-Package: guix Reply-To: 74794 <at> debbugs.gnu.org Date: Wed, 11 Dec 2024 16:22: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-guix@HIDDEN If you wish to submit further information on this problem, please send it to 74794 <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 74794: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74794 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.