Date: Tue, 5 Aug 2014 22:56:50 +0200 From: Tijl Coosemans <tijl@FreeBSD.org> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: ports@freebsd.org, office@FreeBSD.org 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140805225650.71e7b387>