bug#47258: guix pull bug: the program '/gnu/store/...-compute-guix-derivation' failed to compute the derivation for Guix

2021-03-20 Thread Pierre Neidhardt
Ludovic Courtès  writes:

> This is fixed in ef2b9322fae1d03bf639924d12214b0f58c11054 (it was
> introduced hours before).

Thanks!

-- 
Pierre Neidhardt
https://ambrevar.xyz/


signature.asc
Description: PGP signature


bug#47258: guix pull bug: the program '/gnu/store/...-compute-guix-derivation' failed to compute the derivation for Guix

2021-03-20 Thread Ludovic Courtès
Pierre Neidhardt  skribis:

> I just noticed these curious warnings:
>
> building 
> /gnu/store/q5p09vryxv0r2hp0a9caaz9kmfcflsh5-compute-guix-derivation.drv...
> Computing Guix derivation for 'x86_64-linux'...  ;;; Failed to autoload 
> repository-discover in (git repository):
> ;;; no code for module (git repository)
> ;;; Failed to autoload repository-discover in (git repository):
> ;;; no code for module (git repository)
> ;;; Failed to autoload repository-open in (git repository):
> ;;; no code for module (git repository)
> ;;; Failed to autoload repository-open in (git repository):
> ;;; no code for module (git repository)

This is fixed in ef2b9322fae1d03bf639924d12214b0f58c11054 (it was
introduced hours before).

Ludo’.





bug#47258: guix pull bug: the program '/gnu/store/...-compute-guix-derivation' failed to compute the derivation for Guix

2021-03-20 Thread Ludovic Courtès
Hi Pierre,

Pierre Neidhardt  skribis:

> @ substituter-started 
> /gnu/store/d2c09h0xxlmql98yd989hibi347arwqv-libtiff-4.2.0-doc substitute
> guix substitute: error: host name lookup error: Name or service not known
> @ substituter-failed 
> /gnu/store/d2c09h0xxlmql98yd989hibi347arwqv-libtiff-4.2.0-doc  fetching path 
> `/gnu/store/d2c09h0xxlmql98yd989hibi347arwqv-libtiff-4.2.0-doc' (empty 
> status: '')

Looks like you experienced a transient networking error.

Now, error reporting is terrible.  :-/

Ludo’.





bug#47258: guix pull bug: the program '/gnu/store/...-compute-guix-derivation' failed to compute the derivation for Guix

2021-03-19 Thread Maxime Devos
On Fri, 2021-03-19 at 14:01 +0100, Pierre Neidhardt wrote:
> --fallback fails as well :(
> 

As a work-around, maybe try --no-substitutes to *not* built any
sources *at all*, in which case the network should only be consulted
for downloading source code?



signature.asc
Description: This is a digitally signed message part


bug#47258: guix pull bug: the program '/gnu/store/...-compute-guix-derivation' failed to compute the derivation for Guix

2021-03-19 Thread zimoun
Hi Pierre,

On Fri, 19 Mar 2021 at 11:25, Pierre Neidhardt  wrote:

> --8<---cut here---start->8---
> $ guix pull

[...]

> @ substituter-succeeded 
> /gnu/store/1nxd28y29f0ksmbplbrshkc71bky2g8n-gnutls-3.6.15-debug
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> @ substituter-started 
> /gnu/store/d2c09h0xxlmql98yd989hibi347arwqv-libtiff-4.2.0-doc substitute
> guix substitute: error: host name lookup error: Name or service not known
> @ substituter-failed 
> /gnu/store/d2c09h0xxlmql98yd989hibi347arwqv-libtiff-4.2.0-doc  fetching path 
> `/gnu/store/d2c09h0xxlmql98yd989hibi347arwqv-libtiff-4.2.0-doc' (empty 
> status: '')
> Backtrace:
>   11 (primitive-load 
> "/gnu/store/h0lkna6hicpsdxx9sxgapqpy2p1y9azw-compute-guix-derivation")
> In ice-9/eval.scm:
> 155:9 10 (_ _)
> 159:9  9 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(# 7fd77621cf?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
> In ./guix/store.scm:
>   2066:24  8 (run-with-store # _ 
> #:guile-for-build _ #:system _ #:target _)
>1900:8  7 (_ _)
> In ./guix/gexp.scm:
>256:18  6 (_ _)
>1136:2  5 (_ _)
>1002:2  4 (_ _)
> 849:4  3 (_ _)
> In ./guix/store.scm:
>   1948:12  2 (_ #)
>1362:5  1 (map/accumulate-builds # _ 
> _)
>   1373:15  0 (_ # _ _)
>
> ./guix/store.scm:1373:15: ERROR:
>   1. &store-protocol-error:
>   message: "some substitutes for the outputs of derivation 
> `/gnu/store/plq0nz84mannv87aiip646vr2a1z7mb1-libtiff-4.2.0.drv' failed 
> (usually happens due to networking issues); try `--fallback' to build 
> derivation from source "
>   status: 1
> guix pull: error: You found a bug: the program 
> '/gnu/store/h0lkna6hicpsdxx9sxgapqpy2p1y9azw-compute-guix-derivation'
> failed to compute the derivation for Guix (version: 
> "1155a88308df7649fe74bd5bb8279a4d103ce386"; system: "x86_64-linux";
> host version: "5fa4814b4f12b82a7a7747bfacfb45b0348eae1e"; pull-version: 1).
> Please report it by email to .
> --8<---cut here---end--->8---

The similar command:

  guix machine --commit=5fa4814b4f12b82a7a7747bfacfb45b0348eae1e \
   -- time-machine --commit=1155a88308df7649fe74bd5bb8279a4d103ce386 \ 
   -- help

works for me.

It looks like a transient network issue.  I agree it is annoying.
First, it should automatically fallback.  And in any case, it should not
raise this ugly backtrace.

Cheers,
simon