On 05/30/2012 05:07 PM, Thomas Kahle wrote:
Hi,
I'm trying to build sage on gentoo but I get a conflict:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-python/numpy:0

   (dev-python/numpy-1.5.1::sage-on-gentoo, ebuild scheduled for merge) pulled 
in by
     ~dev-python/numpy-1.5.1 required by 
(sci-mathematics/sage-5.0-r1::sage-on-gentoo, ebuild scheduled for merge)

   (dev-python/numpy-1.6.0::gentoo, ebuild scheduled for merge) pulled in by
     >=dev-python/numpy-1.5[lapack] required by 
(sci-libs/scipy-0.9.0-r1::gentoo, ebuild scheduled for merge)

Any suggestions?

Thanks!
Thomas


The latter package scipy depends on >=numpy-1.5 whereas sage depends on =numpy-1.5.1. So, simply mask the higher versions of numpy:

If you have /etc/portage/package.mask directory then,

echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask/mask_numpy

otherwise

echo ">dev-python/numpy-1.5.1" >> /etc/portage/package.mask

Reply via email to