Chitlesh GOORAH wrote:
Hello,
I am trying to push knetstats to FE.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=193929
but with rpmbuild -ba knetstats.spec, Im failing on to
ERROR 0001: file '/usr/bin/knetstats' contains a standard rpath
'/usr/lib' in [/usr/lib/qt-3.3/lib:/usr/lib/kde3:/usr/lib]
error: Bad exit status from /var/tmp/rpm-tmp.38355 (%install)
and I have to do QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba
knetstats.spec so that It builds successfully.
Using QA_RPATHS just masks the problem, it doesn't fix it. You could
probably patch the SConstruct file to disable rpath, in other words this
line:
env.KDEuse("environ rpath")
might be better as
env.KDEuse("environ")
On first glance, I've noticed other problems with the spec, but see your
BZ page for that.
--
Ian Chapman.
--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list