Mock exception on umount

Shad L. Lords slords at lordsfam.net
Mon Nov 8 19:51:29 UTC 2010


On 11/8/2010 12:37 PM, Paul Howarth wrote:
> On Mon, 8 Nov 2010 11:18:01 -0600
> Clark Williams<williams at redhat.com>  wrote:
>
>> On Fri, 05 Nov 2010 13:55:21 +0100
>> David Hrbáč<hrbac.conf at seznam.cz>  wrote:
>>
>>> Hi,
>>> I'm trying to build packages with mock 1.0.12. I use this script:
>>> for i in {4-x86_64,4-i386,5-x86_64,5-i386}; do  mock -r centos-$i
>>> syslinux-4.03-0.pre5.el5.hrb.src.rpm
>>> --resultdir=./syslinux/"%(dist)s"/"%(target_arch)s"/;  done
>>> to produce my rpms. With chroots based on RHEL4.x/CentOS4.x I'm
>>> getting this error. With 5.x tree it is fine.
>>
>> What are you hosting this on?
>
> I sometimes see this with CentOS 4 i386 roots on Fedora 13 x86_64
> hosts, but only after creating a root cache; builds that use an
> existing root cache never seem to exhibit this for me.

We've been dealing with this for years as well trying to build el4 
packages on el5 hosts.  The issue (in our case) seems to be related to 
the udev package being installed and the %postinstall script running 
/sbin/udevstart.  The process never exits correctly and the first 
attempt to build fails.  After the root cache is created the next build 
works great.

-Shad


More information about the buildsys mailing list