Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272395 - sys-apps/less - ebuild doesn't need ncurses
Summary: sys-apps/less - ebuild doesn't need ncurses
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 09:49 UTC by jan vereecke
Modified: 2009-06-04 05:48 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 jan vereecke 2009-06-03 09:49:01 UTC
According to the homepage of less, there is no dependency of less on ncurses. 

Reproducible: Always

Steps to Reproduce:
grep ncurses /usr/portage/sys-apps/less/ show a dependency on ncurses.


Expected Results:  
there should be no 'DEPEND' line in the ebuild. Probably this depend has been added because of the lines
        export ac_cv_lib_ncursesw_initscr=$(yesno unicode)
        export ac_cv_lib_ncurses_initscr=$(yesno !unicode)

These lines can stay in the ebuild, even if ncurses is not available on the platform.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-03 13:07:44 UTC
Isn't ldd correct?

%% ldd /usr/bin/less
        linux-vdso.so.1 =>  (0x00007fffde3fe000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f5cd5da9000)
        libc.so.6 => /lib/libc.so.6 (0x00007f5cd5a54000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f5cd5850000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5cd6011000)

%% qfile libncursesw.so.5
sys-libs/ncurses (/lib64/libncursesw.so.5)
Comment 2 SpanKY gentoo-dev 2009-06-04 05:48:33 UTC
less needs a terminal library.  ncurses is the only realistic option for Gentoo systems.