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.

-- 
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)

Reply via email to