> > While building (the Debian package of) groff 1.24.1 in a Debian
> > unstable chroot, I got this error:
> > 
> >  /usr/bin/install -c -m 644 ../../tmac/tty.tmac ../../tmac/tty-char.tmac 
> > '/<<PKGBUILDDIR>>/debian/tmp/usr/share/groff/1.24.1/tmac'
> >  /usr/bin/install -c -m 644 ../../tmac/tty.tmac ../../tmac/tty-char.tmac 
> > '/<<PKGBUILDDIR>>/debian/tmp/usr/share/groff/1.24.1/tmac'
> > install: cannot create regular file 
> > '/<<PKGBUILDDIR>>/debian/tmp/usr/share/groff/1.24.1/tmac/tty.tmac': File 
> > exists
> > 
> > Seems like a race condition to me, where one "install -c" tries to
> > work at the same time the other is *still* writing to the same file.
> 
> Hmm, yeah, looks that way.  I envy the number of cores you must have. :)

Actually, I was using a VM with 2 CPUs.

If you are curious, I've now tried to build the package 50 times (on
several machines with 2 CPUs) and it failed just once, so this failure
is indeed a rare event.

[ My aim is to ensure that the end user will be able to rebuild any
  package no matter what, as far as the machine has enough memory and
  disk space, so I use machines with 1 and 2 CPUs for my unofficial
  archive rebuilds. Too many people already test the build with more
  than that ].

Thanks.

Reply via email to