Gentoo Archives: gentoo-science

From: Andrea Arteaga <andyspiros@×××××.com>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] numpy conflict with sage-on-gentoo
Date: Wed, 30 May 2012 12:06:11
Message-Id: CAPtnn5FzHswO153my5ikM=p-C=406FLqC8fSd=JSw7oVV2RtwA@mail.gmail.com
In Reply to: Re: [gentoo-science] numpy conflict with sage-on-gentoo by P Purkayastha
1 gsl-1.15-r2 is part of the new-style blas/cblas/lapack
2 implementations. If you want to install such an implementation from
3 the science overlay you have to remove the old eselect-blas,
4 eselect-cblas,..., remove also the old implementations (e.g.
5 cblas-reference-20030223) and install the patched eselect package from
6 the sci overlay (version 1.3.1-r1 currently).
7
8 As doing so can be quite much work because many packages could need to
9 be rebuilt, you could stick with the old implementation and mask those
10 present in the sci overlay.
11
12 Cheers
13 Andrea
14
15
16 2012/5/30 P Purkayastha <ppurka@×××××.com>:
17 > On 05/30/2012 05:59 PM, Thomas Kahle wrote:
18 >>
19 >> On 17:27 Wed 30 May 2012, P Purkayastha wrote:
20 >>>
21 >>> On 05/30/2012 05:07 PM, Thomas Kahle wrote:
22 >>>>
23 >>>> Hi,
24 >>>> I'm trying to build sage on gentoo but I get a conflict:
25 >>>>
26 >>>> !!! Multiple package instances within a single package slot have been
27 >>>> pulled
28 >>>> !!! into the dependency graph, resulting in a slot conflict:
29 >>>>
30 >>>> dev-python/numpy:0
31 >>>>
32 >>>>    (dev-python/numpy-1.5.1::sage-on-gentoo, ebuild scheduled for merge)
33 >>>> pulled in by
34 >>>>      ~dev-python/numpy-1.5.1 required by
35 >>>> (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for merge)
36 >>>>
37 >>>>    (dev-python/numpy-1.6.0::gentoo, ebuild scheduled for merge) pulled
38 >>>> in by
39 >>>>      >=dev-python/numpy-1.5[lapack] required by
40 >>>> (sci-libs/scipy-0.9.0-r1::gentoo, ebuild scheduled for merge)
41 >>>>
42 >>>> Any suggestions?
43 >>>>
44 >>>> Thanks!
45 >>>> Thomas
46 >>>>
47 >>>
48 >>> The latter package scipy depends on>=numpy-1.5 whereas sage depends on
49 >>> =numpy-1.5.1. So, simply mask the higher versions of numpy:
50 >>>
51 >>> If you have /etc/portage/package.mask directory then,
52 >>>
53 >>> echo ">dev-python/numpy-1.5.1">>  /etc/portage/package.mask/mask_numpy
54 >>>
55 >>> otherwise
56 >>>
57 >>> echo ">dev-python/numpy-1.5.1">>  /etc/portage/package.mask
58 >>
59 >>
60 >> ... and now it pulls in eselect-cblas and gsl which are blocking each
61 >> other:
62 >>
63 >> [blocks B      ] app-admin/eselect-cblas ("app-admin/eselect-cblas" is
64 >> blocking sci-libs/gsl-1.15-r2)
65 >>
66 >>  * Error: The above package list contains packages which cannot be
67 >>  * installed at the same time on the same system.
68 >>
69 >>   (app-admin/eselect-cblas-0.1::gentoo, ebuild scheduled for merge) pulled
70 >> in by
71 >>     app-admin/eselect-cblas required by
72 >> (sci-libs/cblas-reference-20030223-r4::gentoo, ebuild scheduled for merge)
73 >>
74 >>   (sci-libs/gsl-1.15-r2::science, installed) pulled in by
75 >>     sci-libs/gsl required by (media-gfx/inkscape-0.48.2::gentoo,
76 >> installed)
77 >>     >=sci-libs/gsl-1.15 required by
78 >> (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for merge)
79 >>
80 >> What to do here?
81 >>
82 >>
83 > Not sure about this. The eselect-cblas ebuild doesn't seem to block
84 > anything.
85 >