From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id C0uVIDYi22GP6QAAgWs5BA (envelope-from ) for ; Sun, 09 Jan 2022 18:58:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wN6TGDYi22EzfgEAG6o9tA (envelope-from ) for ; Sun, 09 Jan 2022 18:58:14 +0100 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 CDD6A3D1A2 for ; Sun, 9 Jan 2022 18:58:13 +0100 (CET) Received: from localhost ([::1]:33824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6cSL-0005Yb-1K for larch@yhetil.org; Sun, 09 Jan 2022 12:58:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6cS6-0005WG-BX for help-guix@gnu.org; Sun, 09 Jan 2022 12:57:58 -0500 Received: from [2a01:4f8:231:482b::2] (port=38256 helo=freeshell.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6cS4-0004KX-5r for help-guix@gnu.org; Sun, 09 Jan 2022 12:57:57 -0500 Received: from freeshell.de (cst-prg-3-80.cust.vodafone.cz [46.135.3.80]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id DDE2EB3024F9; Sun, 9 Jan 2022 18:57:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1641751027; bh=9P3DJQbikAAqa+MScWHmG6Zg/xD/bKM9hrtT6VA8n1E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eZ/VUt2Y/8iW2Hh/GHYZ3VrjUtLWSwWGd7esBYqPMNhehG5otvdQXHGp0w0fSJ4HQ ElnENcfHZQfKsBbq7xIJiyo2qAjGldWfuXbeAq2ayFdWPGBbuyi9EV/d3Pi96IlQaZ nTsykx/+h8UjXKUDXqUgHCskM2318hOfRwfo0A8M= Date: Sun, 9 Jan 2022 18:57:06 +0100 From: Wiktor =?utf-8?Q?=C5=BBelazny?= To: help-guix@gnu.org Subject: Re: "libc.so.6: version `GLIBC_2.33' not found" with guix time-machine --channels Message-ID: <20220109175706.e75fbkahrnzajacv@wzguix> Mail-Followup-To: help-guix@gnu.org, Leo Famulari X-PGP-Key: https://freeshell.de/~wz/pubkey.asc X-PGP-Fingerprint: BDC9 74CD D9C9 BA7D 761A 573D C735 A8C6 AB60 79D5 References: <20220108151155.3pylqkxtrxjpu5yo@wzguix> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nkibeagassdnhes6" Content-Disposition: inline In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f8:231:482b::2 (failed) Received-SPF: pass client-ip=2a01:4f8:231:482b::2; envelope-from=wz@freeshell.de; helo=freeshell.de 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, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641751094; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9P3DJQbikAAqa+MScWHmG6Zg/xD/bKM9hrtT6VA8n1E=; b=fZ1GTftxGguf2GKcz7FwfAzsROfM6zFNDLl6SG1k8b7HAnmDM49gB72WJDeIzAHtYq90KK xT8CJYvDpgLfcsTIpmTLPfaBNeFx9FWsj7xoqoO2yj4ST7CCJRut9RC8/Y9ABwEIVv+l+Q XuBjEXMFTb/CkVUNb+ow3obh9c6TWCfjI3wO9iljl5npaYUGhuuFFfTNL7zJMaDCh/ibOV 7n5JHE3a2/vbiWf+Pga1KsewITdvf/Uo6F/7jk77e37FNPm3vby44CO6OWuJ4AdFI1bMe3 J5QxL7MlU7KlZOUwsf6SgspncYH8F6/3o4/epaGd54/SyL/g7VAWEqxlYXza6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641751094; a=rsa-sha256; cv=none; b=iKIrgt3PCTP4sY57RibMZEhw5BkO6DfwmyiNB9ua14QUt3wkTic8hUX56YyMU6jDMLrPQk UNfA+7zOAoWeQ4n4UnnkIF5SAc3Qk4fAoh8O1drhx0kn7M5aHX6/BCoVaCmxxkg127D/RL kkSBaTRvapiT3DzV1PzLQog1VjB/A9+AUvSKydEfrhnm8sV7RKKDrNYjMlOuZrobvdYbd5 BmZK9e7ThYvBwUneI5QE0VF32vN2Fm7sBB653NRzN1xY+h9MYAeARVAxyagHiesKeRb6sx HGPdOQI05QYTOUb4HbjuBuk+W9qjPo6tOBUezvhj76wra8lpl0SFlEVzSZCtqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=freeshell.de header.s=mail header.b="eZ/VUt2Y"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=freeshell.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: -3.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=freeshell.de header.s=mail header.b="eZ/VUt2Y"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=freeshell.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: CDD6A3D1A2 X-Spam-Score: -3.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: OY9wqMaC0IW6 --nkibeagassdnhes6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 08, 2022 at 01:50:43PM -0500, Leo Famulari wrote: > When you build a Guix package, its entire dependency graph including > glibc (and all the way down to the bootstrap) is already specified. > The dependencies are "set in stone" before you start building. Thank you for your prompt reply. What about a situation where glibc is not an explicit package input? I suspect it is determined by the build system definition in such a (common) scenario. I further assume that when one runs guix time-machine --commit=3Dxxx -- environment pkg the pkg definition corresponding to the Guix version xxx is used, but a *current* Guix binary is used to execute the environment. I=E2=80=99ve got = this intuition that the current binary may assume the build system involving a new glibc, whereas the cached xxx version of pkg can be from the time when Guix defined a build system as using an old glibc. To use an analogy: let=E2=80=99s say that you=E2=80=99ve got a package defi= nition which does not change. But you upgrade the os kernel. There may be some change in the kernel that will make the package behave differently despite the same definition. > Therefore, if you want to use a given package with a different version > of glibc, you'll need to either 1) Use `guix pull` or `guix > time-machine` to build that package with the desired glibc version or guix time-machine is giving me the errors I listed. I=E2=80=99ve been runni= ng it for months with the same commit in the channel specification and the same manifest. That=E2=80=99s why I=E2=80=99m suspecting that some system-w= ide glibc update is causing this issue. Or some update of the guix binary. One more thing: the problem started after I had had to roll-back a segfaulting guix build. This was a little bit messy process. After `guix pull` using last working guix, `guix package -u` did almost nothing. Only after another `guix pull` did it work as it should. Maybe this is related, I don=E2=80=99t know. > 2) Create a new package definition that depends on a different version > of glibc. What if there is no explicit glibc dependency in the current definition, and so nothing that could be changed? Am I missing something? W=C5=BB --nkibeagassdnhes6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAmHbIfFfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edVg7hAAl+lJejBs/FJ7QyKB2qF0LpoY464Ald7XnIc9nqVWJMTzDbD4ZmQ2g5wk VZbkhh61NIv4m4BC24WWwyQAuU01cJ3b4CdPHFXcMhC6YOMm8+FtyiuQqaDMRnC6 CZbq4w8BGjYJvTbVK6tSxWyi3qtD+1eIe317T+6TG2no750qDHXXjhRo1goO8e5v kkEUDYtZmvgrHBVzfqR2YqGN+apZSnNOuVQsDeB+d9Yepm2OK1APArhS5EgEGs1g pBz5VaKosnXvUQhipP2ame5l4doEFC/zNL6FoIQry8yT8zXzQKV/maa1t59tBXv5 FeiwYVoOfw4HJ/F//sM7md648eQvsd5IQMKwxcwywP6k0Eud1lrQixXqx6gWmDJe SoXkZyFo3ZDbbRCz/mlVq3Cs5d+Wcvg8OoADpEtihP6RNY7YDopyC7jrKDANbr+J ysUXP2THQ1HQvZtfUMtPYhB2oTVl8lIiwh/cTLV+Ccd9hc4yQ2hwGl1hJJyD8z2O mqRyuz6weMv64I37IPzc6a7oJTOHMoezsMc3RxkBPVPmvnaiy4ZlwRzj/5pJDP1T yvq3RZtCnHAzSXFIyhQ8ypzkXJ0N5xVepWNh+C1SFzA1Aw1iZ0XJwnwD9UCwy4LZ Sfl9tcBRqS1fP3skULH05xS5Mj0gciLqccaRHNzDi5mEAJqK9s4= =E81l -----END PGP SIGNATURE----- --nkibeagassdnhes6--