It seems the pypy 7.3.1 tarball is broken on macOS since it links to an installation of libffi in the non-standard location `/usr/local/opt/libffi/lib/libffi.6.dylib`, see issue 3229[0].

This is due to macOS 10.15.3 not shipping its own libffi (is this true?), so the buildbot owner (CC) had to install it via homebrew. I don't know anything about macOS:


- should we bundle libffi together in the tarball we supply?

- is there a way to tell clang to statically link libffi.a rather than dynamically link to libffi.dylib? Is that desirable?


Any help would be appreciated, even better would be a pull request

- to pypy/tool/release/packaging.py to make the equivalent of a "portable PyPy" for macOS, or to at least bundle libffi.dylib so the runtime loader could find it

or

- to statically link libffi.a when building PyPY.

Thanks,

Matti



[0] https://foss.heptapod.net/pypy/pypy/issues/3229.

_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to