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
Fixed in main tree. At least i hope so :)
(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.