From owner-freebsd-ports@FreeBSD.ORG Tue Jul 1 15:09:06 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5E521065678 for ; Tue, 1 Jul 2008 15:09:06 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.freebsd.org (Postfix) with ESMTP id 58F1D8FC1E for ; Tue, 1 Jul 2008 15:09:06 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (f054096009.adsl.alicedsl.de [78.54.96.9]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1KDhT33sqi-0006LZ; Tue, 01 Jul 2008 17:08:30 +0200 Message-ID: <486A4871.80306@janh.de> Date: Tue, 01 Jul 2008 17:08:33 +0200 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.14 (X11/20080615) MIME-Version: 1.0 To: ports-list freebsd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1++PrzHL2WBj2niAjOJrGdPZyRN0rQRjcisw4N cp232PAm8xO7EtkonS6DTWi2++mIY244zBUelayXes3wctz196 HgUh/zGUet+W851Wt4Xxw== Subject: libchk, lib/compat/pkg, indirect dependencies, revision bumps X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2008 15:09:06 -0000 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]