To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80687
Issue #|80687
Summary|Certain .PHONY targets are not build
Component|tools
Version|OOo 2.2.1
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|dmake
Assigned to|vq
Reported by|vq
------- Additional comments from [EMAIL PROTECTED] Wed Aug 15 03:57:12 +0000
2007 -------
This makefile
- - -
SHELL*:=/bin/sh
SHELLFLAGS*:=-ce
%.x : %.y
touch $@
aa.y .PHONY : aa.z
touch $@
- - -
called like this:
$ rm aa.* ; touch aa.z; sleep 1; touch aa.x
$ dmake.exe -rf makefile.mk aa.x
`aa.x' is up to date
doesn't build aa.x
The reason is this part from make.c:
if( (tcp->ce_flag & (F_INFER|F_STAT))==F_INFER && cp->ce_time >= ttime )
tcp->ce_time = cp->ce_time;
This code fragment sets for inferred (not yet statted) prerequisites
the time stamp to the same value as its parent. That and the funny side
effect that .PHONY targets are not statted before they are made leads the
successive Make() for the prerequisite believe that it exits and is newer
than the prerequisite of the prerequisite.
I have no idea what this code was meant to do, removing it should solve the
problem.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]