Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381353 - sci-libs/gdal-1.8.1 does not compile all its Python modules
Summary: sci-libs/gdal-1.8.1 does not compile all its Python modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-31 18:47 UTC by Chris Mayo
Modified: 2011-09-28 02:43 UTC (History)
1 user (show)

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


Attachments
ebuild patch to compile all Python modules (gdal-1.8.1-pycompile.patch,849 bytes, patch)
2011-08-31 18:47 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2011-08-31 18:47:10 UTC
Created attachment 285169 [details, diff]
ebuild patch to compile all Python modules

Fixed for me by the attached patch to the ebuild. Also bumps EAPI to 3 to stop:

 * 
 * Deprecation Warning: Usage of python_mod_optimize() in packages not supporting installation
 * for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01.
 * Use EAPI >=3 and call python_mod_optimize() with paths having appropriate syntax.
 * The ebuild needs to be fixed. Please report a bug, if it has not been already reported.
 * 
 * python_mod_optimize(): /gdal.py does not exist
 * python_mod_optimize(): /ogr.py does not exist
 * Compilation and optimization of Python modules for CPython 2.7 ...    [ ok ]
Comment 1 Steve Arnold archtester gentoo-dev 2011-09-28 02:43:38 UTC
Fixed in last update.