[SciPy-user] RPM building trouble

Michael Reimpell M.Reimpell at tu-bs.de
Tue Oct 5 03:58:25 CDT 2004


> > On fedora core 2 with f2py2e cvs from 2004-10-04, resp.
> > F2PY-2.43.239_1835, python setup.py bdist_rpm --fix-python
> > fails with output:

> Sorry, I wasn't clear enough: to avoid the above error, use
> F2PY-2.43.239_1835 or higher.

It seems to be a problem with rpm. On another (more updated) fedora core 2 
system I managed to build the F2PY rpm from cvs checkout (2004-10-05) without 
any problems.

Also, the Scipy_core rpm is build correctly, however the files 
Scipy_core-0.3.1_132.2180-1.i386.rpm and 
Scipy_core-debuginfo-0.3.1_132.2180-1.i386.rpm
are not moved from build/bdist.linux-i686/rpm/RPMS/i386/
to the dist/ directory

The same problems occurs with building SciPy, which even fails with an 
AssertionError:

moving build/bdist.linux-i686/rpm/SRPMS/SciPy-0.3.1_285.4292-1.src.rpm -> dist
Traceback (most recent call last):
  File "setup.py", line 112, in ?
    setup_package(ignore_packages)
  File "setup.py", line 99, in setup_package
    url = "http://www.scipy.org",
  File "/usr/lib/python2.3/site-packages/scipy_distutils/core.py", line 73, in 
setup
    return old_setup(**new_attr)
  File 
"/usr/src/build/394694-i386/install/usr/lib/python2.3/distutils/core.py", 
line 149, in setup
  File 
"/usr/src/build/394694-i386/install/usr/lib/python2.3/distutils/dist.py", 
line 907, in run_commands
  File 
"/usr/src/build/394694-i386/install/usr/lib/python2.3/distutils/dist.py", 
line 927, in run_command
  File 
"/usr/src/build/394694-i386/install/usr/lib/python2.3/distutils/command/bdist_rpm.py", 
line 316, in run
AssertionError: unexpected number of RPM files found: 
['build/bdist.linux-i686/rpm/RPMS/i386/SciPy-0.3.1_285.4292-1.i386.rpm', 
'build/bdist.linux-i686/rpm/RPMS/i386/SciPy-debuginfo-0.3.1_285.4292-1.i386.rpm']

Building the debuginfo rpm is default behaviour in fedora core 2.

Kind regards,
Michael

Installed rpm versions:
rpm-4.3.1-0.3_27.rhfc2.at
rpm-python-4.3.1-0.3_27.rhfc2.at
rpm-build-4.3.1-0.3_27.rhfc2.at
rpm-devel-4.3.1-0.3_27.rhfc2.at



More information about the SciPy-user mailing list