Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578880 - dev-scheme/racket-6.7: ebuild missing readline use flag and (optional) dev-libs/libedit dependency
Summary: dev-scheme/racket-6.7: ebuild missing readline use flag and (optional) dev-li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-02 23:09 UTC by Tom Gillespie
Modified: 2017-02-12 16:23 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 Tom Gillespie 2016-04-02 23:09:52 UTC
Trying to use racket 6.4 with xrepl results in the following error:
; Warning: no readline support (ffi-lib: couldn't open "libedit.so.3" (libedit.so.3: cannot open shared object file: No such file or directory))

This is fixed by installing dev-libs/libedit and adding a symlink for libedit.so.3 in /lib64. It would seem that this is an optional dependency but it doesn't appear to be documented anywhere and it would be nice to have it in the ebuild.

This is not an issue with previous versions of racket where sys-libs/readline seems to have been sufficient.
Comment 1 Lehi Toskin 2016-05-06 20:58:18 UTC
(In reply to Tom Gillespie from comment #0)
> This is fixed by installing dev-libs/libedit and adding a symlink for
> libedit.so.3 in /lib64. It would seem that this is an optional dependency
> but it doesn't appear to be documented anywhere and it would be nice to have
> it in the ebuild.

The weird thing is that it expects libedit.so.3, which isn't created by the libedit package. Manually creating a symlink seems janky to me. Also, I can't seem to find any way to enable or disable readline/libedit in the configure script.
Comment 2 Tom Gillespie 2016-07-20 06:38:37 UTC
Two updates:
1) By complete happenstance I came across this email which seems to shed some light on the issue https://www.mail-archive.com/racket-users@googlegroups.com/msg26850.html
2) Still an issue in 6.5
Comment 3 Tom Gillespie 2016-07-21 22:54:14 UTC
Relevant command to fix the issue.
`raco pkg install readline-gpl`
Comment 4 Daniel Douglas 2016-08-16 16:44:31 UTC
Maybe there should be a readline USE flag which just installs the `readline-gpl' package at "installation scope" along with depending on readline.