From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-science+bounces-1385-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QRPGh-0005Zu-UX
	for garchives@archives.gentoo.org; Tue, 31 May 2011 13:46:00 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9F5501C145;
	Tue, 31 May 2011 13:44:19 +0000 (UTC)
Received: from homiemail-a3.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145])
	by pigeon.gentoo.org (Postfix) with ESMTP id 6C3241C145
	for <gentoo-science@lists.gentoo.org>; Tue, 31 May 2011 13:44:19 +0000 (UTC)
Received: from homiemail-a3.g.dreamhost.com (localhost [127.0.0.1])
	by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id 4A721284071
	for <gentoo-science@lists.gentoo.org>; Tue, 31 May 2011 06:44:18 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=velodius.com; h=date:from:to
	:subject:message-id:mime-version:content-type; q=dns; s=
	velodius.com; b=WLTZMX7+F3jSwGFdR2TV6mSNST5D0l6639ttMCIa9/lbKJ5a
	maUHTZ3aTECCB9xQ3RePRnyE91ftiwS2I3lnTjh/udzKerNjxYCyLFmHNK/XwZ6n
	VDPuM0cg53zgFuNgBH07/ipXDQzRWwB/oM7WSM+DmHC21UhqqQIb1EChB7U=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=velodius.com; h=date:from
	:to:subject:message-id:mime-version:content-type; s=velodius.com
	; bh=LU/WoHR/YB8YScAfaA0tEXd00vo=; b=Ukpk8hzrXST4YiFgVUCNUePNSXD
	XaR4fwnvxfz7Lzd9gBvxvTMXgyIYOKrxASjbIel7mePYWYa3MmkGk4h8BT8I3Osj
	Jnfrale02dQcvGAypuhHz/6QLh2ok+66XtqCydgmf+Nl8/Id0LlgVlzg0Bx8LxjV
	lJVCV5dIEKrSPMPg=
Received: from pcbox-marc (cisne-cs26.upc.es [147.83.182.26])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: timer@velodius.com)
	by homiemail-a3.g.dreamhost.com (Postfix) with ESMTPSA id 8CA3428406A
	for <gentoo-science@lists.gentoo.org>; Tue, 31 May 2011 06:44:17 -0700 (PDT)
Date: Tue, 31 May 2011 15:44:03 +0200
From: Marc Vinyals <marcvinyals@velodius.com>
To: gentoo-science <gentoo-science@lists.gentoo.org>
Subject: [gentoo-science] sci-libs/scipy-0.9.0-r1 undefined symbol: clapack_sgesv
Message-ID: <20110531154403.0d6f08fd@pcbox-marc>
X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.3; x86_64-pc-linux-gnu)
Precedence: bulk
List-Post: <mailto:gentoo-science@lists.gentoo.org>
List-Help: <mailto:gentoo-science+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-science+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-science+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-science.gentoo.org>
X-BeenThere: gentoo-science@lists.gentoo.org
Reply-to: gentoo-science@lists.gentoo.org
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=PGP-SHA1;
 boundary="Sig_/iqP.8/y_HQK2YY.62PqzKyn"; protocol="application/pgp-signature"
X-Archives-Salt: 
X-Archives-Hash: 83c0a72f758099201944bdccd401603a

--Sig_/iqP.8/y_HQK2YY.62PqzKyn
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi,

While updating sage and python to 4.7 and 2.7, I hit a variation of an
old bug (see http://bugs.gentoo.org/195619): scipy compiles with
lapack-reference but is unusable. Running in python

import scipy.optimize

fails with

[...]
    from scipy.linalg import clapack
ImportError: /usr/lib64/python2.7/site-packages/scipy/linalg/clapack.so:
undefined symbol: clapack_sgesv

I tried rebuilding numpy and scipy with lapack provided (eselect) by
lapack-reference, blas provided by blas-reference, cblas provided by
gsl and with/without clapack with the same result.

Then I tried rebuilding numpy and scipy with lapack, blas and cblas
provided (eselect) by atlas and scipy worked flawlessly.

Should scipy depend on a specific lapack provider instead of a virtual?
Enable it at compile time? Is it an unfortunate combination what fails?

I can provide build logs if you need them.

Best,
Marc.

--Sig_/iqP.8/y_HQK2YY.62PqzKyn
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iEYEARECAAYFAk3k8KcACgkQu4rFT+k3kmTsnwCgnIUV++WRt91jpewNXELxTwUL
SX4An1OcAEWc+3jBncqs7Qf6emL1Kr1c
=09KI
-----END PGP SIGNATURE-----

--Sig_/iqP.8/y_HQK2YY.62PqzKyn--