unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Thompson, David" <dthompson2@worcester.edu>
To: Mortimer Cladwell <mbcladwell@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: guile-hoot install reproducibly crashes at 41% build
Date: Fri, 27 Oct 2023 16:34:09 -0400	[thread overview]
Message-ID: <CAJ=RwfZFVOWpmW5_D+yNXZhLYZAngOgjVmyL+b0uCLTUY2OcYA@mail.gmail.com> (raw)
In-Reply-To: <CAOcxjM7KBDTZ-JUibgYSgFqHBkhcCio7nBOHK8JAOekywv7fcA@mail.gmail.com>

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	other threads:[~2023-10-27 20:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-27 11:00 guile-hoot install reproducibly crashes at 41% build Mortimer Cladwell
2023-10-27 13:22 ` Thompson, David
2023-10-27 19:27   ` Mortimer Cladwell
2023-10-27 20:34     ` Thompson, David [this message]
2023-10-28  5:49       ` Mortimer Cladwell
2023-10-29  3:29       ` Felix Lechner via
2023-10-29 12:46         ` Thompson, David
2023-10-30 15:40           ` Felix Lechner via

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ=RwfZFVOWpmW5_D+yNXZhLYZAngOgjVmyL+b0uCLTUY2OcYA@mail.gmail.com' \
    --to=dthompson2@worcester.edu \
    --cc=help-guix@gnu.org \
    --cc=mbcladwell@gmail.com \
    /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.
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).