From owner-freebsd-ports@FreeBSD.ORG Fri Feb 17 10:54:59 2012 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 E24D01065672; Fri, 17 Feb 2012 10:54:58 +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 36C578FC20; Fri, 17 Feb 2012 10:54:58 +0000 (UTC) Received: from outgoing.leidinger.net (p5796CEAE.dip.t-dialin.net [87.150.206.174]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 5685684498E; Fri, 17 Feb 2012 11:54:44 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) by outgoing.leidinger.net (Postfix) with ESMTPS id 9B6D35298; Fri, 17 Feb 2012 11:54:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1329476081; bh=WZ19+sIAh9fuTzOvtpBqVObeqeUqtlXcWcHO0WUXPBY=; h=Date:Message-ID:From:To:Cc:Subject:References:In-Reply-To: Content-Type:MIME-Version; b=p0/tJtfvqI45gSJnaMWyldaxiRkSiJvScdms3xtQUKQgDAl/5WnpwvGk8gpSj4lCK ABmVkba1i0WmpAddWrU1DnpE4LaSnvEI3NfPxRfmMfDnQ5n/eH3xgIZa2rCdycMiWp Hg7QAZyp1uOvnadneUAhBhD49wTZKbSMh9qIvSr5ISZ6mLuHCRfpDgXYpRmYRykOwj mCTgyVhdtaeMfE2yfBCqQ5RumepaZKonY/rLfqs6qjGSEPnvPUTtr6I/12VgPvEn9l 9XBu05Q4/Bx6CCZtAUw22yMgrnYshBvz87Ywq/Bexr33iW8lrkQKfkKP0MYQNcu53K 501KsjJ4bIWBA== Received: (from www@localhost) by webmail.leidinger.net (8.14.5/8.14.4/Submit) id q1HAsfpf099381; Fri, 17 Feb 2012 11:54:41 +0100 (CET) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from 85.94.224.19 ([85.94.224.19]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 17 Feb 2012 11:54:41 +0100 Date: Fri, 17 Feb 2012 11:54:41 +0100 Message-ID: <20120217115441.Horde.mJZLe5jmRSRPPjHxZRgRf2k@webmail.leidinger.net> From: Alexander Leidinger To: Alex Dupre References: <4F3E289D.9050605@FreeBSD.org> <4F3E2CED.90601@FreeBSD.org> In-Reply-To: <4F3E2CED.90601@FreeBSD.org> User-Agent: Internet Messaging Program (IMP) H4 (5.0.18) Content-Type: text/plain; charset=x-viet-vps; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 5685684498E.A1714 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0.031, required 6, autolearn=disabled, AWL -1.18, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, RCVD_IN_BL_SPAMCOP_NET 1.25, TW_BV 0.08, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1330080885.64057@ZY+vkkekanTMILiel26J+Q X-EBL-Spam-Status: No X-Mailman-Approved-At: Fri, 17 Feb 2012 12:23:01 +0000 Cc: ashish@FreeBSD.org, freebsd-ports@FreeBSD.org, Andriy Gapon Subject: Re: recent portrevision bump for libvpx 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: Fri, 17 Feb 2012 10:54:59 -0000 Quoting Alex Dupre (from Fri, 17 Feb 2012 11:33:17 +0100): > Andriy Gapon wrote: >> Needless to say that all these ports got their port revisions bumped. >> Was there a good reason for that? I don't know. >> >> I just know that now I need to needlessly reinstall/rebuild about a hundred >> ports, many of which are not quite light-weight. > > It's time to experiment seriously with ${EXPLICIT_PACKAGE_DEPENDS} > and libtool patch to not link to indirect dependencies > (ports/104877). Ideally a port should include in LIB_DEPENDS all the > direct dependencies. When I made the EXPLICIT_PACKAGE_DEPENDS patch, I noticed that there is not only libtool at fault (reaction of the libtool developers was IIRC: it's not trivial to fix known problems for the cross-building case (for libtool-1.x?)), but also pkg-config and similar things (dependencies of dependencies where specified, e.g. your port links against liba, the pkg-config for liba also told to link against libb which liba depends upon but for which the ABI was not exposed to your port by liba, but this caused a record of libb to show up in binaries of your port). I do not know if the situation improved in _all_ ports, but some look more sane. You can also have a look at /usr/ports/Tools/scripts/explicit_lib_depends.sh, thats a script which analyzes the recorded dependencies in binaries for a given port (this may be different from what is recorded in LIB_DEPENDS, and it can be different from it even if LIB_DEPENDS is 100% correct). So if a lib which is listed in the output changes the soversion, you _have_ to recompile this port, no matter if the binary has his hands in the ABI of the changed lib or not (that's the port->liba->libb case from the paragraph above). Bye, Alexander. -- There must be at least 500,000,000 rats in the United States; of course, I never heard the story before. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137