Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev@g.o
From: Mike Frysinger <vapier@g.o>
Subject: Re: /bin and /sbin to /usr
Date: Tue, 10 Aug 2010 17:06:20 -0400
On Tue, Aug 10, 2010 at 10:01 AM, "Paweł Hajdan, Jr." wrote:
> On 8/10/10 4:22 AM, Eray Aslan wrote:
>> 1. Is this OK or should we file bugs against binaries in {/bin,/sbin} linking
>> against libraries in /usr/lib? Fix is relatively easy in general (give
>> --libdir=/lib against the config script)
> I'd suggest a fix that is guaranteed to work: make portage refuse to
> install anything in /bin that depends on /usr (based on say ldd check).

not a chance.  some of the reasons why this isnt realistic:
 - ldd is not portable
 - ldd *executes* things
 - ldd cannot easily/sanely handle a mix of installed system paths and
temporary paths ($D)
 - ldd will not work with cross-compiling
 - ldd shows the entire dependency tree, not just the program in
question ... so one broken library can easily cause other packages to
be flagged
 - even if ldd showed only direct dependencies, one broken library
package could break the packages that use it
 - prevents historical compat links that are otherwise irrelevant
 - the vast majority of the time, users dont give a sh*t, and this
doesnt affect them -- people who do a sep /usr mount from / are a
small fraction

/bin and /sbin to /usr
-- Eray Aslan
Re: /bin and /sbin to /usr
-- Paweł Hajdan, Jr.
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: /bin and /sbin to /usr
Next by thread:
Re: /bin and /sbin to /usr
Previous by date:
Re: /bin and /sbin to /usr
Next by date:
Re: Add --hash-style=gnu to LDFLAGS

Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.