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

Bug 193332

Summary: sys-libs/libcap doesn't clean up optimize python modules after itself
Product: Gentoo Linux Reporter: Mart Raudsepp <leio>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mart Raudsepp gentoo-dev 2007-09-21 15:23:28 UTC
sys-libs/libcap-1.10-r10 should call python_mod_optimize and python_mod_cleanup with the appropriate arguments in postinst and postrm if python USE flag is set. Failing to do so can leave python .pyc and .pyo files behind.
This happened for me with leftover libcap.py{c,o} files in python2.4 site-packages after upgrading to python2.5.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-10-02 08:06:48 UTC
in cvs as r11 now.