From owner-freebsd-ports@FreeBSD.ORG Tue Jul 28 00:08:30 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 890AF1065672 for ; Tue, 28 Jul 2009 00:08:30 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3BDCD8FC19 for ; Tue, 28 Jul 2009 00:08:29 +0000 (UTC) (envelope-from mel.flynn+fbsd.ports@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 494257E818; Mon, 27 Jul 2009 16:08:29 -0800 (AKDT) From: Mel Flynn To: freebsd-ports@freebsd.org Date: Mon, 27 Jul 2009 16:08:27 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <20090720134000.3b7e201a.jasonh@DataIX.net> <20090723062213.bf871b6c.jasonh@DataIX.net> <4A6E2F94.7010402@FreeBSD.org> In-Reply-To: <4A6E2F94.7010402@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907271608.28312.mel.flynn+fbsd.ports@mailing.thruhere.net> Cc: Dirk Meyer , Doug Barton , "Jason J. Hellenthal" 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 00:08:30 -0000 On Monday 27 July 2009 14:52:04 Doug Barton wrote: > Jason J. Hellenthal wrote: > > If you pkg_delete -r that will remove every package that depends on jpeg. > > This is not the right way of just getting rid of jpeg considering it > > involves the complete almost full re-installation of the entire system > > manually. > > > > A better route to upgrade would be: pkg_delete -f jpeg-\* > > reinstall the new jpeg and then portmaster -r jpeg-\* > > There is no need to do the pkg_delete first, and in fact I do not > recommend it. 'portmaster -r jpeg-' will accomplish what you want to > do on its own. > > On the other hand, since just about every X-related binary links to > libjpeg you may want to consider using 'portmaster -w jpeg-' instead. > That will update you to jpeg-7 but leave the old library in > /usr/local/lib/compat/pkg. That way things linked against the old > library will still work and at some point in the future you can delete > the old library when everything (or almost everything) has been > updated in the natural course of events. 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. -- Mel