Hi,

On Fri, 26 Dec 2025 03:13:35 +0100 Vincent Lefevre <[email protected]> wrote:
Control: found -1 5.47.0-9

On 2025-09-11 12:52:18 -0700, Cory Cross wrote:
> Installed maxima for the first time. Open maxima or xmaxima, run
> `describe("plot2d");`. Get the following:
> > ```
> Cannot find documentation for `plot2d': missing info file
> > /usr/share/doc/maxima/info/./maxima.info-1
>  -- an error. To debug this try: debugmode(true);
> ```
> > I noticed `maxima-doc` installed this file: > > /usr/share/info/maxima.info-1.gz > > So I think either maxima-doc is installing to the wrong location or maxima
> and xmaxima are configured to look in the wrong place.

The info files are put in the right place.

The issue seems to be due to the fact that Debian changes the location
of the index file from /usr/share/info to /usr/share/doc/maxima/info.
If I understand correctly, this is done in the debian/rules file, and
the debian/patches/cl-info patch ensures that this index file can be
found by maxima. However, the index file just lists the info files
without a pathname, and the search for these info files is relative
to the index file, which is wrong with Debian's change of location.

The error occurs in the read-info-text function from the
src/cl-info.lisp file.

This function is called from two different places: in src/cl-info.lisp
and in src/macdes.lisp, so it is not clear whether this function needs
to be patched or one of the callers. But I suspect that this is the
dir-name value that is incorrect.


Actually there is a second issue.
If we put the _compressed_ info files in the /usr/share/doc/maxima/info/ folder,
maxima can find them but it cannot read them because they are _compressed_.
Indeed, if we uncompressed them, maxima can read them.


hth,
Jerome

--
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)



--
Jerome BENOIT | calculus+at-rezozer^dot*net
https://qa.debian.org/[email protected]
AE28 AE15 710D FF1D 87E5  A762 3F92 19A6 7F36 C68B

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to