Re: Mock build problem

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

 



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 ?
    yummain.main(sys.argv[1:])
  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
    self.doGroupSetup()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 367, in
doGroupSetup
    self.comps.add(groupfile)
  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
http://buildsys.fedoraproject.org/buildgroups/development/i386/)
createrepo -g minimal.xml .

Then try again.

Paul.

-- 
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux