mock 0.8.9

Paulo Cavalcanti promac at gmail.com
Sun Dec 9 00:56:20 UTC 2007


On Dec 7, 2007 5:58 AM, Paulo Cavalcanti <promac at gmail.com> wrote:

>
>
> On Dec 7, 2007 5:04 AM, Michael E Brown <Michael_E_Brown at dell.com> wrote:
>
> > On Wed, Dec 05, 2007 at 07:56:11PM -0200, Paulo Cavalcanti wrote:
> > > On Dec 5, 2007 7:45 PM, Ville Skyttä <ville.skytta at iki.fi> wrote:
> > >
> > > > On Wednesday 05 December 2007, Michael E Brown wrote:
> > > > > On Tue, Dec 04, 2007 at 04:59:07PM -0500, Todd Zullinger wrote:
> > > > > > Okay, here's another set of patches to implement --with{,out}
> > options.
> > > > > > I used git-format-patch this time, and probably did it
> > awkwardly.  But
> > > > > > hopefully not too badly.  Just in case (and for non-git users),
> > I'll
> > > > > > also attach a single diff that should apply cleanly to
> > mock-0.8.14.
> > > > > >
> > > > > > Comments and improvements welcome. :)
> > > > >
> > > > > This looks great to me. I've committed this to the repo.
> > > >
> > > > Thanks, guys!  When there's a mock release out with these changes
> > > > (assuming
> > > > they work :)), I think mock has finally caught up with essential
> > features
> > > > in
> > > > mach and I'm ready to start using mock.
> > > >
> > > > <https://www.redhat.com/mailman/listinfo/fedora-devel-list >
> > > >
> > >
> > > The only issue  I have so far is during init:
> > >
> > >
> > > mock -r fedora-7-i386 init
> > >
> > > INFO: mock.py version 0.8.14 starting...
> > > State Changed: init plugins
> > > State Changed: start
> > > State Changed: lock buildroot
> > > State Changed: clean
> > > State Changed: init
> > > State Changed: lock buildroot
> > > INFO: enabled yum cache
> > > State Changed: cleaning yum metadata
> > > INFO: enabled root cache
> > > State Changed: running yum
> > > ERROR: Command failed. See logs for output.
> > >  # mount -n --bind /home/mock/cache/fedora-7-i386/yum_cache/
> > > /home/mock/fedora-7-i386/root/var/cache/yum
> > >
> > >  But if the chroot is already initialized by a previous mock version,
> > them
> > > everything goes fine.
> > >
> > > I have an updated mock rpm if anyone else is willing to try it.
> >
> > Mock 0.8.15 is in updates-stable now and has a fix for this problem.
> >
>
> Thanks!
>
> I installed  mock 0.8.15 yesterday and I did not see any problem yet.
> This version seems to be very good.
>
>
Hi,

The --without option is not working.

I think that

    options.rpmmacros.append("_with_%s 0" % option)

should be replaced for

    options.rpmmacros.append("_without_%s 1" % option)

I am appending a patch to fix it

Thanks.


-- 
Paulo Roma Cavalcanti
LCG - UFRJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20071208/f4be2181/attachment-0002.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: without.txt
Url: http://lists.fedoraproject.org/pipermail/devel/attachments/20071208/f4be2181/attachment-0002.txt 


More information about the devel mailing list