bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #38626] make fails on windows with antivirus software


From: anonymous
Subject: [bug #38626] make fails on windows with antivirus software
Date: Fri, 29 Mar 2013 15:09:04 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]