FS#29882 - [maxima] with SBCL, drop into debugger when quicklisp is loaded from .sbclrc

Attached to Project: Arch Linux
Opened by Thomas (draven) - Monday, 14 May 2012, 09:05 GMT
Last edited by freswa (frederik) - Wednesday, 12 February 2020, 13:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

When launching maxima I'm dropped in the debugger with the following error/restarts:

debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread
#<THREAD "initial thread" RUNNING {1004F41513}>:
Can't create directory /home/juergen/

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Retry directory creation.
1: [CONTINUE] Continue as if directory creation was successful.
2: [RETRY ] Retry compiling #<CL-SOURCE-FILE "quicklisp" "package">.
3: [ACCEPT ] Continue, treating
compiling #<CL-SOURCE-FILE "quicklisp" "package"> as having
been successful.
4: [RETRY ] Retry EVAL of current toplevel form.
5: Ignore error and continue loading file "/home/tboeglin/quicklisp/setup.lisp".
6: [ABORT ] Abort loading file "/home/tboeglin/quicklisp/setup.lisp".
7: Retry EVAL of current toplevel form.
8: Ignore error and continue userinit file "/home/tboeglin/.sbclrc".
9: Abort userinit file "/home/tboeglin/.sbclrc".
10: Skip to toplevel READ/EVAL/PRINT loop.
11: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).

(ENSURE-DIRECTORIES-EXIST
#P"/home/juergen/.cache/common-lisp/sbcl-1.0.56-linux-x64/home/tboeglin/quicklisp/quicklisp/package.fasl"
:VERBOSE
NIL
:MODE
511)
0]


Additional info:
* package version(s)

extra/sbcl 1.0.56-1
extra/maxima 5.26.0-3

* config and/or log files etc.

Contents of my .sbclrc file

;;; The following lines added by ql:add-to-init-file:
#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))


Steps to reproduce:

Install quicklisp, start maxima (with the quicklisp modified .sbclrc)

This can be worked around by providing the --no-userinit option to sbcl. This cannot be done via the -X option of the startup script since the --no-userinit is not a runtime option.

Changing the init script like this works (line 178):
exec "sbcl" --core "$maxima_image_base.core" --noinform $MAXIMA_LISP_OPTIONS --end-runtime-options --no-userinit --eval '(cl-user::run)' --end-toplevel-options "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7" "$arg8" "$arg9"

Perhaps this can be made the default.
This task depends upon

Closed by  freswa (frederik)
Wednesday, 12 February 2020, 13:35 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Thursday, 20 February 2014, 19:18 GMT
Status? A lot has changed in these packages since the bug report.
Comment by Jaume Delclòs Coll (cosarara) - Monday, 18 January 2016, 19:13 GMT
This still happens
Comment by Lucas Severo (lvspais) - Thursday, 03 March 2016, 20:44 GMT
Still happening...
Comment by freswa (frederik) - Wednesday, 12 February 2020, 12:39 GMT
Is this issue still persistent?
Comment by Thomas (draven) - Wednesday, 12 February 2020, 13:34 GMT
Works for me now

Loading...