Date: Tue, 28 Jul 2009 13:02:00 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: Doug Barton <dougb@FreeBSD.org> Cc: Dirk Meyer <dirk.meyer@dinoex.sub.org>, Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net>, "Jason J. Hellenthal" <jasonh@dataix.net>, freebsd-ports@FreeBSD.org Subject: Re: graphics/jpeg especially UPDATING Message-ID: <4A6ECC98.5090400@icyb.net.ua> In-Reply-To: <alpine.BSF.2.00.0907271813390.43191@qbhto.arg> References: <20090720134000.3b7e201a.jasonh@DataIX.net> <20090723062213.bf871b6c.jasonh@DataIX.net> <4A6E2F94.7010402@FreeBSD.org> <200907271608.28312.mel.flynn%2Bfbsd.ports@mailing.thruhere.net> <alpine.BSF.2.00.0907271813390.43191@qbhto.arg>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A6ECC98.5090400>