make doesn't create failure-logs directory

Mike Burton mikeb at mycosystems.co.uk
Tue Feb 7 16:08:55 UTC 2017


No I can’t reproduce it, not sure why it failed before, sorry to have bothered you.

Mike


> On 7 Feb 2017, at 14:05, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:
> 
> On 2017-01-30 16:28, Mike Burton wrote:
>> While looking at JDK-8173375 I found that `make` does not create the directory `build/linux-x86_64-normal-server-release/make-support/failure-logs` during a failed build. I couldn’t find reference to this in build-dev archives so maybe a new bug?
>> 
>> Mike Burton
>> 
> 
> I'm not sure why you think this is the case. In make/InitSupport.gmk, we have:
> 
>   define PrepareFailureLogs
>         $(RM) -r $(MAKESUPPORT_OUTPUTDIR)/failure-logs 2> /dev/null && \
>         $(MKDIR) -p $(MAKESUPPORT_OUTPUTDIR)/failure-logs
>   endef
> 
> Unless rm is returning a non-0 exit code, that should work perfectly well. I've never seen it fail. Can you reproduce this problem?
> 
> /Magnus




More information about the build-dev mailing list