Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6555 - cmucl-bin-18d fails to install files, including the manual pages
Summary: cmucl-bin-18d fails to install files, including the manual pages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-15 17:38 UTC by Antti Sykäri
Modified: 2002-08-17 19:06 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 Antti Sykäri 2002-08-15 17:38:50 UTC
The ebuild for package dev-lisp/cmucl-bin has a couple of flaws:
(the line numbers are from cmucl-bin-18d.ebuild)

1) it does not install the man pages which come with the package 
cmucl-18d-x86-linux.tar.bz2.
You can verify this by doing "qpkg -l cmucl-bin" or trying "man cmucl" or 
"man lisp" which you could normally assume to work.

Solution:
Modify the ebuild /usr/portage/dev-lisp/cmucl-bin/cmucl-bin-18d.ebuild to:
- add the functionality of installing files man/man1/cmucl.1 and 
man/man1/lisp.1 to /usr/share/man/man1

2) (line 23) it patches and installs the script "sample-wrapper" with name 
"cmucl" into /usr/bin. For consistency, this script should install the 
wrapper with name "lisp", because there is a manual page lisp(1). Having 
two distinct names, /usr/bin/cmucl (which is, actually, a wrapper for 
/opt/cmucl/bin/lisp (*)), and /usr/share/man/lisp.1 (which talks about the 
binary) is confusing.

Solution:
Modify the ebuild /usr/portage/dev-lisp/cmucl-bin/cmucl-bin-18d.ebuild to:
man/man1/lisp.1 into /usr/share/man/man1
- change the occurrences of "cmucl" on lines 23 and 25 to "lisp"

(*) This binary cannot be run by the user directly without setting the 
environment variable CMUCLLIB, because the binary thinks that cmucl is 
under /usr/local/. Consequently, the ebuild does not add the PATH 
/opt/cmucl/bin/ into /etc/env.d.  This seems the right thing to do.

As a side note, there also a source package for cmucl so that it can be 
compiled and installed into /usr/ where it belongs. (Right?) The source 
also comes with a nice CLUCL User Manual, which might want to be installed 
into /usr/share/doc/cmucl or similar

Only problem is, cmucl written in common lisp, so it will have to be 
compiled with itself, after which the useless binary package could be 
removed. Perhaps I'll do this myself one day, when I know more of the 
ebuild system :)
Comment 1 Antti Sykäri 2002-08-15 17:43:21 UTC
Regarding the above comment:
The line "man/man1/lisp.1 into /usr/share/man/man1" in the solution for the 
flaw number 2 should not be there (Yes, I should proofread my bug reports more 
carefully)
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-08-17 19:06:02 UTC
Fixed. Available as dev-lisp/cmucl-bin-18d-r1