From owner-freebsd-ports@FreeBSD.ORG Tue Jul 1 16:29:31 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 12D23106567C for ; Tue, 1 Jul 2008 16:29:31 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao101.cox.net (eastrmmtao101.cox.net [68.230.240.7]) by mx1.freebsd.org (Postfix) with ESMTP id C4B8D8FC0A for ; Tue, 1 Jul 2008 16:29:30 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao101.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080701162929.ULYD11636.eastrmmtao101.cox.net@eastrmimpo03.cox.net>; Tue, 1 Jul 2008 12:29:29 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo03.cox.net with bizsmtp id kgVV1Z00D4iy4EG02gVVCG; Tue, 01 Jul 2008 12:29:30 -0400 Date: Tue, 01 Jul 2008 11:31:58 -0500 To: "Jan Henrik Sylvester" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <486A4871.80306@janh.de> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <486A4871.80306@janh.de> User-Agent: Opera Mail/9.50 (Linux) Cc: ports-list freebsd Subject: Re: 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 16:29:31 -0000 On Tue, 01 Jul 2008 10:08:33 -0500, Jan Henrik Sylvester 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