Opened 3 years ago

Last modified 20 months ago

#64039 assigned defect

pypy @7.3.6_2: ImportError: No module named _pypy_util_cffi_inner

Reported by: brolcz Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: pypy

Description

I am using mojave. When I try to install pypy, it fails to build at the step of staging to destroot. I am attaching the log.

Attachments (1)

main.log.zip (836.3 KB) - added by brolcz 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by brolcz

Attachment: main.log.zip added

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: danchr@… removed
Owner: set to danchr
Status: newassigned
Summary: pypy @7.3.6_2: fail staging pypy to destrootpypy @7.3.6_2: ImportError: No module named _pypy_util_cffi_inner

comment:2 Changed 20 months ago by ryandesign (Ryan Carsten Schmidt)

This still happens today with 7.3.9 on macOS Catalina and earlier.

https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/133995/steps/install-port/logs/stdio

Traceback (most recent call last):
  File "<module>", line 1, in <module>
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_pypy/pypy/work/pypy2.7-v7.3.9-src/lib_pypy/_ssl/__init__.py", line 1, in <module>
    from _cffi_ssl._stdssl import (
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_pypy/pypy/work/pypy2.7-v7.3.9-src/lib_pypy/_cffi_ssl/_stdssl/__init__.py", line 33, in <module>
    from _pypy_util_cffi import StackNew
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_pypy/pypy/work/pypy2.7-v7.3.9-src/lib_pypy/_pypy_util_cffi.py", line 2, in <module>
    from _pypy_util_cffi_inner import ffi, lib
ImportError: No module named _pypy_util_cffi_inner

* _pypy_util_build.py
* _ctypes/_ctypes_build.py
!!!!!!!!!!
Building _ssl bindings failed.
                You can either install development headers package,
                add the --without-_ssl option to skip packaging this
                binary CFFI extension, or say --without-cffi.
calling create_cffi_import_libraries with "embed_dependencies" False
build stdout:
build stderr:
test stdout:
test stderr:
Note: See TracTickets for help on using tickets.