building fc6 rpm of numpy

Albert Strasheim fullung at
Wed Nov 8 17:14:28 CST 2006


On Wed, 08 Nov 2006, Vincent Broman wrote:

> Building an rpm of numpy-1.0.1.dev3432-1 on fedora core 6 is failing for me.
> With either python-2.4.3 or 2.4.4 I try "python bdist_rpm"
> inside the source directory, and everything seems to go well except for
> many "File listed twice" messages for all kinds of files,
> and then at the end there is the error message:
>     error: Installed (but unpackaged) file(s) found
> with a long list of .pyc and .pyo files.
> The same seems to happen to me with the source rpm I downloaded
> from sourceforge. And I vaguely recall the same happening with
> my fedora core 4 + updates, which I had till my recent upgrade to fc6.
> The list or lists of files to install are not in the %files section,
> but are generated dynamically somehow by, but I don't
> know enough about distutils to debug that.
> Anyone succeed with fc6 rpms or have any suggestion?

I also ran into this problem a few days ago. I'm guessing it's a bug in 
either distutils or numpy.distutils.

Anyway, you can hack it to work by putting

%_unpackaged_files_terminate_build 1

in your ~/.rpmmacros. More details here:

With that in place, bdist_rpm works on my FC6 machine. rpm -qpl on the 
RPM seems to indicate a "sane" RPM.



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

More information about the Numpy-discussion mailing list