To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=48781
                  Issue #:|48781
                  Summary:|Problem with attempted deletion of already-deleted
                          |intermediate file
                Component:|tools
                  Version:|current
                 Platform:|PC
                      URL:|
               OS/Version:|Windows XP
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|dmake
              Assigned to:|vq
              Reported by:|shay





------- Additional comments from [EMAIL PROTECTED] Thu May  5 09:08:18 -0700 
2005 -------
This is a re-log of a problem first described in issue #43310.

The problem is question is reproduced by the following makefile:

.USESHELL :

all :: foo.dll

foo.dll : foo.obj
        copy foo.obj foo.dll

all :: foo.xs

.c.obj :
        copy $*.c $*.obj

.xs.c :
        copy $*.xs $*.c

foo.xs ::
        echo foo>foo.xs

This almost works OK, but tries to delete foo.xs at the end of the process and
fails because it has already deleted it earlier.  Here's the output that I get:

echo foo>foo.xs
copy foo.xs foo.c
        1 file(s) copied.
del  foo.xs
copy foo.c foo.obj
        1 file(s) copied.
del  foo.c
copy foo.obj foo.dll
        1 file(s) copied.
del  foo.xs
Could Not Find C:\Temp\dmake-43310\foo.xs

If I remove the "all :: foo.xs" line then the extraneous deletion is not
attempted and all is well.

An even stranger thing happens if I changed the "foo.xs ::" line to just "foo.xs
:" instead.  In this case, the extra deletion is again attempted, but this time
succeeds because foo.xs actually gets remade first!  Here's the output:

echo foo>foo.xs
copy foo.xs foo.c
        1 file(s) copied.
del  foo.xs
copy foo.c foo.obj
        1 file(s) copied.
del  foo.c
copy foo.obj foo.dll
        1 file(s) copied.
echo foo>foo.xs
del  foo.xs

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