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

Re: Mock build problem

On Fri, 2006-06-16 at 21:58 -0700, cranium2003 wrote: 
> Paul,
>          Got some problems. As per your suggestions i
> successfully created development tree(As i already
> downloaded development repo so instead to give time
> and badwidth for FC5 repo i decides to use development
> repo).
>           Attached is my
> fedora-development-i386-core.cfg. when i gave
> su - build
> mock -r fedora-development-i386-core.cfg foo.src.rpm
> i got following results
> 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
> ending
> done


Traceback (most recent call last):
  File "/usr/libexec/mock-yum", line 12, in ?
  File "/usr/share/yum-cli/yummain.py", line 97, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/cli.py", line 565, in doCommands
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 367, in
  File "/usr/lib/python2.4/site-packages/yum/comps.py", line 337, in add
    for event, elem in parser:
  File "<string>", line 56, in __iter__
SyntaxError: not well-formed (invalid token): line 1, column 0

Looks like a problem with the buildgroups file/repo. Check that your
groups repo is OK:

cd /home/source/fedora/development/core/i386/groups
look at minimal.xml to make sure it's OK
make sure you have buildsys-macros-6-2.fc6.noarch.rpm and
buildsys-macros-6-2.fc6.src.rpm in this directory (you can get them from
createrepo -g minimal.xml .

Then try again.


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