[Bug 234853] math/maxima: Can't create directory /wrkdirs/
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 18 21:07:05 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234853
Lorenzo Salvadore <phascolarctos at protonmail.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #201249| |maintainer-approval+
Flags| |
--- Comment #2 from Lorenzo Salvadore <phascolarctos at protonmail.ch> ---
Created attachment 201249
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201249&action=edit
maxima - quicklisp patch
Here is a patch that should solve the problem.
The reporter was right suspecting that some path was hard coded into maxima's
image. However, the path does not necessarily involves /wrkdirs/: it involves
the path in which the port was built (probably the reporter was using
poudriere).
Hence the bug's summary should be changed by someone who has the necessary
permissions (reporter, triager or committer) to something more useful: I
suggest "math/maxima: Error with quicklisp at line 129 of
quickliskp/setup.lisp".
Now the fix. I added an option called NOUSERINIT, enabled by default: when
enabled, if the chosen lisp implementation is sbcl (the default), it ensures
that sbcl is run ignoring any user init file (~/.sbclrc). Thus sbcl can run
with quicklisp whenever the user wants to run it, but, when the user runs sbcl
only to run maxima quicklisp is not loaded and hence there is no search for the
hard coded path into the maxima image.
I bumped PORTREVISION.
The patch was tested successfully on my system (12.0-RELEASE amd64) and with
poudriere (12.0-RELEASE amd64).
Reporter: Can you please tell if the solution I propose is suited for your
needs?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list