-- Looking for python CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindPythonInterp.cmake:166 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) cmake/modules/SearchInstalledSoftware.cmake:9 (_find_package) cmake/modules/SearchInstalledSoftware.cmake:438 (find_package) CMakeLists.txt:159 (include)
Created attachment 583126 [details] /var/log/portage/sci-physics:root-6.18.00:20190716-191129.log
Created attachment 583128 [details] /tmp/portage/sci-physics/root-6.18.00/work/root-6.18.00_build/CMakeFiles/CMakeOutput.log
Created attachment 583130 [details] /tmp/portage/sci-physics/root-6.18.00/work/root-6.18.00_build/CMakeFiles/CMakeError.log
I have not had a problem with this before. Can you please share the output of emerge -pv root? I see that "-DPYTHON_EXECUTABLE=" is added to the configuration, because ${PYTHON} is not set within the ebuild. What do you have for your PYTHON_SINGLE_TARGET? I probably need to remove the -DPYTHON_EXECUTABLE="${PYTHON}" from src_configure(), but I wonder in which circumstance it can be unset, since it's always set in my builds.
Nevermind, I see you have ROOT with USE=-python. I see the problem now.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe599e6668858d04bfcd46b90cc7a60fce4bc49 commit abe599e6668858d04bfcd46b90cc7a60fce4bc49 Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2019-07-17 11:11:01 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2019-07-17 14:04:43 +0000 sci-physics/root: fix configuration with USE=-python, bug 690020 CMake already finds the right python automatically, there's no need to add -DPYTHON_EXECUTABLE="${PYTHON}" to the configuration. Closes: https://bugs.gentoo.org/690020 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> sci-physics/root/root-6.14.08-r2.ebuild | 1 - sci-physics/root/root-6.16.00-r1.ebuild | 1 - sci-physics/root/root-6.16.00.ebuild | 1 - sci-physics/root/root-6.18.00.ebuild | 1 - sci-physics/root/root-9999.ebuild | 1 - 5 files changed, 5 deletions(-)