Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2018 16:00:01 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469235 - head/devel/llvm60/files
Message-ID:  <201805061600.w46G0164046920@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Sun May  6 16:00:01 2018
New Revision: 469235
URL: https://svnweb.freebsd.org/changeset/ports/469235

Log:
  Work around a race in sphinx.
  
  Create the target directory before calling sphinx to render
  content into it.  Sphinx suffers from a race where it crashes with an
  exception if it tries to make a directory and someone else does first.
  
  PR:		227460
  Reported by:	ohartmann@walstatt.org
  MFH:		2018Q2

Added:
  head/devel/llvm60/files/patch-cmake_modules_AddSphinxTarget.cmake   (contents, props changed)

Added: head/devel/llvm60/files/patch-cmake_modules_AddSphinxTarget.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/llvm60/files/patch-cmake_modules_AddSphinxTarget.cmake	Sun May  6 16:00:01 2018	(r469235)
@@ -0,0 +1,11 @@
+--- cmake/modules/AddSphinxTarget.cmake.orig
++++ cmake/modules/AddSphinxTarget.cmake
+@@ -29,6 +29,8 @@
+   endif()
+ 
+   add_custom_target(${SPHINX_TARGET_NAME}
++		    COMMAND ${CMAKE_COMMAND}
++                            -E make_directory ${SPHINX_BUILD_DIR}
+                     COMMAND ${SPHINX_EXECUTABLE}
+                             -b ${builder}
+                             -d "${SPHINX_DOC_TREE_DIR}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805061600.w46G0164046920>