make doesn't create failure-logs directory
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Tue Feb 7 14:05:51 UTC 2017
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
$(RM) -r $(MAKESUPPORT_OUTPUTDIR)/failure-logs 2> /dev/null && \
$(MKDIR) -p $(MAKESUPPORT_OUTPUTDIR)/failure-logs
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?
More information about the build-dev