From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EC4fDEbhI2FXAgAAgWs5BA (envelope-from ) for ; Mon, 23 Aug 2021 19:56:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 10TPB0bhI2GCIwAA1q6Kng (envelope-from ) for ; Mon, 23 Aug 2021 17:56:22 +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 5E4D911238 for ; Mon, 23 Aug 2021 19:56:21 +0200 (CEST) Received: from localhost ([::1]:51372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIEBG-00034r-TD for larch@yhetil.org; Mon, 23 Aug 2021 13:56:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIE7R-0002k3-9G for help-guix@gnu.org; Mon, 23 Aug 2021 13:52:21 -0400 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]:39537) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIE7N-0003Ir-HK for help-guix@gnu.org; Mon, 23 Aug 2021 13:52:21 -0400 Received: by mail-il1-x135.google.com with SMTP id y3so17915309ilm.6 for ; Mon, 23 Aug 2021 10:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gcEuahsg0IMZwBodr5LcR45z2q0he3o/QZovDXCMJa0=; b=GLl3ExVVV/SpnBa2WeXsjp09dYiHip9fg38JczWZPxEDiUrqq2IvFMlb6O3KEeiBe6 LU6frEeou+SNDwBMNPbQm6LKn9VuovpjKStpEu1Kd5syvFOXwJB+ES37WozQN0hXnESu T8qGA+mziI39eVdSVqynx8DfvLYvaOmuXYxPjyV9ZuUgAIEXETk7h4hDU36Kj5pupU5R WoIPTw3Xht3iW67nNOyDGsBW+UDoJNF8yAd1AHvwtVRlCKbu8l4FEGMuCS5hjWW/aArU 5I5q2UJnqh8NLw56VzKx6Ivu29HoAMZLxbgkXSO6QLlabLMaNylFblHLfDnozIKtqNsH pGRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gcEuahsg0IMZwBodr5LcR45z2q0he3o/QZovDXCMJa0=; b=I+S+0VKQ3cSh3h2W7aIeYEBt93XDwEwm2dvPfOi18WbuqA8k/2g1SFggy9JZk4XA8f l+ba9VLmahs431R4EyE4llexgi1aXK5yaBVUFziZ/UNckettTor0VH9WfEf4fX1VSwed Y3QsXQqXtgMaSrgfsFKDQ3IjjvX/CyQnXD3/F1JJb3VygqOnILOZnX9OUhCX1upzAXZB yr8Ywe2qP4HZe/6FXvVxCHXZ3q5PkBbKFikjn43pAn8ORXnK1FL2eBRd9YIieyXYqxtC p82lzStra6uzYSBjE1mN2GzMCSxczOzJf/Zc6RS9p2bIEaLs+A2+yCynS9z//32nbfIX XcSw== X-Gm-Message-State: AOAM532TSKdgJ88PsCqNd4UI3d3yEZjYiJJi1i9F3nRAVx+CfXFQAS3g Vdp61T2PA6mm1kmXZh8XqrJMcC35CzSk1C6FD5w91ODK60qseZurcxU= X-Google-Smtp-Source: ABdhPJx2gNpPTQoLvHy2qCz59WjqQObdVna5J39opTKbXsK+HV4JASOUiwCt8a6r41ZLXYm9Bztb2BIvSRchdhKYgvg= X-Received: by 2002:a92:cf07:: with SMTP id c7mr23503784ilo.291.1629741135923; Mon, 23 Aug 2021 10:52:15 -0700 (PDT) MIME-Version: 1.0 References: <87bl5ofhyw.fsf@elephly.net> In-Reply-To: From: Phil Beadling Date: Mon, 23 Aug 2021 18:52:04 +0100 Message-ID: Subject: Re: scm_lreadr error on guix pull To: zimoun Received-SPF: none client-ip=2607:f8b0:4864:20::135; envelope-from=phil@beadling.co.uk; helo=mail-il1-x135.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, HTML_MESSAGE=0.001, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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 Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629741381; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SiXcUgFzArkOANOly63lvgzODKnIDoZxoygqPTtj48I=; b=UcaznT+pWxO4MaBoLhklgmH6ix/WgYlkuU6O3IizjaXtItmGaV8SPZYJNQaYkTboSvZWAP 108ZXTXvqOkzuncZ7sqRkUu4JPTanYCVBjSqVzIyR4j4hdyLIgBR9S4WFD9D/bV+Ipvgzd gegkTdu7wqKrBwFTAoXNu/cSLALp9cMoQ1xs4x2mj5cjgVh2faTrsVgxpiIPjLpcHNd40S U1cvG750Oh6zxXU/LfXu+KuqPfSRE/9FMVS23fysFmGIBGDWEx3upUOZhr8ufq55v9rkHH SyoYhuLMFK4JqKj/8zVsfc4RIk2VbyPpORfyrqjBaYrTjxQOUNuexTT/TKPXEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629741381; a=rsa-sha256; cv=none; b=Pyn3bfGu6rbayttgqa/BjiCpu/8wimgPWqbHAdkq8XLO11Qn6TyZRjJiFVxELuGhhzgvbP iB2SDrYFhjYxv/ZJ8dM+9WowWp9Paw78dsC7Ur3vJCk4vbD+3VL2lslH5WzwugQg731CtL A5DZ5MNEbK8/SgKleQjqXcIrRKJPD6zFcwagA5m0Hevegn27UQTZHgx9tD05SvbU6OLahK TjYqvV3QHEFVuspDXstkuQBisbIoR1XQEBB/k41aUf3Az+az1LELuzaQ2TndlMr9m2FD+O 7uVlV6txZuoR5GezQdwp0SHeFmgzYHZDK22nL/RrNEm2itQsumfyNktc04BozQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=GLl3ExVV; 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-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=beadling-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=GLl3ExVV; 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: 5E4D911238 X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: lxqjBx23NB2l On Mon, 23 Aug 2021 at 18:18, zimoun wrote: > > Could you try with the broken account this: > > /usr/bin/guix pull -p /tmp/test > /usr/bin/guix pull -p ~/.config/guix/current > hash guix > which guix > guix pull > > Thanks for the suggestion - I think I did a similar test which has solved the initial problem, but there is an underlying problem I'm still perplexed by. I will try your suggestion too, but below is my progress so far. Say we have 2 users: good-account bad-account One bad account I did: cd mkdir vault mv * vault/ mv .* vault logout/login Then with a bare account I did a guix pull and it worked! I thought I'd solved the problem - presumably some stale setting somewhere in bad-account's config/env/etc - but then I tried a 'guix environment' command and noticed that the bad-account was still trying to build things the good-account would take from the local gnu store. I isolated an example below - the 2 accounts retrieve the same channels/branches/commit id. The good-account picks up the version previously built in the store, but the bad account (presumably) comes up with a fingerprint that disagrees with the other account and decides to build from scratch. ___________________________ good-account@app-server:~$ guix build myproject updating checkout of 'ssh://git@git:81/proj/myproject.git'... retrieved commit *422427c60ebeb9dc725e13892876bf64476509eb <- commit id is identical* */gnu/store/0z1aax8g3r3bxjfnbf2p4rffkvzy3bz8-myproject-7.7.1 <- Take the version in the store* good-account@app-server:~$ guix describe *Generation 40 **Aug 23 2021 15:09:52* (current) my-packages 99af600 repository URL: ssh://git@git:81/proj/myproject.git branch: master commit: *99af600245d284dcb4b53cc5000b98ec35432c6f <- CHANNEL COMMIT IDs match below * guix 6755408 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: *675540892719387e1e4e76f097ff8e4ee4b559f7 <- CHANNEL COMMIT IDs match below * ____________________________ bad-account@app-server:~$ guix build myproject updating checkout of 'ssh://git@git:81/proj/myproject.git'... retrieved commit *422427c60ebeb9dc725e13892876bf64476509eb <- commit id is identical * The following derivation will be built: /gnu/store/a25k61g9c4p6cvjzfppzg1wn5ppra9qv-myproject-7.7.1.drv successfully built /gnu/store/318cq2099mgxjsikrrsxrzn6y5nzp24q-lchsmartpy-7.7.1.drv */gnu/store/6cnf47k37ng9zwlg8m63dprziwg2p1gh-myproject-7.7.1 <- Ignores the version in the store and rebuilds * bad-account@app-server:~$ guix describe *Generation 5* *Aug 23 2021 15:09:52* (current) my-packages 99af600 repository URL: ssh://git@git:81/proj/myproject.git branch: master commit: *99af600245d284dcb4b53cc5000b98ec35432c6f <- CHANNEL COMMIT IDs match above* guix 6755408 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: *675540892719387e1e4e76f097ff8e4ee4b559f7 <- CHANNEL COMMIT IDs match above * There is probably is still some rogue config operating on behalf of the bad-account that produces the different fingerprint - but no idea what this could be?