Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502112 - sci-mathematics/maxima-5.32.1-r1 should depend on dev-lisp/gcl for dbl.el
Summary: sci-mathematics/maxima-5.32.1-r1 should depend on dev-lisp/gcl for dbl.el
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-22 12:42 UTC by Helmut Jarausch
Modified: 2021-03-29 13:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2014-02-22 12:42:44 UTC
The file /usr/share/emacs/site-lisp/maxima/dbl.el which
is installed by the maxima package has
(require 'gcl)
and uses gcl-mode in several places.

But gcl is hard-masked in the current tree.
I'm using Maxima with dev-lisp/sbcl.
Is there a fix for dbl.el anywhere?
Shouldn't dbl.el depend on the Lisp-variant USE flag of Maxima?
Comment 1 Cyprien Nicolas (fulax) 2019-06-15 16:11:09 UTC
(In reply to Helmut Jarausch from comment #0)
> The file /usr/share/emacs/site-lisp/maxima/dbl.el which
> is installed by the maxima package has
> (require 'gcl)
> and uses gcl-mode in several places.

Confirmed.

> I'm using Maxima with dev-lisp/sbcl.
> Is there a fix for dbl.el anywhere?
> Shouldn't dbl.el depend on the Lisp-variant USE flag of Maxima?

Not all lisp variants supported by maxima comes with emacs support (only gcl and ecls have an emacs USE flag). sbcl does not, and nothing ensures maxima's dbl is compatible with ecls elisp files.

I don't see any solution from the lisp packages point of view, apart from emerging dev-lisp/gcl[emacs], which is now in the tree (but has numerous build issues).

Maybe einfo notes in postinstall when use emacs and ! use gcl?
Comment 2 Michael Orlitzky gentoo-dev 2021-03-28 15:35:50 UTC
Since the whole point of dbl.el is to run gcl, maxima, and gdb together... I'm planning to remove dbl.el from the install image (before the actual installation takes place) when USE=gcl is not set.

That's not really helpful, but it prevents people from trying to load it and being bombarded with confusing error messages.
Comment 3 Larry the Git Cow gentoo-dev 2021-03-29 13:47:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06a3691b52cafd5101b43ff0aa00aef5d1f29e8

commit a06a3691b52cafd5101b43ff0aa00aef5d1f29e8
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2021-03-28 19:54:31 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2021-03-29 13:43:42 +0000

    sci-mathematics/maxima: hide dbl.el when USE=gcl is unset.
    
    One of the emacs modes installed by maxima requires the gcl lisp
    interpreter (with emacs support) to be installed. To avoid confusing
    error messages, we remove it from the installation image when USE=gcl
    is unset.
    
    Closes: https://bugs.gentoo.org/502112
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../maxima/{maxima-5.44.0-r5.ebuild => maxima-5.44.0-r6.ebuild}    | 7 +++++++
 1 file changed, 7 insertions(+)