Problem building srpm & rpm

Paul paul at all-the-johnsons.co.uk
Sun Oct 23 07:58:47 UTC 2005


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]
error: Bad exit status from /var/tmp/rpm-tmp.66567 (%install)

The install section of the spec file looks like this

%install
rm -rf $RPM_BUILD_ROOT
#workaround libtool
ed SRC/libclapack.la <<EOF
s/relink_command=.*/relink_command=''/
w
q
EOF
%{__make} install DESTDIR=$RPM_BUILD_ROOT

The libtool workaround is needed as the original source didn't support
libtool and this may be the problem.

Any ideas on this one?

TTFN

Paul
-- 
"Writing for a penny a word is ridiculous. If a man really wants to make
a million dollars, the best way would be to start his own religion" - L.
Ron Hubbard, an awful Sci-Fi author, WW2 fraud and founder of one of the
world's most evil and insidious cults, Scientology.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20051023/143eff77/attachment.sig>


More information about the fedora-extras-list mailing list