Description of problem:
When trying to build python-matplotlib on a newly installed CentOS 5 machine, the build fails mid way due to missing dependencies
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install a minimal CentOS 5
2. download python-matplotlib source RPM
3. install all the dependencies listed in BuildRequires and try to build matplotlib
The build fails to complete due to missing numpy development packages, and when that is satisfied it fails to build when it tries to use gcc to compile a c++ file.
The build should complete successfully.
The RPM spec files should list numpy-devel and gcc-c++ as a build requirements.
First, let me state that as per Fedora packaging guidance gcc-c++ is purposefully not part of the build requirements for any package.
For reference, please see:
there are alternative compilers than gcc available for users. We try hard to to require any specific compiler and expect sysadmins to have prepped a build environment.
If you want to replicate the fedora build environment, I would suggest you look at using mock locally to prep a clean Fedora assumed environment.
As for the numpy-devel, I'm not sure what to tell you there. Makes you wonder how this got through the build system back when this was build originally. Maybe some other updated packages moved their devel bits around.
For reference when I do a scratch build in koji from the git checkout of the packaging bits:
fedpkg build --scratch
I get a clean build.
This builds cleanly against the fedora buildsystem and if you look at the logs numpy is sufficient according to the koji build. Weird.
can you give me the full package name for the numpy you have installed?
numpy-devel does not appear to exist as a package for RHEL 5. Soooooo I have to wonder, is that maybe a numpy package you picked up out of tree?
I'm closing this bug. I can't adjust the packaging for an EPEL package for builddeps which don't exist in the target build environment.