The cvxopt ebuild cannot cope with a blas/lapack not installed under /usr/lib{64}. See the thread on the gentoo-science mailing list: http://thread.gmane.org/gmane.linux.gentoo.science/2057 This is because the ebuild is only interested in the library against which to compile by calling "pkg-config --libs-only-l" unfortunately for acml and probably mkl one also need to set the location of the library "pkg-config --libs-only-L". cvxopt's setup.py has variables for directory locations. Blas and lapack are supposed to live in the same directory according to setup.py (BLAS_LIB_DIR) which isn't a bad assumption and I would be hard pressed to give one were it would matter. Reproducible: Always
Created attachment 367892 [details] proposed ebuild fixing the problem Here is a proposed ebuild fixing the problem. It has been tested by the original reporter of the problem with success.
Please attach a patch against the existing ebuild.
Created attachment 367922 [details, diff] patch to cvxopt-1.1.6.ebuild Here is the patch against 1.1.6. Note that 1.1.5-r2 has exactly the same problem and that the patch should apply there too.
16 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org> +files/cvxopt-1.1.6-glpk.patch, -cvxopt-1.1.5-r2.ebuild, -files/cvxopt-1.1.5-setup.patch, cvxopt-1.1.6.ebuild, metadata.xml: Fixed for glpk versions > 4.49 (bug #473454), fixed for blas/lapck under /opt (bug #498144, thanks kiwifb), removed old (bug #404427, #450992)