On 11/23/2016 06:36 AM, Jim Meyering wrote: > Subject: [PATCH] build: avoid racy failure of "make -jN install" > > Installing with -j2 or greater could result in a failure like > /bin/sh: line 29: /P/bin/install: Permission denied > when /P/bin/install specifies your PATH-selected install program. > This would arise because we're using "install" to install all > man/*.1 files, and that command would run concurrently with the one > that installs "/P/bin/install" itself. We would run this command: > "src/ginstall src/ginstall /P/bin/install", and it would result > in intervals during which the destination file does not exist, > is empty or incomplete and not executable. We addressed this > problem long ago for installation of actual binaries by telling the > installation rules ot use our just-built bin/ginstall (only when not
s/ot/to/ otherwise +1 Thanks & have a nice day, Berny
