From owner-freebsd-ports@FreeBSD.ORG Tue Jul 28 10:02:05 2009 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 82DBE1065676 for ; Tue, 28 Jul 2009 10:02:05 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8C0018FC1D for ; Tue, 28 Jul 2009 10:02:04 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA28516; Tue, 28 Jul 2009 13:02:01 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4A6ECC98.5090400@icyb.net.ua> Date: Tue, 28 Jul 2009 13:02:00 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.22 (X11/20090630) MIME-Version: 1.0 To: Doug Barton References: <20090720134000.3b7e201a.jasonh@DataIX.net> <20090723062213.bf871b6c.jasonh@DataIX.net> <4A6E2F94.7010402@FreeBSD.org> <200907271608.28312.mel.flynn+fbsd.ports@mailing.thruhere.net> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Dirk Meyer , Mel Flynn , "Jason J. Hellenthal" , freebsd-ports@FreeBSD.org Subject: Re: graphics/jpeg especially UPDATING 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: Tue, 28 Jul 2009 10:02:05 -0000 on 28/07/2009 04:15 Doug Barton said the following: > On Mon, 27 Jul 2009, Mel Flynn wrote: >> Unfortunately, that can lead to problems as well. I don't have the >> precise >> error anymore, but it is possible for programs to be linked to two >> different >> libjpeg's and fail the assertion that (paraphrased) "foo wants JPEG_70 >> API yet >> JPEG_62 API available". This was me trying to start kde, while the >> complete >> upgrade did not finish yet. > > That can happen sometimes, yes, but not often. I did what I suggested in > my post (portmaster -w) and haven't had any problems yet. My approach is to do portmaster -w (or portupgrade equivalent) and then run libchk -v > libchk.out (-x /usr/X11R6 would also save some time if /usr/X11R6 is just a link to /usr/local). Then I pick all binaries and shared libraries that are linked to old libraries in compat/pkg and do pkg_which `cat oldlibs.list` | sort -u. After that I force-upgrade all the resulting packages. I do this only for major changes in shared libraries (the ones with UPDATING entry and recommendation to do portmaster -r or portupgrade equivalent). -- Andriy Gapon