From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yChwOqnvhmLZdQEAbAwnHQ (envelope-from ) for ; Fri, 20 May 2022 03:32:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4L6AOqnvhmJ8SwAA9RJhRA (envelope-from ) for ; Fri, 20 May 2022 03:32:25 +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 7A2962CA4A for ; Fri, 20 May 2022 03:32:25 +0200 (CEST) Received: from localhost ([::1]:34332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrrFH-0002r0-8e for larch@yhetil.org; Thu, 19 May 2022 21:15:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrrEX-0002ql-1H for help-guix@gnu.org; Thu, 19 May 2022 21:15:13 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:39834) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrrES-0004xU-Ta for help-guix@gnu.org; Thu, 19 May 2022 21:15:10 -0400 Received: by mail-pg1-x52c.google.com with SMTP id a19so6475095pgw.6 for ; Thu, 19 May 2022 18:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sl6dIpRRTRCZ9EwGykqmETbsoW8MP/eoE1aZkYMBWBY=; b=O79LNQqML+JVaULR+LTcS2TTtKLC6wO6jfYD4v5wiNdVa+d9Nm/mgKpn3Rj+HuQvZ0 N0YQ0C4LmkxHKY1cOMckwxxVDYI8n3FArjmWU2qHtjwi9j2FJQ2qFoRzB9qcaxh84Kga ciRl8CILM9bldavhffdsd6nXlqy4lGtxctouPXB1RdtQQXuK+zDGQ8xDvnDRa2VnQpWf RQuRFkLK93DPfFgXl13pogmYWcZ5h9B7LyYF6OLUFFTxXMRVJIDmYGtpM8rkjVb80zqG HtScGQPuYpVMfQoSh78sFcKRodqRniXkx8Ne3KWQgkjGsct5KTYQoZv/RGU2xn/j3woj bYWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sl6dIpRRTRCZ9EwGykqmETbsoW8MP/eoE1aZkYMBWBY=; b=c0zBnVUk5asbl0uMfjOXMkp3b77TSQTxscSaLVsdQO6JHBI4imxQzhfs4W5WTjWsp/ bluA4gvoqcydH+qDlwzsOEtjbRnrsoDgvx9mlqbm2LzfFwX/8tOv0bmsVqw0w2IdMMez TteuyQoONv7s9ODf/EyHmFJ7s3w4yJQYqa7hwjLugIFv9M73jMkrTjCpCLGWx7jIWnsK TKIZs0tBLVHV7+kg+BpQ4C9+I2VkbHu3oafhqC0MFQ1FtiHjY+DpHhLob7EeTHcm2va9 Sg3K5/T/TcWHS5eWSFQjmUVByaA7M39Ezkir57jSDRg6JUh5oE2vTGySebYv3VPpMPqL ee7A== X-Gm-Message-State: AOAM531dhBQTKI/3GBwKgxC8hsINhR5/ztSzFNRcyzsdPu3NhObZKhFX PyzMW3AwMA0zj/rb4peHosuk/0ybrhH5KYlNpTc= X-Google-Smtp-Source: ABdhPJwSlO9xiIa8Sk/UelYwBcg/DjiuIgUAML+5f9EfngafOKwky03aAXVZsJYQXj6D5NUGgMccFL+i4WptdpL7r24= X-Received: by 2002:a05:6a00:801:b0:50d:ec66:fac0 with SMTP id m1-20020a056a00080100b0050dec66fac0mr7368689pfk.23.1653009306137; Thu, 19 May 2022 18:15:06 -0700 (PDT) MIME-Version: 1.0 References: <87pmkzc0sv.fsf@gmail.com> In-Reply-To: <87pmkzc0sv.fsf@gmail.com> From: Joey Dumont Date: Thu, 19 May 2022 21:14:29 -0400 Message-ID: Subject: Re: Delete all previous derivations To: zimoun Cc: help-guix@gnu.org Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=joey.dumont@gmail.com; helo=mail-pg1-x52c.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" Content-Transfer-Encoding: quoted-printable 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=1653010345; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WRU+2FpZeeCPYG7BWCz8t0FM2xDBZVncR36aTrGjSrk=; b=s5D8VTqxuqxMqz/0JawIPxLt4N1xI4r5oRp/zBbtlm2Uk0C78iq17KLcZacrrbOrgHL7rI Ps45Vad3ay/bYxiqIb7/pKGNgnxqZQF2BGCAQZdN3Mz+N2jJHLUBPy3We9BcSkeMiGEdO3 sxPu5TLlr9LME8DadKmTC0XfC42+bdLdQaqSDqoRdhzRl7fc6ZFIRBqjs+KBB4vSx57+nm Ip4ov3fawO1rIWLNph0BORm/2ttMgDL9TiixIjfVtqMBsCPlMbN1nc+PS01JA1sGxfFWvP rW1k5W+mn0ccZ2gjQXppToAhYyi5Hv8ZuXBhjC8iQu21TJGIlkf9zIxokW5Bbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653010345; a=rsa-sha256; cv=none; b=oHHD1nAHltkLE/Ft4yxP3frqElwugUHiCueOGsCu/0ilne7pZUzEpRRb+iF3EVW8aaEESl KRimsStb2BxhLlq5SN2Nk1Nln1EsQNRGh5+gAZCCtMTIxxI858opYMA290IcUPFKtTmi6o hlwgp19fvXTSuCvQUtUoL45Qw8W1OKTYKWNtv8qbGogW+iLRz9s9RmvXND0ddvfdCQdZPD pw1aJr4thx3GMSIVEn74Ns+n9XdnNYO06ld761zBD+BXBHhKXOPG42rPzGRsCiQMbsGyaA qOEljqrhKChFTsn6ZOax1u0Wp2lR2rn+WijhmipqGLkSjSWq3B+aZ1vQR5X44g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=O79LNQqM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 7.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=O79LNQqM; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 7A2962CA4A X-Spam-Score: 7.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: PDgAuNMuMLeq I was toying around the idea of having guix as a compatibility layer for an HPC software stack, similar to what Compute Canada had with nix before they switched to Gentoo ( http://users.ugent.be/~kehoste/eum18/easybuild_nix_cvmfs_compute_canada_bar= t_oldeman.pdf), hence the weird setup. I am aware that the Guix HPC guys recently published a layer between modules and guix shell, which I find interesting. It took a little while to try your command, as I built guix using Arch's package manager, which doesn't install pre-inst-env. Also, I built in a chroot, and pre-inst-env contains hard-coded references to the build directory. I guess I am a very weird user :) But even with that I still get the same errors. I don't want to keep the two stores simultaneously, I'm fine with fully destroying the old one (although I would be interested in knowing how to properly rollover from one store to another). Thanks! Joey Dumont (Profile ) The supreme elegance of Nature lies in its apparent simplicity. On Fri, 29 Apr 2022 at 12:57, zimoun wrote: > Hi, > > On Fri, 08 Apr 2022 at 23:14, Joey Dumont wrote: > > > I am using guix on Arch Linux, installed through the AUR package, but > with > > a custom store directory: --with-store-dir=3D/cvmfs/ > soft.valandil.ca/2022.03. > > I was running the daemon with options: > > > > # /etc/systemd/system/guix-daemon.service.d/override.conf > > [Service] > > ExecStart=3D > > ExecStart=3D/usr/bin/guix-daemon --build-users-group=3Dguixbuild > > --gc-keep-outputs=3Dyes --gc-keep-derivations=3Dyes > > > > I have since updated my guix install to point to a new store: /cvmfs/ > > soft.valandil.ca/2022.04, but I keep getting errors when running guix > pull: > > Hum, interesting setup=E2=80=A6 but then Guix will be confused, I guess. > > > $ guix pull > > ;;; WARNING: loading compiled file > /usr/lib/guile/2.2/site-ccache/gnutls.go > > failed: > > ;;; In procedure load-thunk-from-file: Invalid argument > > ;;; WARNING: loading compiled file > /usr/lib/guile/2.2/site-ccache/gnutls.go > > failed: > > ;;; In procedure load-thunk-from-file: Invalid argument > > Updating channel 'guix-hpc' from Git repository at ' > > https://gitlab.inria.fr/guix-hpc/guix-hpc'... > > Updating channel 'guix' from Git repository at ' > > https://git.savannah.gnu.org/git/guix.git'... > > Authenticating channel 'guix', commits 9edb3f6 to 1d4f2cd (23 new > > commits)... > > Building from these channels: > > guix https://git.savannah.gnu.org/git/guix.git 1d4f2cd > > guix-hpc https://gitlab.inria.fr/guix-hpc/guix-hpc de22a12 > > guix pull: error: derivation `/cvmfs/ > > > soft.valandil.ca/2022.03/compat/x86_64/linux/pf4z6hc1f9bwddsravnlacnb2i8p= 9xyl-guile-3.0.2.tar.xz.drv > ' > > has incorrect output `/cvmfs/ > > > soft.valandil.ca/2022.04/compat/x86_64/linux/92ip5misld973bsm73hfazwmd4n9= d58z-guile-3.0.2.tar.xz > ', > > should be `/cvmfs/ > > > soft.valandil.ca/2022.03/compat/x86_64/linux/9gc2alnhkrilqdch2xzjg0vq9b44= is43-guile-3.0.2.tar.xz > > ' > > Ah, Guix is really confused. :-) > > > I tried stracing the guix pull, and deleted all cache entries I could, > > ~/.cache/{guile,guix}, and the previous store, but the error persists. > > Where is that derivation stored so that it can be compared against the > new > > derivation? How can I delete it? > > IIUC, you have 2 stores. It means now you have 2 SQLite databases and > so on. Well, I do not know how it can work. > > You pulled with the old store. So the current guix command points to an > item to this old store. To change the store location > (--with-store-dir), you have recompiled Guix, right? > > Then, did you run > > ./pre-inst-env guix pull -p ~/.config/guix/current > ~/.config/guix/current/bin/guix pull > > ? > > > Cheers, > simon >