public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: how to "git-bisect" in a portage-compatible way ?
Date: Wed, 10 Mar 2010 08:08:41 -0800	[thread overview]
Message-ID: <hn8g6g$avq$1@dough.gmane.org> (raw)
In-Reply-To: <hn7uah$r3a$1@dough.gmane.org>

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.





  reply	other threads:[~2010-03-10 16:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-10 11:03 [gentoo-user] how to "git-bisect" in a portage-compatible way ? Nicolas Richard
2010-03-10 16:08 ` walt [this message]
2010-03-11 15:54   ` [gentoo-user] " Nicolas Richard
2010-03-12  1:13     ` walt
2010-03-16  8:24       ` Nicolas Richard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hn8g6g$avq$1@dough.gmane.org' \
    --to=w41ter@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox