Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jul 2008 11:31:58 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Jan Henrik Sylvester" <me@janh.de>
Cc:        ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   Re: libchk, lib/compat/pkg, indirect dependencies, revision bumps
Message-ID:  <op.udmf7kui9aq2h7@mezz.mezzweb.com>
In-Reply-To: <486A4871.80306@janh.de>
References:  <486A4871.80306@janh.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 01 Jul 2008 10:08:33 -0500, Jan Henrik Sylvester <me@janh.de>  
wrote:

> Trying to clean lib/compat/pkg from old portupgrade leftovers, I used  
> libchk to check which are still needed.
>
> I thought with regular portupgrades for all ports, none of them should  
> be needed, since recompiles due to PORTREVISION bumps should have taken  
> care of these.
>
> Quite a few were needed. Only one was a direct dependency.
>
> Should indirect dependencies that are linked be listed as LIB_DEPENDS?
>
> What about dependencies that only get linked, if the library is present?  
> Explicit ones? Ones that autoconf picked up?
>
> For example, koffice did not get bumped with the recent poppler upgrade,  
> since it only depends on poppler-qt and not poppler itself. Still,  
> libpoppler.so.2 is needed by libkritapdfimport.so and the application  
> cannot import pdf files if libpoppler.so.2 is missing. (I tested that.)
>
> Below is a list of more.
>
> Should the PORTREVISION always be bumped, if a library version changes?  
> Does this only apply for "clean" builds in a tinderbox without autoconf  
> picking up more dependencies than needed? (Mine are not clean.)
>
> Or can libchk pick up false positives? (In case of koffice that I  
> tested, it did not.)
<
> I wonder if I should report my findings to the maintainers or if I  
> simply misunderstood something about library and PORTREVISION bumps.

The libchk is correct. I will bump on both kdegraphics and koffice. I  
didn't bump these, because update of poppler-qt doesn't has shared library  
version change. But I forogt about poppler-qt -> poppler (the one that has  
shared library version change), so due with current libtool/pkgconfig way  
will get k* to link with poppler too. Thanks for report!

BTW: If anyone find more port that I have missed to bump, please let me  
know.

Cheers,
Mezz

> I often copy packages from this machine to other ones. Obviously,  
> lib/compat/pkg dependencies are missing afterwards.
>
> Regards,
> Jan Henrik
>
>
> jackit-0.103.0_1 /usr/local/bin/jackrec 2008-Mar-26
> ->libFLAC.so.7 (libFLAC.so.10 flac-1.2.1 2008-Apr-7)
>    [requires it indirectly via libsndfile, does not require it directly  
> anymore]
> libsamplerate-0.1.3 /usr/local/bin/sndfile-resample 2008-Mar-25
> ->libFLAC.so.7 (libFLAC.so.10 flac-1.2.1 2008-Apr-7)
>    [requires it indirectly via libsndfile]
> dvdauthor-0.6.14_1 /usr/local/bin/spumux 2007-Oct-17
> ->libMagick.so.10 (/ /)
> ->libWand.so.10 (/ /)
>    [uses it if it exists]
> opal-2.2.11 /usr/local/lib/libopal_r.so.2.2.11 2008-Mar-6
> ->libSDL.so.11 (libSDL-1.2.so.11 sdl-1.2.13_1,2 2008-Mar-13)
>    [does not require it]
> ccrtp-1.6.0 /usr/local/lib/libccrtp1-1.6.so.0 2007-Dec-22
> ->libgcrypt.so.13 (libgcrypt.so.15 libgcrypt-1.4.1_1 2008-Feb-28)
>    [does not require it]
> libzrtpcpp-1.0.0 /usr/local/lib/libzrtpcpp.so.0 2007-Dec-22
> ->libgcrypt.so.13 (libgcrypt.so.15 libgcrypt-1.4.1_1 2008-Feb-28)
>    [does not require it]
> kdeutils-3.5.8 /usr/local/lib/kde3/ksim_snmp.so 2008-Oct-29
> ->libnetsnmp.so.10 (libnetsnmp.so.16 net-snmp-5.4.1_5 2008-Mar-27)
>    [does require it (without version)]
> kdegraphics-3.5.8_2 /usr/local/lib/kde3/kfile_pdf.so 2008-Jun-6
> ->libpoppler.so.2 (libpoppler.so.3 poppler-0.8.3_1 2008-Jun-30)
>    [requires it indirectly via poppler-qt]
> koffice-1.6.3_5,2 /usr/local/lib/kde3/libkritapdfimport.so 2008-Jun-28
> ->libpoppler.so.2 (libpoppler.so.3 poppler-0.8.3_1 2008-Jun-30)
>    [requires it indirectly via poppler-qt]


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.udmf7kui9aq2h7>