Mock build problem
Paul Howarth
paul at city-fan.org
Sat Jun 17 08:31:43 UTC 2006
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.
More information about the fedora-extras-list
mailing list