From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NDgEs-0001in-LI for garchives@archives.gentoo.org; Thu, 26 Nov 2009 15:26:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C093E0903; Thu, 26 Nov 2009 15:26:25 +0000 (UTC) Received: from amun.cheops.ods.org (amun.cheops.ods.org [82.95.138.191]) by pigeon.gentoo.org (Postfix) with ESMTP id E4FF1E0903 for ; Thu, 26 Nov 2009 15:26:24 +0000 (UTC) Received: from tefnut.cheops.ods.org ([2001:888:1022:0:211:24ff:fe37:e46e] helo=gentoo.org) by amun.cheops.ods.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1NDgEh-0000Xz-Gn for gentoo-dev@lists.gentoo.org; Thu, 26 Nov 2009 16:26:24 +0100 Date: Thu, 26 Nov 2009 16:26:09 +0100 From: Fabian Groffen To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Gentoo Prefix: on EPREFIX, ED and EROOT inside ebuilds Message-ID: <20091126152609.GR19586@gentoo.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <7c612fc60911191626p7c32374fhf597787f2d30dfd3@mail.gmail.com> <4B05F3F3.9020902@gentoo.org> <20091120090338.GK19586@gentoo.org> <7c612fc60911251543p70dfa240gf09feb46f18e3323@mail.gmail.com> <20091126085303.GG19586@gentoo.org> <20091126101009.GM19586@gentoo.org> <20091126105106.GN19586@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (Darwin 8.11.0, VIM - Vi IMproved 7.2) Organization: Gentoo Foundation, Inc. X-Content-Scanned: by amun.cheops.ods.org (Exim Exiscan) using SpamAssassin and ClamAV X-Archives-Salt: d1f5b315-3633-40da-b92a-152755d8da32 X-Archives-Hash: 8d1c136fbaf70ae4e825757efd994ccb On 26-11-2009 12:36:47 +0000, Duncan wrote: > > I think there's unfortunately no simple way to tell what should be in > > and what unfortunately has to be out. It depends a lot on the host > > system. I feel -- but I can't back this up with hard evidence -- that > > it are usually the libs that are not in *DEPEND that can only be > > available in the host system. Basically because they usually are part > > of the libc, which we assume to be installed. > > > > > > [1] http://dev.gentoo.org/~grobian/prefix-quiz > > Thanks again. That quiz was particularly enlightening (to this gentoo, > not prefix, user) on the type of stuff you think about, as a part of what > prefix /does/. The following bug is a classical example of something which just happens to work by accident, but is broken. It also illustrates what kind of changes people can expect to have to be made to their ebuilds to get them to work for Prefix: http://bugs.gentoo.org/show_bug.cgi?id=293901 Because the ebuild gives a direct pointer to a place in the filesystem, --with-apr=/usr/bin/apr-1-config the ebuild needs a change such that it points to the corresponding place in the offset-prefix installation, e.g. under "${EPREFIX}". --with-apr="${EPREFIX}"/usr/bin/apr-1-config When this variable is empty, there's obviously no change to the behaviour of the ebuild. -- Fabian Groffen Gentoo on a different level