unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69710: [67960be] failed to compute the derivation for Guix x86_64-linux
@ 2024-03-10 11:27 Pascal Quach
  2024-03-17 15:23 ` Richard Sent
  0 siblings, 1 reply; 2+ messages in thread
From: Pascal Quach @ 2024-03-10 11:27 UTC (permalink / raw)
  To: 69710

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

Hello,

Apparently I found a bug! From what I understand, not enabling 
substitutes should lead to building from source. Authorizing 
ci.guix.gnu.org and bordeaux.guix.gnu.org makes this bug disappear.

The final lines before the backtrace are:
 > guix substitute: warning: download from 
'https://ci.guix.gnu.org/nar/zstd/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9' 
failed: 504, "Gateway Time-out"
 > retrying download of 
'/gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9' with other 
substitute URLs...

Please find below my system information. The complete bug logs are attached.

Best regards,

Pascal Quach

[1] System information
-----------------------------------------------------------------------
DESKTOP-E9O1UFT:/# guix describe
Generation 2    Mar 10 2024 10:06:41    (current)
   guix 67960be
     repository URL: https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: 67960be52e01f8bd169dcff5985c4af2c5f87f91
DESKTOP-E9O1UFT:/# guix describe -f channels
(list (channel
         (name 'guix)
         (url "https://git.savannah.gnu.org/git/guix.git")
         (branch "master")
         (commit
           "67960be52e01f8bd169dcff5985c4af2c5f87f91")
         (introduction
           (make-channel-introduction
             "9edb3f66fd807b096b48283debdcddccfea34bad"
             (openpgp-fingerprint
               "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA")))))
DESKTOP-E9O1UFT:/#
-----------------------------------------------------------------------

[2] Bug log attached

[-- Attachment #2: bug.log --]
[-- Type: text/plain, Size: 8162 bytes --]

DESKTOP-E9O1UFT:/# guix pull
accepted connection from pid 317, user root
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git   67960be
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
26.4 MB will be downloaded
 glibc-2.35  8.5MiB                          8.6MiB/s 00:01 ▕██████████████████▏ 100.0%
 bash-minimal-5.1.16  568KiB                 5.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 gcc-11.3.0-lib  4.8MiB                      6.5MiB/s 00:01 ▕██████████████████▏ 100.0%
 libffi-3.4.4  56KiB                         9.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 libgc-8.2.2  228KiB                         5.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 libunistring-1.0  661KiB                    5.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 pkg-config-0.29.2  187KiB                   3.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-3.0.9  7.0MiB                         5.2MiB/s 00:01 ▕██████████████████▏ 100.0%
 guile-3.0.9-debug  6.8MiB                   6.0MiB/s 00:01 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
0.4 MB will be downloaded
 glibc-utf8-locales-2.35  382KiB             2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libgpg-error-1.45  223KiB                   1.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libgcrypt-1.10.1  552KiB                    5.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-gcrypt-0.4.0  165KiB                  9.3MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
 module-import-compiled  72KiB               1.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 bash-minimal-5.1.16  569KiB                 5.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 config.scm  507B                            781KiB/s 00:00 ▕██████████████████▏ 100.0%
 git.scm  105B                               342KiB/s 00:00 ▕██████████████████▏ 100.0%
 gmp-6.2.1  572KiB                           2.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 hash.scm  130B                              477KiB/s 00:00 ▕██████████████████▏ 100.0%
 libffi-3.4.4  56KiB                         9.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 libgc-8.2.2  218KiB                         1.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libltdl-2.4.7  35KiB                        8.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 libunistring-1.0  529KiB                    4.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 module-import  2KiB                         598KiB/s 00:00 ▕██████████████████▏ 100.0%
 module-import  2KiB                         665KiB/s 00:00 ▕██████████████████▏ 100.0%
 module-import-compiled  1.2MiB              6.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 module-import-compiled  1.2MiB              6.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 pkg-config-0.29.2  187KiB                  11.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-2.0.14  3.0MiB                        6.2MiB/s 00:00 ▕██████████████████▏ 100.0%
applying 2 grafts for libffi-3.4.4 ...
applying 2 grafts for libgc-8.2.2 ...
applying 2 grafts for libunistring-1.0 ...
applying 2 grafts for pkg-config-0.29.2 ...
applying 7 grafts for guile-3.0.9 ...
building /gnu/store/i5b2rgcfym3m5x8c3vpp2lkh70mv1646-compute-guix-derivation.drv...
guix substitute: warning: while fetching https://ci.guix.gnu.org/nar/lzip/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9: server is somewhat slow
guix substitute: warning: try `--no-substitutes' if the problem persists
guix substitute: warning: download from 'https://ci.guix.gnu.org/nar/lzip/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9' failed, trying next URL
guix substitute: warning: while fetching https://ci.guix.gnu.org/nar/zstd/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9: server is somewhat slow
guix substitute: warning: try `--no-substitutes' if the problem persists
guix substitute: warning: download from 'https://ci.guix.gnu.org/nar/zstd/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9' failed: 504, "Gateway Time-out"
retrying download of '/gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9' with other substitute URLs...
Backtrace:
          16 (primitive-load "/gnu/store/pvyk8whyfhdr5w87kg7fg4y515g0zbjm-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 15 (_ _)
    159:9 14 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 13 (with-fluid* _ _ _)
    152:2 12 (with-fluid* _ _ _)
In ./guix/store.scm:
  2180:24 11 (run-with-store #<store-connection 256.99 7fe66521faf0> #<procedure 7fe641906fa0 at ./guix/self.scm:13?> ?)
In ./guix/self.scm:
   1359:2 10 (_ #<store-connection 256.99 7fe66521faf0>)
In ./guix/packages.scm:
  2035:17  9 (_ #<store-connection 256.99 7fe66521faf0>)
In ./guix/store.scm:
  2180:24  8 (run-with-store #<store-connection 256.99 7fe66521faf0> #<procedure 7fe641901400 at ./guix/store.scm:2?> ?)
   2008:8  7 (_ #<store-connection 256.99 7fe66521faf0>)
  2052:38  6 (_ #<store-connection 256.99 7fe64325ac80>)
In ./guix/grafts.scm:
   325:16  5 (graft-derivation #<store-connection 256.99 7fe64325ac80> #<derivation /gnu/store/q67w4brx37iyjyxh4x9y?> ?)
    287:4  4 (_ #<vlist ()>)
    175:4  3 (non-self-references #<store-connection 256.99 7fe64325ac80> #<derivation /gnu/store/q67w4brx37iyjyxh4?> ?)
   177:20  2 (_ #t)
In ./guix/store.scm:
  1419:15  1 (_ #<store-connection 256.99 7fe64325ac80> ("/gnu/store/q67w4brx37iyjyxh4x9yqz3fv1phnqbc-guile-3.0.9.?") ?)
  1419:15  0 (loop #f)

./guix/store.scm:1419:15: In procedure loop:
ERROR:
  1. &store-protocol-error:
      message: "some substitutes for the outputs of derivation `/gnu/store/q67w4brx37iyjyxh4x9yqz3fv1phnqbc-guile-3.0.9.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/pvyk8whyfhdr5w87kg7fg4y515g0zbjm-compute-guix-derivation'
failed to compute the derivation for Guix (version: "67960be52e01f8bd169dcff5985c4af2c5f87f91"; system: "x86_64-linux";
host version: "67960be52e01f8bd169dcff5985c4af2c5f87f91"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.

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

* bug#69710: [67960be] failed to compute the derivation for Guix x86_64-linux
  2024-03-10 11:27 bug#69710: [67960be] failed to compute the derivation for Guix x86_64-linux Pascal Quach
@ 2024-03-17 15:23 ` Richard Sent
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Sent @ 2024-03-17 15:23 UTC (permalink / raw)
  To: Pascal Quach; +Cc: 69710

> From what I understand, not enabling
> substitutes should lead to building from source.

Did you try pulling with --fallback? I believe if substitute fetching
fails Guix won't build from source unless you add that flag.

Perhaps the error message in Guix pull could be updated to not say

--8<---------------cut here---------------start------------->8---
guix pull: error: You found a bug: the program ...
failed to compute the derivation for Guix ....
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.
--8<---------------cut here---------------end--------------->8---

When the store protocol error is

--8<---------------cut here---------------start------------->8---
ERROR:
  1. &store-protocol-error:
      message: "some substitutes for the outputs of derivation ... failed (usually happens due to networking issues); try `--fallback' to build derivation from source "
      status: 1
--8<---------------cut here---------------end--------------->8---

and --fallback isn't provided.

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.




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

end of thread, other threads:[~2024-03-17 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-10 11:27 bug#69710: [67960be] failed to compute the derivation for Guix x86_64-linux Pascal Quach
2024-03-17 15:23 ` Richard Sent

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