From owner-freebsd-ports@FreeBSD.ORG Tue Aug 5 20:56:54 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B059046C; Tue, 5 Aug 2014 20:56:54 +0000 (UTC) Received: from mailrelay009.isp.belgacom.be (mailrelay009.isp.belgacom.be [195.238.6.176]) by mx1.freebsd.org (Postfix) with ESMTP id 012B1257A; Tue, 5 Aug 2014 20:56:53 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQGALBE4VNbsV3c/2dsb2JhbABbgw1STQrLb4dQAYEVF3eEBAEFOhwjEAsOCgklDyoeBohZAcNjF49MB4RLAQSVKoI3hCuBVZMNg087Lw Received: from 220.93-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.93.220]) by relay.skynet.be with ESMTP; 05 Aug 2014 22:56:52 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.9/8.14.9) with ESMTP id s75Kuon6005966; Tue, 5 Aug 2014 22:56:51 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Tue, 5 Aug 2014 22:56:50 +0200 From: Tijl Coosemans To: Bryan Drewery Subject: Re: Libreoffice library caching [was Re: Yet another pkg bug?] Message-ID: <20140805225650.71e7b387@kalimero.tijl.coosemans.org> In-Reply-To: <53E13C4C.1020405@FreeBSD.org> References: <53DB9BF4.5070208@netfence.it> <62714296e76c28f63d8b7ca430882a37@shatow.net> <53E10592.1000308@FreeBSD.org> <20140805212224.33dbbd7c@kalimero.tijl.coosemans.org> <53E1313F.4090106@FreeBSD.org> <20140805220710.5ebaaf63@kalimero.tijl.coosemans.org> <53E13C4C.1020405@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, office@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 20:56:54 -0000 On Tue, 05 Aug 2014 15:19:24 -0500 Bryan Drewery wrote: > On 8/5/2014 3:07 PM, Tijl Coosemans wrote: >> Libreoffice links with libgcrypt directly. The reason it does so is >> because the output of "pkgconf --libs libexslt" is this: >> >> -lexslt -lxslt -lz -lm -lgcrypt -lgpg-error -L/usr/local/lib -lxml2 >> >> It's an example of how pkgconfig files can cause overlinking. > > Got it. > >> Libreoffice comes up in this list: >> pkg rquery '%o %B' | grep libgcrypt.so | sort >> >> So it should have been bumped as part of the libgcrypt update. I had >> actually specifically asked for that list of ports to be included. > > Well the problem here was the instructions did not indicate to upgrade > all ports so it would not have caught it anyhow. The instructions were > to use portupgrade/portmaster to things depending on libgcrypt. Perhaps > we need to change our instructions (or portupgrade/portmaster) to use > registered library dependencies as well rather than just package deps. The list of ports that need to be updated on a system are given by: pkg query '%o %B' | awk '/libgcrypt\.so/{print $1}' But with proper revision bumps no special instructions are needed at all, so I'd rather do that and remove the instructions. A problem with that pkg query is that it doesn't necessarily print ports in the right order. Dependencies of a port need to be updated before that port.