From owner-svn-ports-head@freebsd.org Sun May 6 16:00:02 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5A86FBE2B9; Sun, 6 May 2018 16:00:01 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9870E796B5; Sun, 6 May 2018 16:00:01 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 937006D41; Sun, 6 May 2018 16:00:01 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w46G01fs046921; Sun, 6 May 2018 16:00:01 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w46G0164046920; Sun, 6 May 2018 16:00:01 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <201805061600.w46G0164046920@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Sun, 6 May 2018 16:00:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469235 - head/devel/llvm60/files X-SVN-Group: ports-head X-SVN-Commit-Author: brooks X-SVN-Commit-Paths: head/devel/llvm60/files X-SVN-Commit-Revision: 469235 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2018 16:00:02 -0000 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}"