unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* guix package: error: build failed: some substitutes for the outputs of derivation hash.drv failed (usually happens due to networking issues); try `--fallback' to build derivation from source
@ 2018-10-25  4:22 znavko
  2018-10-25  4:58 ` Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: znavko @ 2018-10-25  4:22 UTC (permalink / raw)
  To: Help Guix

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

Is there any description of mechanism of updating and package installation.
I think guix downloads sources and then build them. I think there is a cache od downloaded archives.
But what exactly do here?

# guix package -u
updating substitutes from 'https://mirror.hydra.gnu.org <https://mirror.hydra.gnu.org>'... 100.0%
substitute: updating substitutes from 'https://mirror.hydra.gnu.org <https://mirror.hydra.gnu.org>'... 100.0%
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/yq82kwc1id78087idl8j4ywmy22b4v80-gtksourceview-3.24.8' <https://mirror.hydra.gnu.org/guix/nar/gzip/yq82kwc1id78087idl8j4ywmy22b4v80-gtksourceview-3.24.8'> failed: 504, "Gateway Time-out"
substitution of /gnu/store/yq82kwc1id78087idl8j4ywmy22b4v80-gtksourceview-3.24.8 failed
killing process 32540
guix package: error: build failed: some substitutes for the outputs of derivation `/gnu/store/8z50cls0f27yimw3qyn90ck2fwndsic9-gtksourceview-3.24.8.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 

# guix package --fallback
# guix package -u
guix substitute: error: download from 'https://mirror.hydra.gnu.org/guix/nar/gzip/yq82kwc1id78087idl8j4ywmy22b4v80-gtksourceview-3.24.8' <https://mirror.hydra.gnu.org/guix/nar/gzip/yq82kwc1id78087idl8j4ywmy22b4v80-gtksourceview-3.24.8'> failed: 504, "Gateway Time-out"
substitution of /gnu/store/yq82kwc1id78087idl8j4ywmy22b4v80-gtksourceview-3.24.8 failed
killing process 32581
guix package: error: build failed: some substitutes for the outputs of derivation `/gnu/store/8z50cls0f27yimw3qyn90ck2fwndsic9-gtksourceview-3.24.8.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source 

# guix package -u --fallback
guix package: warning: upgrade regexp '--fallback' looks like a command-line option
guix package: warning: is this intended?


Do I need to delete cache files?

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

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

* Re: guix package: error: build failed: some substitutes for the outputs of derivation hash.drv failed (usually happens due to networking issues); try `--fallback' to build derivation from source
  2018-10-25  4:22 guix package: error: build failed: some substitutes for the outputs of derivation hash.drv failed (usually happens due to networking issues); try `--fallback' to build derivation from source znavko
@ 2018-10-25  4:58 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2018-10-25  4:58 UTC (permalink / raw)
  To: znavko; +Cc: Help Guix

Hi,

> # guix package -u --fallback
> guix package: warning: upgrade regexp '--fallback' looks like a command-line option
> guix package: warning: is this intended?

The correct invokation is:

    guix package -u . --fallback

because “-u” takes an optional regular expression.

When hydra is not responsive you could try to fetch substitutes from a
different build farm such as berlin.guixsd.org.  Note that you may need
to authorize the public key for berlin.guixsd.org first before Guix will
accept substitutes from there.

--
Ricardo

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

end of thread, other threads:[~2018-10-25  4:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25  4:22 guix package: error: build failed: some substitutes for the outputs of derivation hash.drv failed (usually happens due to networking issues); try `--fallback' to build derivation from source znavko
2018-10-25  4:58 ` Ricardo Wurmus

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).