1 |
On Sun, 5 Oct 2008 01:05:35 +0200 |
2 |
Alan McKinnon wrote: |
3 |
|
4 |
> On Sunday 05 October 2008 00:03:47 Andreas Simbuerger wrote: |
5 |
> > > Installs to /usr/local/lib sounds like b0rked ebuilds. I'd try |
6 |
> > > using equery to find the ebuilds that installed "bad" files. |
7 |
> > > Then I'd look for "/usr/local" in those ebuilds and fix them. |
8 |
> > > Putting the fixed ebuilds in /usr/local/portage/..., rather than |
9 |
> > > just changing /usr/portage/..., might be even better. Lastly, |
10 |
> > > I'd report the b0rked ebuilds on bugzilla.gentoo.org and would |
11 |
> > > include the fixes with the reports. |
12 |
> > > |
13 |
> > > Looking on my system, all that /usr/local/lib is |
14 |
> > > /usr/local/lib64/python2.5/site-packages/doxypy-0.3rc2-py2.5.egg-info |
15 |
> > > which appears to have come from manually installing |
16 |
> > > ~/Download/doxypy-0.3rc2.tar.gz, i.e. the one such file I have |
17 |
> > > isn't from an ebuild at all. Might that be what's happened to |
18 |
> > > you? |
19 |
> > > |
20 |
> > > HTH, |
21 |
> > > |
22 |
> > > David |
23 |
> > |
24 |
> > Thanks for this idea! :D |
25 |
> > |
26 |
> > So portage takes /usr/local/portage before /usr/portage ? |
27 |
> |
28 |
> That's pretty normal, it's so that your customizations override the |
29 |
> distro default, much like dot files in ~ override whatever is in /etc/ |
30 |
> |
31 |
> David's comment about b0rked ebuilds is spot-on. Most packages are |
32 |
> built using autotools, which defaults to --prefix=/usr/local. The |
33 |
> ebuild author forgot to change it to /usr/, so you have to figure out |
34 |
> what he should have done and do it yourself. I would recommend |
35 |
> submitting a bug report plus patch when you solve it, and meanwhile |
36 |
> keeping a correct copy of the ebuild in your local overlay. |
37 |
> |
38 |
> By and large the broken ebuild works, as libs in /usr/local are still |
39 |
> found on systems with sane linkers, despite the location being |
40 |
> technically incorrect |
41 |
|
42 |
FWIW, I too have dev-python/pycrypto-2.0.1-r6 installed on an AMD64 |
43 |
system. However my files are in /usr/lib, not in /usr/local/lib as |
44 |
reported by the OP -- which makes it sound like the ebuild is OK and |
45 |
there's something unusual in his environment. |