From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KmET3-0001vF-II for garchives@archives.gentoo.org; Sat, 04 Oct 2008 21:15:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2270DE03D4; Sat, 4 Oct 2008 21:15:13 +0000 (UTC) Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42]) by pigeon.gentoo.org (Postfix) with ESMTP id D9DA2E03D4 for ; Sat, 4 Oct 2008 21:15:12 +0000 (UTC) Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10]) by mail.osagesoftware.com (Postfix) with ESMTP id 46B60DEE for ; Sat, 4 Oct 2008 17:15:11 -0400 (EDT) Date: Sat, 4 Oct 2008 17:15:11 -0400 From: David Relson To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Change install directory of ebuilds? Message-ID: <20081004171511.42bb2a6e@osage.osagesoftware.com> In-Reply-To: <1223151472.5025.21.camel@rei.osaft.net> References: <1223150496.5025.14.camel@rei.osaft.net> <48E7CD20.5020404@j-schmitz.net> <1223151472.5025.21.camel@rei.osaft.net> Organization: Osage Software Systems, Inc. X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 1f571a89-01e3-4698-9224-1adbc4754ff8 X-Archives-Hash: 9fd8aaff86614760d98240838f8be10f On Sat, 04 Oct 2008 22:17:52 +0200 Andreas Simbuerger wrote: > On Sat, 2008-10-04 at 22:08 +0200, Justin wrote: > > Andreas Simbuerger schrieb: > > > Greetings, > > > > > > Is it possible to change the install-directory of ebuilds? > > > Let's say for example: > > > > > > TODIR=/usr/local/lib emerge python > > > > > > I tried to find a clue within the Gentoo Documentation and the > > > Forums but still no idea how to do that. > > > > > > ----- > > > As it is my first post to a mailing list, i hope it's not kind of > > > a dumb question that can be solved by a "RTFM" ;-) > > > ----- > > > > > > - Andreas > > > > > > > > > > > What really do you want to do? Whats your intention behind? > > I had some trouble during upgrading Python2.4 to Python2.5 > where some ebuilds installed themselves to /usr/local/lib > depending ebuilds were looking into /usr/lib. > > Whilst having no idea how i messed that one up (aside from accepting > ~amd64 ebuilds ;-)) i want to correct that by remerging > the messed up packages with the correct(?) path. > > In addition i try to solve the problems by doing an > emerge -eaD world > right at the moment > > - Andreas H'lo Andreas, Here're some ideas, for whatever they're worth: Installs to /usr/local/lib sounds like b0rked ebuilds. I'd try using equery to find the ebuilds that installed "bad" files. Then I'd look for "/usr/local" in those ebuilds and fix them. Putting the fixed ebuilds in /usr/local/portage/..., rather than just changing /usr/portage/..., might be even better. Lastly, I'd report the b0rked ebuilds on bugzilla.gentoo.org and would include the fixes with the reports. Looking on my system, all that /usr/local/lib is /usr/local/lib64/python2.5/site-packages/doxypy-0.3rc2-py2.5.egg-info which appears to have come from manually installing ~/Download/doxypy-0.3rc2.tar.gz, i.e. the one such file I have isn't from an ebuild at all. Might that be what's happened to you? HTH, David