libchk, lib/compat/pkg, indirect dependencies, revision bumps

Jan Henrik Sylvester me at
Tue Jul 1 15:09:06 UTC 2008

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, is needed by and the application 
cannot import pdf files if 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.

I often copy packages from this machine to other ones. Obviously, 
lib/compat/pkg dependencies are missing afterwards.

Jan Henrik

jackit-0.103.0_1 /usr/local/bin/jackrec 2008-Mar-26
-> ( flac-1.2.1 2008-Apr-7)
   [requires it indirectly via libsndfile, does not require it directly 
libsamplerate-0.1.3 /usr/local/bin/sndfile-resample 2008-Mar-25
-> ( flac-1.2.1 2008-Apr-7)
   [requires it indirectly via libsndfile]
dvdauthor-0.6.14_1 /usr/local/bin/spumux 2007-Oct-17
-> (/ /)
-> (/ /)
   [uses it if it exists]
opal-2.2.11 /usr/local/lib/ 2008-Mar-6
-> ( sdl-1.2.13_1,2 2008-Mar-13)
   [does not require it]
ccrtp-1.6.0 /usr/local/lib/ 2007-Dec-22
-> ( libgcrypt-1.4.1_1 2008-Feb-28)
   [does not require it]
libzrtpcpp-1.0.0 /usr/local/lib/ 2007-Dec-22
-> ( libgcrypt-1.4.1_1 2008-Feb-28)
   [does not require it]
kdeutils-3.5.8 /usr/local/lib/kde3/ 2008-Oct-29
-> ( net-snmp-5.4.1_5 2008-Mar-27)
   [does require it (without version)]
kdegraphics-3.5.8_2 /usr/local/lib/kde3/ 2008-Jun-6
-> ( poppler-0.8.3_1 2008-Jun-30)
   [requires it indirectly via poppler-qt]
koffice-1.6.3_5,2 /usr/local/lib/kde3/ 2008-Jun-28
-> ( poppler-0.8.3_1 2008-Jun-30)
   [requires it indirectly via poppler-qt]

More information about the freebsd-ports mailing list