From: Efraim Flashner <efraim@flashner.co.il>
To: guix-devel@gnu.org
Subject: Re: RISCV porting effort
Date: Fri, 11 Jun 2021 14:16:13 +0300 [thread overview]
Message-ID: <YMNF/S4TJyTzhb08@3900XT> (raw)
In-Reply-To: <YL3GOGK20wL+cWiL@3900XT>
[-- Attachment #1: Type: text/plain, Size: 2052 bytes --]
On Mon, Jun 07, 2021 at 10:09:44AM +0300, Efraim Flashner wrote:
> Upstream u-boot support was merged days ago³ so we should be able to add
> support to our u-boot package soon-ish™.
I added u-boot-sifive-unmatched, although Vagrant pointed out that I may
be missing opensbi as an input. I haven't had a chance to test it yet.
> Where I'm at right now:
> Downloading using the daemon (builtin:download) fails currently, it says
> it doesn't have permissions to open-file to write downloaded files to
> the store.
> I haven't built anything using the bootstrap binaries to see if they
> actually work yet.
I've had some time to play with these parts. I tried the qemu-binfmt
emulation on my Guix System machine and I was able to start building out
the packages while emulating riscv64-linux, so that's a good sign.
As for writing to the store goes, I believe it's a permissions issue
somewhere. With some help on IRC I modified the downloading code and
wrote out some files using the builtin:download function to a file in my
home directory. I also used a minimal reproducer to write a file to the
store:
scheme@(guile-user)> (use-modules (guix gexp)(guix store)(guix monad-repl))
scheme@(guile-user)> ,enter-store-monad
store-monad@(guile-user) [1]> (text-file "foo" "Hello!\n")
$2 = "/gnu/store/r4bq7f7aikj0dlzjcl2cjgal5wvdhvk1-foo"
(ins)efraim@unmatched:~$ cat /gnu/store/r4bq7f7aikj0dlzjcl2cjgal5wvdhvk1-foo
Hello!
So that works. Could it be that I messed up creating the guixbuild
users? I copy/pasted from the manual, command history shows me I ran:
root@unmatched:/home/efraim# for i in $(seq -w 1 10); do useradd -g guixbuild -G guixbuild -d /var/empty -s $(which nologin) -c "Guix build user $i" --system guixbuilder$i; done
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-06-11 11:18 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-07 7:09 RISCV porting effort Efraim Flashner
2021-06-07 15:37 ` Christopher Lemmer Webber
2021-06-08 13:43 ` Ludovic Courtès
2021-06-08 22:28 ` Gabriel Wicki
2021-06-10 13:22 ` Efraim Flashner
2021-06-11 21:07 ` Ludovic Courtès
2021-06-10 13:20 ` Efraim Flashner
2021-06-11 22:07 ` Ludovic Courtès
2021-06-18 13:05 ` RISCV porting effort (now in stock @mouser) Gabriel Wicki
2021-06-11 11:16 ` Efraim Flashner [this message]
2021-06-13 17:24 ` RISCV porting effort Vagrant Cascadian
2021-06-14 7:27 ` Efraim Flashner
2021-06-15 1:00 ` Vagrant Cascadian
2021-06-15 12:37 ` Efraim Flashner
2021-06-13 21:21 ` Christopher Baines
2021-06-20 15:37 ` Ludovic Courtès
2022-06-16 1:46 ` Pjotr Prins
2022-06-16 18:12 ` Maxim Cournoyer
2022-06-17 16:08 ` Ludovic Courtès
2022-06-17 22:52 ` Pjotr Prins
2022-06-20 7:45 ` Pjotr Prins
2022-06-22 13:37 ` Ludovic Courtès
2022-06-22 15:19 ` Ekaitz Zarraga
2022-06-28 8:54 ` Efraim Flashner
2022-06-30 12:01 ` Ludovic Courtès
2022-07-03 9:07 ` Efraim Flashner
2022-06-24 6:37 ` Pjotr Prins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YMNF/S4TJyTzhb08@3900XT \
--to=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.