unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* I can not run 'guix pull', how to deal with
@ 2017-05-05 12:30 tumashu
  2017-05-05 13:07 ` ng0
  2017-05-05 16:15 ` Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: tumashu @ 2017-05-05 12:30 UTC (permalink / raw)
  To: guix

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

feng@tumashu:~ $ guix pull
fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem'...
Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem (2KiB installed)...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed: 404, "Not Found"
fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed with exit code 1
fetching path `/gnu/store/bcq7sqhg18b7b1q87j8z60d5hybsdafm-letsencryptauthorityx3.pem'...
killing process 3656
guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/hm8c3lfvxkspqg9g3hcb877lkiqriad9-isrgrootx1.pem.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
feng@tumashu:~ $


[-- Attachment #2: Type: text/html, Size: 970 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can not run 'guix pull', how to deal with
  2017-05-05 12:30 I can not run 'guix pull', how to deal with tumashu
@ 2017-05-05 13:07 ` ng0
  2017-05-05 13:23   ` ng0
  2017-05-05 16:15 ` Ludovic Courtès
  1 sibling, 1 reply; 8+ messages in thread
From: ng0 @ 2017-05-05 13:07 UTC (permalink / raw)
  To: tumashu; +Cc: guix

Hi,

tumashu transcribed 2.7K bytes:
> feng@tumashu:~ $ guix pull
> fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem'...
> Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem (2KiB installed)...
> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed: 404, "Not Found"
> fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed with exit code 1
> fetching path `/gnu/store/bcq7sqhg18b7b1q87j8z60d5hybsdafm-letsencryptauthorityx3.pem'...
> killing process 3656
> guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/hm8c3lfvxkspqg9g3hcb877lkiqriad9-isrgrootx1.pem.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
> feng@tumashu:~ $
> 
My first suggestion is to follow the advice of the error message:
run "guix pull --fallback" (though it could be that this is not
possible, I remember opening a related bug but I could be wrong).
-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can not run 'guix pull', how to deal with
  2017-05-05 13:07 ` ng0
@ 2017-05-05 13:23   ` ng0
  0 siblings, 0 replies; 8+ messages in thread
From: ng0 @ 2017-05-05 13:23 UTC (permalink / raw)
  To: tumashu, guix

ng0 transcribed 1.2K bytes:
> Hi,
> 
> tumashu transcribed 2.7K bytes:
> > feng@tumashu:~ $ guix pull
> > fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem'...
> > Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem (2KiB installed)...
> > guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed: 404, "Not Found"
> > fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed with exit code 1
> > fetching path `/gnu/store/bcq7sqhg18b7b1q87j8z60d5hybsdafm-letsencryptauthorityx3.pem'...
> > killing process 3656
> > guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/hm8c3lfvxkspqg9g3hcb877lkiqriad9-isrgrootx1.pem.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
> > feng@tumashu:~ $
> > 
> My first suggestion is to follow the advice of the error message:
> run "guix pull --fallback" (though it could be that this is not
> possible, I remember opening a related bug but I could be wrong).

Correction: I opened the bug for offloading, but not for pull.

[user@abyayala ~]$ guix pull --fallback
guix pull: error: fallback: unrecognized option

This is possibly not the root of your problem, but could you open a bug
about guix pull not supporting fallback?

Thanks!
-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can not run 'guix pull', how to deal with
  2017-05-05 12:30 I can not run 'guix pull', how to deal with tumashu
  2017-05-05 13:07 ` ng0
@ 2017-05-05 16:15 ` Ludovic Courtès
  2017-05-06 10:13   ` tumashu
  1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2017-05-05 16:15 UTC (permalink / raw)
  To: tumashu; +Cc: guix

tumashu <tumashu@163.com> skribis:

> feng@tumashu:~ $ guix pull
> fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem'...
> Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem (2KiB installed)...
> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed: 404, "Not Found"
> fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed with exit code 1
> fetching path `/gnu/store/bcq7sqhg18b7b1q87j8z60d5hybsdafm-letsencryptauthorityx3.pem'...
> killing process 3656
> guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/hm8c3lfvxkspqg9g3hcb877lkiqriad9-isrgrootx1.pem.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
> feng@tumashu:~ $

This should be fixed as you read it (just the time for nginx to expire
the cached 404.)

(For the curious, I fixed it by running:

  wget -O - https://hydra.gnu.org/1drx7dy1zakc0xs60nb0im1jbvxp11dj.narinfo

which told ‘guix publish’ to regenerate the nar corresponding to this
narinfo.  The problem we had here was that the nginx caches had cached
the narinfo but not the nar, and ‘guix publish’ currently only
generate nars when their narinfo is first queried.)

Thanks for your report!

Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re:Re: I can not run 'guix pull', how to deal with
  2017-05-05 16:15 ` Ludovic Courtès
@ 2017-05-06 10:13   ` tumashu
  2017-05-07  9:36     ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: tumashu @ 2017-05-06 10:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix

[-- Attachment #1: Type: text/plain, Size: 2423 bytes --]

Now, the error is like the below :-(

feng@tumashu:~ $ guix pull
fetching path `/gnu/store/f5shnag8k1ny9vx6vwrvbw87b05888dz-make-boot0-4.2.1'...
Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/f5shnag8k1ny9vx6vwrvbw87b05888dz-make-boot0-4.2.1 (218KiB installed)...
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/f5shnag8k1ny9vx6vwrvbw87b05888dz-make-boot0-4.2.1' failed: 404, "Not Found"
fetching path `/gnu/store/f5shnag8k1ny9vx6vwrvbw87b05888dz-make-boot0-4.2.1' failed with exit code 1
fetching path `/gnu/store/5vvzwh41q3l0fdjyjxiz105fsxcz35rs-module-import'...
killing process 1708
guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/d1qkv7x8ayi75qjlg7d5j5g1h7y4fl5p-make-boot0-4.2.1.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
feng@tumashu:~ $










At 2017-05-06 00:15:12, "ludo@gnu.org (Ludovic" <=?utf-8?Q?Court=C3=A8s?=)> wrote:
>tumashu <tumashu@163.com> skribis:
>
>> feng@tumashu:~ $ guix pull
>> fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem'...
>> Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem (2KiB installed)...
>> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed: 404, "Not Found"
>> fetching path `/gnu/store/1drx7dy1zakc0xs60nb0im1jbvxp11dj-isrgrootx1.pem' failed with exit code 1
>> fetching path `/gnu/store/bcq7sqhg18b7b1q87j8z60d5hybsdafm-letsencryptauthorityx3.pem'...
>> killing process 3656
>> guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/hm8c3lfvxkspqg9g3hcb877lkiqriad9-isrgrootx1.pem.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
>> feng@tumashu:~ $
>
>This should be fixed as you read it (just the time for nginx to expire
>the cached 404.)
>
>(For the curious, I fixed it by running:
>
>  wget -O - https://hydra.gnu.org/1drx7dy1zakc0xs60nb0im1jbvxp11dj.narinfo
>
>which told ‘guix publish’ to regenerate the nar corresponding to this
>narinfo.  The problem we had here was that the nginx caches had cached
>the narinfo but not the nar, and ‘guix publish’ currently only
>generate nars when their narinfo is first queried.)
>
>Thanks for your report!
>
>Ludo’.

[-- Attachment #2: Type: text/html, Size: 2779 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can not run 'guix pull', how to deal with
  2017-05-06 10:13   ` tumashu
@ 2017-05-07  9:36     ` Ludovic Courtès
  2017-05-10 13:31       ` Konrad Hinsen
  0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2017-05-07  9:36 UTC (permalink / raw)
  To: tumashu; +Cc: guix

tumashu  <tumashu@163.com> skribis:

> Now, the error is like the below :-(
>
> feng@tumashu:~ $ guix pull
> fetching path `/gnu/store/f5shnag8k1ny9vx6vwrvbw87b05888dz-make-boot0-4.2.1'...
> Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/f5shnag8k1ny9vx6vwrvbw87b05888dz-make-boot0-4.2.1 (218KiB installed)...
> guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/f5shnag8k1ny9vx6vwrvbw87b05888dz-make-boot0-4.2.1' failed: 404, "Not Found"
> fetching path `/gnu/store/f5shnag8k1ny9vx6vwrvbw87b05888dz-make-boot0-4.2.1' failed with exit code 1
> fetching path `/gnu/store/5vvzwh41q3l0fdjyjxiz105fsxcz35rs-module-import'...
> killing process 1708
> guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/d1qkv7x8ayi75qjlg7d5j5g1h7y4fl5p-make-boot0-4.2.1.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source

I fixed it yesterday, let me know how that goes.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: I can not run 'guix pull', how to deal with
  2017-05-07  9:36     ` Ludovic Courtès
@ 2017-05-10 13:31       ` Konrad Hinsen
  2017-05-11  8:48         ` narinfo/nar mismatch on nginx caches Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Konrad Hinsen @ 2017-05-10 13:31 UTC (permalink / raw)
  To: guix-devel

On 07/05/2017 11:36, Ludovic Courtès wrote:

>> guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/d1qkv7x8ayi75qjlg7d5j5g1h7y4fl5p-make-boot0-4.2.1.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
>
> I fixed it yesterday, let me know how that goes.

There seems to be a reservoir of similar bugs. Here is the one I just 
ran into:

hash mismatch in downloaded path 
`/gnu/store/q6rbp7s542jkhrhz04hsp2i60gw0h4as-python-2.7.12': expected 
aea4335a5e6d65a36ed74561b15f8242773c49110be30d8ab7b43590f0568e60, got 
49b3fc5b436309b4d097ed3c84946d5cab742db6159d76f5ad7a1d7896a2760f
fetching path `/gnu/store/9761yfpvyr1fcpjhry8pgb3f0k6kj8n4-sed-4.2.2'...
killing process 3685
guix pull: error: build failed: some substitutes for the outputs of 
derivation 
`/gnu/store/wn2068qzbyh1v64dxxwbfjik7cjq0sji-python-2.7.12.drv' failed 
(usually happens due to networking issues); try `--fallback' to build 
derivation from source

Does hydra have any kind of self-checking mechanism? It would be nice if 
such issues would be resolved automatically.

Konrad.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* narinfo/nar mismatch on nginx caches
  2017-05-10 13:31       ` Konrad Hinsen
@ 2017-05-11  8:48         ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2017-05-11  8:48 UTC (permalink / raw)
  To: Konrad Hinsen; +Cc: guix-devel, guix-sysadmin

Hi Konrad,

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

> On 07/05/2017 11:36, Ludovic Courtès wrote:
>
>>> guix pull: error: build failed: some substitutes for the outputs of derivation `/gnu/store/d1qkv7x8ayi75qjlg7d5j5g1h7y4fl5p-make-boot0-4.2.1.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
>>
>> I fixed it yesterday, let me know how that goes.
>
> There seems to be a reservoir of similar bugs.

Looks like it.  :-/  The hope with the new ‘guix publish --cache’ is
that these issues will vanish over time; the 404s that were reported are
for older store items for which we still had old entries in cache.

> Here is the one I just ran into:
>
> hash mismatch in downloaded path
> `/gnu/store/q6rbp7s542jkhrhz04hsp2i60gw0h4as-python-2.7.12': expected
> aea4335a5e6d65a36ed74561b15f8242773c49110be30d8ab7b43590f0568e60, got
> 49b3fc5b436309b4d097ed3c84946d5cab742db6159d76f5ad7a1d7896a2760f
> fetching path `/gnu/store/9761yfpvyr1fcpjhry8pgb3f0k6kj8n4-sed-4.2.2'...
> killing process 3685
> guix pull: error: build failed: some substitutes for the outputs of
> derivation
> `/gnu/store/wn2068qzbyh1v64dxxwbfjik7cjq0sji-python-2.7.12.drv' failed
> (usually happens due to networking issues); try `--fallback' to build
> derivation from source

This hash mismatch is a different story: this package did not build
deterministically, caches have kept the data (the nar) but they have
updated the meta-data (narinfo), which now advertises a different hash.
IOW, the cached data no longer matches the meta-data.

If we were not running nginx caches in front of ‘guix publish --cache’,
we would not have these problems.  However, we need those caches to
distribute the load.

Long-term the best option of course is to have all packages be
bit-reproducible, but until we get there, I’m not sure how to address
it.  Thoughts anyone?

Thanks for your report,
Ludo’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-05-11  8:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-05 12:30 I can not run 'guix pull', how to deal with tumashu
2017-05-05 13:07 ` ng0
2017-05-05 13:23   ` ng0
2017-05-05 16:15 ` Ludovic Courtès
2017-05-06 10:13   ` tumashu
2017-05-07  9:36     ` Ludovic Courtès
2017-05-10 13:31       ` Konrad Hinsen
2017-05-11  8:48         ` narinfo/nar mismatch on nginx caches Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).