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

Bug 835146

Summary: emerge fails after pypy3 subslot update if pypy3 is a system interpreter
Product: Portage Development Reporter: Anna Vyalkova <cyber+gentoo>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=782889
https://bugs.gentoo.org/show_bug.cgi?id=770421
Whiteboard:
Package list:
Runtime testing required: ---

Description Anna Vyalkova 2022-03-14 15:32:30 UTC
postrm/postinst phases fail with this error:

ModuleNotFoundError: No module named 'encodings'
debug: OperationError:
debug:  operror-type: ModuleNotFoundError
debug:  operror-value: No module named 'encodings'


Reproducible: Always

Steps to Reproduce:
1. Set pypy3 as system interpreter
2. Upgrade dev-python/pypy3 from 0/pypy38-pp73 to 0/pypy39-pp73
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-14 15:34:03 UTC
I think this is quite well known but not sure we can do much about it.

mgorny referenced it in his pypy post to the gentoo-dev ML a while ago: https://marc.info/?l=gentoo-dev&m=161469756208830&w=2.