unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Corrupt substitute in test
@ 2023-06-23  6:18 Felix Lechner via Development of GNU Guix and the GNU System distribution.
  2023-06-23  7:28 ` Hilton Chain
  0 siblings, 1 reply; 3+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-06-23  6:18 UTC (permalink / raw)
  To: Guix Devel

Hi,

A system test fails consistently due to a corrupt substitute. May I
pass anything to 'make' that causes the package to be built locally?
Thanks!

KInd regards
Felix

* * *

substituting /gnu/store/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz...
Backtrace:
In ice-9/boot-9.scm:
  1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
          18 (apply-smob/0 #<thunk 7fb82a7172a0>)
In ice-9/boot-9.scm:
    724:2 17 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8 16 (_ #(#(#<directory (guile-user) 7fb82a71cc80>)))
In guix/ui.scm:
   2300:7 15 (run-guix . _)
  2263:10 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
  1752:10 12 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
   854:15 11 (_)
    646:2 10 (process-substitution _ _ _ #:cache-urls _ #:acl _ # _ # ?)
In ice-9/boot-9.scm:
  1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/substitute.scm:
    463:7  8 (download-nar #<<narinfo> path: "/gnu/store/mm2bdrcapk?> ?)
In ice-9/boot-9.scm:
  1747:15  7 (with-exception-handler #<procedure 7fb82459e3f0 at ic?> ?)
  1685:16  6 (raise-exception _ #:continuable? _)
  1683:16  5 (raise-exception _ #:continuable? _)
  1685:16  4 (raise-exception _ #:continuable? _)
  1780:13  3 (_ #<&compound-exception components: (#<&error> #<&irri?>)
  1685:16  2 (raise-exception _ #:continuable? _)
  1683:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
ERROR:
  1. &http-get-error:
      uri: #<<uri> scheme: https userinfo: #f host:
"bordeaux.guix.gnu.org" port: #f path:
"/nar/zstd/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz"
query: #f fragment: #f>
      code: 404
      reason: "Not Found"
      headers: ((server . "nginx") (date . #<date nanosecond: 0
second: 45 minute: 14 hour: 6 day: 23 month: 6 year: 2023 zone-offset:
0>) (content-type text/plain (charset . "utf-8")) (content-length . 3)
(connection keep-alive))
  2. &message: "https://bordeaux.guix.gnu.org/nar/zstd/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz:
HTTP download failed: 404 (\"Not Found\")"
substitution of
/gnu/store/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz
failed
guix build: error: corrupt input while restoring archive from
#<closed: file 7fcb56506e70>
make: *** [Makefile:6888: check-system] Error 1


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

* Re: Corrupt substitute in test
  2023-06-23  6:18 Corrupt substitute in test Felix Lechner via Development of GNU Guix and the GNU System distribution.
@ 2023-06-23  7:28 ` Hilton Chain
  2023-06-23 13:12   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  0 siblings, 1 reply; 3+ messages in thread
From: Hilton Chain @ 2023-06-23  7:28 UTC (permalink / raw)
  To: Felix Lechner; +Cc: Guix Devel

Hi Felix,

On Fri, 23 Jun 2023 14:18:30 +0800,
Felix Lechner via Development of GNU Guix and the GNU System distribution. wrote:
> substituting /gnu/store/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz...

You can download the tarball with "build --source", optionally with
"--no-substitutes" if the substitute still doesn't work for you.  

guix build --source u-boot-sandbox
--8<---------------cut here---------------start------------->8---
substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'... 100.0%
15.9 MB will be downloaded:
  /gnu/store/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz
substituting /gnu/store/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz...
downloading from https://bordeaux-singapore-mirror.cbaines.net/nar/lzip/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz ...
 u-boot-2022.10.tar.xz  15.2MiB                                                                                                                  1.7MiB/s 00:09 ▕██████████████████▏ 100.0%

/gnu/store/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz
--8<---------------cut here---------------end--------------->8---


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

* Re: Corrupt substitute in test
  2023-06-23  7:28 ` Hilton Chain
@ 2023-06-23 13:12   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
  0 siblings, 0 replies; 3+ messages in thread
From: Felix Lechner via Development of GNU Guix and the GNU System distribution. @ 2023-06-23 13:12 UTC (permalink / raw)
  To: Hilton Chain; +Cc: Guix Devel

Hi Hilton,

On Fri, Jun 23, 2023 at 12:28 AM Hilton Chain <hako@ultrarare.space> wrote:
>
> You can download the tarball with "build --source", optionally with
> "--no-substitutes" if the substitute still doesn't work for you.

There is always something to learn in Guix. I also added
--no-substitutes, and my test ran (although it did not pass). Thanks
so much!

The system tests in Guix are like magic. I never saw anything like it!

Kind regards
Felix


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

end of thread, other threads:[~2023-06-25  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-23  6:18 Corrupt substitute in test Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-06-23  7:28 ` Hilton Chain
2023-06-23 13:12   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.

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