CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:218 (message): Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindPythonInterp.cmake:175 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20201231-222458 ------------------------------------------------------------------- gcc-config -l: clang version 11.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.9 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) Available Rust versions: [1] rust-1.48.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.272_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Tue Jan 5 05:35:14 AM UTC 2021 emerge -qpvO net-libs/davix [ebuild N ] net-libs/davix-0.7.6 USE="ipv6 -doc -test -tools"
Created attachment 681154 [details] emerge-info.txt
Created attachment 681157 [details] CMakeOutput.log
Created attachment 681160 [details] emerge-history.txt
Created attachment 681163 [details] environment
Created attachment 681166 [details] etc.portage.tbz2
Created attachment 681169 [details] logs.tbz2
Created attachment 681172 [details] net-libs:davix-0.7.6:20210105-063431.log
Created attachment 681175 [details] temp.tbz2
This is likely a problem with your environment. CMake fails to find Python somehow. On my machine, with the same version of Davix and CMake (3.19.2), Python is found and the build succeeds.
(In reply to Guilherme Amadio from comment #9) > This is likely a problem with your environment. Indeed, that's why the tinderbox is for - to find issues with different USE flags than defaults ;) - maybe etc.portage.tbz2 contains the answer?
(In reply to Toralf Förster from comment #10) > (In reply to Guilherme Amadio from comment #9) > > This is likely a problem with your environment. > Indeed, that's why the tinderbox is for - to find issues with different USE > flags than defaults ;) - maybe etc.portage.tbz2 contains the answer? and have a look at the blocker bug please
(In reply to Toralf Förster from comment #11) > (In reply to Toralf Förster from comment #10) > > (In reply to Guilherme Amadio from comment #9) > > > This is likely a problem with your environment. > > Indeed, that's why the tinderbox is for - to find issues with different USE > > flags than defaults ;) - maybe etc.portage.tbz2 contains the answer? > > and have a look at the blocker bug please Ah, I get it now. I will have a look if davix needs to be changed to work with native-symlinks unset. But it may just be the case that CMake will need to be fixed to look for the pythonX.Y binary in the right place when python-exec is installed with USE=-native-symlinks by adding an extra option like -DPYTHON_EXECUTABLE=${EPYTHON} to the eclass rather than having to add something like that to all projects that use CMake to build.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c3112a75d4776c1082827174bd42415da15cf9a commit 2c3112a75d4776c1082827174bd42415da15cf9a Author: Guilherme Amadio <amadio@gentoo.org> AuthorDate: 2022-09-19 10:15:26 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2022-09-19 12:11:14 +0000 net-libs/davix: version bump to 0.8.3 Closes: https://bugs.gentoo.org/763645 Closes: https://bugs.gentoo.org/831849 Closes: https://bugs.gentoo.org/840209 Closes: https://bugs.gentoo.org/861473 Signed-off-by: Guilherme Amadio <amadio@gentoo.org> net-libs/davix/Manifest | 1 + net-libs/davix/davix-0.8.3.ebuild | 88 ++++++++++++++++++++++ .../davix/files/davix-0.8.3-enable-ctest.patch | 25 ++++++ 3 files changed, 114 insertions(+)