[Top][All Lists]

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

Local caching behavior affected by network state

From: Leo Famulari
Subject: Local caching behavior affected by network state
Date: Thu, 29 Jun 2017 12:30:45 -0400
User-agent: Mutt/1.8.3 (2017-05-23)

I've noticed confusing behavior regarding the memoized cache, which
depends on the state of the network connection.

I have a built package in my store and I am connected to the internet:

$ ./pre-inst-env guix build gss
substitute: updating list of substitutes from ''... 100.0%

Then, I disable my network interface and run the command again:

$ ./pre-inst-env guix build gss
@ substituter-started 
guix substitute: error: host name lookup error: Temporary failure in name 
@ substituter-failed 
/gnu/store/y9akh452n3p4w2v631nj0injx7y0d68x-mpc-1.0.3.tar.gz 256 fetching path 
`/gnu/store/y9akh452n3p4w2v631nj0injx7y0d68x-mpc-1.0.3.tar.gz' failed with exit 
code 1
@ build-started 
/gnu/store/y4r20fnm9ba129r2ry6s2k1ss975dknd-gcc-5.4.0.tar.xz.drv - x86_64-linux 
guix build: error: build failed: some substitutes for the outputs of derivation 
`/gnu/store/ikdvc8qn0bi57hn3ci72l5xlqyss96ys-mpc-1.0.3.tar.gz.drv' failed 
(usually happens due to networking issues); try `--fallback' to build 
derivation from source
$ ./pre-inst-env guix build gss --fallback

So, when I am offline, I have to use --fallback for the local cache to

Attachment: signature.asc
Description: PGP signature

reply via email to

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