https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66005
--- Comment #14 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- (In reply to Eric Gallager from comment #12) > Note that there's a gnulib module for flock: > https://www.gnu.org/software/gnulib/manual/html_node/flock.html I'd see that one -- but it also says: "the replacement function does not really work", so I don't think that's useful? (In reply to Jakub Jelinek from comment #13) > And fcntl in tclx. Seen that, too -- but is TclX something that people actually have available/installed? (Rainer?) > Anyway, I think choosing between flock(1) and some > python file locking would be better than using perl which is only needed in > maintainer mode and not otherwise. Rainer, would a 'python3' variant work for you?