Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portage errors when using pypy #11

Open
lovesegfault opened this issue Nov 26, 2018 · 4 comments
Open

Portage errors when using pypy #11

lovesegfault opened this issue Nov 26, 2018 · 4 comments

Comments

@lovesegfault
Copy link

I use Portage with pypy, as opposed to the usual python3.6/7 package. If I emerge smart-live-rebuild, whenever I use Portage I get the following error message

Error during set creation: Could not import 'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild'

This can be worked around by eselecting python3.6 as opposed to pypy, but I still think this is a bug.

@mgorny
Copy link
Member

mgorny commented Nov 28, 2018

It's a technical limitation. Portage has only a single configuration directory that is shared by all Python versions. Once SLR registers itself there, Portage sees it with all Python versions even though not all can support SLR.

@aTosser
Copy link

aTosser commented Feb 18, 2019

Will not being able to import this set effect functionality? It does not seem to as SLR is still locating and building packages...

@Arusekk
Copy link

Arusekk commented Jan 7, 2021

This is caused by smartliverebuild module not being accessible from pypy and probably can be solved by just adding pypy3 to PYTHON_COMPAT in smart-live-rebuild*.ebuild.

@Putrefalcis
Copy link

My "fix" right now is to comment every line in the /usr/share/portage/config/sets/smart-live-rebuild.conf file - you still can't use emerge @smart-live-rebuild obviously, but at least the error is gone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants