Date: Fri, 15 Jul 2005 18:16:33 +0200 From: Pav Lucistnik <pav@FreeBSD.org> To: Michael Nottebrock <lofi@FreeBSD.org> Cc: Alexey Dokuchaev <danfe@FreeBSD.org>, Mikhail Teterin <mi+mx@aldan.algebra.com>, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, Alexander Leidinger <Alexander@leidinger.net> Subject: Re: cvs commit: ports/graphics/djvulibre Makefile ports/textproc/wordnet Makefile Message-ID: <1121444193.92732.45.camel@pav.hide.vol.cz> In-Reply-To: <200507151810.21650.lofi@freebsd.org> References: <200507132352.j6DNqtUS011697@repoman.freebsd.org> <200507151751.30130.lofi@freebsd.org> <1121443050.92732.41.camel@pav.hide.vol.cz> <200507151810.21650.lofi@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Michael Nottebrock píše v pá 15. 07. 2005 v 18:10 +0200:
> On Friday, 15. July 2005 17:57, Pav Lucistnik wrote:
>
> > These PORTREVISION bumps are here mainly for the users. Because, when a
> > library raises it's major version number, you need to relink all C
> > binaries linked against the old copy of the library...
>
> ... except that portupgrade keeps old libraries in a cache just so you don't.
That does not mean you don't have to recompile everything. It's just a
fallback for users so their software don't stop working until they
manage to recompile it.
Think about this scenario:
libfoo.1 -> libbar.0 -> bin/application
libfoo.1 -> bin/application
Now update libfoo without PORTREVISION bumpage:
lib/compat/pkg/libfoo.1 -> libbar.0 -> bin/application
lib/compat/pkg/libfoo.1 -> bin/application
So far so good. Now libbar gets updated to new release:
libfoo.2 -> libbar.0 -> bin/application
lib/compat/pkg/libfoo.1 -> bin/application
Houston, we got a problem. In this moment user may experience strange
crashes or startup problems, because two conflicting copies of libfoo
are being loaded into application by rtld.
That's why we bump and recompile everything.
--
Pav Lucistnik <pav@oook.cz>
<pav@FreeBSD.org>
What is the airspeed velocity of an unladen swallow?
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQBC1+FhntdYP8FOsoIRAtgHAKCdvHBk+AJYrYEjudVhICtP7LGyugCffIoe
EPNUU2liLhr29BUKEU5SxQc=
=Z5bp
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1121444193.92732.45.camel>
