From owner-freebsd-ports@FreeBSD.ORG Tue Dec 11 16:25:22 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51A0497F for ; Tue, 11 Dec 2012 16:25:22 +0000 (UTC) (envelope-from bryan-lists@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id F25148FC0C for ; Tue, 11 Dec 2012 16:25:21 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=JwshPv nVlqKLdMcuxJLEo+3+AdQt5vzOm0pIgGyPUImy7GNgJ/6x0CRNb9BauaDu2WVM0P zHZMhSV2m6b/tWgB7y3K6qDWjia0r/NegA1nCt5rTujrBMGel9ESjGONOPUwZLCu xeBplNPMxSlSCdKIw2TycGE6XGCFyYezKyzeE= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=9A/5rXoqobhC qnZ/EIMU1A93XLNJu6TNWGJgG/6Rres=; b=HX/rILtHCehhGoF6kWOcbiiIL/UI rGxPqA8wnLAjzMN16Yb4u3+Eik/BWS66pVCOHXhK8gytASKxSOTu8F4oDigk+9/i hBKRXoxNCqEW0nX3c50IE5lvjdwI4eXrKKM0V0PJ3LoshJPlggqxdB7KkojEf5qB IHyMAqC/InlhGeY= Received: (qmail 46648 invoked from network); 11 Dec 2012 10:25:20 -0600 Received: from unknown (HELO ?192.168.0.74?) (bryan@shatow.net@74.94.87.209) by sweb.xzibition.com with ESMTPA; 11 Dec 2012 10:25:20 -0600 Message-ID: <50C75E74.4050007@shatow.net> Date: Tue, 11 Dec 2012 10:25:24 -0600 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Jeremy Messenger Subject: Re: recent port upgrades causing missing libraries References: <20121211150304.GG72576@egr.msu.edu> <50C7551D.5020906@shatow.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Adam McDougall X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Dec 2012 16:25:22 -0000 On 12/11/2012 10:21 AM, Jeremy Messenger wrote: > On Tue, Dec 11, 2012 at 9:45 AM, Bryan Drewery wrote: >> On 12/11/2012 9:03 AM, Adam McDougall wrote: >>> I used poudriere to build pkgng packages from the latest round >>> of port updates since the freeze. I know in the commit message >>> for xcb-util it bumped some other ports, but it seems like not >>> enough to make poudriere reinstall enough packages to make things >>> work. >> >> >> Poudriere does the right thing here, it recompiles all affected ports. >> >> The pcre upgrade also caused some problems. I'm sorry that >>> I don't have time to make an extensive report of ports vs. libraries >>> or a PR but I can add some brief details. Using pkg install -fR >>> on xcb-util and pcre cured the issues for now, but that doesn't mean >>> I've caught them all. pkg_libchk doesn't work with pkgng. I could >>> have told pkg to reinstall all packages but that is a big hammer. >> >> The problem then comes here, pkgng doesn't automatically know that ports >> have been rebuilt (without PORTREVISION bumps) or that their checksums >> do not match, unless you use pkg install -fR on the proper packages. >> >> I've written a script that does the same as `portmaster -w`, which will >> preserve old libraries when running `pkg upgrade`, which will at least >> prevent a broken system while you use pkg_libchk to force reinstall >> affected packages: >> >> https://gist.github.com/3099160 > > I don't think the 'portmaster -w' will help with his issue. His issue > is pretty mess up, because his binaries below have been compiled with > old and new library at the same time. For some reason, it doesn't > uninstall (or move when use 'portmaster -w') old libraries first > before build with new libraries. There's no portmaster involved here. I only mention it as an example. This is purely pkgng using binary packages. > >>> Reinstalling libiconv-1.14 >>> Upgrading pcre: 8.31_1 -> 8.32 >>> Upgrading png: 1.5.12 -> 1.5.13 >>> Upgrading jpeg: 8_3 -> 8_4 >>> Upgrading xcb-util: 0.3.8,1 -> 0.3.9_1,1 >>> Upgrading glib: 2.28.8_4 -> 2.28.8_5 >>> Upgrading tiff: 4.0.2_1 -> 4.0.3 >>> Upgrading gobject-introspection: 0.10.8_2 -> 0.10.8_3 >>> Upgrading cairo: 1.10.2_4,2 -> 1.10.2_5,2 >>> Reinstalling ghostscript9-nox11-9.06_1 >>> Upgrading pciids: 20120906 -> 20121208 >>> Upgrading startup-notification: 0.12 -> 0.12_1 >>> Upgrading openldap-client: 2.4.33 -> 2.4.33_1 >>> Upgrading cups-client: 1.5.2_2 -> 1.5.4 >>> Upgrading postfix: 2.9.4,1 -> 2.9.4_2,1 >>> Upgrading binutils: 2.22_3 -> 2.23.1 >>> Upgrading javavmwrapper: 2.4_2 -> 2.4_3 >>> Upgrading xterm: 287 -> 287_1 >>> Upgrading Thunar: 1.4.0_2 -> 1.4.0_3 >>> Upgrading goffice: 0.8.17_2 -> 0.8.17_3 >>> Upgrading ImageMagick: 6.7.9.4 -> 6.8.0.7 >>> Upgrading wireshark: 1.8.3 -> 1.8.3_1 >>> >>> Upgrading Thunar from 1.4.0_2 to 1.4.0_3...Shared object "libpcre.so.1" not found, required by "update-desktop-database" >>> Shared object "libpcre.so.1" not found, required by "update-desktop-database" >>> done >>> >>> # pkg which `which update-desktop-database` >>> /usr/local/bin/update-desktop-database was installed by package desktop-file-utils-0.18 >>> >>> Terminal: >>> libpcre.so.1 => not found (0) >>> >>> exo-desktop-item-edit: >>> libxcb-util.so.0 => not found (0) >>> libpcre.so.1 => not found (0) >>> libpcre.so.3 => /usr/local/lib/libpcre.so.3 (0x807942000) >>> >>> mousepad: >>> libxcb-util.so.0 => not found (0) >>> libxcb-util.so.1 => /usr/local/lib/libxcb-util.so.1 (0x807749000) >>> libpcre.so.1 => not found (0) >>> libpcre.so.3 => /usr/local/lib/libpcre.so.3 (0x80794e000) >>> >>> I think either more port version bumps are needed, or an entry in UPDATING. >>> The UPDATING entry for perl is still wrong, I discussed on a list that it >>> should not contain -x in the pkg command but it still does. The -x will make >>> it install unwanted things. >> >>> _______________________________________________ >>> freebsd-ports@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >>> >> >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > >