Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376295 - sci-libs/gdal-1.8.1 python_mod_optimize() deprecation warning
Summary: sci-libs/gdal-1.8.1 python_mod_optimize() deprecation warning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 05:42 UTC by p4
Modified: 2011-09-19 22:20 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p4 2011-07-25 05:42:35 UTC
Portage asks user to file bug report due to the use of deprecated code.

Reproducible: Always

Steps to Reproduce:
1. $ emerge -av gdal
2. Successful installation.
3. Portage prints warning.
Actual Results:  
* Messages for package sci-libs/gdal-1.8.1:

 * 
 * 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.
 * 
 * Check available image and data formats after building with
 * gdalinfo and ogrinfo (using the --formats switch).

Expected Results:  
N/A

N/A
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-25 17:11:34 UTC
Fixed in main tree. At least i hope so :)
Comment 2 Martin von Gagern 2011-09-19 22:20:26 UTC
(In reply to comment #1)
> Fixed in main tree. At least i hope so :)

Apparently not; got the same message again today, followed by these lines:

 * 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 ]

Probably best to chat with people at #gentoo-python on how to solve this.