1 |
On 05/30/2012 05:07 PM, Thomas Kahle wrote: |
2 |
> Hi, |
3 |
> I'm trying to build sage on gentoo but I get a conflict: |
4 |
> |
5 |
> !!! Multiple package instances within a single package slot have been pulled |
6 |
> !!! into the dependency graph, resulting in a slot conflict: |
7 |
> |
8 |
> dev-python/numpy:0 |
9 |
> |
10 |
> (dev-python/numpy-1.5.1::sage-on-gentoo, ebuild scheduled for merge) pulled in by |
11 |
> ~dev-python/numpy-1.5.1 required by (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for merge) |
12 |
> |
13 |
> (dev-python/numpy-1.6.0::gentoo, ebuild scheduled for merge) pulled in by |
14 |
> >=dev-python/numpy-1.5[lapack] required by (sci-libs/scipy-0.9.0-r1::gentoo, ebuild scheduled for merge) |
15 |
> |
16 |
> Any suggestions? |
17 |
> |
18 |
> Thanks! |
19 |
> Thomas |
20 |
> |
21 |
|
22 |
The latter package scipy depends on >=numpy-1.5 whereas sage depends on |
23 |
=numpy-1.5.1. So, simply mask the higher versions of numpy: |
24 |
|
25 |
If you have /etc/portage/package.mask directory then, |
26 |
|
27 |
echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask/mask_numpy |
28 |
|
29 |
otherwise |
30 |
|
31 |
echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask |