all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Beadling <phil@beadling.co.uk>
To: zimoun <zimon.toutoune@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: scm_lreadr error on guix pull
Date: Mon, 23 Aug 2021 18:52:04 +0100	[thread overview]
Message-ID: <CAOvsyQs899v-5aUENH=LPStT54_NK9s-AX1quDP+UNN5Qip3VA@mail.gmail.com> (raw)
In-Reply-To: <CAJ3okZ2X-J3z3hTEHKzOr0Eq0zh6D9t0bH66oS4tS79PFPUR7Q@mail.gmail.com>

On Mon, 23 Aug 2021 at 18:18, zimoun <zimon.toutoune@gmail.com> 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

<SNIPPED OUT BUILD LOG FOR BREVITY>

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?

  reply	other threads:[~2021-08-23 17:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-23 11:52 scm_lreadr error on guix pull Phil Beadling
2021-08-23 12:44 ` Ricardo Wurmus
2021-08-23 13:01   ` Phil Beadling
2021-08-23 13:21     ` Phil Beadling
2021-08-23 13:59       ` zimoun
2021-08-23 14:15         ` Phil Beadling
     [not found]           ` <CAOvsyQu+vogcL=gbeiCjJC8LZX2WNLpq42U6CEN681Yu0gQK-w@mail.gmail.com>
2021-08-23 17:18             ` zimoun
2021-08-23 17:52               ` Phil Beadling [this message]
2021-08-24 10:12                 ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOvsyQs899v-5aUENH=LPStT54_NK9s-AX1quDP+UNN5Qip3VA@mail.gmail.com' \
    --to=phil@beadling.co.uk \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.