koji build failed
Michael Schwendt
mschwendt.tmp0701.nospam at arcor.de
Tue Sep 11 19:33:58 UTC 2007
On Wed, 12 Sep 2007 00:16:12 +0530, subhodip biswas wrote:
> Hi !
>
>
> While building straw 0.27 koji build for dist-fc7 works without error
> However dist-f8 fails with following error :-
> var/tmp/straw-0.27-4-F13608/usr/lib/python2.5/site-packages/straw/constants.py:libdir
> =
> os.path.normpath('/var/tmp/straw-0.27-4-F13608/usr/lib/python2.5/site-packages/straw')
> Found '/var/tmp/straw-0.27-4-F13608' in installed files; aborting
> error: Bad exit status from /var/tmp/rpm-tmp.65277 (%install)
>
>
>
> Tried to fix it with the following
>
> sed -i -e "s@${RPM_BUILD_ROOT}@@" constants.py.in
>
> But No avail
>
> What to do ?
>
> Attached setup.py and constants.py.in ( if required)
You need to find out why and when constants.py (not constants.py.in)
is created with $RPM_BUILD_ROOT filled into it. Then replacing the
buildroot string in the %install section would very likely work. Also
note that the %build section should not do anything with $RPM_BUILD_ROOT
unless it cannot be avoided.
More information about the devel
mailing list