From owner-freebsd-ports@FreeBSD.ORG Sat Jun 5 21:39:51 2010 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 EE7901065677 for ; Sat, 5 Jun 2010 21:39:51 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id A73EF8FC15 for ; Sat, 5 Jun 2010 21:39:51 +0000 (UTC) Received: from outgoing.leidinger.net (pD9E2C6B8.dip.t-dialin.net [217.226.198.184]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 6BE3684405B; Sat, 5 Jun 2010 23:39:49 +0200 (CEST) Received: from unknown (unknown [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id 9DA9A52BE; Sat, 5 Jun 2010 23:39:46 +0200 (CEST) Date: Sat, 5 Jun 2010 23:39:47 +0200 From: Alexander Leidinger To: freebsd-ports@freebsd.org, Jan Henrik Sylvester Message-ID: <20100605233947.00006cce@unknown> In-Reply-To: <4C09010A.7010906@janh.de> References: <4C04CAAA.7080001@janh.de> <20100603123728.GA1605@server.vk2pj.dyndns.org> <20100603150208.19603v4b90d4jeec@webmail.leidinger.net> <4C09010A.7010906@janh.de> X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 6BE3684405B.A932F X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1, required 6, autolearn=disabled, ALL_TRUSTED -1.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1276378789.89675@3qeQ3XxpfsZ7Rt6ns5Jhpw X-EBL-Spam-Status: No Cc: Subject: Re: Direct or indirect libdependencies (using the libintl.so.8 case) 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: Sat, 05 Jun 2010 21:39:52 -0000 On Fri, 04 Jun 2010 15:35:06 +0200 Jan Henrik Sylvester wrote: > I have checked one of the missing dependencies with > explicit_lib_depends.sh, but it did not show up, because > explicit_lib_depends.sh makes some assumptions upon were binaries > reside that are not true in this case: The heuristics are far from perfect. I just took the obvious ones. As the scripts are intended to write out values for LIB_DEPENDS, and the fact that indirect dependencies shall not be recorded there, the scripts where not useful when I wrote them (I noticed this after writting as much as you can see in the ports collection), and are still not useful because indirect dependencies are still recorded in libs and programs. For this reason I did not invest more time in improving which parts of a pkg-plist to check or not. Feel free to submit imrpovements to the scripts. [recording indirect deps or not] > Considering the few responses my posting got, either not many see the > need to reach an agreement or the posing was not clear or not concise > enough. (It is not the first time I tried to raise this issue.) The best solution would be to fix the ports to not link explicitely to indirect deps (by improving libtool and by improving the .pc files for pkg-config). Then we could even switch from recording indirect dependencies in /var/db/pkg/-/+{CONTENTS,REQUIRED_BY} to only record direct deps. Bye, Alexander.