bug-make
[Top][All Lists]
Advanced

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

Re: Unlink failure on abort


From: Eli Zaretskii
Subject: Re: Unlink failure on abort
Date: Fri, 16 Jun 2017 09:06:44 +0300

> From: Orgad Shaneh <address@hidden>
> Date: Thu, 15 Jun 2017 22:33:30 +0300
> 
> When I abort a build, make fails to unlink the intermediate files. I 
> previously used 4.1.90, and I don't remember
> having these problems.
> 
> This happens even for a single job (without -j).
> 
> Output:
> main.cpp
> mingw32-make[1]: *** Deleting file 'obj/main.o'
> mingw32-make[1]: unlink: obj/main.o: Permission denied
> ^CTerminate batch job (Y/N)? y
> mingw32-make[1]: *** [Makefile:7178: obj/main.o] Error 255
> Terminate batch job (Y/N)? y
> mingw32-make: *** [Makefile:5574: app.exe] Error 255

Why does it say "Terminate batch job (Y/N)?" -- what batch job is
involved in this?  Do you have recipe commands which invoke cmd.exe in
a way that requires Make to go via temporary batch files, perhaps?  If
so, it's possible that this is the (indirect) reason for the problem.
Do you see similar problems with commands that don't need batch files?



reply via email to

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