Gentoo Archives: gentoo-science

From: Thomas Kahle <tomka@g.o>
To: gentoo-science@l.g.o
Subject: [gentoo-science] Building sage-on-gentoo
Date: Thu, 31 May 2012 09:03:16
Message-Id: 20120531070353.GA8884@schlaumatte.ethz.ch
In Reply to: Re: [gentoo-science] numpy conflict with sage-on-gentoo by fbissey@slingshot.co.nz
1 Hi,
2
3 the tarball for libcliquer moved, it seems:
4
5
6 >>> Emerging (1 of 92) sci-libs/libcliquer-1.2_p7 from sage-on-gentoo
7 * Fetching files in the background. To view fetch progress, run
8 * `tail -f /var/log/emerge-fetch.log` in another terminal.
9 >>> Downloading 'http://sage.math.washington.edu/home/release/sage-4.6/sage-4.6/spkg/standard/cliquer-1.2.p7.spkg'
10 --2012-05-31 09:02:20-- http://sage.math.washington.edu/home/release/sage-4.6/sage-4.6/spkg/standard/cliquer-1.2.p7.spkg
11 Resolving sage.math.washington.edu... 128.208.160.191
12 Connecting to sage.math.washington.edu|128.208.160.191|:80... connected.
13 HTTP request sent, awaiting response... 404 Not Found
14 2012-05-31 09:02:21 ERROR 404: Not Found.
15
16 !!! Couldn't download 'libcliquer-1.2_p7.tar.bz2'. Aborting.
17 * Fetch failed for 'sci-libs/libcliquer-1.2_p7', Log file:
18 * '/var/tmp/portage/sci-libs/libcliquer-1.2_p7/temp/build.log'
19
20 On 06:32 Thu 31 May 2012, fbissey@××××××××××××.nz wrote:
21 > Quoting Thomas Kahle <tomka@g.o>:
22 >
23 > > On 17:27 Wed 30 May 2012, P Purkayastha wrote:
24 > >> On 05/30/2012 05:07 PM, Thomas Kahle wrote:
25 > >> > Hi,
26 > >> > I'm trying to build sage on gentoo but I get a conflict:
27 > >> >
28 > >> > !!! Multiple package instances within a single package slot have
29 > >> been pulled
30 > >> > !!! into the dependency graph, resulting in a slot conflict:
31 > >> >
32 > >> > dev-python/numpy:0
33 > >> >
34 > >> > (dev-python/numpy-1.5.1::sage-on-gentoo, ebuild scheduled for
35 > >> merge) pulled in by
36 > >> > ~dev-python/numpy-1.5.1 required by
37 > >> (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for
38 > >> merge)
39 > >> >
40 > >> > (dev-python/numpy-1.6.0::gentoo, ebuild scheduled for merge)
41 > >> pulled in by
42 > >> > >=dev-python/numpy-1.5[lapack] required by
43 > >> (sci-libs/scipy-0.9.0-r1::gentoo, ebuild scheduled for merge)
44 > >> >
45 > >> > Any suggestions?
46 > >> >
47 > >> > Thanks!
48 > >> > Thomas
49 > >> >
50 > >>
51 > >> The latter package scipy depends on >=numpy-1.5 whereas sage depends
52 > >> on =numpy-1.5.1. So, simply mask the higher versions of numpy:
53 > >>
54 > >> If you have /etc/portage/package.mask directory then,
55 > >>
56 > >> echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask/mask_numpy
57 > >>
58 > >> otherwise
59 > >>
60 > >> echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask
61 > >
62 > > ... and now it pulls in eselect-cblas and gsl which are blocking each other:
63 > >
64 > > [blocks B ] app-admin/eselect-cblas ("app-admin/eselect-cblas"
65 > > is blocking sci-libs/gsl-1.15-r2)
66 > >
67 > > * Error: The above package list contains packages which cannot be
68 > > * installed at the same time on the same system.
69 > >
70 > > (app-admin/eselect-cblas-0.1::gentoo, ebuild scheduled for merge)
71 > > pulled in by
72 > > app-admin/eselect-cblas required by
73 > > (sci-libs/cblas-reference-20030223-r4::gentoo, ebuild scheduled for
74 > > merge)
75 > >
76 > > (sci-libs/gsl-1.15-r2::science, installed) pulled in by
77 > > sci-libs/gsl required by (media-gfx/inkscape-0.48.2::gentoo, installed)
78 > > >=sci-libs/gsl-1.15 required by
79 > > (sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for
80 > > merge)
81 > >
82 > I think that's a different problem. You are using blas stuff from the science
83 > overlay but the version of cblas-reference from the main tree as a higher
84 > version number than the one from the science overlay (3. something?). So you
85 > probably have to mask sci-libs/cblas-reference::gentoo.
86 >
87 > For your original problem, yes portage should solve the conflict, this is very
88 > strange, are numpy or scipy part of your world file?
89 >
90 > Francois
91 >
92 >
93 >
94
95 --
96 Thomas Kahle
97 http://dev.gentoo.org/~tomka/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-science] Building sage-on-gentoo Christopher Schwan <cschwan@××××××××××××××××××.de>