unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Re: Guile 3.0 won't start with auto-compilation enabled [was: cat segfaults when compiling Guile 3.0]
       [not found] <mailman.97.1579539610.24601.guile-user@gnu.org>
@ 2020-01-26 12:47 ` flynn16
  0 siblings, 0 replies; only message in thread
From: flynn16 @ 2020-01-26 12:47 UTC (permalink / raw)
  To: Guile User

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-26 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.97.1579539610.24601.guile-user@gnu.org>
2020-01-26 12:47 ` Guile 3.0 won't start with auto-compilation enabled [was: cat segfaults when compiling Guile 3.0] flynn16

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