Hello,
when I try to build an package mock will fail with: ERROR: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. At the root.log: 2008-01-18 09:48:01,860 - DEBUG trace_decorator.py, Line: 20: ENTER: doChroot((<mock.backend.Root object at 0xb7dc8e8c>, '/usr/sbin/grou padd -g 102 mockbuild', ''), {}) 2008-01-18 09:48:01,861 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('/usr/sbin/groupadd -g 102 mockbuild', '/var/lib/mock/fedora-de velopment-i386/root', 0, True, 0, None, None, None, None), {}) 2008-01-18 09:48:01,862 - DEBUG util.py, Line: 212: Run cmd: /usr/sbin/groupadd -g 102 mockbuild 2008-01-18 09:48:01,862 - DEBUG util.py, Line: 218: Executing timeout(0): /usr/sbin/groupadd -g 102 mockbuild 2008-01-18 09:48:01,866 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-18 09:48:01,869 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-18 09:48:01,870 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot(('/var/lib/mock/fedora-development-i386/root', None), {} ) 2008-01-18 09:48:01,871 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-18 03:48:01,872 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-18 03:48:01,873 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-18 09:48:01,973 - DEBUG util.py, Line: 234: groupadd: name mockbuild is not unique 2008-01-18 09:48:01,977 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs f or output.
Any ideas, what goes wrong??
Frank
On Fri, Jan 18, 2008 at 09:53:48AM +0100, Frank Büttner wrote:
Hello,
when I try to build an package mock will fail with: ERROR: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. At the root.log: 2008-01-18 09:48:01,860 - DEBUG trace_decorator.py, Line: 20: ENTER: doChroot((<mock.backend.Root object at 0xb7dc8e8c>, '/usr/sbin/grou padd -g 102 mockbuild', ''), {}) 2008-01-18 09:48:01,861 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('/usr/sbin/groupadd -g 102 mockbuild', '/var/lib/mock/fedora-de velopment-i386/root', 0, True, 0, None, None, None, None), {}) 2008-01-18 09:48:01,862 - DEBUG util.py, Line: 212: Run cmd: /usr/sbin/groupadd -g 102 mockbuild 2008-01-18 09:48:01,862 - DEBUG util.py, Line: 218: Executing timeout(0): /usr/sbin/groupadd -g 102 mockbuild 2008-01-18 09:48:01,866 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-18 09:48:01,869 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-18 09:48:01,870 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot(('/var/lib/mock/fedora-development-i386/root', None), {} ) 2008-01-18 09:48:01,871 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-18 03:48:01,872 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-18 03:48:01,873 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-18 09:48:01,973 - DEBUG util.py, Line: 234: groupadd: name mockbuild is not unique 2008-01-18 09:48:01,977 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs f or output.
Any ideas, what goes wrong??
The latest version of mock is 0.8.19. Have you tried upgrading? -- Michael
Frank Büttner schrieb:
Michael E Brown schrieb: tput.
Any ideas, what goes wrong??
The latest version of mock is 0.8.19. Have you tried upgrading?
Michael
Not at the EPEL 5 Repo, there is the last one 0.8.9, but I can try to install 0.8.19 from F-7/8.
So tested, but the install fails, because of missing python deps. mock 0.8.19 will use python 2.5 but EPEL 5 comes with 2.4:(
On Fri, 2008-01-18 at 09:53 +0100, Frank Büttner wrote:
Hello,
when I try to build an package mock will fail with:
...
2008-01-18 09:48:01,973 - DEBUG util.py, Line: 234: groupadd: name mockbuild is not unique 2008-01-18 09:48:01,977 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs f or output.
Any ideas, what goes wrong??
Please delete /var/mock/* and try again. In case you won't succeed, please open a bug report in bugzilla.
Thanks,
Lubomir Kundrak schrieb:
On Fri, 2008-01-18 at 09:53 +0100, Frank Büttner wrote:
Hello,
when I try to build an package mock will fail with:
...
2008-01-18 09:48:01,973 - DEBUG util.py, Line: 234: groupadd: name mockbuild is not unique 2008-01-18 09:48:01,977 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs f or output.
Any ideas, what goes wrong??
Please delete /var/mock/* and try again. In case you won't succeed, please open a bug report in bugzilla.
Thanks,
The directory /var/mock* don't exist. Do you mean /var/lib/mock* ??
Frank
On Sat, 2008-01-19 at 22:02 +0100, Frank Büttner wrote:
Lubomir Kundrak schrieb:
On Fri, 2008-01-18 at 09:53 +0100, Frank Büttner wrote:
Hello,
when I try to build an package mock will fail with:
...
2008-01-18 09:48:01,973 - DEBUG util.py, Line: 234: groupadd: name mockbuild is not unique 2008-01-18 09:48:01,977 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs f or output.
Any ideas, what goes wrong??
Please delete /var/mock/* and try again. In case you won't succeed, please open a bug report in bugzilla.
Thanks,
The directory /var/mock* don't exist. Do you mean /var/lib/mock* ??
Yes, you're right, I've mistaken.
Lubomir Kundrak schrieb:
On Sat, 2008-01-19 at 22:02 +0100, Frank Büttner wrote:
Lubomir Kundrak schrieb:
On Fri, 2008-01-18 at 09:53 +0100, Frank Büttner wrote:
Hello,
when I try to build an package mock will fail with:
...
2008-01-18 09:48:01,973 - DEBUG util.py, Line: 234: groupadd: name mockbuild is not unique 2008-01-18 09:48:01,977 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs f or output.
Any ideas, what goes wrong??
Please delete /var/mock/* and try again. In case you won't succeed, please open a bug report in bugzilla.
Thanks,
The directory /var/mock* don't exist. Do you mean /var/lib/mock* ??
Yes, you're right, I've mistaken.
Ok testet, now an mock init fails with: mock -r fedora-4-i386-epel init INFO: mock.py version 0.8.9 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot State Changed: clean State Changed: init ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/util.py", line 42, in mkdirIfAbsent os.makedirs(dir) File "/usr/lib/python2.4/os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result'
Hi Frank,
On Sun, 2008-01-20 at 18:31 +0100, Frank Büttner wrote: ...
Ok testet, now an mock init fails with: mock -r fedora-4-i386-epel init INFO: mock.py version 0.8.9 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot State Changed: clean State Changed: init ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/util.py", line 42, in mkdirIfAbsent os.makedirs(dir) File "/usr/lib/python2.4/os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result'
Does your /var/lib/mock have correct permissions? If you deleted it and recreated it, please make sure that it is owned by "mock" group, is group writable, and has a setgid bit set:
drwxrwsr-x 2 root mock 4096 2008-01-20 13:54 /var/lib/mock
Thanks,
Frank Büttner schrieb:
Ok testet, now an mock init fails with: mock -r fedora-4-i386-epel init INFO: mock.py version 0.8.9 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot State Changed: clean State Changed: init ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/util.py", line 42, in mkdirIfAbsent os.makedirs(dir) File "/usr/lib/python2.4/os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result'
This was resolved.(the permission of /var/lib/mock) But now I get this: ERROR: Bad build req: No Package Found for ccache. Exiting.
On Sun, 2008-01-20 at 18:50 +0100, Frank Büttner wrote:
Frank Büttner schrieb:
Ok testet, now an mock init fails with: mock -r fedora-4-i386-epel init INFO: mock.py version 0.8.9 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot State Changed: clean State Changed: init ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/util.py", line 42, in mkdirIfAbsent os.makedirs(dir) File "/usr/lib/python2.4/os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result'
This was resolved.(the permission of /var/lib/mock) But now I get this: ERROR: Bad build req: No Package Found for ccache. Exiting.
I (on Fedora 8) and also mock-0.8.9 have the following in /etc/mock/fedora-4-i386-epel.cfg:
# ccache not available on epel4 config_opts['plugin_conf']['ccache_enable'] = False
Do you see it in your configuration file? If not, please compare it with distribution one and make the appropriate changes. In case the lines are present, please upload your complete build logs somewhere, so we can try to find you what was trying to pull ccache in.
Thanks,
Lubomir Kundrak schrieb: : Bad build req: No Package Found for ccache. Exiting.
I (on Fedora 8) and also mock-0.8.9 have the following in /etc/mock/fedora-4-i386-epel.cfg:
# ccache not available on epel4 config_opts['plugin_conf']['ccache_enable'] = False
Do you see it in your configuration file? If not, please compare it with distribution one and make the appropriate changes. In case the lines are present, please upload your complete build logs somewhere, so we can try to find you what was trying to pull ccache in.
Thanks,
So, this line was missing, so I add this. Now I get this error: ERROR: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/backend.py", line 448, in _yum output = mock.util.do(cmd, returnOutput=returnOutput, personality=self.personality) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 260, in do raise mock.exception.Error, "Command(%s) failed. See logs for output." % command Error: Command(/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update) failed. See logs for output. In the log I see only the same line. I have append the log file.
Thanks for your help.
2008-01-20 19:30:14,476 - DEBUG trace_decorator.py, Line: 30: LEAVE _resetLogging --> None
2008-01-20 19:30:14,477 - DEBUG backend.py, Line: 176: rootdir = /var/lib/mock/epel-4-i386/root 2008-01-20 19:30:14,479 - DEBUG backend.py, Line: 177: resultdir = /var/lib/mock/epel-4-i386/result 2008-01-20 19:30:14,479 - DEBUG trace_decorator.py, Line: 20: ENTER: _callHooks((<mock.backend.Root object at 0xb7dd6e4c>, 'preinit'), {}) 2008-01-20 19:30:14,480 - DEBUG trace_decorator.py, Line: 20: ENTER: _ccachePreInitHook((<ccache.CCache object at 0xb7dd6e2c>,), {}) 2008-01-20 19:30:14,481 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/tmp/ccache',), {}) 2008-01-20 19:30:14,481 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/tmp/ccache 2008-01-20 19:30:14,482 - DEBUG util.py, Line: 41: creating dir: /var/lib/mock/epel-4-i386/root/tmp/ccache 2008-01-20 19:30:14,483 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:14,484 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/cache/epel-4-i386/ccache/',), {}) 2008-01-20 19:30:14,484 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/cache/epel-4-i386/ccache/ 2008-01-20 19:30:14,485 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:14,486 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/cc'), {}) 2008-01-20 19:30:14,486 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,487 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-cc'), {}) 2008-01-20 19:30:14,488 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,489 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-cc'), {}) 2008-01-20 19:30:14,489 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,490 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/gcc'), {}) 2008-01-20 19:30:14,491 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,492 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-gcc'), {}) 2008-01-20 19:30:14,493 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,494 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-gcc'), {}) 2008-01-20 19:30:14,495 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,495 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/gcc296'), {}) 2008-01-20 19:30:14,496 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,497 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-gcc296'), {}) 2008-01-20 19:30:14,498 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,498 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-gcc296'), {}) 2008-01-20 19:30:14,499 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,500 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/gcc32'), {}) 2008-01-20 19:30:14,501 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,502 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-gcc32'), {}) 2008-01-20 19:30:14,503 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,503 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-gcc32'), {}) 2008-01-20 19:30:14,504 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,505 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/gcc33'), {}) 2008-01-20 19:30:14,506 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,506 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-gcc33'), {}) 2008-01-20 19:30:14,507 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,508 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-gcc33'), {}) 2008-01-20 19:30:14,509 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,509 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/gcc34'), {}) 2008-01-20 19:30:14,510 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,511 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-gcc34'), {}) 2008-01-20 19:30:14,512 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,513 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-gcc34'), {}) 2008-01-20 19:30:14,513 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,514 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/g++'), {}) 2008-01-20 19:30:14,515 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,516 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-g++'), {}) 2008-01-20 19:30:14,516 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,517 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-g++'), {}) 2008-01-20 19:30:14,518 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,519 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/c++'), {}) 2008-01-20 19:30:14,520 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,521 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-c++'), {}) 2008-01-20 19:30:14,522 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,523 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-c++'), {}) 2008-01-20 19:30:14,524 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,525 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/c++32'), {}) 2008-01-20 19:30:14,526 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,526 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-c++32'), {}) 2008-01-20 19:30:14,527 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,528 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-c++32'), {}) 2008-01-20 19:30:14,530 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,530 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/c++33'), {}) 2008-01-20 19:30:14,531 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,532 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-c++33'), {}) 2008-01-20 19:30:14,533 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,541 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-c++33'), {}) 2008-01-20 19:30:14,542 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,543 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/c++34'), {}) 2008-01-20 19:30:14,544 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,544 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-c++34'), {}) 2008-01-20 19:30:14,545 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,546 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-c++34'), {}) 2008-01-20 19:30:14,547 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,548 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/g++296'), {}) 2008-01-20 19:30:14,548 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,549 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-g++296'), {}) 2008-01-20 19:30:14,551 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,552 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-g++296'), {}) 2008-01-20 19:30:14,552 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,553 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/g++32'), {}) 2008-01-20 19:30:14,554 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,555 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-g++32'), {}) 2008-01-20 19:30:14,555 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,556 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-g++32'), {}) 2008-01-20 19:30:14,557 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,559 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/g++33'), {}) 2008-01-20 19:30:14,560 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,560 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-g++33'), {}) 2008-01-20 19:30:14,563 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,564 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-g++33'), {}) 2008-01-20 19:30:14,566 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,567 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/g++34'), {}) 2008-01-20 19:30:14,568 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,569 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-g++34'), {}) 2008-01-20 19:30:14,569 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,570 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-g++34'), {}) 2008-01-20 19:30:14,571 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,572 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/g++-libstdc++-so_7'), {}) 2008-01-20 19:30:14,572 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,573 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/x86_64-redhat-linux-g++-libstdc++-so_7'), {}) 2008-01-20 19:30:14,574 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,575 - DEBUG trace_decorator.py, Line: 20: ENTER: forceLink(('/usr/bin/ccache', '/var/lib/mock/cache/epel-4-i386/ccache/i386-redhat-linux-g++-libstdc++-so_7'), {}) 2008-01-20 19:30:14,575 - DEBUG trace_decorator.py, Line: 30: LEAVE forceLink --> None
2008-01-20 19:30:14,576 - DEBUG trace_decorator.py, Line: 30: LEAVE _ccachePreInitHook --> None
2008-01-20 19:30:14,577 - DEBUG trace_decorator.py, Line: 20: ENTER: _yumCachePreInitHook((<yum_cache.YumCache object at 0xb7dd6e8c>,), {}) 2008-01-20 19:30:14,577 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/var/cache/yum',), {}) 2008-01-20 19:30:14,578 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/var/cache/yum 2008-01-20 19:30:14,579 - DEBUG util.py, Line: 41: creating dir: /var/lib/mock/epel-4-i386/root/var/cache/yum 2008-01-20 19:30:14,580 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:14,581 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/cache/epel-4-i386/yum_cache/',), {}) 2008-01-20 19:30:14,581 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/cache/epel-4-i386/yum_cache/ 2008-01-20 19:30:14,582 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:14,584 - DEBUG trace_decorator.py, Line: 20: ENTER: _yumCachePreYumHook((<yum_cache.YumCache object at 0xb7dd6e8c>,), {}) 2008-01-20 19:30:14,584 - DEBUG trace_decorator.py, Line: 30: LEAVE _yumCachePreYumHook --> None
2008-01-20 19:30:14,585 - DEBUG trace_decorator.py, Line: 20: ENTER: state((<mock.backend.Root object at 0xb7dd6e4c>, 'enabled yum cache, cleaning yum metadata'), {}) 2008-01-20 19:30:14,587 - DEBUG trace_decorator.py, Line: 30: LEAVE state --> enabled yum cache, cleaning yum metadata
2008-01-20 19:30:14,675 - DEBUG trace_decorator.py, Line: 20: ENTER: _yumCachePostYumHook((<yum_cache.YumCache object at 0xb7dd6e8c>,), {}) 2008-01-20 19:30:14,675 - DEBUG trace_decorator.py, Line: 30: LEAVE _yumCachePostYumHook --> None
2008-01-20 19:30:14,676 - DEBUG trace_decorator.py, Line: 30: LEAVE _yumCachePreInitHook --> None
2008-01-20 19:30:14,676 - DEBUG trace_decorator.py, Line: 20: ENTER: _rootCachePreInitHook((<root_cache.RootCache object at 0xb7dd702c>,), {}) 2008-01-20 19:30:14,678 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/cache/epel-4-i386/root_cache/',), {}) 2008-01-20 19:30:14,679 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/cache/epel-4-i386/root_cache/ 2008-01-20 19:30:14,680 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:14,680 - DEBUG trace_decorator.py, Line: 20: ENTER: state((<mock.backend.Root object at 0xb7dd6e4c>, 'enabled root cache'), {}) 2008-01-20 19:30:14,683 - DEBUG trace_decorator.py, Line: 30: LEAVE state --> enabled root cache
2008-01-20 19:30:14,683 - DEBUG trace_decorator.py, Line: 20: ENTER: state((<mock.backend.Root object at 0xb7dd6e4c>, 'unpacking cache'), {}) 2008-01-20 19:30:14,685 - DEBUG trace_decorator.py, Line: 30: LEAVE state --> unpacking cache
2008-01-20 19:30:14,686 - DEBUG trace_decorator.py, Line: 20: ENTER: _rootCacheLock((<root_cache.RootCache object at 0xb7dd702c>, 1), {}) 2008-01-20 19:30:14,686 - DEBUG trace_decorator.py, Line: 30: LEAVE _rootCacheLock --> None
2008-01-20 19:30:14,687 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('tar xzf /var/lib/mock/cache/epel-4-i386/root_cache/cache.tar.gz -C /var/lib/mock/epel-4-i386/root', None, 0, True, 0, None, None, None, None), {}) 2008-01-20 19:30:14,687 - DEBUG util.py, Line: 212: Run cmd: tar xzf /var/lib/mock/cache/epel-4-i386/root_cache/cache.tar.gz -C /var/lib/mock/epel-4-i386/root 2008-01-20 19:30:14,688 - DEBUG util.py, Line: 218: Executing timeout(0): tar xzf /var/lib/mock/cache/epel-4-i386/root_cache/cache.tar.gz -C /var/lib/mock/epel-4-i386/root 2008-01-20 19:30:14,692 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:14,694 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:14,697 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:14,698 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:14,698 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:14,699 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:52,649 - DEBUG util.py, Line: 234: tar: ./etc/resolv.conf: implausibly old time stamp 1970-01-01 01:00:00 2008-01-20 19:30:52,651 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:52,652 - DEBUG trace_decorator.py, Line: 20: ENTER: _rootCacheUnlock((<root_cache.RootCache object at 0xb7dd702c>,), {}) 2008-01-20 19:30:52,653 - DEBUG trace_decorator.py, Line: 30: LEAVE _rootCacheUnlock --> None
2008-01-20 19:30:52,653 - DEBUG trace_decorator.py, Line: 30: LEAVE _rootCachePreInitHook --> None
2008-01-20 19:30:52,654 - DEBUG trace_decorator.py, Line: 20: ENTER: _bindMountPreInitHook((<bind_mount.BindMount object at 0xb7dd798c>,), {}) 2008-01-20 19:30:52,654 - DEBUG trace_decorator.py, Line: 30: LEAVE _bindMountPreInitHook --> None
2008-01-20 19:30:52,655 - DEBUG trace_decorator.py, Line: 30: LEAVE _callHooks --> None
2008-01-20 19:30:52,655 - INFO backend.py, Line: 183: create skeleton dirs 2008-01-20 19:30:52,656 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/var/lib/rpm',), {}) 2008-01-20 19:30:52,657 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/var/lib/rpm 2008-01-20 19:30:52,657 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,658 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/var/lib/yum',), {}) 2008-01-20 19:30:52,658 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/var/lib/yum 2008-01-20 19:30:52,659 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,660 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/var/log',), {}) 2008-01-20 19:30:52,660 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/var/log 2008-01-20 19:30:52,661 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,661 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/var/lock/rpm',), {}) 2008-01-20 19:30:52,662 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/var/lock/rpm 2008-01-20 19:30:52,663 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,663 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/etc/rpm',), {}) 2008-01-20 19:30:52,664 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/etc/rpm 2008-01-20 19:30:52,665 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,665 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/tmp',), {}) 2008-01-20 19:30:52,666 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/tmp 2008-01-20 19:30:52,666 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,669 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/var/tmp',), {}) 2008-01-20 19:30:52,669 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/var/tmp 2008-01-20 19:30:52,670 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,671 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/etc/yum.repos.d',), {}) 2008-01-20 19:30:52,671 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/etc/yum.repos.d 2008-01-20 19:30:52,672 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,673 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/etc/yum',), {}) 2008-01-20 19:30:52,674 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/etc/yum 2008-01-20 19:30:52,674 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,675 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/proc',), {}) 2008-01-20 19:30:52,675 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/proc 2008-01-20 19:30:52,676 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,677 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/dev/pts',), {}) 2008-01-20 19:30:52,677 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/dev/pts 2008-01-20 19:30:52,678 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,679 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/sys',), {}) 2008-01-20 19:30:52,679 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/sys 2008-01-20 19:30:52,680 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,680 - INFO backend.py, Line: 201: touch required files 2008-01-20 19:30:52,681 - DEBUG trace_decorator.py, Line: 20: ENTER: touch(('/var/lib/mock/epel-4-i386/root/etc/mtab',), {}) 2008-01-20 19:30:52,682 - DEBUG util.py, Line: 49: touching file: /var/lib/mock/epel-4-i386/root/etc/mtab 2008-01-20 19:30:52,682 - DEBUG trace_decorator.py, Line: 30: LEAVE touch --> None
2008-01-20 19:30:52,683 - DEBUG trace_decorator.py, Line: 20: ENTER: touch(('/var/lib/mock/epel-4-i386/root/etc/fstab',), {}) 2008-01-20 19:30:52,684 - DEBUG util.py, Line: 49: touching file: /var/lib/mock/epel-4-i386/root/etc/fstab 2008-01-20 19:30:52,684 - DEBUG trace_decorator.py, Line: 30: LEAVE touch --> None
2008-01-20 19:30:52,685 - DEBUG trace_decorator.py, Line: 20: ENTER: touch(('/var/lib/mock/epel-4-i386/root/var/log/yum.log',), {}) 2008-01-20 19:30:52,686 - DEBUG util.py, Line: 49: touching file: /var/lib/mock/epel-4-i386/root/var/log/yum.log 2008-01-20 19:30:52,687 - DEBUG trace_decorator.py, Line: 30: LEAVE touch --> None
2008-01-20 19:30:52,687 - INFO backend.py, Line: 209: configure yum 2008-01-20 19:30:52,729 - DEBUG trace_decorator.py, Line: 20: ENTER: rmtree(('/var/lib/mock/epel-4-i386/root/dev',), {}) 2008-01-20 19:30:52,772 - DEBUG trace_decorator.py, Line: 30: LEAVE rmtree --> None
2008-01-20 19:30:52,773 - DEBUG trace_decorator.py, Line: 20: ENTER: mkdirIfAbsent(('/var/lib/mock/epel-4-i386/root/dev/pts',), {}) 2008-01-20 19:30:52,773 - DEBUG util.py, Line: 38: ensuring that dir exists: /var/lib/mock/epel-4-i386/root/dev/pts 2008-01-20 19:30:52,774 - DEBUG util.py, Line: 41: creating dir: /var/lib/mock/epel-4-i386/root/dev/pts 2008-01-20 19:30:52,775 - DEBUG trace_decorator.py, Line: 30: LEAVE mkdirIfAbsent --> None
2008-01-20 19:30:52,777 - DEBUG trace_decorator.py, Line: 20: ENTER: state((<mock.backend.Root object at 0xb7dd6e4c>, 'running yum'), {}) 2008-01-20 19:30:52,779 - DEBUG trace_decorator.py, Line: 30: LEAVE state --> running yum
2008-01-20 19:30:52,779 - DEBUG trace_decorator.py, Line: 20: ENTER: _mountall((<mock.backend.Root object at 0xb7dd6e4c>,), {}) 2008-01-20 19:30:52,780 - INFO backend.py, Line: 430: mount -n -t proc mock_chroot_proc /var/lib/mock/epel-4-i386/root/proc 2008-01-20 19:30:52,780 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('mount -n -t proc mock_chroot_proc /var/lib/mock/epel-4-i386/root/proc', None, 0, True, 0, None, None, None, None), {}) 2008-01-20 19:30:52,781 - DEBUG util.py, Line: 212: Run cmd: mount -n -t proc mock_chroot_proc /var/lib/mock/epel-4-i386/root/proc 2008-01-20 19:30:52,782 - DEBUG util.py, Line: 218: Executing timeout(0): mount -n -t proc mock_chroot_proc /var/lib/mock/epel-4-i386/root/proc 2008-01-20 19:30:52,785 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:52,788 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:52,788 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:52,789 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:52,789 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:52,790 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:53,124 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:53,125 - INFO backend.py, Line: 430: mount -n -t devpts mock_chroot_devpts /var/lib/mock/epel-4-i386/root/dev/pts 2008-01-20 19:30:53,126 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('mount -n -t devpts mock_chroot_devpts /var/lib/mock/epel-4-i386/root/dev/pts', None, 0, True, 0, None, None, None, None), {}) 2008-01-20 19:30:53,126 - DEBUG util.py, Line: 212: Run cmd: mount -n -t devpts mock_chroot_devpts /var/lib/mock/epel-4-i386/root/dev/pts 2008-01-20 19:30:53,127 - DEBUG util.py, Line: 218: Executing timeout(0): mount -n -t devpts mock_chroot_devpts /var/lib/mock/epel-4-i386/root/dev/pts 2008-01-20 19:30:53,130 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:53,134 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:53,134 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:53,135 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:53,136 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:53,136 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:53,190 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:53,190 - INFO backend.py, Line: 430: mount -n -t sysfs mock_chroot_sysfs /var/lib/mock/epel-4-i386/root/sys 2008-01-20 19:30:53,191 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('mount -n -t sysfs mock_chroot_sysfs /var/lib/mock/epel-4-i386/root/sys', None, 0, True, 0, None, None, None, None), {}) 2008-01-20 19:30:53,192 - DEBUG util.py, Line: 212: Run cmd: mount -n -t sysfs mock_chroot_sysfs /var/lib/mock/epel-4-i386/root/sys 2008-01-20 19:30:53,192 - DEBUG util.py, Line: 218: Executing timeout(0): mount -n -t sysfs mock_chroot_sysfs /var/lib/mock/epel-4-i386/root/sys 2008-01-20 19:30:53,196 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:53,198 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:53,199 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:53,200 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:53,200 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:53,201 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:53,259 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:53,260 - INFO backend.py, Line: 430: mount -n --bind /var/lib/mock/cache/epel-4-i386/ccache/ /var/lib/mock/epel-4-i386/root/tmp/ccache 2008-01-20 19:30:53,260 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('mount -n --bind /var/lib/mock/cache/epel-4-i386/ccache/ /var/lib/mock/epel-4-i386/root/tmp/ccache', None, 0, True, 0, None, None, None, None), {}) 2008-01-20 19:30:53,261 - DEBUG util.py, Line: 212: Run cmd: mount -n --bind /var/lib/mock/cache/epel-4-i386/ccache/ /var/lib/mock/epel-4-i386/root/tmp/ccache 2008-01-20 19:30:53,262 - DEBUG util.py, Line: 218: Executing timeout(0): mount -n --bind /var/lib/mock/cache/epel-4-i386/ccache/ /var/lib/mock/epel-4-i386/root/tmp/ccache 2008-01-20 19:30:53,265 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:53,267 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:53,268 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:53,276 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:53,277 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:53,278 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:53,345 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:53,345 - INFO backend.py, Line: 430: mount -n --bind /var/lib/mock/cache/epel-4-i386/yum_cache/ /var/lib/mock/epel-4-i386/root/var/cache/yum 2008-01-20 19:30:53,346 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('mount -n --bind /var/lib/mock/cache/epel-4-i386/yum_cache/ /var/lib/mock/epel-4-i386/root/var/cache/yum', None, 0, True, 0, None, None, None, None), {}) 2008-01-20 19:30:53,347 - DEBUG util.py, Line: 212: Run cmd: mount -n --bind /var/lib/mock/cache/epel-4-i386/yum_cache/ /var/lib/mock/epel-4-i386/root/var/cache/yum 2008-01-20 19:30:53,347 - DEBUG util.py, Line: 218: Executing timeout(0): mount -n --bind /var/lib/mock/cache/epel-4-i386/yum_cache/ /var/lib/mock/epel-4-i386/root/var/cache/yum 2008-01-20 19:30:53,351 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:53,353 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:53,354 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:53,355 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:53,355 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:53,356 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:53,421 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:53,422 - DEBUG trace_decorator.py, Line: 30: LEAVE _mountall --> None
2008-01-20 19:30:53,423 - DEBUG trace_decorator.py, Line: 20: ENTER: _yum((<mock.backend.Root object at 0xb7dd6e4c>, 'update', 0), {}) 2008-01-20 19:30:53,423 - INFO backend.py, Line: 445: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update 2008-01-20 19:30:53,424 - DEBUG trace_decorator.py, Line: 20: ENTER: _callHooks((<mock.backend.Root object at 0xb7dd6e4c>, 'preyum'), {}) 2008-01-20 19:30:53,424 - DEBUG trace_decorator.py, Line: 20: ENTER: _yumCachePreYumHook((<yum_cache.YumCache object at 0xb7dd6e8c>,), {}) 2008-01-20 19:30:53,425 - DEBUG trace_decorator.py, Line: 30: LEAVE _yumCachePreYumHook --> None
2008-01-20 19:30:53,425 - DEBUG trace_decorator.py, Line: 30: LEAVE _callHooks --> None
2008-01-20 19:30:53,426 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update', None, 0, True, 0, None, None, None, None), {}) 2008-01-20 19:30:53,427 - DEBUG util.py, Line: 212: Run cmd: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update 2008-01-20 19:30:53,427 - DEBUG util.py, Line: 218: Executing timeout(0): /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update 2008-01-20 19:30:53,431 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:53,433 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:53,434 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:53,434 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:53,435 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:53,436 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:56,089 - DEBUG util.py, Line: 234: CRITICAL:yum.cli:Config Error: Parsing file failed: File contains no section headers. 2008-01-20 19:30:56,090 - DEBUG util.py, Line: 234: file: file:///var/lib/mock/epel-4-i386/root//etc/yum.conf, line: 2 2008-01-20 19:30:56,091 - DEBUG util.py, Line: 234: "config_opts['plugin_conf']['ccache_enable'] = False\n" 2008-01-20 19:30:56,091 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update) failed. See logs for output. Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 260, in do raise mock.exception.Error, "Command(%s) failed. See logs for output." % command Error: Command(/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update) failed. See logs for output. 2008-01-20 19:30:56,113 - DEBUG trace_decorator.py, Line: 30: LEAVE do --> EXCEPTION RAISED
2008-01-20 19:30:56,114 - ERROR backend.py, Line: 452: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/backend.py", line 448, in _yum output = mock.util.do(cmd, returnOutput=returnOutput, personality=self.personality) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 260, in do raise mock.exception.Error, "Command(%s) failed. See logs for output." % command Error: Command(/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update) failed. See logs for output. 2008-01-20 19:30:56,118 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/backend.py", line 453, in _yum raise mock.exception.YumError, "Error performing yum command: %s" % cmd YumError: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update 2008-01-20 19:30:56,119 - DEBUG trace_decorator.py, Line: 30: LEAVE _yum --> EXCEPTION RAISED
2008-01-20 19:30:56,120 - DEBUG trace_decorator.py, Line: 20: ENTER: _umountall((<mock.backend.Root object at 0xb7dd6e4c>,), {}) 2008-01-20 19:30:56,120 - INFO backend.py, Line: 437: umount -n /var/lib/mock/epel-4-i386/root/proc 2008-01-20 19:30:56,121 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('umount -n /var/lib/mock/epel-4-i386/root/proc', None, 0, 0, 0, None, None, None, None), {}) 2008-01-20 19:30:56,121 - DEBUG util.py, Line: 212: Run cmd: umount -n /var/lib/mock/epel-4-i386/root/proc 2008-01-20 19:30:56,122 - DEBUG util.py, Line: 218: Executing timeout(0): umount -n /var/lib/mock/epel-4-i386/root/proc 2008-01-20 19:30:56,125 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:56,128 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:56,128 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:56,129 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:56,130 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:56,130 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:56,208 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:56,209 - INFO backend.py, Line: 437: umount -n /var/lib/mock/epel-4-i386/root/dev/pts 2008-01-20 19:30:56,209 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('umount -n /var/lib/mock/epel-4-i386/root/dev/pts', None, 0, 0, 0, None, None, None, None), {}) 2008-01-20 19:30:56,210 - DEBUG util.py, Line: 212: Run cmd: umount -n /var/lib/mock/epel-4-i386/root/dev/pts 2008-01-20 19:30:56,210 - DEBUG util.py, Line: 218: Executing timeout(0): umount -n /var/lib/mock/epel-4-i386/root/dev/pts 2008-01-20 19:30:56,214 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:56,216 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:56,217 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:56,218 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:56,218 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:56,219 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:56,274 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:56,275 - INFO backend.py, Line: 437: umount -n /var/lib/mock/epel-4-i386/root/sys 2008-01-20 19:30:56,276 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('umount -n /var/lib/mock/epel-4-i386/root/sys', None, 0, 0, 0, None, None, None, None), {}) 2008-01-20 19:30:56,277 - DEBUG util.py, Line: 212: Run cmd: umount -n /var/lib/mock/epel-4-i386/root/sys 2008-01-20 19:30:56,277 - DEBUG util.py, Line: 218: Executing timeout(0): umount -n /var/lib/mock/epel-4-i386/root/sys 2008-01-20 19:30:56,281 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:56,283 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:56,284 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:56,284 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:56,285 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:56,286 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:56,336 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:56,337 - INFO backend.py, Line: 437: umount -n /var/lib/mock/epel-4-i386/root/tmp/ccache 2008-01-20 19:30:56,338 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('umount -n /var/lib/mock/epel-4-i386/root/tmp/ccache', None, 0, 0, 0, None, None, None, None), {}) 2008-01-20 19:30:56,338 - DEBUG util.py, Line: 212: Run cmd: umount -n /var/lib/mock/epel-4-i386/root/tmp/ccache 2008-01-20 19:30:56,339 - DEBUG util.py, Line: 218: Executing timeout(0): umount -n /var/lib/mock/epel-4-i386/root/tmp/ccache 2008-01-20 19:30:56,342 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:56,345 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:56,345 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:56,346 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:56,347 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:56,347 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:56,399 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:56,400 - INFO backend.py, Line: 437: umount -n /var/lib/mock/epel-4-i386/root/var/cache/yum 2008-01-20 19:30:56,401 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('umount -n /var/lib/mock/epel-4-i386/root/var/cache/yum', None, 0, 0, 0, None, None, None, None), {}) 2008-01-20 19:30:56,401 - DEBUG util.py, Line: 212: Run cmd: umount -n /var/lib/mock/epel-4-i386/root/var/cache/yum 2008-01-20 19:30:56,402 - DEBUG util.py, Line: 218: Executing timeout(0): umount -n /var/lib/mock/epel-4-i386/root/var/cache/yum 2008-01-20 19:30:56,406 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-20 19:30:56,408 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-20 19:30:56,409 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot((None, None), {}) 2008-01-20 19:30:56,409 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-20 19:30:56,410 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-20 19:30:56,411 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-20 19:30:56,461 - DEBUG trace_decorator.py, Line: 30: LEAVE do -->
2008-01-20 19:30:56,462 - DEBUG trace_decorator.py, Line: 30: LEAVE _umountall --> None
2008-01-20 19:30:56,462 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/backend.py", line 261, in init self._yum(self.chroot_setup_cmd) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/backend.py", line 453, in _yum raise mock.exception.YumError, "Error performing yum command: %s" % cmd YumError: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update 2008-01-20 19:30:56,464 - DEBUG trace_decorator.py, Line: 30: LEAVE init --> EXCEPTION RAISED
2008-01-20 19:30:56,467 - DEBUG trace_decorator.py, Line: 20: ENTER: orphansKill(('/var/lib/mock/epel-4-i386/root',), {}) 2008-01-20 19:30:56,522 - DEBUG trace_decorator.py, Line: 30: LEAVE orphansKill --> None
On Sun, 2008-01-20 at 19:35 +0100, Frank Büttner wrote:
So, this line was missing, so I add this. Now I get this error: ERROR: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update
Have you removed the buildroot and the cache from /var/lib/mock after changing the configuration file?
Lubomir Kundrak schrieb:
On Sun, 2008-01-20 at 19:35 +0100, Frank Büttner wrote:
So, this line was missing, so I add this. Now I get this error: ERROR: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update
Have you removed the buildroot and the cache from /var/lib/mock after changing the configuration file?
No, but after do that I get the same error when try to run mock -r fedora-4-i386-epel init: mock -r fedora-4-i386-epel init INFO: mock.py version 0.8.9 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot State Changed: clean State Changed: init State Changed: lock buildroot State Changed: enabled yum cache, cleaning yum metadata State Changed: enabled root cache State Changed: running yum ERROR: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root install buildsys-build Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/backend.py", line 448, in _yum output = mock.util.do(cmd, returnOutput=returnOutput, personality=self.personality) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 260, in do raise mock.exception.Error, "Command(%s) failed. See logs for output." % command Error: Command(/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root install buildsys-build) failed. See logs for output. ERROR: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root install buildsys-build
On Sun, 2008-01-20 at 19:59 +0100, Frank Büttner wrote:
Lubomir Kundrak schrieb:
On Sun, 2008-01-20 at 19:35 +0100, Frank Büttner wrote:
So, this line was missing, so I add this. Now I get this error: ERROR: Error performing yum command: /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update
Have you removed the buildroot and the cache from /var/lib/mock after changing the configuration file?
No, but after do that I get the same error when try to run mock -r fedora-4-i386-epel init: mock -r fedora-4-i386-epel init
What is in /var/lib/mock/epel-4-i386/root -- is there an installed buildroot? What happens when you run the following by hand (as root)?:
/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update
Lubomir Kundrak schrieb:
What is in /var/lib/mock/epel-4-i386/root -- is there an installed buildroot? What happens when you run the following by hand (as root)?:
No, it is incomplete
/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update
fails with: CRITICAL:yum.cli:Config Error: Parsing file failed: File contains no section headers. file: file:///var/lib/mock/epel-4-i386/root//etc/yum.conf, line: 2 "config_opts['plugin_conf']['ccache_enable'] = False\n"
On Mon, 2008-01-21 at 09:14 +0100, Frank Büttner wrote:
Lubomir Kundrak schrieb:
What is in /var/lib/mock/epel-4-i386/root -- is there an installed buildroot? What happens when you run the following by hand (as root)?:
No, it is incomplete
/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update
fails with: CRITICAL:yum.cli:Config Error: Parsing file failed: File contains no section headers. file: file:///var/lib/mock/epel-4-i386/root//etc/yum.conf, line: 2 "config_opts['plugin_conf']['ccache_enable'] = False\n"
Soo... did you really compare your configuration with stock distribution one? Please show me your /etc/mock/fedora-4-i386-epel.cfg.
Thanks,
Lubomir Kundrak schrieb:
On Mon, 2008-01-21 at 09:14 +0100, Frank Büttner wrote:
Lubomir Kundrak schrieb:
What is in /var/lib/mock/epel-4-i386/root -- is there an installed buildroot? What happens when you run the following by hand (as root)?:
No, it is incomplete
/usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update
fails with: CRITICAL:yum.cli:Config Error: Parsing file failed: File contains no section headers. file: file:///var/lib/mock/epel-4-i386/root//etc/yum.conf, line: 2 "config_opts['plugin_conf']['ccache_enable'] = False\n"
Soo... did you really compare your configuration with stock distribution one? Please show me your /etc/mock/fedora-4-i386-epel.cfg.
Thanks,
So here the file for /etc/mock/fedora-4-i386-epel.cfg
#!/usr/bin/python -tt import os config_opts['root'] = 'epel-4-i386' config_opts['target_arch'] = 'i386' config_opts['yum.conf'] = """ config_opts['plugin_conf']['ccache_enable'] = False [main] cachedir=/var/cache/yum debuglevel=1 logfile=/var/log/yum.log reposdir=/dev/null retries=20 obsoletes=1 gpgcheck=0 assumeyes=1 # repos [core] name=base #mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=os baseurl=file:///Linux/CentOS/4/os/i386/ [update] name=updates #mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=updates baseurl=file:///Linux/CentOS/4/updates/i386/ [groups] name=groups baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/i386/ [extras] name=epel #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=i386 baseurl=file:///Linux/Fedora/epel/4/i386/ [local] name=local baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-4-epel/ """
I have only change the baseurl to use an local rsync repo in the SAN.
Hi Fran,
On Mon, 2008-01-21 at 09:47 +0100, Frank Büttner wrote:
config_opts['yum.conf'] = """ config_opts['plugin_conf']['ccache_enable'] = False
Please switch these two lines.
""" marks beginning of a multi-line string, yum.conf in this case, so you added the ccache_enable option line to mock's yum.conf.
Thanks,
Lubomir Kundrak schrieb:
Hi Fran,
On Mon, 2008-01-21 at 09:47 +0100, Frank Büttner wrote:
config_opts['yum.conf'] = """ config_opts['plugin_conf']['ccache_enable'] = False
Please switch these two lines.
""" marks beginning of a multi-line string, yum.conf in this case, so you added the ccache_enable option line to mock's yum.conf.
Thanks,
Yes now it work's. The goal is, that for /etc/mock/fedora-4-i386-epel.cfg the line config_opts['plugin_conf']['ccache_enable'] = False must be included, because by default at /etc/mock/defaults.cfg ccaache is enabled, but at the epel 4 repo ccache is not available. ccache is only available for EPEL5,F7,F8 and devel.
Thanks for the help:) Frank
Frank Büttner schrieb:
Lubomir Kundrak schrieb:
Hi Fran,
On Mon, 2008-01-21 at 09:47 +0100, Frank Büttner wrote:
config_opts['yum.conf'] = """ config_opts['plugin_conf']['ccache_enable'] = False
Please switch these two lines.
""" marks beginning of a multi-line string, yum.conf in this case, so you added the ccache_enable option line to mock's yum.conf.
Thanks,
Yes now it work's. The goal is, that for /etc/mock/fedora-4-i386-epel.cfg the line config_opts['plugin_conf']['ccache_enable'] = False must be included, because by default at /etc/mock/defaults.cfg ccaache is enabled, but at the epel 4 repo ccache is not available. ccache is only available for EPEL5,F7,F8 and devel.
Thanks for the help:) Frank
Now I have try to build it for another arch and I have the same problem like at the beginning. mock -r fedora-4-i386-epel work. but fedora-5-i386-epel, fedora-7-i386, fedora-8-i386 and fedora-devel-i386 will fail again with: INFO: Results and/or logs in: /var/lib/mock/fedora-development-i386/result ERROR: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. I can see that mock tries to call it twice: 2008-01-21 17:05:41,201 - DEBUG trace_decorator.py, Line: 20: ENTER: doChroot((<mock.backend.Root object at 0xb7d71e8c>, '/usr/sbin/groupadd -g 102 mockbuild', ''), {}) 2008-01-21 17:05:41,202 - DEBUG trace_decorator.py, Line: 20: ENTER: do(('/usr/sbin/groupadd -g 102 mockbuild', '/var/lib/mock/fedora-development-i386/root', 0, True, 0, None, None, None, None), {}) 2008-01-21 17:05:41,202 - DEBUG util.py, Line: 212: Run cmd: /usr/sbin/groupadd -g 102 mockbuild 2008-01-21 17:05:41,203 - DEBUG util.py, Line: 218: Executing timeout(0): /usr/sbin/groupadd -g 102 mockbuild 2008-01-21 17:05:41,207 - DEBUG trace_decorator.py, Line: 20: ENTER: condPersonality((None,), {}) 2008-01-21 17:05:41,209 - DEBUG trace_decorator.py, Line: 30: LEAVE condPersonality --> None
2008-01-21 17:05:41,210 - DEBUG trace_decorator.py, Line: 20: ENTER: condChroot(('/var/lib/mock/fedora-development-i386/root', None), {}) 2008-01-21 17:05:41,210 - DEBUG trace_decorator.py, Line: 30: LEAVE condChroot --> None
2008-01-21 11:05:41,211 - DEBUG trace_decorator.py, Line: 20: ENTER: condDropPrivs((None, None, None), {}) 2008-01-21 11:05:41,212 - DEBUG trace_decorator.py, Line: 30: LEAVE condDropPrivs --> None
2008-01-21 17:05:41,277 - DEBUG util.py, Line: 234: groupadd: name mockbuild is not unique 2008-01-21 17:05:41,279 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 260, in do raise mock.exception.Error, "Command(%s) failed. See logs for output." % command Error: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. 2008-01-21 17:05:41,318 - DEBUG trace_decorator.py, Line: 30: LEAVE do --> EXCEPTION RAISED
2008-01-21 17:05:41,319 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/backend.py", line 277, in doChroot return mock.util.do( command, personality=self.personality, chrootPath=self.rootdir, *args, **kargs ) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 260, in do raise mock.exception.Error, "Command(%s) failed. See logs for output." % command Error: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. 2008-01-21 17:05:41,322 - DEBUG trace_decorator.py, Line: 30: LEAVE doChroot --> EXCEPTION RAISED
2008-01-21 17:05:41,323 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/backend.py", line 467, in _makeBuildUser self.doChroot('/usr/sbin/groupadd -g %(gid)s %(group)s' % dets) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/backend.py", line 277, in doChroot return mock.util.do( command, personality=self.personality, chrootPath=self.rootdir, *args, **kargs ) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 260, in do raise mock.exception.Error, "Command(%s) failed. See logs for output." % command Error: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. 2008-01-21 17:05:41,324 - DEBUG trace_decorator.py, Line: 30: LEAVE _makeBuildUser --> EXCEPTION RAISED
2008-01-21 17:05:41,325 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/backend.py", line 266, in init self._makeBuildUser() File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/backend.py", line 467, in _makeBuildUser self.doChroot('/usr/sbin/groupadd -g %(gid)s %(group)s' % dets) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/backend.py", line 277, in doChroot return mock.util.do( command, personality=self.personality, chrootPath=self.rootdir, *args, **kargs ) File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 24, in trace result = f(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 260, in do raise mock.exception.Error, "Command(%s) failed. See logs for output." % command Error: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs for output. 2008-01-21 17:05:41,327 - DEBUG trace_decorator.py, Line: 30: LEAVE init --> EXCEPTION RAISED
2008-01-21 17:05:41,331 - DEBUG trace_decorator.py, Line: 20: ENTER: orphansKill(('/var/lib/mock/fedora-development-i386/root',), {}) 2008-01-21 17:05:41,361 - DEBUG trace_decorator.py, Line: 30: LEAVE orphansKill --> None
On Mon, Jan 21, 2008 at 05:15:20PM +0100, Frank Büttner wrote:
Frank Büttner schrieb:
Lubomir Kundrak schrieb:
Hi Fran,
On Mon, 2008-01-21 at 09:47 +0100, Frank Büttner wrote:
config_opts['yum.conf'] = """ config_opts['plugin_conf']['ccache_enable'] = False
Please switch these two lines.
""" marks beginning of a multi-line string, yum.conf in this case, so you added the ccache_enable option line to mock's yum.conf.
Thanks,
Yes now it work's. The goal is, that for /etc/mock/fedora-4-i386-epel.cfg the line config_opts['plugin_conf']['ccache_enable'] = False must be included, because by default at /etc/mock/defaults.cfg ccaache is enabled, but at the epel 4 repo ccache is not available. ccache is only available for EPEL5,F7,F8 and devel.
Wasnt checking email over the weekend, so jumping in again:
We intend to upgrade mock in EPEL5 to 0.9.x come Feb. The dependencies are now all mostly available. Python-ctypes is in the -testing repository for EPEL-5.
The fedora builders are all running RHEL5 with this version, so it is well-tested. If you want to use it, grab the mock 0.9.x SRPM from fedora rawhide and rebuild it and grab the python-ctypes RPM from epel testing repo.
All of the configs in 0.9.x have been tested. ccache is disabled in all of the configs where it is not available in the upstream repos. -- Michael
Michael E Brown schrieb:
On Mon, Jan 21, 2008 at 05:15:20PM +0100, Frank Büttner wrote:
Frank Büttner schrieb:
Lubomir Kundrak schrieb:
Hi Fran,
On Mon, 2008-01-21 at 09:47 +0100, Frank Büttner wrote:
config_opts['yum.conf'] = """ config_opts['plugin_conf']['ccache_enable'] = False
Please switch these two lines.
""" marks beginning of a multi-line string, yum.conf in this case, so you added the ccache_enable option line to mock's yum.conf.
Thanks,
Yes now it work's. The goal is, that for /etc/mock/fedora-4-i386-epel.cfg the line config_opts['plugin_conf']['ccache_enable'] = False must be included, because by default at /etc/mock/defaults.cfg ccaache is enabled, but at the epel 4 repo ccache is not available. ccache is only available for EPEL5,F7,F8 and devel.
Wasnt checking email over the weekend, so jumping in again:
We intend to upgrade mock in EPEL5 to 0.9.x come Feb. The dependencies are now all mostly available. Python-ctypes is in the -testing repository for EPEL-5.
The fedora builders are all running RHEL5 with this version, so it is well-tested. If you want to use it, grab the mock 0.9.x SRPM from fedora rawhide and rebuild it and grab the python-ctypes RPM from epel testing repo.
All of the configs in 0.9.x have been tested. ccache is disabled in all of the configs where it is not available in the upstream repos. -- Michael
Now we have March, but I can't see any new version. Can you tell me the status??
Thanks Frank
On Wed, Mar 19, 2008 at 02:26:28PM +0100, Frank Büttner wrote:
Michael E Brown schrieb:
We intend to upgrade mock in EPEL5 to 0.9.x come Feb. The dependencies are now all mostly available. Python-ctypes is in the -testing repository for EPEL-5.
The fedora builders are all running RHEL5 with this version, so it is well-tested. If you want to use it, grab the mock 0.9.x SRPM from fedora rawhide and rebuild it and grab the python-ctypes RPM from epel testing repo.
All of the configs in 0.9.x have been tested. ccache is disabled in all of the configs where it is not available in the upstream repos.
Now we have March, but I can't see any new version. Can you tell me the status??
I built 0.9.7 for EPEL5 either earlier this week or late last week. It takes a while before it goes from EPEL testing repo to the prod repo. -- Michael
On Wed, Mar 19, 2008 at 8:48 AM, Michael E Brown Michael_E_Brown@dell.com wrote:
On Wed, Mar 19, 2008 at 02:26:28PM +0100, Frank Büttner wrote:
Michael E Brown schrieb:
We intend to upgrade mock in EPEL5 to 0.9.x come Feb. The dependencies are now all mostly available. Python-ctypes is in the -testing repository for EPEL-5.
The fedora builders are all running RHEL5 with this version, so it is well-tested. If you want to use it, grab the mock 0.9.x SRPM from fedora rawhide and rebuild it and grab the python-ctypes RPM from epel testing repo.
All of the configs in 0.9.x have been tested. ccache is disabled in all of the configs where it is not available in the upstream repos.
Now we have March, but I can't see any new version. Can you tell me the status??
I built 0.9.7 for EPEL5 either earlier this week or late last week. It takes a while before it goes from EPEL testing repo to the prod repo.
EPEL releases every 30 days per architecture. 0.9.7 should be out by the 2nd of the month unless someone screams "Oh crap this will kill kittens"
Michael E Brown schrieb:
On Wed, Mar 19, 2008 at 02:26:28PM +0100, Frank Büttner wrote:
Michael E Brown schrieb:
We intend to upgrade mock in EPEL5 to 0.9.x come Feb. The dependencies are now all mostly available. Python-ctypes is in the -testing repository for EPEL-5.
The fedora builders are all running RHEL5 with this version, so it is well-tested. If you want to use it, grab the mock 0.9.x SRPM from fedora rawhide and rebuild it and grab the python-ctypes RPM from epel testing repo.
All of the configs in 0.9.x have been tested. ccache is disabled in all of the configs where it is not available in the upstream repos.
Now we have March, but I can't see any new version. Can you tell me the status??
I built 0.9.7 for EPEL5 either earlier this week or late last week. It takes a while before it goes from EPEL testing repo to the prod repo. -- Michael
Hello again,
today the new one mock-0.9.7-1.el5 was released, but now an simply mock -r epel-4-i386 -v --init for example will fail. No output at the command line an no cache is build:(
Frank Büttner schrieb:
Michael E Brown schrieb:
On Wed, Mar 19, 2008 at 02:26:28PM +0100, Frank Büttner wrote:
Michael E Brown schrieb:
We intend to upgrade mock in EPEL5 to 0.9.x come Feb. The dependencies are now all mostly available. Python-ctypes is in the -testing repository for EPEL-5.
The fedora builders are all running RHEL5 with this version, so it is well-tested. If you want to use it, grab the mock 0.9.x SRPM from fedora rawhide and rebuild it and grab the python-ctypes RPM from epel testing repo.
All of the configs in 0.9.x have been tested. ccache is disabled in all of the configs where it is not available in the upstream repos.
Now we have March, but I can't see any new version. Can you tell me the status??
I built 0.9.7 for EPEL5 either earlier this week or late last week. It takes a while before it goes from EPEL testing repo to the prod repo. -- Michael
Hello again, the last version mock-0.9.11-1.el5, will also don't build anything.:(