From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gJHzLHxQ819KaQAA0tVLHw (envelope-from ) for ; Mon, 04 Jan 2021 17:29:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gIfjKHxQ819XSQAAB5/wlQ (envelope-from ) for ; Mon, 04 Jan 2021 17:29:32 +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 BA0AE9402A8 for ; Mon, 4 Jan 2021 17:29:31 +0000 (UTC) Received: from localhost ([::1]:41444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwTfe-0000x6-H3 for larch@yhetil.org; Mon, 04 Jan 2021 12:29:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwTfP-0000w5-0k for help-guix@gnu.org; Mon, 04 Jan 2021 12:29:16 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:35086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kwTfL-0004xi-0Q for help-guix@gnu.org; Mon, 04 Jan 2021 12:29:14 -0500 Received: by mail-wr1-x435.google.com with SMTP id r3so33014493wrt.2 for ; Mon, 04 Jan 2021 09:29:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=zsW5fYI+C1Q4ngcpb1y2b2Qhl+l7hrLkgqVDHI78Q5A=; b=YdMSLca7VK2KbYiYbBVVSHyVDDFETKyo1nXbDKVrsRHoSEgd0Um1stw82IBoRUxRUU KZcRaeLW9oaaGiD687IFmi896qfiy4LvtfFtFspS1JmipTQEJJVxz+3VoSmRyGIOANOk /AuiMusOCqhDB6sCEEQOYsHin7Ko03wGJ/7W1lcAeQ7dnVoF1RJH4BNzXJJo0uuoLM8Q BNTHOI9Pj3sNEuou+mqtS/gELfeZgRx4bkgXtB+UV1Fl+3UJMsK4gKEvTQ1ek+Id94vr XWsxHb4Wdlx4K1x2VHS7JcZxoT4RTlAZnu0AxffhWdGXR+Av7TFY8r0UjySU8bkyY5Zv yAVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=zsW5fYI+C1Q4ngcpb1y2b2Qhl+l7hrLkgqVDHI78Q5A=; b=gB8fMOT6ipgScz0LpCVcCEnKsqx0XFlgUA4uWITPB8XA6Jn2QVHUqzv9yoV6SKFmHw 3YM8bO45yFa5n721ZV+7vRnR9VWezYV1lOcMc8odiyfqNP2Mqb5AOMKd8PHxwSv3DhSf r+L00TxU6+y2SzQQzdEhKShrX4uSBVES1gQOxpzsSd4M+rRc6qocwLmGEPTYRzw3LfcA v1/HLsqzYfBXdvCGel6szP2FWps1o2eLPxcSU9G4JL+3zeoJg5VGo4y9fWvvDDk3lRUx xDwtrGiZDpFoXFxFBnnEu3s3jWQ+u6TGFFCmaBG9+zojxDfDXI2CFlBvLqhqOBLL/HwO qliQ== X-Gm-Message-State: AOAM530m3WisCYpx+eOyKtARkWkjMKmTUgNhWc3xJ4NrrkCXouZ4h957 HtiYLWtbnR9OCSpuZ87P/Jtjp9N8mfed8epEQpQ= X-Google-Smtp-Source: ABdhPJw4sQ9xkz9ZO5NtnTqHVMf5fthvoJq5h1iP1mcZb7l3nBVW1KV2mA/3utMRu8iaTsz6Pb47lQ== X-Received: by 2002:adf:f58f:: with SMTP id f15mr81618307wro.388.1609781347367; Mon, 04 Jan 2021 09:29:07 -0800 (PST) Received: from phil-XPS-13-9360 (host-78-147-225-8.as13285.net. [78.147.225.8]) by smtp.gmail.com with ESMTPSA id v4sm92502890wrw.42.2021.01.04.09.29.05 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jan 2021 09:29:06 -0800 (PST) References: <857dp1yg0f.fsf@beadling.co.uk> <86o8ibs95q.fsf@gmail.com> User-agent: mu4e 1.2.0; emacs 26.3 From: Phil To: zimoun Subject: Re: Channel details of profile generation In-reply-to: <86o8ibs95q.fsf@gmail.com> Date: Mon, 04 Jan 2021 17:29:05 +0000 Message-ID: <85mtxor4pq.fsf@beadling.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2a00:1450:4864:20::435; envelope-from=phil@beadling.co.uk; helo=mail-wr1-x435.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=YdMSLca7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: BA0AE9402A8 X-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: TR3ErTWBdsOo Hi Simon, I'll specifically elaborate on the guix pull error in this e-mail, I follow-up on other items later (apologies my first e-mail as perhaps too busy!). zimoun writes: > Hi, > > On Mon, 28 Dec 2020 at 17:52, Phil wrote: > >> guix pull -p my-profile -l >> >> But this seems to crash: > > I am surprised. > Could you share how you generated the profile =E2=80=99my-profile=E2=80= =99? > Yes - the issue here appears to be the inclusion of a package from a private channel in the manifest. If I create a manifest only using Guix packages - everything looks OK - eg: ubuntu@test-image:~/guix-manifests$ cat test-manifest.scm=20 (packages->manifest (list (specification->package "python@3.8.2"))) =20=20=20=20 ubuntu@test-image:~/guix-manifests$ guix package -m test-manifest.scm -p ~/= guix-profiles/test-profile The following package will be installed: python 3.8.2 The following derivation will be built: /gnu/store/yd7093md8q5xa1s3zn3nwmh9qcpnwpjr-profile.drv building CA certificate bundle... building fonts directory... building directory of Info manuals... building database for manual pages... building profile with 1 package... hint: Consider setting the necessary environment variables by running: GUIX_PROFILE=3D"/home/ubuntu/guix-profiles/test-profile" . "$GUIX_PROFILE/etc/profile" Alternately, see `guix package --search-paths -p "/home/ubuntu/guix-profile= s/test-profile"'. ubuntu@test-image:~/guix-manifests$ GUIX_PROFILE=3D"/home/ubuntu/guix-profi= les/test-profile" ubuntu@test-image:~/guix-manifests$ . "$GUIX_PROFILE/etc/profile" ubuntu@test-image:~/guix-manifests$ guix pull -p ~/guix-profiles/test-profi= le -l \Generation 1 Jan 04 2021 17:00:58\ (current) python 3.8.2 ubuntu@test-image:~/guix-manifests$ But if I now also add a package from my private channel to the manifest: ubuntu@test-image:~/guix-manifests$ cat test-manifest-2.scm=20 (packages->manifest (list (specification->package "python@3.8.2") (@ (py-test-pkg) py-test-pkg-develop))) ubuntu@test-image:~/guix-manifests$ guix package -m test-manifest-2.scm -p = ~/guix-profiles/test-profile The following packages will be installed: py-test-pkg 4.72-0.2aa0874 python 3.8.2 updating checkout of 'ssh://git@my-bitbucket/foo/py-test-pkg.git'... retrieved commit 2aa08749a7b7ab7995f9cdb7bb1842e9889a09d substitute: updating substitutes from 'http://my-substitutes:8080'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivation will be built: /gnu/store/qw745mdvy81ym9mwnx4khxafg2spclyw-py-test-pkg-4.72-0.2aa0874.d= rv building /gnu/store/qw745mdvy81ym9mwnx4khxafg2spclyw-py-test-pkg-4.72-0.2aa= 0874.drv... The following derivation will be built: /gnu/store/d0bzs0aly5bjy6lhwc7asc4m4s2lxlki-profile.drv building CA certificate bundle... building fonts directory... building directory of Info manuals... building database for manual pages... building profile with 2 packages... It installs OK but the same guix pull comamnd now fails: ubuntu@test-image:~/guix-manifests$ guix pull -p ~/guix-profiles/test-profi= le -l \Generation 1 Jan 04 2021 17:00:58\ python 3.8.2 \Generation 2 Jan 04 2021 17:03:48\ (current) py-test-pkg 4.72-0.2aa0874 python 3.8.2 Backtrace: 11 (primitive-load "/home/ubuntu/.config/guix/current/bin/=E2=80= =A6") In guix/ui.scm: 2127:12 10 (run-guix-command _ . _) In ice-9/boot-9.scm: 1736:10 9 (with-exception-handler _ _ #:unwind? _ # _) 1731:15 8 (with-exception-handler # =E2=80=A6) 1731:15 7 (with-exception-handler # =E2=80=A6) 1731:15 6 (with-exception-handler # =E2=80=A6) In guix/scripts/pull.scm: 636:4 5 (_) In guix/memoization.scm: 100:0 4 (_ # "/home/ubuntu/guix-=E2=80= =A6" =E2=80=A6) In guix/scripts/pull.scm: 538:21 3 (_) In guix/inferior.scm: 256:2 2 (inferior-available-packages #f) 251:13 1 (send-inferior-request (defined? (quote #)) #f) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure struct-vtable: Wrong type argument in position 1 (expecting st= ruct): #f ubuntu@test-image:~/guix-manifests$ Despite this the test package did install correctly (py-test-pkg installs module example_project): ubuntu@test-image:~/guix-manifests$ which python3 /home/ubuntu/guix-profiles/test-profile/bin/python3 ubuntu@test-image:~/guix-manifests$ python3 -m example_project --myparam te= sting The parameter was: testing > Hope that helps, > simon