From: <flynn16@tutanota.com>
To: Guile User <guile-user@gnu.org>
Subject: Re: Guile 3.0 won't start with auto-compilation enabled [was: cat segfaults when compiling Guile 3.0]
Date: Sun, 26 Jan 2020 13:47:41 +0100 (CET) [thread overview]
Message-ID: <LzWtA__--3-2@tutanota.com> (raw)
In-Reply-To: <mailman.97.1579539610.24601.guile-user@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 589 bytes --]
Sorry for the late reply.
Initially, the executable `meta/guile` was generated, but my custom configuration `~/.guile` was interfering with its initialization, so I deleted my config file and ran `make clean && make` again.
In my second attempt with the config file deleted, makefile reported the same error; `meta/guile` was produced but it could start only with the GUILE_AUTO_COMPILE environment variable set to 0, otherwise guile would complain about "no code for module (srfi srfi-26)" and "no such language scheme"
The terminal output, once again, is in the attachments.
[-- Attachment #2: stdout_guile300.txt --]
[-- Type: text/plain, Size: 6547 bytes --]
$ meta/guile
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /home/user/Downloads/guile-3.0.0/module/ice-9/top-repl.scm
;;; compiling /home/user/Downloads/guile-3.0.0/module/ice-9/optargs.scm
;;; WARNING: compilation of /home/user/Downloads/guile-3.0.0/module/ice-9/optargs.scm failed:
;;; In procedure variable-ref: variable is unbound: #<variable 5575535e53d0 value: #<undefined>>
;;; compiling /home/user/Downloads/guile-3.0.0/module/srfi/srfi-26.scm
;;; WARNING: compilation of /home/user/Downloads/guile-3.0.0/module/srfi/srfi-26.scm failed:
;;; no such language scheme
;;; compiling /home/user/Downloads/guile-3.0.0/module/srfi/srfi-16.scm
;;; WARNING: compilation of /home/user/Downloads/guile-3.0.0/module/srfi/srfi-16.scm failed:
;;; no such language tree-il
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/repl/repl.scm
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/repl/error-handling.scm
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/vm/trap-state.scm
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/vm/traps.scm
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/xref.scm
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/xref.scm.go
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/vm/traps.scm.go
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/vm/trace.scm
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/vm/trace.scm.go
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/vm/trap-state.scm.go
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/repl/debug.scm
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/vm/inspect.scm
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/vm/inspect.scm.go
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/repl/debug.scm.go
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/repl/error-handling.scm.go
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/repl/common.scm
;;; compiling /home/user/Downloads/guile-3.0.0/module/ice-9/history.scm
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/ice-9/history.scm.go
;;; system/repl/common.scm:142:0: warning: shadows previous definition of `make-repl' at <unknown-location>
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/repl/common.scm.go
;;; compiling /home/user/Downloads/guile-3.0.0/module/system/repl/command.scm
;;; compiling /home/user/Downloads/guile-3.0.0/module/ice-9/documentation.scm
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/ice-9/documentation.scm.go
;;; compiling /home/user/Downloads/guile-3.0.0/module/ice-9/and-let-star.scm
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/ice-9/and-let-star.scm.go
;;; compiling /home/user/Downloads/guile-3.0.0/module/statprof.scm
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/statprof.scm.go
WARNING: Use of `load' in declarative module (system repl command). Add #:declarative? #f to your define-module invocation.
;;; system/repl/command.scm:451:12: warning: possibly unbound variable `language-title'
;;; system/repl/command.scm:451:34: warning: possibly unbound variable `language-name'
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/repl/command.scm.go
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/system/repl/repl.scm.go
;;; compiled /home/user/Downloads/guile-3.0.0/cache/guile/ccache/3.0-LE-8-4.2/home/user/Downloads/guile-3.0.0/module/ice-9/top-repl.scm.go
GNU Guile 3.0.0
Copyright (C) 1995-2020 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)> (display "Hello world.\n")
Hello world.
scheme@(guile-user)>
$ meta/guile
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /home/user/Downloads/guile-3.0.0/module/ice-9/optargs.scm
;;; WARNING: compilation of /home/user/Downloads/guile-3.0.0/module/ice-9/optargs.scm failed:
;;; In procedure variable-ref: variable is unbound: #<variable 55b9121ea140 value: #<undefined>>
;;; compiling /home/user/Downloads/guile-3.0.0/module/srfi/srfi-26.scm
;;; WARNING: compilation of /home/user/Downloads/guile-3.0.0/module/srfi/srfi-26.scm failed:
;;; no code for module (srfi srfi-26)
Backtrace:
In ice-9/boot-9.scm:
1736:10 7 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
6 (apply-smob/0 #<thunk 55b9121cd0c0>)
In ice-9/boot-9.scm:
718:2 5 (call-with-prompt ("prompt") #<procedure 55b9122a3700 …> …)
In ice-9/top-repl.scm:
32:10 4 (_ #<procedure 7f57d54d7848 at ice-9/top-repl.scm:64:5 …>)
74:21 3 (_)
In system/repl/repl.scm:
142:15 2 (start-repl* scheme #f #<procedure prompting-meta-read …>)
In system/repl/common.scm:
145:29 1 (make-repl scheme _)
In system/base/language.scm:
65:8 0 (lookup-language scheme)
system/base/language.scm:65:8: In procedure lookup-language:
no such language scheme
$ GUILE_AUTO_COMPILE=0 meta/guile
GNU Guile 3.0.0
Copyright (C) 1995-2020 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)>
parent reply other threads:[~2020-01-26 12:47 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <mailman.97.1579539610.24601.guile-user@gnu.org>]
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=LzWtA__--3-2@tutanota.com \
--to=flynn16@tutanota.com \
--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).