Re: buildSRPMfromSCM issue

2009-03-16 Thread Mike Bonnet

Jitesh Shah wrote:

Hi all,
I've been trying out some stuff on my own local koji instance. Recently,
I added a new builder and all the builds using SCMs started to fail
(although, scratch builds on SRPMs work just fine).
 buildSRPMfromSCM fails.

The checkouts go through fine and "make sources" also works. Following
is the tail of the root.log (after "make sources")

DEBUG util.py:251:  3 2266k   73 1670k0 0   239k  0  0:00:09
0:00:06  0:00:03  310k
 87 2266k   87 1976k0 0   247k  0  0:00:09  0:00:07  0:00:02
310k
100 2266k  100 2266k0
DEBUG util.py:251:   
DEBUG util.py:251:  0
DEBUG util.py:251:   
DEBUG util.py:251:   
DEBUG util.py:251:   
DEBUG util.py:251:  253k  0  0:00:08  0:00:08 --:--:--  307k

DEBUG util.py:251:  -rw-rw-r-- 1 mockbuild mockbuild 2321402 Jun 18
2007 libidn-0.6.14.tar.gz
DEBUG util.py:312:  Child returncode was: 0
DEBUG backend.py:484:  umount
-n /var/lib/mock/dist-f10-build-139-697/root/proc
DEBUG util.py:273:  Executing command: umount
-n /var/lib/mock/dist-f10-build-139-697/root/proc
DEBUG util.py:312:  Child returncode was: 0
DEBUG backend.py:484:  umount
-n /var/lib/mock/dist-f10-build-139-697/root/sys
DEBUG util.py:273:  Executing command: umount
-n /var/lib/mock/dist-f10-build-139-697/root/sys
DEBUG util.py:312:  Child returncode was: 0
DEBUG util.py:99:  kill orphans



The task exits with "FAILED: BuildError: error building srpm, mock
exited with status 2; see root.log for more information"
But, there is nothing suspicious in root.log (yum succeeds, so does
checkout and "make sources" and there are no errors after that too).
state.log and kojid.log also give out nothing. I have enabled full
debugging from kojihub.conf. 


That error means "mock --buildsrpm" failed.  I'm not sure what status 2 
is, it probably means a failure in rpmbuild in the chroot.  There should 
be more information in root.log, I'm not sure why there isn't.  Does 
building the srpm by hand work?


--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list


buildSRPMfromSCM issue

2009-03-16 Thread Jitesh Shah
Hi all,
I've been trying out some stuff on my own local koji instance. Recently,
I added a new builder and all the builds using SCMs started to fail
(although, scratch builds on SRPMs work just fine).
 buildSRPMfromSCM fails.

The checkouts go through fine and "make sources" also works. Following
is the tail of the root.log (after "make sources")

DEBUG util.py:251:  3 2266k   73 1670k0 0   239k  0  0:00:09
0:00:06  0:00:03  310k
 87 2266k   87 1976k0 0   247k  0  0:00:09  0:00:07  0:00:02
310k
100 2266k  100 2266k0
DEBUG util.py:251:   
DEBUG util.py:251:  0
DEBUG util.py:251:   
DEBUG util.py:251:   
DEBUG util.py:251:   
DEBUG util.py:251:  253k  0  0:00:08  0:00:08 --:--:--  307k
DEBUG util.py:251:  -rw-rw-r-- 1 mockbuild mockbuild 2321402 Jun 18
2007 libidn-0.6.14.tar.gz
DEBUG util.py:312:  Child returncode was: 0
DEBUG backend.py:484:  umount
-n /var/lib/mock/dist-f10-build-139-697/root/proc
DEBUG util.py:273:  Executing command: umount
-n /var/lib/mock/dist-f10-build-139-697/root/proc
DEBUG util.py:312:  Child returncode was: 0
DEBUG backend.py:484:  umount
-n /var/lib/mock/dist-f10-build-139-697/root/sys
DEBUG util.py:273:  Executing command: umount
-n /var/lib/mock/dist-f10-build-139-697/root/sys
DEBUG util.py:312:  Child returncode was: 0
DEBUG util.py:99:  kill orphans



The task exits with "FAILED: BuildError: error building srpm, mock
exited with status 2; see root.log for more information"
But, there is nothing suspicious in root.log (yum succeeds, so does
checkout and "make sources" and there are no errors after that too).
state.log and kojid.log also give out nothing. I have enabled full
debugging from kojihub.conf. 

How do I go about solving this issue? From where can I glean more
information about the problem? What does "mock exited with status 2"
mean? and more importantly, why does mock give up abruptly?

Jitesh

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list