Date: Fri, 28 Feb 2003 20:57:47 +0100 From: Tilman Linneweh <tilman@arved.de> To: Joe Kelsey <joek@mail.flyingcroc.net> Cc: ports@FreeBSD.org Subject: Re: WARNING: portupgrade considered harmful Message-ID: <20030228195747.GA27650@huckfinn.arved.de> In-Reply-To: <3E5FB1F8.4050405@mail.flyingcroc.net> References: <3E5FB1F8.4050405@mail.flyingcroc.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Some time ago, the maintainers of the pkgtools slipped a new ability=20 > into portupgrade: the ability to silently move "obsolete" shared=20 > libraries into /usr/local/lib/compat/pkg. This so-called "feature" has= =20 > caused me no end of trouble in the last few days. >=20 > The problem is that the "feature" interacts very badly with the=20 > fundamental purpose of portupgrade, which is to detect out-of-date=20 > packages and aid in automatically upgrading them. Unfortunately, the=20 > presence of all of the obsolete libraries accumulating in the compat/pkg= =20 > directory only serves to prevent protupgrade from fulfilling its mission= =20 > because ld will silently use old, obsolete libraries instead of the new= =20 > libraries! > [..] >=20 > The portupgrade maintainers have perpetrated a disaster in the making on= =20 > a lot of unsuspecting people. I recommend that everyone edit their=20 > /usr/local/etc/pkgtools.conf files and add -u to the default portupgrade= =20 > switches to prevent this from happening. You may also need to audit all= =20 > of your binaries for stale library references. This is IMHO not a fault of portupgrade but how bsd.port.mk detects LIB_DEP= ENDS. It checks if the library is in ld's path. This works as long as this path d= oes not contain directories with libraries not installed by ports. =20 --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+X785fCLDn4B6xToRAmA3AJkB9qxNo2j9F3aqez/JwBETi8cESACghcaC 3mn/NNEnF29/NKtG8XvPElo= =s1Sv -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030228195747.GA27650>