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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 30 сент. 2014 г., at 2:06, Thierry Thomas <thierry@FreeBSD.org> wrote: > Le lun 29 sep 14 à 19:43:52 +0200, Thierry Thomas <thierry@FreeBSD.org> > écrivait : > >>> No idea, I have 11-CURRENT/amd64 here and it fails too. >>> >>> So at least FreeBSD version does not matter. >> >> I'll just build it successfully in poudriere for 92i386 and 10amd64. >> >> To be continued... > > Sorry: I was not testing science/py-scipy! > > 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'! > > Just adding `LDFLAGS+= -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? > > Anyway, this port is full of warnings... > 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. [-- Attachment #2 --] 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 libraryhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D4AA066-D0FE-4F86-9519-4235A4B8D4B8>
