|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60343 nmake clean results in root dir emptied in some cases
Submitted: 2011-11-21 00:14 UTC Modified: 2021-10-24 04:22 UTC
From: Assigned: cmb (profile)
Status: No Feedback Package: *Compile Issues
PHP Version: trunk-SVN-2011-11-20 (SVN) OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
New email:
PHP Version: OS:


 [2011-11-21 00:14 UTC]
When running buildconf and configure on the same source directory, but via different symlinks, the resulting Makefile produces rules that result in nmake clean causing all the files (but not directories) of the source dir being deleted.

Actual result:
The gist contains two files.

In the first, both buildconf and configure were run under C:\Users\Cataphract_\Documents\php-src

In the second, buildconf was run under C:\Users\Cataphract\Documents\php-src and configure was run under C:\Users\Cataphract_\Documents\php-src

C:\Users\Cataphract_\Documents\php-src and C:\Users\Cataphract\Documents\php-src represent the same directory.

nmake clean was run under C:\Users\Cataphract_\Documents\php-src in both cases.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-21 00:32 UTC]
More worrisome is that it also deleted all the files one level up from the source directory, in my case C:\Users\Cataphract_\Documents...
 [2021-10-11 12:26 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-10-11 12:26 UTC]
Well, not sure what to do with this.  I haven't checked, but I
consider it not unlikely that this issue still persists.  However,
is it worth spending time on a fix?  I don't think so.
 [2021-10-24 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Nov 27 21:03:13 2021 UTC