Install the project... -- Install configuration: "Gentoo" -- Installing: /tmp/portage/dev-util/cmake-3.20.2/image/usr/share/doc/cmake-3.20.2/cmsys/Copyright.txt -- Installing: /tmp/portage/dev-util/cmake-3.20.2/image/usr/bin/ccmake -- Installing: /tmp/portage/dev-util/cmake-3.20.2/image/usr/bin/cmake -- Installing: /tmp/portage/dev-util/cmake-3.20.2/image/usr/bin/ctest -- Installing: /tmp/portage/dev-util/cmake-3.20.2/image/usr/bin/cpack -- Installing: /tmp/portage/dev-util/cmake-3.20.2/image/usr/share/cmake/include/cmCPluginAPI.h CMake Error at Utilities/Sphinx/cmake_install.cmake:46 (file): file INSTALL cannot find "/tmp/portage/dev-util/cmake-3.20.2/work/cmake-3.20.2_build/Utilities/Sphinx/man/ccmake.1": No such file or directory. Call Stack (most recent call first): Utilities/cmake_install.cmake:52 (include) cmake_install.cmake:67 (include) make: *** [Makefile:125: install] Error 1 * ERROR: dev-util/cmake-3.20.2::gentoo failed (install phase): * emake failed It is working fine with sphinx-3.5.4.
Created attachment 706854 [details] build.log of cmake-3.20.2
Created attachment 706857 [details] emerge --info
Looks like the man pages are now generated in Utilities/Sphinx/man/1/ but the build system expects them in Utilities/Sphinx/man/.
Seems to affect qemu-6.0.0[doc] as well (RuntimeError: File 'docs/qemu-qmp-ref.7' could not be found), is it a sphinx issue or something packages need to start fixing?
(In reply to Ionen Wolkens from comment #4) > Seems to affect qemu-6.0.0[doc] as well (RuntimeError: File > 'docs/qemu-qmp-ref.7' could not be found), is it a sphinx issue or something > packages need to start fixing? I presume it is the latter. The CHANGES file of sphinx-4.0.1 has this entry, under "Incompatible changes" in version 4.0.0b1: * #7996: manpage: Make a section directory on build manpage by default (see :confval:`man_make_section_directory`)
Created attachment 707202 [details, diff] Patch for cmake-3.20.2 Attached one-line patch fixes the problem for me. Should we use this bug for cmake, or convert it to a tracker for packages broken with >=sphinx-4.0.0?
(In reply to Ulrich Müller from comment #6) > Created attachment 707202 [details, diff] [details, diff] > Patch for cmake-3.20.2 > > Attached one-line patch fixes the problem for me. > > Should we use this bug for cmake, or convert it to a tracker for packages > broken with >=sphinx-4.0.0? I'll file a tracker.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6296367630f611bfbdcb389afd9e13141dcaa1d8 commit 6296367630f611bfbdcb389afd9e13141dcaa1d8 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-05-14 18:17:10 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-05-14 18:22:30 +0000 dev-util/cmake: Fix IUSE=doc with >=dev-python/sphinx-4.0.0 Closes: https://bugs.gentoo.org/789375 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/cmake/cmake-3.20.2.ebuild | 1 + dev-util/cmake/files/cmake-3.20.2-sphinx-4.patch | 29 ++++++++++++++++++++++++ 2 files changed, 30 insertions(+)
*** Bug 806318 has been marked as a duplicate of this bug. ***