Apache OpenOffice (AOO) Bugzilla – Issue 85014
dmake generates wrong warnings
Last modified: 2013-08-07 15:34:52 UTC
Dmake 4.11 generates "Found file corresponding to virtual target [...]" warnings for multiple (::) target definitions on native W32 dmakes. This reproduces the problem: - - - makefile.mk - - - SHELL:=cmd.exe SHELLFLAGS:=/S /C all : exists @echo Done exists :: +@echo create > $@ - - - makefile.mk - - - $ rm exists && ./dmake/dmake.exe -rf ../t_shay_2mw.mk Done dmake.exe: Warning: -- Found file corresponding to virtual target [exists].
Created attachment 50678 [details] Patch for dmake
This problem could only be triggered on dmake 4.11 W32 runargv because it returned 0 when the command did finish, the unixy runargv never returned 0 even if the command did finish and this made the problem only possible on W32. This problem did only occur for multi targets because they automatically set the .SEQUENTIAL attribute for its children. The previous patch fixes these problems. @shay: If you want to fix the problem in a special CPAN dmake 4.11 version, then you only need to apply the second hunk of the patch.
committed to dmake412
fixed - even though it was not occurring in dmake412 ;)
warning is gone. but i noticed another one with the testcase, only occuring on a network volume: ----- Done dmake.exe: Warning: -- Target [all] was made but the time stamp has not been updated. ----- any clue?
> any clue? That new warning should only be there if there is a file name 'all' on your network volume. If not this is a bug - please open a new issue and keep this verified ;)
.