[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: FC-7 mockbuild fails/koji build succeeds



Ralf Corsepius wrote, at 10/03/2007 01:42 PM +9:00:
> 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.
> 

Umm.. For me mock build of repo fedora-7-i386 with debug option
(i.e. mock -r fedora-7-i386 --debug ..... ) shows buildsys-build
package is pulled from "groups" repo, i.e. from
http://buildsys.fedoraproject.org/buildgroups/7/i386/

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 buildsys-build          noarch     0.8-1.fc7        groups            2.7 k
Installing for dependencies:
 ConsoleKit-libs         i386       0.2.1-2.fc7      fedora             13 k
 MAKEDEV                 i386       3.23-1.2         fedora            135 k

This is because "local" repo (i.e.
http://koji.fedoraproject.org/static-repos/dist-fc7-build-current/i386/ )
is disabled on fedora-7-i386.cfg .

buildsys-build(-1.1.noarch) under "local" repo surely requires
diffutils, while buildsys-build(-0.8-1.fc7) under "groups" repo does not.

Regards
Mamoru


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]