Gentoo Archives: gentoo-science

From: P Purkayastha <ppurka@×××××.com>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] numpy conflict with sage-on-gentoo
Date: Wed, 30 May 2012 12:05:35
Message-Id: 4FC5F609.7080803@gmail.com
In Reply to: Re: [gentoo-science] numpy conflict with sage-on-gentoo by Thomas Kahle
1 On 05/30/2012 05:59 PM, Thomas Kahle wrote:
2 > On 17:27 Wed 30 May 2012, P Purkayastha wrote:
3 >> On 05/30/2012 05:07 PM, Thomas Kahle wrote:
4 >>> Hi,
5 >>> I'm trying to build sage on gentoo but I get a conflict:
6 >>>
7 >>> !!! Multiple package instances within a single package slot have been pulled
8 >>> !!! into the dependency graph, resulting in a slot conflict:
9 >>>
10 >>> dev-python/numpy:0
11 >>>
12 >>> (dev-python/numpy-1.5.1::sage-on-gentoo, ebuild scheduled for merge) pulled in by
13 >>> ~dev-python/numpy-1.5.1 required by (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for merge)
14 >>>
15 >>> (dev-python/numpy-1.6.0::gentoo, ebuild scheduled for merge) pulled in by
16 >>> >=dev-python/numpy-1.5[lapack] required by (sci-libs/scipy-0.9.0-r1::gentoo, ebuild scheduled for merge)
17 >>>
18 >>> Any suggestions?
19 >>>
20 >>> Thanks!
21 >>> Thomas
22 >>>
23 >>
24 >> The latter package scipy depends on>=numpy-1.5 whereas sage depends on
25 >> =numpy-1.5.1. So, simply mask the higher versions of numpy:
26 >>
27 >> If you have /etc/portage/package.mask directory then,
28 >>
29 >> echo ">dev-python/numpy-1.5.1">> /etc/portage/package.mask/mask_numpy
30 >>
31 >> otherwise
32 >>
33 >> echo ">dev-python/numpy-1.5.1">> /etc/portage/package.mask
34 >
35 > ... and now it pulls in eselect-cblas and gsl which are blocking each other:
36 >
37 > [blocks B ] app-admin/eselect-cblas ("app-admin/eselect-cblas" is blocking sci-libs/gsl-1.15-r2)
38 >
39 > * Error: The above package list contains packages which cannot be
40 > * installed at the same time on the same system.
41 >
42 > (app-admin/eselect-cblas-0.1::gentoo, ebuild scheduled for merge) pulled in by
43 > app-admin/eselect-cblas required by (sci-libs/cblas-reference-20030223-r4::gentoo, ebuild scheduled for merge)
44 >
45 > (sci-libs/gsl-1.15-r2::science, installed) pulled in by
46 > sci-libs/gsl required by (media-gfx/inkscape-0.48.2::gentoo, installed)
47 > >=sci-libs/gsl-1.15 required by (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for merge)
48 >
49 > What to do here?
50 >
51 >
52 Not sure about this. The eselect-cblas ebuild doesn't seem to block
53 anything.

Replies

Subject Author
Re: [gentoo-science] numpy conflict with sage-on-gentoo Andrea Arteaga <andyspiros@×××××.com>