From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CAVWGtYWEGCGWgAA0tVLHw (envelope-from ) for ; Tue, 26 Jan 2021 13:19:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EOksFtYWEGAjRwAA1q6Kng (envelope-from ) for ; Tue, 26 Jan 2021 13:19:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B75099403AC for ; Tue, 26 Jan 2021 13:19:17 +0000 (UTC) Received: from localhost ([::1]:39864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4OFY-000840-70 for larch@yhetil.org; Tue, 26 Jan 2021 08:19:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4OEP-000809-UW for bug-guix@gnu.org; Tue, 26 Jan 2021 08:18:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4OEM-0000hB-Bh for bug-guix@gnu.org; Tue, 26 Jan 2021 08:18:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4OEM-0001pe-5Y for bug-guix@gnu.org; Tue, 26 Jan 2021 08:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45896: Non-pull =?UTF-8?Q?=E2=80=98guix=E2=80=99?= should know its channels Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Jan 2021 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45896 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45896@debbugs.gnu.org Received: via spool by 45896-submit@debbugs.gnu.org id=B45896.16116670466995 (code B ref 45896); Tue, 26 Jan 2021 13:18:02 +0000 Received: (at 45896) by debbugs.gnu.org; 26 Jan 2021 13:17:26 +0000 Received: from localhost ([127.0.0.1]:41039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4ODl-0001ol-Ie for submit@debbugs.gnu.org; Tue, 26 Jan 2021 08:17:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4ODj-0001oY-C8 for 45896@debbugs.gnu.org; Tue, 26 Jan 2021 08:17:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48871) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4ODe-0000MC-0g for 45896@debbugs.gnu.org; Tue, 26 Jan 2021 08:17:18 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37516 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l4ODL-000816-3d for 45896@debbugs.gnu.org; Tue, 26 Jan 2021 08:17:05 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <874kjixf59.fsf@inria.fr> Date: Tue, 26 Jan 2021 14:16:57 +0100 In-Reply-To: <874kjixf59.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 15 Jan 2021 18:51:14 +0100") Message-ID: <87v9bjzvli.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B75099403AC X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2BFbWQRi+aCE Ludovic Court=C3=A8s skribis: > Likewise, on foreign distros, /usr/local/bin/guix may point to a =E2=80= =98guix > pull=E2=80=99-guix, but because of the symlink, =E2=80=98guix describe=E2= =80=99 won=E2=80=99t work: > > $ type -P guix > /home/ludo/.config/guix/current/bin/guix > $ guix describe > Generacio 171 Jan 11 2021 11:38:39 (nuna) > guix 458cb25 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 458cb25b9e7e7c954f468023abea2bebb5d8c75b > $ ln -s $(type -P guix) /tmp > $ /tmp/guix describe > guix describe: error: failed to determine origin > hint: Perhaps this `guix' command was not obtained with `guix pull'? Its > version string is 458cb25b9e7e7c954f468023abea2bebb5d8c75b. This problem extends beyond that: channel modules are not found if the symlink is dereferenced: --8<---------------cut here---------------start------------->8--- $ /tmp/guix-science/bin/guix describe=20 Generacio 1 Jan 26 2021 14:13:46 (nuna) guix-past 829923f repository URL: https://gitlab.inria.fr/guix-hpc/guix-past branch: master commit: 829923f01f894f1e687735627025ada26230832f guix-science cf87b05 repository URL: https://github.com/guix-science/guix-science.git branch: master commit: cf87b0501c4a38b96edf41025a27bf1cb91f521a guix 51418c3 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 51418c32d95d8188d8877616829f26479f1135c6 $ $(readlink -f /tmp/guix-science/bin/guix) describe=20 guix describe: error: failed to determine origin hint: Perhaps this `guix' command was not obtained with `guix pull'? Its ve= rsion string is 51418c32d95d8188d8877616829f26479f1135c6. $ /tmp/guix-science/bin/guix build python2@2.4 -n La jenaj derivoj estus konstruataj: /gnu/store/xsk3vg48dfbwcc5w8pn08x5x15n5prpz-python2-2.4.6.drv /gnu/store/pnxh0lx28iydhw354xgcfbzk9r6zs6dx-Python-2.4.6.tar.xz.drv /gnu/store/fi2my0k9lfag52siz1h7xqwqbzwjkirc-Python-2.4.6.tar.bz2.drv 14.2 MB would be downloaded: /gnu/store/6wn346cbw1mh6264v426pwj2klgvxr0z-gcc-5.5.0 $ $(readlink -f /tmp/guix-science/bin/guix) build python2@2.4 -n guix build: error: python2: pako ne trovita por versio 2.4 --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.