atom feed8 messages in org.freebsd.freebsd-portsRe: shells/zsh links to devel/ncurses
FromSent OnAttachments
Alexander KojevnikovMar 2, 2011 11:20 pm 
Wesley ShieldsMar 3, 2011 5:56 am 
Baptiste DaroussinMar 3, 2011 6:39 am 
Alexander KojevnikovMar 3, 2011 10:45 pm 
Baptiste DaroussinMar 4, 2011 2:56 am 
Alexander KojevnikovMar 5, 2011 7:26 pm 
Michael ScheidellMar 5, 2011 7:30 pm 
Scot HetzelMar 5, 2011 7:59 pm 
Subject:Re: shells/zsh links to devel/ncurses
From:Wesley Shields (wx@FreeBSD.org)
Date:Mar 3, 2011 5:56:02 am
List:org.freebsd.freebsd-ports

On Thu, Mar 03, 2011 at 03:21:17PM +0800, Alexander Kojevnikov wrote:

If devel/ncurses is installed, shells/zsh links to libncursesw from that port but doesn't add it as a dependency.

To reproduce:

1. Install devel/ncurses

2. (Re)install shells/zsh

3. Run: % ldd `shich zsh` libncursesw.so.6.0 => /usr/local/lib/libncursesw.so.6.0 (0x8008f4000) ...

4. pkg_delete devel/ncurses

5. zsh cannot start: % ldd `which zsh` libncursesw.so.6.0 => not found (0x0) ...

Re-building shells/zsh fixes it:

% ldd `which zsh` libncursesw.so.8 => /lib/libncursesw.so.8 (0x8008f5000) ...

To sum it up, shells/zsh should either not link to devel/ncurses or list it as a dependency if it does.

Thanks for bringing this up. I noticed it a while ago but forgot to mail the maintainer.

While we are on the subject of silent dependencies, mail/mutt-devel links with ncurses silently too. I've attached the maintainer of mutt-devel to this mail so he can hopefully work up a patch.

-- WXS