Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 11:23:17 +0400
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        Thierry Thomas <thierry@FreeBSD.org>, python@freebsd.org, Antoine Brodin <antoine@FreeBSD.org>
Subject:   Re: svn commit: r369447 - head/math/py-numpy
Message-ID:  <6D4AA066-D0FE-4F86-9519-4235A4B8D4B8@FreeBSD.org>
In-Reply-To: <20140929220609.GK22824@graf.pompo.net>
References:  <CAALwa8nfsijADS0kFaUwTiRQ-LeLhmHJ8mOK55PPJ9BwmR8V3w@mail.gmail.com> <62DE6FC0-81E3-4948-8EEC-E117F8804C47@FreeBSD.org> <20140929171014.Horde.YYy7h3WioJML_Df5UL6LGw1@graf.pompo.net> <98696AA7-E23D-46BF-854C-DAAB0FEAE9CC@FreeBSD.org> <20140929174352.GH22824@graf.pompo.net> <20140929220609.GK22824@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_3FC90C82-8660-425F-BA2D-ABCEDF0FD5D0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


On 30 =D1=81=D0=B5=D0=BD=D1=82. 2014 =D0=B3., at 2:06, Thierry Thomas =
<thierry@FreeBSD.org> wrote:

> Le lun 29 sep 14 =C3=A0 19:43:52 +0200, Thierry Thomas =
<thierry@FreeBSD.org>
> =C3=A9crivait :
>=20
>>> No idea, I have 11-CURRENT/amd64 here and it fails too.
>>>=20
>>> So at least FreeBSD version does not matter.
>>=20
>> I'll just build it successfully in poudriere for 92i386 and 10amd64.
>>=20
>> To be continued...
>=20
> Sorry: I was not testing science/py-scipy!
>=20
> Now I have been able to reproduce the failure and to fix it: I don't
> really understand why, but it builds libraries without '-shared'!
>=20
> Just adding `LDFLAGS+=3D -shared' fixes it (see the attached patch).
> I'm not sure if this is related to the patch of numpy or to the =
upgrade
> of Gcc 4.7 to 4.8?
>=20
> Anyway, this port is full of warnings...
>=20

Thanks, Thierry.

See also =
http://package20.nyi.freebsd.org/data/91amd64-default-baseline/369506/logs=
/errors/py27-symeig-1.5_1.log
Looks like the same issue.


--Apple-Mail=_3FC90C82-8660-425F-BA2D-ABCEDF0FD5D0
Content-Disposition: attachment;
	filename=py-scipy.diff
Content-Type: application/octet-stream;
	name="py-scipy.diff"
Content-Transfer-Encoding: 7bit

diff -urN science/py-scipy.orig/Makefile science/py-scipy/Makefile
--- science/py-scipy.orig/Makefile	2014-09-11 21:07:47.000000000 +0200
+++ science/py-scipy/Makefile	2014-09-29 23:54:33.000000000 +0200
@@ -26,6 +26,8 @@
 USES=		fortran python
 USE_PYTHON=	distutils autoplist concurrent
 
+LDFLAGS+=	-shared
+
 OPTIONS_DEFINE=	ATLAS DOCS SUITESPARSE
 OPTIONS_DEFAULT=SUITESPARSE
 ATLAS_DESC=	Use optimized blas library

--Apple-Mail=_3FC90C82-8660-425F-BA2D-ABCEDF0FD5D0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D4AA066-D0FE-4F86-9519-4235A4B8D4B8>