Apache OpenOffice (AOO) Bugzilla – Issue 80598
dmake loops on target with .IGNORE and broken recipe
Last modified: 2013-08-07 15:34:52 UTC
The following makefile loops: SHELL*:=/bin/sh SHELLFLAGS*:=-ce all .IGNORE : ttttouch all
Happens only with a spawn using dmake, i.e. configured with --enable-spawn .
Created attachment 47496 [details] Patch for dmake
Committed (plus testcase) to dmake411.
Please verify
with dmake 4.9 i get dmake: Error: -- ttttouch: No such file or directory which is a usefull hint. with dmake 4.11 this message is gone. this of cause consistent with e.g. .INCLUDE .IGNORE : no_such_file.mk on the othere hand this could make it quite hard to find typos. note that this also affects all: -ttttouch all
The error message is hidden behind a (any) verbose flag, try -vw, but you are right, there is a difference between a recipe command failing with an error and an invalid command. I also found that the native W32 version just fails if spawnvpe fails to execute it. The following (still untested) patch should solve both problems.
Created attachment 48719 [details] Patch for dmake
Tested with native W32 dmake and cygwin dmake. Committed patch and changed the testcase. Please verify.
.
dmake 4.11 is in use now