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

Bug 646940

Summary: dev-python/twisted-17.9.0 - pkg_postinst(): Cache update failed: [Errno 20] Not a directory: '/usr/lib64/python3.5/site-packages/colorama-0.3.9-py3.5.egg/twisted/plugins/dropin.cache'
Product: Gentoo Linux Reporter: OzTiram <oz.tiram>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: dolsen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info
emerge output

Description OzTiram 2018-02-07 21:42:30 UTC
Created attachment 518510 [details]
emerge info

I have tried multiple times to build twisted with different python3 version, all failed due to a post install step.
Comment 1 OzTiram 2018-02-07 21:48:31 UTC
Created attachment 518512 [details]
emerge output
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2018-07-07 20:20:07 UTC
Sorry, I should have seen this error long ago...

Regenerating cache for twisted.plugins ...
Cache update failed: [Errno 20] Not a directory: '/usr/lib64/python3.5/site-packages/colorama-0.3.9-py3.5.egg/twisted/plugins/dropin.cache'
 * ERROR: dev-python/twisted-17.1.0-r2::gentoo failed (postinst phase):


This step rebuilds the twisted plugin cache for your install.  In this case this indicates a problem with a plugin that imports clorama which installed the twisted plugin that is failing.  Perhaps it is an orphaned entry.  

I installed colorama-0.3.9 and re-installed twisted without error.
The installed files list for colorama does not indicate any interaction with twisted.  And twisted has no direct use of colorama.

You may need to do a reverse dependency search to find the pkg that installed the twisted plugin depending on colorama.