mock ?'s

Rex Dieter rdieter at math.unl.edu
Thu Oct 6 15:19:47 UTC 2005


Rex Dieter wrote:
> seth vidal wrote:
> 
>> try running:
>>
>> mock -c someconfig --resultdir=/path/to/someplace/
>> --debug /path/to/your/src.rpm

> I get
> mock: error: no such option: -c
> 
> But, isn't that basically what I've already done, when I tried:
> mock --resultdir=`pwd` --debug maxima-5.9.1.9rc*.src.rpm
> ?

The last thing I see on the screen is:

...
DEBUG: Executing /usr/sbin/mock-helper chroot 
/var/lib/mock/fedora-3-i386-core/root /sbin/runuser - root -c 
"/sbin/runuser -c 'rpmbuild --rebuild  --target i386 --nodeps 
/builddir/build/SRPMS/maxima-5.9.1.9rc4-3.fc3.src.rpm' mockbuild"

Then, I see the sbcl debugger start, build stops.  I press CNTL-C.

Traceback (most recent call last):
   File "/usr/bin/mock", line 786, in ?
     main()
   File "/usr/bin/mock", line 774, in main
     my.build(srpm)
   File "/usr/bin/mock", line 321, in build
     (retval, output) = self.do_chroot(cmd)
   File "/usr/bin/mock", line 461, in do_chroot
     (ret, output) = self.do(cmd)
   File "/usr/bin/mock", line 440, in do
     (status, output) = commands.getstatusoutput(command)
   File "/usr/lib/python2.3/commands.py", line 54, in getstatusoutput
     text = pipe.read()
KeyboardInterrupt

At this point, mock's build.log is still empty (0 sized), and I still 
have no idea where/why the build failed.

Full mock output at
http://www.math.unl.edu/~rdieter/mock.log

-- Rex




More information about the fedora-extras-list mailing list