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?
(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?
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.
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(+)