Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690020 - sci-physics/root-6.18.00[-python]: Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Summary: sci-physics/root-6.18.00[-python]: Could NOT find PythonInterp (missing: PYTH...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-16 19:23 UTC by Michał Górny
Modified: 2019-07-17 14:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/sci-physics:root-6.18.00:20190716-191129.log (sci-physics:root-6.18.00:20190716-191129.log,8.14 KB, text/plain)
2019-07-16 19:23 UTC, Michał Górny
Details
/tmp/portage/sci-physics/root-6.18.00/work/root-6.18.00_build/CMakeFiles/CMakeOutput.log (CMakeOutput.log,82.63 KB, text/plain)
2019-07-16 19:24 UTC, Michał Górny
Details
/tmp/portage/sci-physics/root-6.18.00/work/root-6.18.00_build/CMakeFiles/CMakeError.log (CMakeError.log,3.89 KB, text/plain)
2019-07-16 19:25 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-07-16 19:23:42 UTC
-- 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)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-07-16 19:23:59 UTC
Created attachment 583126 [details]
/var/log/portage/sci-physics:root-6.18.00:20190716-191129.log
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-07-16 19:24:54 UTC
Created attachment 583128 [details]
/tmp/portage/sci-physics/root-6.18.00/work/root-6.18.00_build/CMakeFiles/CMakeOutput.log
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-07-16 19:25:21 UTC
Created attachment 583130 [details]
/tmp/portage/sci-physics/root-6.18.00/work/root-6.18.00_build/CMakeFiles/CMakeError.log
Comment 4 Guilherme Amadio gentoo-dev 2019-07-17 08:07:57 UTC
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.
Comment 5 Guilherme Amadio gentoo-dev 2019-07-17 08:29:57 UTC
Nevermind, I see you have ROOT with USE=-python. I see the problem now.
Comment 6 Larry the Git Cow gentoo-dev 2019-07-17 14:06:42 UTC
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(-)