[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SWH: fallback error

From: zimoun
Subject: SWH: fallback error
Date: Thu, 09 Sep 2021 02:52:27 +0200


In order to check if the SWH fallback works, time to time, I test it.  I
have a variant package of hello defined here:


The source had been archived on SWH long time ago (via their Web
submission or via “guix lint -c archival”).  

Using Guix 16ef7b4, I get this:

--8<---------------cut here---------------start------------->8---
$ guix build -L /tmp/channel-example/ hi -S
The following derivation will be built:
building /gnu/store/bii72cavifd0ll151vjiz3brmdfxjdyp-git-checkout.drv...
guile: warning: failed to install locale
environment variable `PATH' set to 
hint: Using 'master' as the name for the initial branch. This default branch 
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:   git config --global init.defaultBranch <name>
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:   git branch -m <name>
Initialized empty Git repository in 
fatal: could not read Username for '': No such device or 
Failed to do a shallow fetch; retrying a full fetch...
fatal: could not read Username for '': No such device or 
'/gnu/store/5vai7bfrfkzv22dx13bxpszjrqyi78x6-git-minimal-2.33.0/bin/git fetch 
origin' failed with exit code 128
Trying content-addressed mirror at
Trying content-addressed mirror at
Trying to download from Software Heritage...
SWH: found revision e1eefd033b8a2c4c81babc6fde08ebb116c6abb8 with directory at 
           6 (primitive-load "/gnu/store/xq0z66k209klw42wwssgww5mq6y?")
In ice-9/boot-9.scm:
    152:2  5 (with-fluid* _ _ _)
In guix/swh.scm:
    622:8  4 (call-with-temporary-directory #<procedure 7ffff46216c0?>)
    632:5  3 (_ "/tmp/guix-build-git-checkout.drv-0/guix-directory.a?")
    543:0  2 (vault-fetch _ _ #:log-port _)
   261:30  1 (call ""; ?)
    390:0  0 (json->vault-reply _)

guix/swh.scm:390:0: In procedure json->vault-reply:
In procedure string->symbol: Wrong type argument in position 1 (expecting 
string): #<unspecified>
builder for `/gnu/store/bii72cavifd0ll151vjiz3brmdfxjdyp-git-checkout.drv' 
failed with exit code 1
build of /gnu/store/bii72cavifd0ll151vjiz3brmdfxjdyp-git-checkout.drv failed
View build log at 
guix build: error: build of 
`/gnu/store/bii72cavifd0ll151vjiz3brmdfxjdyp-git-checkout.drv' failed
--8<---------------cut here---------------end--------------->8---

The revision is found but then an error.  Hum?

Any clue?

All the best,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]