Subject: Re: 4.0_BETA move-if-change Permission denied
To: None <current-users@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: current-users
Date: 09/07/2006 14:59:21
On Thu, 07 Sep 2006, Matthias Scheler wrote:
> > nbgmake[1]: execvp: /bstg/netbsd-4/usr/src/tools/gcc/../../gnu/dist/gcc4/libcpp/../move-if-change: Permission denied
> 
> This is a bug in "src/distrib/sets/makesrctars" which by purpose removes
> the executable bit from all files in the source tarballs. Could you
> please submit a PR in category toolchain for this?

move-if-change seems to be executed using $(SHELL) or ${CONFIG_SHELL} in
most cases, and this shouldn't need the source file to be executable.
For example, see src/dist/gnu/gcc5/Makefile.in.  But there are some
other cases where it's not explicitly executed with a shell, and those
should be fixed.

--apb (Alan Barrett)