Problem building srpm & rpm

Michael Schwendt bugs.michael at gmx.net
Sun Oct 23 11:42:31 UTC 2005


On Sun, 23 Oct 2005 08:58:47 +0100, Paul wrote:

> Hi,
> 
> I'm building pygame. This relies on Numeric which in turn depends on
> clapack. I have the sources for clapack and have written a spec file for
> it which works. The problem is, the build doesn't.
> 
> I'm getting the following at the end and I'm not sure how to fix it
> 
> + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
> ************************************************************************
> * 
> * Warning: 'check-rpaths' detected a broken RPATH and will cause
> 'rpmbuild' to fail. To ignore these errors, you can set the '$QA_RPATHS'
> environment variable which is a bitmask allowing the values below. The
> current valuse of QA_RPATHS is 0x0000
> 
> (followed by the  bitmasks)
> 
> ERROR: file '/usr/lib/libclapack.so.3.0.0' contains an invalid rpath
> '/home/paul/rpmbuild/BUILD/CLAPACK/BLAS/SRC/.libs' in
> [/home/paul/rpmbuild/BUILD/CLAPACK/BLAS/SRC/.libs]

Examine how /usr/lib/libclapack.so.3.0.0 is linked. Patch the
Makefiles (or build-backend) to not include an RPATH. Also look
whether the configure script supports a working --disable-rpath
option.




More information about the fedora-extras-list mailing list