[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I managed to build guix natively on Debian GNU/Hurd , what's next?
From: |
Svante Signell |
Subject: |
Re: I managed to build guix natively on Debian GNU/Hurd , what's next? |
Date: |
Sun, 01 Sep 2019 20:01:35 +0200 |
User-agent: |
Evolution 3.30.5-1.1 |
On Sun, 2019-09-01 at 15:28 +0200, Svante Signell wrote:
> On Sun, 2019-09-01 at 11:11 +0200, Svante Signell wrote:
> And btw: info guix speaks Spanish as default :( Must be a bug!
I've come a little further:
Extracting the files from the cross-built files "bash mkdir tar xz" from static-
binaries-0-i586-pc-gnu.tar to the build directory
.../guix-1.0.1/gnu/packages/bootstrap/i586-gnu and issuing
guix package --bootstrap 2>&1 | tee ../bootstrap.log
I found out the the file gnu/packages/bootstrap.scm has to be modified.
Backtrace:
13 (apply-smob/1 #<catch-closure 552110>)
In ice-9/boot-9.scm:
705:2 12 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
619:8 11 (_ #(#(#<directory (guile-user) 645910>)))
In guix/ui.scm:
1747:12 10 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 9 (catch srfi-34 #<procedure 48aa900 at guix/ui.scm:703:…> …)
829:9 8 (catch system-error #<procedure 48aa950 at guix/script…> …)
In guix/scripts/package.scm:
915:10 7 (_)
In guix/status.scm:
768:4 6 (call-with-status-report _ _)
In guix/scripts/package.scm:
918:28 5 (_)
In guix/packages.scm:
936:16 4 (cache! #<weak-table 0/113> #<package guile-bootstrap@…> …)
1255:22 3 (thunk)
In gnu/packages/bootstrap.scm:
263:16 2 (raw-build #<store-connection 256.99 4edba0> "guile-bo…" …)
246:30 1 (download-bootstrap-guile #<store-connection 256.99 4e…> …)
220:2 0 (bootstrap-guile-hash _)
gnu/packages/bootstrap.scm:220:2: In procedure bootstrap-guile-hash:
Throw to key `match-error' with args `("match" "no matching pattern" "i586-
gnu")'.
Looking at line 220 one finds:
(define (bootstrap-guile-hash system)
"Return the SHA256 hash of the Guile bootstrap tarball for SYSTEM."
(match system
("x86_64-linux"
(base32 "1w2p5zyrglzzniqgvyn1b55vprfzhgk8vzbzkkbdgl5248si0yq3"))
How do I create the hash for i586-gnu?
guix hash --help shows that I need a file to create the hash for:
Usage: guix hash [OPTION] FILE
Return the cryptographic hash of FILE.
Which FILE to enter here, the cross-built guile-static-stripped-2.2.4-i586-pc-
gnu.tar.xz?
Additionally before line 220 in that file
(define %bootstrap-base-urls
;; This is where the initial binaries come from.
anddefine (bootstrap-guile-url-path system)
"Return the URI for FILE."
How to give an entry for the locally built .xz-files?
Thanks!
- Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Svante Signell, 2019/09/01
- Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Efraim Flashner, 2019/09/01
- Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Svante Signell, 2019/09/01
- Re: I managed to build guix natively on Debian GNU/Hurd , what's next?,
Svante Signell <=
- Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Svante Signell, 2019/09/03
- Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Ricardo Wurmus, 2019/09/03
- Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Svante Signell, 2019/09/03
- Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Svante Signell, 2019/09/03
- Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Svante Signell, 2019/09/03
- Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Ricardo Wurmus, 2019/09/03
- Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Svante Signell, 2019/09/03
- Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Ricardo Wurmus, 2019/09/03
- Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Svante Signell, 2019/09/04
- Re: Status update+patches:Re: I managed to build guix natively on Debian GNU/Hurd , what's next?, Svante Signell, 2019/09/04