Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 886367

Summary: sci-libs/gdal-3.6.1[python] ignores PYTHON_SINGLE_TARGET
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Mayo 2022-12-16 19:27:00 UTC
With python3.11 as python-exec global preference but for sci-libs/gdal using:
  PYTHON_SINGLE_TARGET="-python3_8 -python3_9 python3_10 -python3_11"
gdal Python packages are installed in /usr/lib/python3.11/site-packages/

ebuild fixed for me by adding to mycmakeargs:
-DPython_LOOKUP_VERSION=${EPYTHON#python}

Tested with sci-libs/gdal-3.5.3-r1 which has the same problem.