Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763645 - net-libs/davix-0.7.6 : Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Summary: net-libs/davix-0.7.6 : Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
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: 887529
Blocks: 762406
  Show dependency tree
 
Reported: 2021-01-05 08:25 UTC by Toralf Förster
Modified: 2022-12-20 19:31 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.33 KB, text/plain)
2021-01-05 08:25 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,45.40 KB, text/plain)
2021-01-05 08:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,211.12 KB, text/plain)
2021-01-05 08:25 UTC, Toralf Förster
Details
environment (environment,89.09 KB, text/plain)
2021-01-05 08:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.57 KB, application/x-bzip)
2021-01-05 08:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.38 KB, application/x-bzip)
2021-01-05 08:25 UTC, Toralf Förster
Details
net-libs:davix-0.7.6:20210105-063431.log (net-libs:davix-0.7.6:20210105-063431.log,3.97 KB, text/plain)
2021-01-05 08:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.86 KB, application/x-bzip)
2021-01-05 08:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-01-05 08:25:10 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-01-05 08:25:11 UTC
Created attachment 681154 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-05 08:25:12 UTC
Created attachment 681157 [details]
CMakeOutput.log
Comment 3 Toralf Förster gentoo-dev 2021-01-05 08:25:14 UTC
Created attachment 681160 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-01-05 08:25:15 UTC
Created attachment 681163 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-01-05 08:25:17 UTC
Created attachment 681166 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2021-01-05 08:25:18 UTC
Created attachment 681169 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2021-01-05 08:25:19 UTC
Created attachment 681172 [details]
net-libs:davix-0.7.6:20210105-063431.log
Comment 8 Toralf Förster gentoo-dev 2021-01-05 08:25:20 UTC
Created attachment 681175 [details]
temp.tbz2
Comment 9 Guilherme Amadio gentoo-dev 2021-01-05 10:00:36 UTC
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.
Comment 10 Toralf Förster gentoo-dev 2021-01-05 11:09:05 UTC
(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?
Comment 11 Toralf Förster gentoo-dev 2021-01-05 12:35:56 UTC
(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
Comment 12 Guilherme Amadio gentoo-dev 2021-01-05 12:56:17 UTC
(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.
Comment 13 Larry the Git Cow gentoo-dev 2022-09-19 12:11:49 UTC
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(+)