On Fri, Jul 01, 2011 at 06:07:46PM +0000, Stuart Henderson wrote:
> On 2011-07-01, Mikolaj Kucharski <miko...@kucharski.name> wrote:
> > Hi,
> >
> > Sorry for lack of the patch. There is missing dependencty somewhere
> > around libgweather and gnutls as I got errors about gnutls library from
> > libgweather during pkg_add -ui on two machines.
> >
> 
> Lack of patch isn't such a problem - but lack of any useful information
> is... What errors? What did you have installed before? What are you
> updating to? What arch, maybe packages are bad? What does pkg-add -ui -vvv 
> say?
> 

It was major/minor library version issue. Don't remember exactly, as now
all my old systems with libgweather are up to date now. i386.

For fresh OS install (no packages at all) pkg_add libgweather will pull
gnutls bacause (cd x11/gnome/libgweather && make run-dir-depends):

libgweather depends on devel/libsoup,-gnome
devel/libsoup,-gnome --> devel/libsoup,-main
devel/libsoup,-main --> net/glib2-networking
net/glib2-networking --> security/gnutls

In above chain of dependencies libgweather has gnutls in WANTLIB and
LIB_DEPENDS on devel/libsoup,-gnome which in turn LIB_DEPENDS on
devel/libsoup,-main which do *not* LIB_DEPENDS on net/glib2-networking but
it RUN_DEPENDS on it.

If you are however updating libgweather and gnutls had major library
bump and was previously installed, run depends in the middle of above
chain will not prioritize it before libgweather. You will get error
during pkg_add -ui.

This is my blind guess what happend. I may be totaly wrong here.
Looking for comments from others.

-- 
best regards
q#

Reply via email to