[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-hoot install reproducibly crashes at 41% build
From: |
Mortimer Cladwell |
Subject: |
Re: guile-hoot install reproducibly crashes at 41% build |
Date: |
Fri, 27 Oct 2023 15:27:42 -0400 |
Thanks Dave.
I gave 'guix shell guile-next guile-hoot' a try.
Please see the error below: In procedure resolve-interface: no binding
`define-custom-primcall-converter' in module (language tree-il compile-cps)
and note that the reflect.wasm file was not generated.
Thanks
Mortimer
mbc@ins3910:~/projects/guile-hoot$ guix shell guile-next guile-hoot
45.4 MB will be downloaded
glibc-2.35 8.5MiB
5.5MiB/s 00:02 ▕██████████████████▏
100.0%
guile-next-3.0.9-0.79e836b 7.2MiB
1.5MiB/s 00:05 ▕██████████████████▏
100.0%
glibc-2.35-static 1.4MiB
3.8MiB/s 00:00 ▕██████████████████▏
100.0%
guile-next-3.0.9-0.79e836b-debug 6.9MiB
3.6MiB/s 00:02 ▕██████████████████▏
100.0%
glibc-2.35-debug 19.3MiB
6.2MiB/s 00:03 ▕██████████████████▏
100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/0vyk4cd0y1zj8bkrifmg73hd3jbgjffd-profile.drv
3.4 MB will be downloaded
module-import-compiled 107KiB
440KiB/s 00:00 ▕██████████████████▏
100.0%
guile-2.0.14 3.0MiB
1.6MiB/s 00:02 ▕██████████████████▏
100.0%
module-import-compiled 47KiB
8.3MiB/s 00:00 ▕██████████████████▏
100.0%
module-import-compiled 57KiB
8.4MiB/s 00:00 ▕██████████████████▏
100.0%
module-import-compiled 72KiB
10.8MiB/s 00:00 ▕██████████████████▏
100.0%
applying 8 grafts for guile-next-3.0.9-0.79e836b ...
applying 2 grafts for libffi-3.4.4 ...
applying 3 grafts for libfontenc-1.1.4 ...
applying 2 grafts for libgc-8.2.2 ...
applying 2 grafts for libunistring-1.0 ...
applying 8 grafts for mkfontscale-1.2.2 ...
applying 2 grafts for pkg-config-0.29.2 ...
applying 2 grafts for mkfontdir-1.0.7 ...
applying 7 grafts for guile-3.0.9 ...
applying 6 grafts for texinfo-6.8 ...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 2 packages...
mbc@ins3910:~/projects/guile-hoot [env]$ guile
GNU Guile 3.0.9
Copyright (C) 1995-2023 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> ,use (hoot compile)
While executing meta-command:
In procedure resolve-interface: no binding
`define-custom-primcall-converter' in module (language tree-il compile-cps)
scheme@(guile-user)> (define the-answer (compile 42))
scheme@(guile-user)> ,use (wasm parse)
scheme@(guile-user)> (define reflector
(call-with-input-file
"/home/mbc/projects/guile-hoot/js-runtime/reflect.wasm"
parse-wasm))
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure open-file: No such file or directory:
"/home/mbc/projects/guile-hoot/js-runtime/reflect.wasm"
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]>
On Fri, Oct 27, 2023 at 9:22 AM Thompson, David <dthompson2@worcester.edu>
wrote:
> Hi Mortimer,
>
> On Fri, Oct 27, 2023 at 7:01 AM Mortimer Cladwell <mbcladwell@gmail.com>
> wrote:
> >
> > Hi,
> >
> > I did a git pull https://gitlab.com/spritely/guile-hoot.git
> > I am following installation instructions at
> > https://spritely.institute/files/docs/guile-hoot/0.1.0/Installation.html
> > I am using guix
> > The first attempt installs lots of stuff but at the build stage crashes
> at
> > 41%. I need to reboot and retry:
> >
> > mbc@ins3910:~/projects/guile-hoot$ guix shell
> > guix shell: loading environment from
> > '/home/mbc/projects/guile-hoot/guix.scm'...
> > The following derivation will be built:
> > /gnu/store/lfx6a7a16jydk0zzlppwgv9ajsa92wia-v8-11.7-1.155ea5c.drv
> >
> > building
> > /gnu/store/lfx6a7a16jydk0zzlppwgv9ajsa92wia-v8-11.7-1.155ea5c.drv...
> > 41% ▕█████████████████████████████▋
> > ▏guix shell: error: corrupt input while restoring archive from
> > #<closed: file 7f0871094d20>
> >
> > To recover I must reboot and do a 'guix pull' but I get the same results:
> > crash at ~41%
> >
> > I tried:
> > guix package --delete-generations
> > guix gc
> > cd ./projects/guile-hoot
> > guix shell
> >
> > Seems to re-initiate the entire build process but same results -crash at
> > 41% build
> > I am using Ubuntu on an Intel i5-12400 processor with 8GB RAM
> >
> > Has anyone had success with this install process? Suggestions?
>
> Couple of things:
>
> 1) The Hoot docs describe building from source via a Git checkout.
> That gets you the same environment we use to develop Hoot, but it
> requires building V8 which is pretty intense. Looks like that's where
> your build is getting stuck. You'll need to increase verbosity to get
> a pointer to the build log to see details about the failure. Could be
> that 8GB of RAM is simply not enough to build V8.
>
> 2) Hoot is available in Guix now. If you just want to use Hoot, just
> do `guix shell guile-next guile-hoot`. We'll have this in the manual
> for the next release now that it's packaged for Guix officially.
>
> Hope this helps,
>
> - Dave
>
- guile-hoot install reproducibly crashes at 41% build, Mortimer Cladwell, 2023/10/27
- Re: guile-hoot install reproducibly crashes at 41% build, Thompson, David, 2023/10/27
- Re: guile-hoot install reproducibly crashes at 41% build,
Mortimer Cladwell <=
- Re: guile-hoot install reproducibly crashes at 41% build, Thompson, David, 2023/10/27
- Re: guile-hoot install reproducibly crashes at 41% build, Mortimer Cladwell, 2023/10/28
- Re: guile-hoot install reproducibly crashes at 41% build, Felix Lechner, 2023/10/28
- Re: guile-hoot install reproducibly crashes at 41% build, Thompson, David, 2023/10/29
- Re: guile-hoot install reproducibly crashes at 41% build, Felix Lechner, 2023/10/30