libchk, lib/compat/pkg, indirect dependencies, revision bumps
Jan Henrik Sylvester
me at janh.de
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,
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.
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]
More information about the freebsd-ports
mailing list