1 |
Quoting Thomas Kahle <tomka@g.o>: |
2 |
|
3 |
> On 17:27 Wed 30 May 2012, P Purkayastha wrote: |
4 |
>> On 05/30/2012 05:07 PM, Thomas Kahle wrote: |
5 |
>> > Hi, |
6 |
>> > I'm trying to build sage on gentoo but I get a conflict: |
7 |
>> > |
8 |
>> > !!! Multiple package instances within a single package slot have |
9 |
>> been pulled |
10 |
>> > !!! into the dependency graph, resulting in a slot conflict: |
11 |
>> > |
12 |
>> > dev-python/numpy:0 |
13 |
>> > |
14 |
>> > (dev-python/numpy-1.5.1::sage-on-gentoo, ebuild scheduled for |
15 |
>> merge) pulled in by |
16 |
>> > ~dev-python/numpy-1.5.1 required by |
17 |
>> (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for |
18 |
>> merge) |
19 |
>> > |
20 |
>> > (dev-python/numpy-1.6.0::gentoo, ebuild scheduled for merge) |
21 |
>> pulled in by |
22 |
>> > >=dev-python/numpy-1.5[lapack] required by |
23 |
>> (sci-libs/scipy-0.9.0-r1::gentoo, ebuild scheduled for merge) |
24 |
>> > |
25 |
>> > Any suggestions? |
26 |
>> > |
27 |
>> > Thanks! |
28 |
>> > Thomas |
29 |
>> > |
30 |
>> |
31 |
>> The latter package scipy depends on >=numpy-1.5 whereas sage depends |
32 |
>> on =numpy-1.5.1. So, simply mask the higher versions of numpy: |
33 |
>> |
34 |
>> If you have /etc/portage/package.mask directory then, |
35 |
>> |
36 |
>> echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask/mask_numpy |
37 |
>> |
38 |
>> otherwise |
39 |
>> |
40 |
>> echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask |
41 |
> |
42 |
> ... and now it pulls in eselect-cblas and gsl which are blocking each other: |
43 |
> |
44 |
> [blocks B ] app-admin/eselect-cblas ("app-admin/eselect-cblas" |
45 |
> is blocking sci-libs/gsl-1.15-r2) |
46 |
> |
47 |
> * Error: The above package list contains packages which cannot be |
48 |
> * installed at the same time on the same system. |
49 |
> |
50 |
> (app-admin/eselect-cblas-0.1::gentoo, ebuild scheduled for merge) |
51 |
> pulled in by |
52 |
> app-admin/eselect-cblas required by |
53 |
> (sci-libs/cblas-reference-20030223-r4::gentoo, ebuild scheduled for |
54 |
> merge) |
55 |
> |
56 |
> (sci-libs/gsl-1.15-r2::science, installed) pulled in by |
57 |
> sci-libs/gsl required by (media-gfx/inkscape-0.48.2::gentoo, installed) |
58 |
> >=sci-libs/gsl-1.15 required by |
59 |
> (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for |
60 |
> merge) |
61 |
> |
62 |
I think that's a different problem. You are using blas stuff from the science |
63 |
overlay but the version of cblas-reference from the main tree as a higher |
64 |
version number than the one from the science overlay (3. something?). So you |
65 |
probably have to mask sci-libs/cblas-reference::gentoo. |
66 |
|
67 |
For your original problem, yes portage should solve the conflict, this is very |
68 |
strange, are numpy or scipy part of your world file? |
69 |
|
70 |
Francois |