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

Re: make mockbuild is broken



On Tue, Oct 30, 2007 at 06:59:36PM +0100, Ralf Corsepius wrote:
> On Tue, 2007-10-30 at 18:45 +0100, Ralf Corsepius wrote:
> > 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.
> OK, now I understand.
> 
> The call to mock also lacks a "rebuild", i.e.
> mock -r fedora-8-i386 .... rebuild *.src.rpm

I've sent a patch to makefile.common to fedora-buildsys-list. Didnt know
about this usage of mock, or would have had this fixed up before I
released mock 0.8.
--
Michael


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