unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: guile-user@gnu.org
Subject: Re: Cross-compiling Guile 3.0.4
Date: Tue, 15 Dec 2020 21:32:01 +0100	[thread overview]
Message-ID: <87o8iulsji.fsf@gnu.org> (raw)
In-Reply-To: 87lfe2lj45.fsf@ya.ru

Hi Ivan,

Ivan Sokolov <ivan-p-sokolov@ya.ru> skribis:

>   GUILEC language/elisp/boot.go
> Backtrace:
> In ice-9/boot-9.scm:
>   1736:10 17 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
>           16 (apply-smob/0 #<thunk 7fb45b484cc0>)
> In ice-9/boot-9.scm:
>     718:2 15 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
> In ice-9/eval.scm:
>     619:8 14 (_ #(#(#<directory (guile-user) 7fb45b065f00>)))
>     155:9 13 (_ #(#(#<directory (guild) 7fb45b0658c0> ("comp?" ?)) #))
> In scripts/compile.scm:
>     258:4 12 (compile . _)
> In system/base/compile.scm:
>      84:6 11 (compute-compiler elisp bytecode 2 1 (#:warnings (#)))
> In system/base/language.scm:
>     63:11 10 (lookup-language elisp)
> In ice-9/threads.scm:
>     390:8  9 (_ _)
> In ice-9/boot-9.scm:
>   3223:13  8 (_)
> In ice-9/threads.scm:
>     390:8  7 (_ _)
> In ice-9/boot-9.scm:
>   3507:20  6 (_)
>    2806:4  5 (save-module-excursion #<procedure 7fb45b070930 at ice-?>)
>   3527:26  4 (_)
> In unknown file:
>            3 (primitive-load-path "language/elisp/spec" #<procedure ?>)
> In system/base/target.scm:
>      71:4  2 (with-native-target _)
> In system/base/compile.scm:
>    206:22  1 (compile-and-load #f #:from _ #:to _ #:env _ # _ # _ # _ ?)
> In unknown file:
>            0 (open-file #f "r" #:encoding #f #:guess-encoding #f)
>
> ERROR: In procedure open-file:
> Wrong type (expecting string): #f
> make[2]: *** [Makefile:2287: language/elisp/boot.go] Error 1
> make[2]: Leaving directory '/builddir/guile-3.0.4/module'

This corresponds to these lines in ‘modules/language/elisp/spec.scm’:

--8<---------------cut here---------------start------------->8---
(with-native-target
  (lambda ()
    (compile-and-load (%search-load-path "language/elisp/boot.el")
                      #:from 'elisp)))
--8<---------------cut here---------------end--------------->8---

The #f passed to ‘compile-and-load’ suggests that ‘boot.el’ was not
found in the search path.  Could it be that it’s been stripped from your
source?

(FWIW Guile 3.0.4 cross-builds fine on Guix.)

HTH,
Ludo’.




  reply	other threads:[~2020-12-15 20:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-12 23:06 Cross-compiling Guile 3.0.4 Ivan Sokolov
2020-12-15 20:32 ` Ludovic Courtès [this message]
2020-12-21  8:52   ` Ivan Sokolov

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://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=87o8iulsji.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-user@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.
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).