=dev-python/sphinx-1.1.3-r7 installs broken symlinks: / # for f in /usr/bin/sphinx-*; do if [ -h "$f" ]; then echo $f; fi; done | xargs ls -lah lrwxrwxrwx 1 root root 44 17 set 19.27 /usr/bin/sphinx-apidoc -> python-execpython-execpython-execpython-exec lrwxrwxrwx 1 root root 11 17 set 19.27 /usr/bin/sphinx-autogen -> python-exec lrwxrwxrwx 1 root root 22 17 set 19.27 /usr/bin/sphinx-build -> python-execpython-exec lrwxrwxrwx 1 root root 33 17 set 19.27 /usr/bin/sphinx-quickstart -> python-execpython-execpython-exec Note that the second one is valid (points to /usr/bin/python-exec) while the others aren't. For some reason, they point to "python-exec" repeated 2, 3 and 4 times. This is causing an emerge failure in llvm-9999, because sphinx-build is a broken symlink. make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-amd64/bindings' llvm[0]: ***** Completed Release Build make -j11 -C /var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/docs -f Makefile.sphinx man make: Entering directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/docs' sphinx-build -b man -d _build/doctrees . _build/man make: sphinx-build: Command not found make: *** [man] Error 127 make: Leaving directory `/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/docs' * ERROR: sys-devel/llvm-9999::gentoo failed (compile phase): * emake failed Reproducible: Always
By re-emerging dev-python/jinja and dev-python/sphinx the links are now fixed. Installed versions (the same, before and after the re-emerge): * jinja-2.7 (slot 0) * jinja-2.6-r100 (slot compat) * sphinx-1.1.3-r7 Maybe some of these ebuilds were modified with no revbump? Feel free to close if this was not the case and you can't reproduce.
This version is long gone. Reopen if this bug report is still relevant with current versions. Closing.