Mock build problem

cranium2003 cranium2003 at yahoo.com
Thu Jun 15 08:48:23 UTC 2006


hi,
--- Paul Howarth <paul at city-fan.org> wrote:

> On Wed, 2006-06-14 at 21:10 -0700, cranium2003
> wrote:
> > Hi,
> >      I used fedora-mirror.py and downloaded all
> > repository of FC5 core. Then i created repository
> on
> > downloaded rpms by 
> > createrepo Fedora
> > Then i modified fedora-5-i386-core.cfg to have my
> > localpath of repository to be used to build
> package in
> > mock. But still facing issue
> > 
> > e.g. when i did su- build and tried to rebuild
> > kdenetwork application i got 
> >
> ====================================================
> > [build at localhost SRPMS]$ mock -r
> > fedora-5-i386-core.cfg kdenetwork-3.5.3-2.src.rpm
> > init
> > clean
> > prep
> > This may take a while
> > Error peforming yum command: /usr/sbin/mock-helper
> yum
> > --installroot
> > /var/lib/mock/fedora-development-i386-core/root
> > groupinstall build-minimal build-base build
> > ending
> > done
> >
>
========================================================
> > 
> > I am attaching my mock, log files here.
> >     wht now i need to use mock command on local
> system
> > to build package
> 
> ...
> 
> > Executing /usr/sbin/mock-helper yum
> --installroot
> /var/lib/mock/fedora-development-i386-core/root
> groupinstall build-minimal build-base build
> > Cannot find a valid baseurl for repo: extras
> > Error: Cannot find a valid baseurl for repo:
> extras
> 
> yum has failed to access the Extras repo. If you
> want to run mock
> without downloading things from the Internet, you'll
> will need local
> mirrors of *all* the repos specified in your mock
> configuration file.
> 

  Do i need extras repo also to use mock?? I did what
u said from fedora-mirror.py. That script downloaded
all core repo successfully but said no repo found for
extras so unable to download as i gave to download
only core in mirror script.
 
  

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fedora-mirror.py
Type: application/octet-stream
Size: 4734 bytes
Desc: 2058674682-fedora-mirror.py
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060615/4f5a4fce/attachment.obj>


More information about the fedora-extras-list mailing list