To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78837
                 Issue #|78837
                 Summary|Infering a %-target can make dmake think this target e
                        |xists already
               Component|tools
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|dmake
             Assigned to|vq
             Reported by|vq





------- Additional comments from [EMAIL PROTECTED] Sun Jun 24 17:33:16 +0000 
2007 -------
I found this while chasing issue 78506. It seems that when a %-target is infered
the internal representation already gets a file date assigned even though the
target is not yet build. If this target is than used as a prerequisite for
another target that is started later it assumes that the prerequisite exists.
This is most likely to happen in parallel builds, because in a sequential build
an infered target is likely to be build immediately.

I don't have a reduced testcase, but it is easy to reproduce with
desktop/zipintro from SRC680_m216. The attached logfile was generated with:

$ rm -rf wntmsci10.pro zipintro/delzip; cd zipintro
$ dmake -vcdfimrw -m -P2

If one follows dev_intro.zip one sees:

...
dmake:  Time stamp of [../wntmsci10.pro/bin/dev_intro.zip] is 0
...
e target 1182703364.140 last_target
dmake:  Infering prerequisite(s) and recipe for 
[../wntmsci10.pro/bin/dev/intro.zip]
dmake:  Trying prerequisite [../wntmsci10.pro/bin/dev_intro.zip] for
[../wntmsci10.pro/bin/dev/intro.zip]
...
dmake:  Infering prerequisite(s) and recipe for [ALLTAR]
dmake:  Time stamp of [ALLTAR] is 0
dmake:  Time stamp of [../wntmsci10.pro/bin/dev_intro.zip] is 1182703364
...
... Oops!! It is not build yet and has a timestamp?!
...
dmake:  Time stamp of [../wntmsci10.pro/bin/dev/intro.zip] is 0
dmake:  >>>> Making [../wntmsci10.pro/bin/dev/intro.zip]
s target 1182703364.155 ../wntmsci10.pro/bin/dev/intro.zip
dmake:  Updating [../wntmsci10.pro/bin/dev/intro.zip], (1182703364 > 0)
mkdir ../wntmsci10.pro/bin/dev/
cp ../wntmsci10.pro/bin/dev_intro.zip ../wntmsci10.pro/bin/dev/intro.zip

Boom!

This might actually be related to issue 69462.

---------------------------------------------------------------------
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]

Reply via email to