Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905704 - dev-lisp/clisp with use=hyperspec points to wrong dir
Summary: dev-lisp/clisp with use=hyperspec points to wrong dir
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-04 15:35 UTC by James Cloos
Modified: 2023-05-04 18:25 UTC (History)
0 users

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 James Cloos 2023-05-04 15:35:19 UTC
dev-lisp/clisp-2.49.92-r1 does this:

        if use hyperspec; then
                CLHSROOT="file:///${EPREFIX}/usr/share/doc/hyperspec/HyperSpec/"
        else
                CLHSROOT="http://www.lispworks.com/reference/HyperSpec/"
        fi

but dev-lisp/hyperspec installs /usr/share/hyperspec/ as the version-independent symlink.

so the ebuild should elide "doc/" from CLHSROOT.

also http://www.lispworks.com/reference/HyperSpec/ redirects to an https url which clisp does not support.

try running something like:

(describe 'sqrt)

in clisp w/o hyperspec in use too see the error.

lastly, file:///${EPREFIX}/ has more slashes than it needs.  EPREFIX should start with one if it is not empty, so file:/${EPREFIX}/ ought to work; in any case ://$ should always be enough.