From owner-freebsd-ports Fri Feb 28 11:57: 7 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8219137B401 for ; Fri, 28 Feb 2003 11:57:06 -0800 (PST) Received: from procyon.firepipe.net (procyon.firepipe.net [198.78.66.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C88443FA3 for ; Fri, 28 Feb 2003 11:57:06 -0800 (PST) (envelope-from will@csociety.org) Received: by procyon.firepipe.net (Postfix, from userid 1000) id 57BC421B9A; Fri, 28 Feb 2003 11:57:05 -0800 (PST) Date: Fri, 28 Feb 2003 11:57:05 -0800 From: Will Andrews To: Tilman Linneweh Cc: Joe Kelsey , ports@FreeBSD.org Subject: Re: WARNING: portupgrade considered harmful Message-ID: <20030228195705.GN37397@procyon.firepipe.net> Mail-Followup-To: Tilman Linneweh , Joe Kelsey , ports@FreeBSD.org References: <3E5FB1F8.4050405@mail.flyingcroc.net> <20030228195747.GA27650@huckfinn.arved.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030228195747.GA27650@huckfinn.arved.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Feb 28, 2003 at 08:57:47PM +0100, Tilman Linneweh wrote: > > The portupgrade maintainers have perpetrated a disaster in the making on > > a lot of unsuspecting people. I recommend that everyone edit their > > /usr/local/etc/pkgtools.conf files and add -u to the default portupgrade > > switches to prevent this from happening. You may also need to audit all > > of your binaries for stale library references. > > This is IMHO not a fault of portupgrade but how bsd.port.mk detects LIB_DEPENDS. > It checks if the library is in ld's path. This works as long as this path does not > contain directories with libraries not installed by ports. You are right, of course, that bsd.port.mk's dependency mechanism is faulty. But it should be fixed before the portupgrade obsolete shlibs behavior is enabled. [Note to casual observers: This is not as easy as it sounds!] Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message