Red Hat Bugzilla – Bug 431422
Mock uses all memory and begins thrashing when building git
Last modified: 2013-01-10 04:57:26 EST
Description of problem:
Building versions 188.8.131.52 or 1.5.4 of git with mock from either F8 or F9 causes
mock to consume all free memory and start the system thrashing. This happens
when building git's docs; passing the RPM macro '_without_docs 1' allows you to
bypass the problem. Note that a vanilla rpmbuild does not have this problem.
Presumably older versions of mock were able to build git, however I have not yet
tried to track down a version that works.
Version-Release number of selected component (if applicable):
Every time on x86_64. Note however that the PPC builds on koji completed:
Steps to Reproduce:
run mock on a git source rpm.
mock consumes all memory
The build completes successfully, using a reasonable amount of system resources.
Ok, so builds against a fedora 8 buildroot complete just fine. It must be a bug
in something git uses during the build. Sorry for the noise.