From owner-freebsd-ports Fri Feb 28 12: 4:51 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 EAF5537B401 for ; Fri, 28 Feb 2003 12:04:50 -0800 (PST) Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C7A443FAF for ; Fri, 28 Feb 2003 12:04:50 -0800 (PST) (envelope-from joek@mail.flyingcroc.net) Received: from mail.flyingcroc.net (zircon.staff.flyingcroc.net [207.246.150.92]) by gilliam.users.flyingcroc.net (8.9.3/8.9.3) with ESMTP id MAA44153; Fri, 28 Feb 2003 12:04:46 -0800 (PST) Message-ID: <3E5FC0DD.1080704@mail.flyingcroc.net> Date: Fri, 28 Feb 2003 12:04:45 -0800 From: Joe Kelsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030219 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tilman Linneweh Cc: ports@FreeBSD.org Subject: Re: WARNING: portupgrade considered harmful References: <3E5FB1F8.4050405@mail.flyingcroc.net> <20030228195747.GA27650@huckfinn.arved.de> In-Reply-To: <20030228195747.GA27650@huckfinn.arved.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Tilman Linneweh wrote: > > 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. I prefer to think of it as a fundamental misdesign in rtld-elf. The basic problem is that rtld-elf is more than happy to load two different libraries wit virtually the same name at once, leading to massive errors. FreeBSD's rtld-elf is the *only* runtime loader that I have ever encountered which allows this broken behavior. Apparantly, Polstra believes that there exist a situation where loading two instances of a library or two versions of a library is *not* an error. If rtld-elf did not do this, it would catch or prevent most of these errors in the first place. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message