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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to