URL: <http://savannah.gnu.org/bugs/?38626>
Summary: make fails on windows with antivirus software Project: make Submitted by: None Submitted on: Fri 29 Mar 2013 03:09:03 PM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 3.81 Operating System: MS Windows Fixed Release: None Triage Status: None _______________________________________________________ Details: When make runs on windows using batch files to execute external programs, it doesn't handle correctly situation when file creation fails because delete is still pending. This behaviour of CreateFile is mentioned here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx Make then fails with 'permission denied' (increasing user confusion) This problem is quite rare, usual resolution is to disable antivirus software or try again. It is masked a bit because make first tries temporary directory, then ./, both must fail. Attached is patch that waits before giving up. On my system it does sometimes take nearly one second to create new file (Process Monitor from Sysinternals and search for 'DELETE PENDING' result). _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri 29 Mar 2013 03:09:03 PM UTC Name: make.patch Size: 812B By: None <http://savannah.gnu.org/bugs/download.php?file_id=27717> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?38626> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make