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 1NpOTr-0003bq-VH for garchives@archives.gentoo.org; Wed, 10 Mar 2010 16:09:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF56AE0DA4; Wed, 10 Mar 2010 16:09:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 99F42E0DA4 for ; Wed, 10 Mar 2010 16:09:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 2D81D1B405D for ; Wed, 10 Mar 2010 16:09:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.995 X-Spam-Level: X-Spam-Status: No, score=-2.995 required=5.5 tests=[AWL=-0.396, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JaAKWZvQsZjL for ; Wed, 10 Mar 2010 16:09:14 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 218CA1B4063 for ; Wed, 10 Mar 2010 16:09:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NpOSx-0005fh-MP for gentoo-user@gentoo.org; Wed, 10 Mar 2010 17:08:59 +0100 Received: from adsl-69-234-193-245.dsl.irvnca.pacbell.net ([69.234.193.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Mar 2010 17:08:59 +0100 Received: from w41ter by adsl-69-234-193-245.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Mar 2010 17:08:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: how to "git-bisect" in a portage-compatible way ? Date: Wed, 10 Mar 2010 08:08:41 -0800 Message-ID: References: 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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-193-245.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a3pre) Gecko/20100309 Thunderbird/3.2a1pre In-Reply-To: X-Archives-Salt: 0da68212-899e-4fe2-b9a7-cdf3285ff02c X-Archives-Hash: 9b509306bccd454c8ac9bc24f27f029e On 03/10/2010 03:03 AM, Nicolas Richard wrote: > Hello, > > ... > So the general question is : if I want to use git-bisect (I have never > done that before, but today is a good time to try), It's a great tool and easy to use once you've learned the basic steps. You can ask here if you need help with it. > I guess it means > I'll have to build libdrm outside portage : if so, once I'm finished > with hunting the bug, how to go back to the situation where portage does > everything for me ? I can think of several possible ways, but here is one that "should" work. When you configure the git test package, use the "--prefix=/usr/local" flag so that the test library gets installed in /usr/local/lib, and /usr/local/include, etc. Then, to test the new library, just change the /usr/lib/libdrm symlink to point at /usr/local/lib/libdrm.so.whatever. That avoids overwriting existing files, and you can just delete the files in /usr/local when you finish. Also, some packages have a "make uninstall" option you could use instead. Warning: don't try this method with critical system libs like glibc. Changing that symlink would break your whole system at warp speed.