Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646940 - 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'
Summary: dev-python/twisted-17.9.0 - pkg_postinst(): Cache update failed: [Errno 20] N...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-07 21:42 UTC by OzTiram
Modified: 2022-03-15 08:26 UTC (History)
1 user (show)

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


Attachments
emerge info (emerge--info.txt,5.56 KB, text/plain)
2018-02-07 21:42 UTC, OzTiram
Details
emerge output (emerge.log,757.45 KB, text/plain)
2018-02-07 21:48 UTC, OzTiram
Details

Note You need to log in before you can comment on or make changes to this bug.
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.