Red Hat Bugzilla – Bug 501096
Mock failed test when building tcl
Last modified: 2013-01-10 00:13:28 EST
mock-0.9.14-1.el5 from EPEL 5Server
on Red Hat Enterprise Linux Server release 5.3 (Tikanga)
build target:tcl-8.4.13-4.el5.src.rpm RHEL 5Client
When I try to build tcl-8.4.13-4.el5.src.rpm, the building fail for 6 hours the http.test and socket.test, mock doesn't take "config_opts['files']['/etc/hosts']" option from the /etc/defaults.cfg but the "config_opts['use_host_resolv'] = True" work.
The build was successful when I put the /ect/hosts manualy with the command "mock --copyin /etc/hosts /etc/hosts" and launching the rebuild with --no-clean for tcl.
The exec.test failed too, the error message is on the attachement. I try to play with:
config_opts['chrootuid'] = os.getuid()
config_opts['chrootgid'] = grp.getgrnam("mock")
config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d \ %(home)s -n %(user)s' # Fedora/RedHat
config_opts['chrootuser'] = 'brewbuilder'
config_opts['chrootgroup'] = 'brewbuilder'
This 2 errors aren't present when I build outside of the chroot with user non-root with rpmbuild. Only a small non-critical error with http.test.
I dont understand why we have Mock 0.9.14, the requierement for building the 0.9.14 is autoconf 2.61 but we have autoconf 2.59-12 on RHEL 5Server.
Created attachment 344252 [details]
exec.test error message
Created attachment 344254 [details]
Created attachment 344256 [details]
mock init ans mock --copyin /etc/hosts /etc/hosts aren't logged for unknown reason
I have no idea what's going on here... Clark?
nothing leaps out at me.
Can I get that tcl SRPM from somewhere so I can duplicate the build environment?
I have to wonder if this isn't an selinux related issue that has been fixed with the selinux plugin. Does it still happen?
I've built the above listed tcl package with my latest mock (1.1.10/1.0/17) on a F14 host with an epel-5-x86_64 config. I suspect the controlling terminal issue that we've been chasing.
I think the 1.1.10/1.0.17 I'll release next week will fix this bug.
mock-1.1.10-1.fc15 has been submitted as an update for Fedora 15.
mock-1.1.10-1.fc14 has been submitted as an update for Fedora 14.
mock-1.0.17-1.el5 has been submitted as an update for Fedora EPEL 5.
mock-1.1.10-1.fc13 has been submitted as an update for Fedora 13.
mock-1.1.10-1.el6 has been submitted as an update for Fedora EPEL 6.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mock-1.1.10-1.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
mock-1.1.10-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.10-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.10-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.0.17-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.10-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.