when i try to build rhel/centos-5 rpm on centos-5 host with mock-1.0.7-1.el5.noarch from epel then some srpm (and the same srpms always do the same thing) hang in the: State Changed: setup during this there is no cpu, no io load on the build system. there is no network activity and the load is 0.0. this package eg: libcmpiutil-0.5.1-1.el5.src.rpm is there any tip about it?
another example package: sblim-1-40.el5.src.rpm
What output do you get when you add the -v option to the mock command line? (and what command line are you using?)
it's mo longer happened with 1.1.1 (although sblim-1-40.el5.src.rpm still not build)
Would you attach a link to your sblim-1-40.el5.src.rpm to the BZ? I'd like to try and see if it's a mock issue or something else.
ftp://ftp.redhat.com/redhat/linux/enterprise/5Server/en/os/SRPMS/sblim-1-40.el5.src.rpm
I have a modified version of mock that does an os.setsid() in the chroot to start a new session and get rid of the controlling terminal. I just tried building your sblim package and it failed with this error: DEBUG: Binary file /var/tmp/sblim-1-40.el5-root-mockbuild/usr/lib/debug/usr/lib64/libRaToolsDns.so.0.0.0.debug matches DEBUG: Found '/var/tmp/sblim-1-40.el5-root-mockbuild' in installed files; aborting DEBUG: RPM build errors: DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.25019 (%install) DEBUG: Bad exit status from /var/tmp/rpm-tmp.25019 (%install) DEBUG: Child returncode was: 1 INFO: EXCEPTION: Command failed. See logs for output. That was at the very end of the rpmbuild process. Is this the failure you're seeing?
this is s result of another mock bug #695298 but it was fixed in 1.1.10. which version did you try?
It was a pre-release version of 1.1.10/1.0.17. Let me try again with my current tree
I just rebuilt sblim-1-40.el5.src.rpm on a RHEL5 system using mock-1.0.17. No hang observed.
Are you still seeing a hang with 1.1.12?
no longer:-)