Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194708 - sci-libs/scipy-0.6.0 - fftw support broken
Summary: sci-libs/scipy-0.6.0 - fftw support broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-04 13:40 UTC by David Heavens
Modified: 2007-10-05 14:03 UTC (History)
0 users

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


Attachments
renames function zfftnd_mkl to zfftnd_fftw (scipy-0.6.0-zfftnd_fftw.patch,414 bytes, patch)
2007-10-04 13:42 UTC, David Heavens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Heavens 2007-10-04 13:40:15 UTC
in sci-libs/scipy-0.6.0 fftw support is broken, this affects all archs and platforms.

the offending file is scipy-0.6.0/scipy/fftpack/src/zfftnd_fftw.c with the offending function being miss named (hence a trivial patch), this is fixed in svn trunk but the release (scipy-0.6.0) is broken with regards to fft functionality (signal processing, etc).

Reproducible: Always

Steps to Reproduce:
1. USE=fftw emerge =sci-libs/scipy-0.6.0
2. in a python shell run,
>>> import scipy
>>> from scipy import signal
Actual Results:  
see nasty output like,
Traceback (most recent call last):
  File "filtfilt.py", line 2, in ?
    from scipy.signal import lfilter
  File "/usr/lib64/python2.4/site-packages/scipy/signal/__init__.py", line 12, in ?
    from signaltools import *
  File "/usr/lib64/python2.4/site-packages/scipy/signal/signaltools.py", line 7, in ?
    from scipy.fftpack import fft, ifft, ifftshift, fft2, ifft2
  File "/usr/lib64/python2.4/site-packages/scipy/fftpack/__init__.py", line 10, in ?
    from basic import *
  File "/usr/lib64/python2.4/site-packages/scipy/fftpack/basic.py", line 13, in ?
    import _fftpack as fftpack
ImportError: /usr/lib64/python2.4/site-packages/scipy/fftpack/_fftpack.so: undefined symbol: zfftnd_fftw


Expected Results:  
to see a prompt to then be able to run my signal processing code.

either apply a change like http://projects.scipy.org/scipy/scipy/changeset/3306#file0 to scipy-0.6.0/scipy/fftpack/src/zfftnd_fftw.c or compile without fftw support.
Comment 1 David Heavens 2007-10-04 13:42:44 UTC
Created attachment 132560 [details, diff]
renames function zfftnd_mkl to zfftnd_fftw

this is fixed upstream in the development svn, see, http://projects.scipy.org/scipy/scipy/changeset/3306#file0
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-10-05 14:03:13 UTC
Thank you very much for pointing this out and your patch.
I've fixed the issue in scipy-0.6.0-r1.

cheers,
Markus