There is not '--debug' parameter in mock anymore

rotru at br.ibm.com rotru at br.ibm.com
Mon Apr 13 20:45:29 UTC 2009


Hi, 

I'm trying to build my own Koji server and while playing I ran:

    /usr/sbin/kojid --fg -v  --debug-mock -d  --force-lock


--debug-mock uses the mock parameter "--debug" .   This parameter does not 
exist in the mock version I'm running and then raises an error when
building The closest parameter  I have found is "--trace".

This little patch for /usr/sbin/kojid  may fix the problem:

--- kojid.orig  2009-04-13 17:32:44.000000000 -0300
+++ kojid       2009-04-13 17:33:02.000000000 -0300
@@ -375,7 +375,7 @@
         mockpath = getattr(options,"mockpath","/usr/bin/mock")
         cmd = [mockpath, "-r", self.mockcfg]
         if options.debug_mock:
-            cmd.append('--debug')
+            cmd.append('--trace')
         cmd.extend(args)
         self.logger.info(' '.join(cmd))
         pid = os.fork()



Not sure if this is the right list to send it. 
My versions on Fedora10:
koji-builder-1.3.1-1.fc10.noarch
mock-0.9.14-1.fc10.noarch


Regards

Rodrigo Trujillo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-buildsys-list/attachments/20090413/b0d3ac76/attachment.htm>


More information about the Fedora-buildsys-list mailing list