Errors while building Straw

Mamoru Tasaka mtasaka at ioa.s.u-tokyo.ac.jp
Wed Aug 29 04:43:13 UTC 2007


Debarshi 'Rishi' Ray wrote, at 08/29/2007 01:14 PM +9:00:
> http://rishi.fedorapeople.org/straw.spec
> 
> + /usr/lib/rpm/check-buildroot
> /var/tmp/straw-0.27-1.fc8-B10133/usr/lib/python2.5/site-packages/straw/constants.py:libdir
> = os.path.normpath('/var/tmp/straw-0.27-1.fc8-B10133/usr/lib/python2.5/site-packages/straw')
> Found '/var/tmp/straw-0.27-1.fc8-B10133' in installed files; aborting
> error: Bad exit status from /var/tmp/rpm-tmp.96807 (%install)

This means that the installed file "/usr/lib/python2.5/site-packages/straw/constants.py"
contains the string "/var/tmp/straw-0.27-1.fc8-B10133/" (i.e. $RPM_BUILD_ROOT)
and check-buildroot refuses to accept this.

The workarrond can be:
sed -i -e "s@${RPM_BUILD_ROOT}@@" constants.py
However you may want to check what line of the install scripts are causing this.

Regards,
Mamoru




More information about the fedora-devel-list mailing list