[SciPy-Dev] Building rpms

Nils Wagner nwagner at iam.uni-stuttgart.de
Wed Jun 9 07:32:28 EDT 2010


On Wed, 9 Jun 2010 18:55:32 +0900
  David Cournapeau <cournape at gmail.com> wrote:
> On Wed, Jun 9, 2010 at 5:05 PM, Nils Wagner
> <nwagner at iam.uni-stuttgart.de> wrote:
>> Hi all,
>>
>> I tried to build rpms from numpy and scipy.
>>
>> It failed with
>>
>> tar -cf dist/numpy-2.0.0.dev8460.tar numpy-2.0.0.dev8460
>> gzip -f9 dist/numpy-2.0.0.dev8460.tar
>> removing 'numpy-2.0.0.dev8460' (and everything under it)
>> copying dist/numpy-2.0.0.dev8460.tar.gz ->
>> build/bdist.linux-x86_64/rpm/SOURCES
>> building RPMs
>> rpm -ba --define _topdir
>> /data/home/nwagner/svn/numpy/build/bdist.linux-x86_64/rpm
>> --clean build/bdist.linux-x86_64/rpm/SPECS/numpy.spec
>> -ba: unknown option
> 
> -ba should be an option for rpmbuild, not rpm. I don't 
>know why
> distutils calls rpm here,
> 
> David
  
Exactly. It looks like a bug in distutils.
However, as soon as I have installed the rpm-build.rpm 
package on CentOS it works for me.

Nils



More information about the SciPy-Dev mailing list