Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840858 - dev-python/bcrypt-3.2.0: ModuleNotFoundError: No module named '_cffi_backend'
Summary: dev-python/bcrypt-3.2.0: ModuleNotFoundError: No module named '_cffi_backend'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-25 19:43 UTC by msdobrescu
Modified: 2022-04-25 20:34 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description msdobrescu 2022-04-25 19:43:26 UTC
dev-python/bcrypt/bcrypt-3.2.0 successfully built, at runtime, from dependent app:

pyhoca-gui 
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/pyhoca-gui", line 39, in <module>
    from pyhoca.wxgui.launcher import PyHocaGUI_Launcher
  File "/usr/lib/python3.9/site-packages/pyhoca/wxgui/launcher.py", line 41, in <module>
    from x2go import X2GOCLIENT_OS
  File "/usr/lib/python3.9/site-packages/x2go/__init__.py", line 28, in <module>
    from .defaults import X2GOCLIENT_OS
  File "/usr/lib/python3.9/site-packages/x2go/defaults.py", line 30, in <module>
    import paramiko
  File "/usr/lib/python3.9/site-packages/paramiko/__init__.py", line 22, in <module>
    from paramiko.transport import SecurityOptions, Transport
  File "/usr/lib/python3.9/site-packages/paramiko/transport.py", line 91, in <module>
    from paramiko.dsskey import DSSKey
  File "/usr/lib/python3.9/site-packages/paramiko/dsskey.py", line 37, in <module>
    from paramiko.pkey import PKey
  File "/usr/lib/python3.9/site-packages/paramiko/pkey.py", line 31, in <module>
    import bcrypt
  File "/usr/lib/python3.9/site-packages/bcrypt/__init__.py", line 25, in <module>
    from . import _bcrypt  # type: ignore
ModuleNotFoundError: No module named '_cffi_backend'
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-25 19:46:51 UTC
bcrypt does depend on cffi already though.

emerge --info dev-python/cffi dev-python/bcrypt please.
Comment 2 msdobrescu 2022-04-25 20:34:09 UTC
My bad. For some reason, the second time it was built correctly. I'll reopen if this happens again.