From owner-freebsd-ports@FreeBSD.ORG Thu Mar 3 14:40:22 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88404106566C for ; Thu, 3 Mar 2011 14:40:22 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE5C8FC1E for ; Thu, 3 Mar 2011 14:40:21 +0000 (UTC) Received: by iwn33 with SMTP id 33so1143410iwn.13 for ; Thu, 03 Mar 2011 06:40:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=QUyeF7DnayucFe1EzoaR8EJKUnr945qduSvy6xwzJiI=; b=LLKpI50hGLsWMAb+G+ClU3FwdlfzVUyny9QFQ/QeM0uNjMGBqQukVw5Dp7khDxg3rR o+rjTSjyJ1AAeJNJISwOULZF5iAMeTcKMxWBfgVCQaIOwPtjDp7sj3sZCj8/PDtsdzHX DSIiPl6O/GeT/T3R0PxVkZgGeU+ccKxQbV7ds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=rnP41eMoH3INr1kBXcgDESQ3f/+POoPsimiY3GjR4/QMpTZUKVrLEOyn619QrCQxrH 8UBbFS6NHCCb6z61Ut6GekLb1dv3RUE8Qn0F0Klvv6tKmNdu96dDDZ0oNqTuxE8RTNKD 0ddAAUz2Nf1l3Idrhq/ne/1ZC7NqMu7kf1rL4= Received: by 10.42.176.7 with SMTP id bc7mr1647593icb.257.1299163221238; Thu, 03 Mar 2011 06:40:21 -0800 (PST) MIME-Version: 1.0 Sender: baptiste.daroussin@gmail.com Received: by 10.231.224.94 with HTTP; Thu, 3 Mar 2011 06:40:01 -0800 (PST) In-Reply-To: <20110303135717.GD48908@atarininja.org> References: <20110303135717.GD48908@atarininja.org> From: Baptiste Daroussin Date: Thu, 3 Mar 2011 15:40:01 +0100 X-Google-Sender-Auth: Qd6bCjs3l0IBg8cP-cgY3WpWZ24 Message-ID: To: Wesley Shields Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, udo.schweigert@siemens.com, Alexander Kojevnikov Subject: Re: shells/zsh links to devel/ncurses X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2011 14:40:22 -0000 2011/3/3 Wesley Shields : > 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` >> =A0 =A0 =A0 =A0 libncursesw.so.6.0 =3D> /usr/local/lib/libncursesw.so.6.= 0 (0x8008f4000) >> =A0 =A0 =A0 =A0 ... >> >> 4. pkg_delete devel/ncurses >> >> 5. zsh cannot start: >> % ldd `which zsh` >> =A0 =A0 =A0 =A0 libncursesw.so.6.0 =3D> not found (0x0) >> =A0 =A0 =A0 =A0 ... >> >> Re-building shells/zsh fixes it: >> >> % ldd `which zsh` >> =A0 =A0 =A0 =A0 libncursesw.so.8 =3D> /lib/libncursesw.so.8 (0x8008f5000= ) >> =A0 =A0 =A0 =A0 ... >> >> 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 > For information, about all (almost) the ports that links to ncurses have this problem. A global solution should be found. regards, Bapt