help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile-hoot install reproducibly crashes at 41% build


From: Thompson, David
Subject: Re: guile-hoot install reproducibly crashes at 41% build
Date: Fri, 27 Oct 2023 16:34:09 -0400

Hi again,

I see a couple more issues...

On Fri, Oct 27, 2023 at 3:27 PM Mortimer Cladwell <mbcladwell@gmail.com> wrote:
>
> 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-conver
ter' 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

Looks like your shell environment is clobbering the Guix environment.
This is Guile 3.0.9 stable, not the Guile provided by Guile next.  The
version string should look like this:

    guile (GNU Guile) 3.0.9-0.c2cba86

You can try using the --pure or --container flag to isolate guix shell
from the rest of your system more.

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

reflect.wasm is a build artifact. Since you haven't built Hoot from
the Git checkout, there is no reflect.wasm for you to use there.
Instead, use the one installed by Guix. The file name for it can be
computed like so:

   echo $(guix build guile-hoot)/share/guile-hoot/js/js-runtime/reflect.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"

If you'd like to build Hoot from the Git checkout but skip V8, you
could try this:

  guix shell guile-next autoconf automake pkg-config texinfo

Or remove v8 from the package inputs at the bottom of the guix.scm
file.  We only use V8 for the test suite.

Hope this helps,

- Dave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]