[reopen]Re: mock 0.8.9 will not build anything
Frank Büttner
frank-buettner at gmx.net
Mon Jan 21 16:15:20 UTC 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5766 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080121/90e94a2a/attachment.bin>
More information about the fedora-devel-list
mailing list