On Sun, Aug 26, 2018 at 12:24:35AM +0300, Adrian Bunk wrote: > Control: severity -1 important > > On Fri, Aug 24, 2018 at 11:03:54AM +0000, Santiago Vila wrote: > >... > > for i in `find . -name "testlist" | grep -v ^..build`; \ > > do \ > > if [ ! -e build-openmpi/$i ]; \ > > then \ > > ln -s `pwd`/$i `pwd`/build-openmpi/$i; \ > > fi; \ > > done
Hmm, you say that the error message "failed to create symbolic link" is "normal" in builds which do not fail. Could it be that in those cases the failing "ln" command is just not the last "ln" command in the for loop? The fact that the output of "find" does not have a well defined order would explain that it fails or not in a random fashion. I think this is a violation of Policy 4.6, "Error trapping in makefiles". (which would be "serious" again). Thanks.