FC-7 mockbuild fails/koji build succeeds

Michael Schwendt mschwendt.tmp0701.nospam at arcor.de
Wed Oct 3 09:00:22 UTC 2007


On Wed, 03 Oct 2007 06:42:44 +0200, Ralf Corsepius wrote:

> Hi,
> 
> I am facing what I presume to be caused by a divergence between the
> default set of packages in a built-root in mock and koji:
> 
> 
> koji --scratch building a package succeeds:
> 
> # koji build --scratch --arch=i386 dist-fc7 Coin2-2.5.0-2.fc7.src.rpm
> 
> c.f. http://koji.fedoraproject.org/koji/taskinfo?taskID=181197
> 
> 
> while rebuilding the identical src.rpm in a local mock on FC-7 fails:
> 
> # mock  -r fedora-7-i386.cfg Coin2-2.5.0-2.fc7.src.rpm
> ...
> ./configure: line 37448: cmp: command not found
> ...
> error: Bad exit status from /var/tmp/rpm-tmp.62964 (%build)
> ...
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.62964 (%build)
> ...
> 
> 
> Seemingly, "cmp" is in FC-7's default packages in koji, but not in
> FC-7's mock.

It's the same old "diffutils is missing" problem that has been found
recently. Normally, "rpm-build" used to require "diffutils", because
it uses diff in scripts like check-files. But the RPM update for
F7 and FC6 has dropped the diffutils "Requires" (the %changelog does
not mention that). The mock buildsys build-group pkg needs an
update.




More information about the fedora-devel-list mailing list