Summary: | dev-util/cmake-3.0.2 with doc USE flag - src_compile(): Extension error: Could not import extension cmake (exception: cannot import name CMakeLexer) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Juergen Rose
2015-01-06 09:59:38 UTC
Created attachment 393304 [details]
build.log
'USE=-doc emerge -v1 cmake' works. Thanks for reporting. New version builds for me with doc use flag. Please sync in some hours to get the changes. + + 16 Jan 2015; Johannes Huber <johu@gentoo.org> +cmake-3.1.0.ebuild, + +files/cmake-3.1.0-FindPythonInterp.patch, + +files/cmake-3.1.0-darwin-isysroot.patch: + Version bump by Eugene Shalygin <eugene.shalygin@gmail.com>, bug #535928. + Builds again with doc use flag, bug #535768. + It still fails here, even after 'emerge --sync': ... [100%] sphinx-build html: see Utilities/Sphinx/build-html.log cd /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build/Utilities/Sphinx && /usr/bin/sphinx-build -c /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build/Utilities/Sphinx -d /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build/Utilities/Sphinx/doctrees -b html /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0/Help /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build/Utilities/Sphinx/html > build-html.log Extension error: Could not import extension cmake (exception: cannot import name CMakeLexer) Utilities/Sphinx/CMakeFiles/documentation.dir/build.make:52: recipe for target 'Utilities/Sphinx/doc_format_html' failed make[2]: *** [Utilities/Sphinx/doc_format_html] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build' CMakeFiles/Makefile2:1757: recipe for target 'Utilities/Sphinx/CMakeFiles/documentation.dir/all' failed make[1]: *** [Utilities/Sphinx/CMakeFiles/documentation.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build' Makefile:147: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: dev-util/cmake-3.1.0::gentoo failed (compile phase): * emake failed (In reply to Johannes Huber from comment #3) > Thanks for reporting. New version builds for me with doc use flag. Please > sync in some hours to get the changes. > > + > + 16 Jan 2015; Johannes Huber <johu@gentoo.org> +cmake-3.1.0.ebuild, > + +files/cmake-3.1.0-FindPythonInterp.patch, > + +files/cmake-3.1.0-darwin-isysroot.patch: > + Version bump by Eugene Shalygin <eugene.shalygin@gmail.com>, bug #535928. > + Builds again with doc use flag, bug #535768. > + Also one day later 'emerge cmake' with cmake-3.1.0 fails with the same error. cd /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build/Utilities/Sphinx && /usr/bin/sphinx-build -c /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build/Utilities/Sphinx -d /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build/Utilities/Sphinx/doctrees -b html /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0/Help /var/tmp/portage/dev-util/cmake-3.1.0/work/cmake-3.1.0_build/Utilities/Sphinx/html > build-html.log Extension error: Could not import extension cmake (exception: cannot import name CMakeLexer) Utilities/Sphinx/CMakeFiles/documentation.dir/build.make:52: recipe for target 'Utilities/Sphinx/doc_format_html' failed make[2]: *** [Utilities/Sphinx/doc_format_html] Error 1 BTW., the new patches seems to be taken into account: root@caiman:/root(14)# grep patch /var/tmp/portage/dev-util/cmake-3.1.0/temp/build.log * Applying cmake-2.6.3-no-duplicates-in-rpath.patch ... * Applying cmake-2.8.10-darwin-bundle.patch ... * Applying cmake-2.8.10-libform.patch ... * Applying cmake-2.8.10.2-FindPythonLibs.patch ... * Applying cmake-2.8.12.1-FindImageMagick.patch ... * Applying cmake-3.0.0-FindBLAS.patch ... * Applying cmake-3.0.0-FindBoost-python.patch ... * Applying cmake-3.0.0-prefix-dirs.patch ... * Applying cmake-3.0.2-FindLAPACK.patch ... * Applying cmake-3.1.0-darwin-isysroot.patch ... * Applying cmake-3.1.0-FindPythonInterp.patch ... What is your active python interpreter? Which version of dev-python/sphinx is installed? Do you run python-updater to check if your python stack is in a sane state? Passing here with 3.2.1, if it still fails for you the information requested in comment #7 would be useful. |