editors/joe + textproc/aspell: dependency problem?

Oliver Fromme olli at lurza.secnetix.de
Mon Mar 8 13:02:01 UTC 2010

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 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

More information about the freebsd-ports mailing list