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

Re: Mock build problem



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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Attachment: fedora-development-i386-core.cfg
Description: 363861165-fedora-development-i386-core.cfg

ensuring dir /var/lib/mock/fedora-development-i386-core/state
Cleaning Root
Executing /usr/sbin/mock-helper umount /var/lib/mock/fedora-development-i386-core/root/proc
umount: /var/lib/mock/fedora-development-i386-core/root/proc: not mounted
Executing /usr/sbin/mock-helper umount /var/lib/mock/fedora-development-i386-core/root/dev/pts
umount: /var/lib/mock/fedora-development-i386-core/root/dev/pts: not mounted
Executing /usr/sbin/mock-helper rm -rfv /var/lib/mock/fedora-development-i386-core
removed `/var/lib/mock/fedora-development-i386-core/state/status'
removed directory: `/var/lib/mock/fedora-development-i386-core/state'
removed `/var/lib/mock/fedora-development-i386-core/result/mockconfig.log'
removed `/var/lib/mock/fedora-development-i386-core/result/build.log'
removed `/var/lib/mock/fedora-development-i386-core/result/root.log'
removed `/var/lib/mock/fedora-development-i386-core/result/.root.log.swp'
removed directory: `/var/lib/mock/fedora-development-i386-core/result'
removed `/var/lib/mock/fedora-development-i386-core/root/etc/fstab'
removed `/var/lib/mock/fedora-development-i386-core/root/etc/hosts'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/etc/yum.repos.d'
removed `/var/lib/mock/fedora-development-i386-core/root/etc/mtab'
removed `/var/lib/mock/fedora-development-i386-core/root/etc/yum.conf'
removed `/var/lib/mock/fedora-development-i386-core/root/etc/resolv.conf'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/etc/rpm'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/etc'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/tmp'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/proc'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/fd'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/full'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/random'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/null'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/zero'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/tty'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/stderr'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/dev/pts'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/ptmx'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/stdin'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/urandom'
removed `/var/lib/mock/fedora-development-i386-core/root/dev/stdout'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/dev'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/updates-released/headers'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/updates-released/packages'
removed `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/updates-released/cachecookie'
removed `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/updates-released/repomd.xml'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/updates-released'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/groups/headers'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/groups/packages'
removed `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/groups/minimal.xml'
removed `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/groups/cachecookie'
removed `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/groups/repomd.xml'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/groups'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/extras/headers'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/extras/packages'
removed `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/extras/cachecookie'
removed `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/extras/repomd.xml'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/extras'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/core/headers'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/core/packages'
removed `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/core/cachecookie'
removed `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/core/repomd.xml'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum/core'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache/yum'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/cache'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/tmp'
removed `/var/lib/mock/fedora-development-i386-core/root/var/log/yum.log'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/log'
removed `/var/lib/mock/fedora-development-i386-core/root/var/lib/rpm/__db.002'
removed `/var/lib/mock/fedora-development-i386-core/root/var/lib/rpm/Name'
removed `/var/lib/mock/fedora-development-i386-core/root/var/lib/rpm/Packages'
removed `/var/lib/mock/fedora-development-i386-core/root/var/lib/rpm/__db.001'
removed `/var/lib/mock/fedora-development-i386-core/root/var/lib/rpm/Providename'
removed `/var/lib/mock/fedora-development-i386-core/root/var/lib/rpm/__db.003'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/lib/rpm'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/lib'
removed `/var/lib/mock/fedora-development-i386-core/root/var/run/yum.pid'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var/run'
removed directory: `/var/lib/mock/fedora-development-i386-core/root/var'
removed directory: `/var/lib/mock/fedora-development-i386-core/root'
removed directory: `/var/lib/mock/fedora-development-i386-core'
ensuring dir /var/lib/mock/fedora-development-i386-core
ensuring dir /var/lib/mock/fedora-development-i386-core/root
ensuring dir /var/lib/mock/fedora-development-i386-core/state
ensuring dir /var/lib/mock/fedora-development-i386-core/result
ensuring dir /var/lib/mock/fedora-development-i386-core
ensuring dir /var/lib/mock/fedora-development-i386-core/root
ensuring dir /var/lib/mock/fedora-development-i386-core/state
ensuring dir /var/lib/mock/fedora-development-i386-core/result
ensuring dir /var/lib/mock/fedora-development-i386-core/root/var/lib/rpm
ensuring dir /var/lib/mock/fedora-development-i386-core/root/var/log
ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev
ensuring dir /var/lib/mock/fedora-development-i386-core/root/etc/rpm
ensuring dir /var/lib/mock/fedora-development-i386-core/root/tmp
ensuring dir /var/lib/mock/fedora-development-i386-core/root/var/tmp
ensuring dir /var/lib/mock/fedora-development-i386-core/root/etc/yum.repos.d
ensuring dir /var/lib/mock/fedora-development-i386-core/root/proc
Executing /usr/sbin/mock-helper mount -t proc proc /var/lib/mock/fedora-development-i386-core/root/proc
ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev/pts
Executing /usr/sbin/mock-helper mount -t devpts devpts /var/lib/mock/fedora-development-i386-core/root/dev/pts
Executing /usr/sbin/mock-helper mknod /var/lib/mock/fedora-development-i386-core/root/dev/null -m 666 c 1 3
Executing /usr/sbin/mock-helper mknod /var/lib/mock/fedora-development-i386-core/root/dev/urandom -m 644 c 1 9
Executing /usr/sbin/mock-helper mknod /var/lib/mock/fedora-development-i386-core/root/dev/random -m 644 c 1 9
Executing /usr/sbin/mock-helper mknod /var/lib/mock/fedora-development-i386-core/root/dev/full -m 666 c 1 7
Executing /usr/sbin/mock-helper mknod /var/lib/mock/fedora-development-i386-core/root/dev/ptmx -m 666 c 5 2
Executing /usr/sbin/mock-helper mknod /var/lib/mock/fedora-development-i386-core/root/dev/tty -m 666 c 5 0
Executing /usr/sbin/mock-helper mknod /var/lib/mock/fedora-development-i386-core/root/dev/zero -m 666 c 1 5
ensuring dir /var/lib/mock/fedora-development-i386-core/root/proc
Executing /usr/sbin/mock-helper mount -t proc proc /var/lib/mock/fedora-development-i386-core/root/proc
mount: proc already mounted or /var/lib/mock/fedora-development-i386-core/root/proc busy
mount: according to mtab, proc is already mounted on /var/lib/mock/fedora-development-i386-core/root/proc
ensuring dir /var/lib/mock/fedora-development-i386-core/root/dev/pts
Executing /usr/sbin/mock-helper mount -t devpts devpts /var/lib/mock/fedora-development-i386-core/root/dev/pts
mount: devpts already mounted or /var/lib/mock/fedora-development-i386-core/root/dev/pts busy
mount: according to mtab, devpts is already mounted on /var/lib/mock/fedora-development-i386-core/root/dev/pts
Executing /usr/sbin/mock-helper yum --installroot /var/lib/mock/fedora-development-i386-core/root groupinstall build
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
Cleaning up...
Executing /usr/sbin/mock-helper umount /var/lib/mock/fedora-development-i386-core/root/proc
Executing /usr/sbin/mock-helper umount /var/lib/mock/fedora-development-i386-core/root/dev/pts
Done.

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