guile-user
[Top][All Lists]
Advanced

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

Re: Cross-compiling Guile 3.0.4


From: Ludovic Courtès
Subject: Re: Cross-compiling Guile 3.0.4
Date: Tue, 15 Dec 2020 21:32:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

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 via email to

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