Create the target directory before calling sphinx to put files in it.
Sphinx has a race where it fails with an unhandled exception if it
decides to create a directory and then someone else gets there first.
Details
Details
- Reviewers
chandlerc
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 17765 Build 17765: arc lint + arc unit
Event Timeline
Comment Actions
I've received multiple reports of this issue from FreeBSD ports users, but have never encountered it myself. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227460
Comment Actions
For the record, this has been fixed upstream: https://github.com/sphinx-doc/sphinx/pull/4282. However, I don't know which release version (if any) has the fix.