Created attachment 675661 [details] build.log At least, for version 12. Maybe earlier. -- Targeting X86 -- Registering Bye as a pass plugin (static build: OFF) -- Sphinx enabled. CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Failed to locate sphinx-build executable (missing: SPHINX_EXECUTABLE) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindSphinx.cmake:19 (find_package_handle_standard_args) cmake/modules/AddSphinxTarget.cmake:5 (find_package) docs/CMakeLists.txt:106 (include)
Created attachment 675664 [details] emerge --info
That's only needed for live ebuilds (that set LLVM_MANPAGES=build) given the others provide pregenerated man pages. Issue looks like llvm.org_set_globals() does BDEPEND+="dev-python/sphinx" but then the ebuilds overwrites that later on with BDEPEND="..." and won't pull it.
(In reply to Ionen Wolkens from comment #2) > then the ebuilds overwrites that later on That function also makes changes to IUSE/RESTRICT but then they get overwritten in a similar fashion, although adding doc/test would be duplicates as it is right now.
Thanks for the analysis. I'll fix that.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=567a28e63c8db5205cff3c4b6f357c430d597e25 commit 567a28e63c8db5205cff3c4b6f357c430d597e25 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-11-29 08:50:16 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-11-29 08:50:16 +0000 sys-devel/llvm: Delay llvm.org_set_globals after vars Closes: https://bugs.gentoo.org/757537 Signed-off-by: Michał Górny <mgorny@gentoo.org> sys-devel/llvm/llvm-11.0.0.9999.ebuild | 7 ++++--- sys-devel/llvm/llvm-12.0.0.9999.ebuild | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-)