Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2019 21:07:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234853] math/maxima: Can't create directory /wrkdirs/
Message-ID:  <bug-234853-7788-AI4kHBqrem@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234853-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234853-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234853

Lorenzo Salvadore <phascolarctos@protonmail.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #201249|                            |maintainer-approval+
              Flags|                            |

--- Comment #2 from Lorenzo Salvadore <phascolarctos@protonmail.ch> ---
Created attachment 201249
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D201249&action=
=3Dedit
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 involv=
es
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 s=
bcl
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?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234853-7788-AI4kHBqrem>