On Tue, 2007-10-30 at 17:41 +0000, Paul Howarth wrote:
Ralf Corsepius wrote:
> Hi,
>
> "make mockbuild" in Fedora's CVS is broken (Fedora 7):
>
> # make mockbuild
>
> mock -r fedora-8-i386.cfg
--resultdir=/home/build/src/fedora/pkgs/rpms/perl-Params-Util/F-8/perl-Params-Util-0_30-1_fc8
/home/build/src/fedora/pkgs/rpms/perl-Params-Util/F-8/perl-Params-Util-0.30-1.fc8.src.rpm
> INFO: mock suid wrapper version 0.8.4
> ERROR: Could not find required config file: /etc/mock/fedora-8-i386.cfg.cfg
> make: *** [mockbuild] Error 1
>
> Seems to me, as if Makefile.common's settings do not meet mock's
> expectations. There is one .cfg too much.
It's probably going to need a "rebuild" in front of the SRPM filename too.
?!? Do you mean building the srpm? It's there, I just cut too much in
the posting above.
The culprit for the breakdown is mock being passed
"-r fedora-8-i386.cfg". It (mock-0.8.4-2.fc7) expects fedora-8-i386.
Ralf