Summary: | dev-scheme/guile-1.8.8-r1 with ncurses[tinfo] - checking for tgoto in -lncurses... no | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | [OLD] Development | Assignee: | Scheme Project <scheme> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rhill |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 457530 | ||
Attachments: | files/guile-1.8.8-tinfo.patch |
Additionally, the ebuild should depend on sys-libs/ncurses to begin with. Oh, that's odd. It checks for tgoto and it links against -l{termcap}, but with --as-needed it seems it doesn't actually use it (tgoto or anything else that the termcap library defines). Comment on attachment 395868 [details, diff]
files/guile-1.8.8-tinfo.patch
Perhaps a better patch would remove the configure check and subsequent linkage (basically all the lines in this patch after AC_SUBST(EXTRA_DEFS)), since without --as-needed you'd end up with an unneeded library linked in.
I'm not seeing the problem here. checking for tgoto in -lncurses... no checking for tgoto in -lcurses... no checking for tgoto in -ltermcap... no checking for tgoto in -lterminfo... no checking for tgoto in -ltermlib... no checking for readline in -lreadline... yes caribou ~ # ldd /usr/lib/libguilereadline-v-17.so | grep tinfo libtinfo.so.6 => /usr/lib64/libtinfo.so.6 (0x00007f0536dff000) Patch is harmless though. Fixed in 1.8.8-r2. |
Created attachment 395868 [details, diff] files/guile-1.8.8-tinfo.patch checking for tgoto in -lncurses... no checking for tgoto in -lcurses... no checking for tgoto in -ltermcap... no checking for tgoto in -lterminfo... no checking for tgoto in -ltermlib... no It's in -ltinfo!