Hi Santiago,

At 2026-05-10T14:55:36+0200, Santiago Vila wrote:
> 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. :)

(On the other hand, my build-helper scripts don't run the "install"
target with "-j"...maybe they should start.)

> I believe this is the origin of those two threads:
> 
> - Target dist_grottytmac_DATA in src/devices/grotty/grotty.am lines 26-30 
> (unconditional)
> - Target dist_gxditviewtmac_DATA in src/devices/xditview/xditview.am lines 
> 63-67 (conditional)
> 
> So I guess one of the two should be dropped.

I'll look into this, but yes, if that's right then it's the latter that
should go.  "tty-char.tmac" is not (g)xditview's business.  It's
grotty(1)'s.

Thanks for the report!

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to