From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6MRlEJkF12IpKAEAbAwnHQ (envelope-from ) for ; Tue, 19 Jul 2022 21:27:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KJxxEJkF12IVbQAAauVa8A (envelope-from ) for ; Tue, 19 Jul 2022 21:27:21 +0200 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 13E091175F for ; Tue, 19 Jul 2022 21:27:21 +0200 (CEST) Received: from localhost ([::1]:38846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDsDy-0007yC-5E for larch@yhetil.org; Tue, 19 Jul 2022 14:45:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDsDd-0007xx-CV for help-guix@gnu.org; Tue, 19 Jul 2022 14:45:17 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33765) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDsDa-00088w-5R for help-guix@gnu.org; Tue, 19 Jul 2022 14:45:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EFDE624012D for ; Tue, 19 Jul 2022 20:45:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1658256307; bh=ht0bXWuV8I207TF+CdtvASoGhDDtYm5yxnwVTtr6cPk=; h=Date:To:From:Subject:From; b=QriVQpvv224aegIHi8TlKj4TGSzepvhfIQ2qqFIvzOZUW9yH2AUKkCs2JVeOFpsTT Jj4t64eMz3k3gQw1MmDB9u+9wOwbsGrW3VOULrzOrr6u/Hh5fTo6GRnnKMUVJcVRXk x7UasU9lpZIo+QiTe40o05VdDORYlO/7DJUQGTSG31cCNwuv7RfGaLI6wcXlZwdc3K TPJYrEwAnGGzPJhtl0rF3gsIKtSICNW1uXwqDFWsY+NXnXLjYr3DsGo6K5JdfxRwcx dRnAhgfEBkwROzRRf3CYtF3mYcEIhWiDZa+5txVqKsztHO7yxxSnsTsPUJ6O8HofWL J+Mp0rLoSWJeQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LnSSL10R9z9rxD for ; Tue, 19 Jul 2022 20:45:05 +0200 (CEST) Message-ID: Date: Tue, 19 Jul 2022 18:45:04 +0000 MIME-Version: 1.0 Content-Language: en-US To: help-guix From: Zelphir Kaltstahl Subject: Error starting a guix shell Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658258841; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=d3bLHcXxvNZ4TH5RoK2MqU32f8lz3VpfP3K2dVxE45M=; b=qmlM04bryhEh8Y2XnmG99BLsb6b7PAqCncVJzqxALbtJiPi3KOb33S5nIni6Pjj9fNkSr2 dM9m94gjXNv9pDuNtgBhVMtX3r+I0hg/O/PfdwpckQhtTlmNMUsugmCERHnXi2hSm/uUnH yLmCCC+emq7psil70q1BxwP4kIWAXrSK3vvW5sDjurDbv4p4pqYLWbanMKujwGgM8tHlb6 B83zg4GUIZE5ipZRsFvxeKHz1ytD9l53OHL5WiTCi3x9LHVLQm2+chH6+8atrIoezhpXyA ClGR/R+RyJpNuA8Ku424x1dDJkiEM1yaEYC+jaO5OHUyOlD7iKHEJgUkXRDWjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658258841; a=rsa-sha256; cv=none; b=SgW4iYT0mlvUXnCzz9Ts2DkJZSl0kzeconRbfd1iIS9h+PS11v9qC4PVMH1XO8xnCD10gU Rz/+CLtXvmECvs4UjLNrVT3uN2edfYIXi/TOMGGNLViuAPGAWNT5knDnVoc9LipD2fX2pK 96T5e4vdIi6ijkMgpvKOK2bYXmyW28RUUbCBntMrIv2aT0o6lnmgnTsY5tCYZqmXGlFpc5 pRhKybpyjF2XqtQV/oUk+TXK5dfcZuTyraaaffhND0UAZ9l7htC4CMCEBx/+eK/dvHefPh ADUtngS4sfjlo3Td2vMfbZ8RK5OFNHdroCwlRqtDg+tgflA33prgCf+Rar5zpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=QriVQpvv; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.57 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=QriVQpvv; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 13E091175F X-Spam-Score: 5.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6eQywjGg822W Hello Guix users! Today I had a strange error, when I ran a `guix shell` command: ~~~~ (repl-version 0 1 1) (exception %exception (non-self-quoting 140737175054176 "#<&message message: \"unsupported manifest format\">")) ~~~~ This happened with guix on foreign distro and that distro is a Xubuntu 22.04, which I recently upgraded from 20.04 -> 22.04. After that, I think today was the first time I ran that guix shell command. Because of the distribution upgrade, a lot of things can have changed. This is how I ran the command: I have an `env.bash` file: ~~~~ #!/usr/bin/env bash set -Eeuxo pipefail DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)" printf "script directory is: %s\n" "${DIR}" guix time-machine \ --channels="${DIR}/channels.scm" -- \ shell \ --development \ --check \ --manifest="${DIR}/manifest.scm" ~~~~ The `manifest.scm` file is: ~~~~ (specifications->manifest '("python" "python-requests" "python-docker" "python-websocket-client" "python-iniconfig" "python-pytest" "docker-compose" )) ~~~~ The `channels.scm` file is: ~~~~ (list (channel (name 'guix) (url"https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "dbf09879710aefe6cedd9ed975cc2b79df01b755") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) ~~~~ However, I unfortunately already updated the `channels.scm` file using `guix describe --format=channels > channels.scm`, so the above file is not the file, with which I had the error, and I have no idea what the channel was before. When I had the error, I simply ran `bash guix-env/env.bash`, to activate the shell. Then I got an error and guix told me about a log file, some `*.log.gz` file. That one I copied out of the GNU store directory and opened the contained text file. It contained the error I wrote above. I am aware, that without the exact `channels.scm` file, this might be irreproducible. Sorry about it! When I hit the error, I thought: "Ahh well, quickly update guix and see if it solves it." and I also did the guix describe thingy to update the channel file, because my primary goal was to get the guix shell working again. Only later I thought of still needed that old file, in order to make a proper report. Sorry! After doing the following, it worked again: ~~~~ sudo -i guix pull && guix package -u (Ctrl+d) guix pull && guix package -u guix describe --format=channels > channels.scm ~~~~ My question now is, what could have caused the error? I thought, that, if I keep `channels.scm` the same, I would get a reproducible environment, assuming, that guix itself does not change behavior. Also the OS upgrade can of course have interfered and I would not be able to tell. But perhaps my strategy to get reproducible shells is not as safe as I thought? ("Can I still run in this environment/shell in 5 years? In 10? With the same results?") Best regards and apologies again for the not so precise information, Zelphir -- repositories:https://notabug.org/ZelphirKaltstahl