Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 680750

Summary: sys-devel/llvm-7.0.1[doc]: OSError: [Errno 17] File exists: '/var/tmp/portage/sys-devel/llvm-7.0.1/work/llvm-7.0.1.src-abi_x86_32.x86/docs/man'
Product: Gentoo Linux Reporter: Andrew Savchenko <bircoph>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED INVALID    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
sphinx-err-uLk82G.log
environment
emerge --info

Description Andrew Savchenko gentoo-dev 2019-03-17 12:44:23 UTC
Created attachment 569498 [details]
build.log.xz

Hi!

llvm-7.0.1 fails to build documentation:

******************************************
FAILED: docs/CMakeFiles/docs-llvm-dwarfdump-man
cd /var/tmp/portage/sys-devel/llvm-7.0.1/work/llvm-7.0.1.src-abi_x86_32.x86/docs && /usr/bin/sphinx-build -b man -d /var/tmp/portage/sys-devel/llvm-7.0.1/work/llvm-7.0.1.src-abi_x86_32.x86/docs/_doctrees-llvm-dwarfdump-man -q /var/tmp/portage/sys-devel/llvm-7.0.1/work/llvm-7.0.1.src/docs /var/tmp/portage/sys-devel/llvm-7.0.1/work/llvm-7.0.1.src-abi_x86_32.x86/docs/man

Exception occurred:
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/var/tmp/portage/sys-devel/llvm-7.0.1/work/llvm-7.0.1.src-abi_x86_32.x86/docs/man'
The full traceback has been saved in /var/tmp/portage/sys-devel/llvm-7.0.1/temp/sphinx-err-uLk82G.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
******************************************

Full build logs will be attached below.
Comment 1 Andrew Savchenko gentoo-dev 2019-03-17 12:45:36 UTC
Created attachment 569500 [details]
sphinx-err-uLk82G.log
Comment 2 Andrew Savchenko gentoo-dev 2019-03-17 12:46:16 UTC
Created attachment 569502 [details]
environment
Comment 3 Andrew Savchenko gentoo-dev 2019-03-17 12:47:22 UTC
Created attachment 569504 [details]
emerge --info
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-22 16:17:44 UTC
This is a bug in dev-python/sphinx.  1.3.5 is long gone from ::gentoo, so please upgrade your system.