Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295230 - dev-python/numpy and sci-libs/scipy SVN ebuilds
Summary: dev-python/numpy and sci-libs/scipy SVN ebuilds
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2009-11-30 18:17 UTC by Bjoern Olausson
Modified: 2013-09-14 18:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
scipy-9999.ebuild (scipy-9999.ebuild,3.68 KB, text/plain)
2009-11-30 18:18 UTC, Bjoern Olausson
Details
numpy-9999.ebuild (numpy-9999.ebuild,4.53 KB, text/plain)
2009-11-30 18:18 UTC, Bjoern Olausson
Details
scipy-9999.ebuild (based on scipy-0.7.1.ebuild) (scipy-9999.ebuild,4.09 KB, text/plain)
2010-04-13 09:29 UTC, Bjoern Olausson
Details
numpy-9999.ebuild (based on numpy-1.4.0.ebuild) (numpy-9999.ebuild,4.38 KB, text/plain)
2010-04-13 09:30 UTC, Bjoern Olausson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjoern Olausson 2009-11-30 18:17:35 UTC
I needed a CVS version of scipy (waiting for a fix that makes scipy.signal.fftconvolve usable for me) so I decided to quickly hack the official builds.

If you are looking for the files for filesdir, just copy those from the official tree. I just commented out the patches which failed (parisc.patch,  alpha.patch, arm-sh.patch. I have no way to test them anyway).

Just wanted to share the CVS ebuild with the community.

Cheers
Bjoern Olausson

Reproducible: Always




numpy cvs installs fine, but scipy breaks with:

/usr/bin/gfortran -Wall -Wl,-O1 -shared build-2.6/temp.linux-x86_64-2.6/scipy/special/_cephesmodule.o build-2.6/temp.linux-x86_64-2.6/scipy/special/amos_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/specfun_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/toms_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/cdf_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/ufunc_extras.o -L/var/tmp/portage/dev-python/numpy-9999/image/usr/lib64/python2.6/site-packages/numpy/core/lib -L/usr/lib64 -Lbuild-2.6/temp.linux-x86_64-2.6 -lsc_amos -lsc_toms -lsc_c_misc -lsc_cephes -lsc_mach -lsc_cdf -lsc_specfun -lnpymath -lm -lpython2.6 -lgfortran -o build-2.6/lib.linux-x86_64-2.6/scipy/special/_cephes.so                                                                
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnpymath             
collect2: ld returned 1 exit status                                                                              
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnpymath             
collect2: ld returned 1 exit status                                                                              
error: Command "/usr/bin/gfortran -Wall -Wl,-O1 -shared build-2.6/temp.linux-x86_64-2.6/scipy/special/_cephesmodule.o build-2.6/temp.linux-x86_64-2.6/scipy/special/amos_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/specfun_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/toms_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/cdf_wrappers.o build-2.6/temp.linux-x86_64-2.6/scipy/special/ufunc_extras.o -L/var/tmp/portage/dev-python/numpy-9999/image/usr/lib64/python2.6/site-packages/numpy/core/lib -L/usr/lib64 -Lbuild-2.6/temp.linux-x86_64-2.6 -lsc_amos -lsc_toms -lsc_c_misc -lsc_cephes -lsc_mach -lsc_cdf -lsc_specfun -lnpymath -lm -lpython2.6 -lgfortran -o build-2.6/lib.linux-x86_64-2.6/scipy/special/_cephes.so" failed with exit status 1

http://projects.scipy.org/numpy/ticket/1194
Apparently it should be fixed in SVN but... I have to take a closer look how the Gentoo ebuilds handles the install.
Comment 1 Bjoern Olausson 2009-11-30 18:18:26 UTC
Created attachment 211610 [details]
scipy-9999.ebuild
Comment 2 Bjoern Olausson 2009-11-30 18:18:48 UTC
Created attachment 211611 [details]
numpy-9999.ebuild
Comment 3 Jean-Francis Roy 2010-03-23 15:55:10 UTC
Those ebuilds worked just fine. The only exception is for numpy, I had to change:

epatch "${FILESDIR}"/${P}-fenv-freebsd.patch # bug 279487

to:

epatch "${FILESDIR}"/${PN}-1.3.0-fenv-freebsd.patch # bug 279487


I had to use those ebuilds to test a patch for scipy.optimize.newton. A friend of mine found out that this function is twice slower than his implementation because of a function being called two times instead of one (and the first value is never used). He will post a bug report upstreams.
Comment 4 Bjoern Olausson 2010-04-13 09:29:35 UTC
Created attachment 227569 [details]
scipy-9999.ebuild (based on scipy-0.7.1.ebuild)

Just an update.
Comment 5 Bjoern Olausson 2010-04-13 09:30:36 UTC
Created attachment 227571 [details]
numpy-9999.ebuild (based on numpy-1.4.0.ebuild)

Just an update.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-09-14 18:05:01 UTC
Since no developer showed interest in maintaining those for ~4 years, and the bug hasn't seen update for ~3.5 year, let's just close it. Feel free to reopen with fresh ebuilds if you still need it.