[SciPy-user] scipy build bdist_rpm

Christian Kristukat ckkart at hoc.net
Fri Jun 23 22:02:56 CDT 2006


Hi,
I tried to build a binary rpm using

python setup.py bdist_rpm

on scipy 0.4.9 and get the following error:

building extension "scipy.fftpack._fftpack" sources
Traceback (most recent call last):
  File "setup.py", line 50, in ?
    setup_package()
  File "setup.py", line 42, in setup_package
    configuration=configuration )
  File "/usr/lib/python2.4/site-packages/numpy/distutils/core.py", line 170, in
setup
    return old_setup(**new_attr)
  File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.4/distutils/command/build.py", line 112, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.4/site-packages/numpy/distutils/command/build_src.py",
line 87, in run
    self.build_sources()
  File "/usr/lib/python2.4/site-packages/numpy/distutils/command/build_src.py",
line 106, in build_sources
    self.build_extension_sources(ext)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/command/build_src.py",
line 218, in build_extension_sources
    sources = self.f2py_sources(sources, ext)
  File "/usr/lib/python2.4/site-packages/numpy/distutils/command/build_src.py",
line 412, in f2py_sources
    raise ValueError("%r missing" % (target_file,))
ValueError: '_fftpackmodule.c' missing
error: Bad exit status from /home/ck/testarea/rpm/tmp/rpm-tmp.24879 (%build)


RPM build errors:
    Bad exit status from /home/ck/testarea/rpm/tmp/rpm-tmp.24879 (%build)
error: command 'rpmbuild' failed with exit status 1

A normal build however runs without problems.

Thanks for any hint, Christian



More information about the SciPy-user mailing list