Date: Mon, 8 Mar 2010 14:01:43 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: ertr1013@student.uu.se (Erik Trulsson) Cc: freebsd-ports@FreeBSD.ORG Subject: Re: editors/joe + textproc/aspell: dependency problem? Message-ID: <201003081301.o28D1hBc081954@lurza.secnetix.de> In-Reply-To: <20100308122657.GA89375@owl.midgard.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Erik Trulsson wrote: > On Mon, Mar 08, 2010 at 12:50:05PM +0100, Oliver Fromme wrote: > > I just csupped fresh ports on a new stable/8 box, installed > > textproc/aspell-without-dicten (i.e. with WITHOUT_DICTEN=YES) > > and then proceeded to install editors/joe. Both installed > > successfully, as far as I can tell. There were no error > > messages, and joe seems to work fine. But ... > > > > joe has a dependency on aspell (both build dependency _and_ > > run dependency), so I expected it to be recorded in the > > package database. But it isn't. pkg_info -r joe\* and > > pkg_info -R aspell\* don't report this dependency. > > If there is a bug it is in the ports system in general when a given > dependency can be fulfilled by more than one port. > > If a port declares that it depends on file/library/whatever "foo" from > the port "bar", but you have "foo" installed from the port "baz" then > the dependency check will be fine (since it finds "foo") but when the > dependency should be registered in the package database it will try to > register a dependency on the package "bar", which is not installed, and > then no dependency is registered. > (In your case "foo" = "/usr/local/bin/aspell", "bar" = "textproc/aspell", > and "baz" = "textproc/aspell-without-dicten".) > > It might be better if a dependency was registered on the package that > the depended-on file actually was installed from, but this is currently > not done. Thanks for the insights. That explains what I'm seeing. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003081301.o28D1hBc081954>