pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: python38 build failure on macOS 10.14
On Thu, Mar 26, 2020 at 12:16:55PM +0100, Adam wrote:
Before you try Xcode 10.3, can you add:
USE_TOOLS+= pkg-config
to lang/python38/Makefile and re-build?
It might fail on "Checking for work-directory references", but that's okay.
Interestingly enough, that's resolved the issue with _ctypes.so (still using
Xcode 11.3.1, 10.15 SDK). I now only get the following two errors now:
---
=> Checking file-check results for python38-3.8.2nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/obj/pkg/lang/python38/work/.destdir/usr/pkg:
ERROR: /usr/obj/pkg/lang/python38/work/.destdir/usr/pkg/lib/python3.8/lib-dynload/_hashlib.so
ERROR: /usr/obj/pkg/lang/python38/work/.destdir/usr/pkg/lib/python3.8/lib-dynload/_ssl.so
---
Output log file is at:
http://dl.rsx11.net/misc/python38-output-02.log
I see these lines:
---
The necessary bits to build these optional modules were not found:
_gdbm _hashlib _ssl
ossaudiodev spwd
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
...
Could not build the ssl module!
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381
---
I have security/openssl (openssl-1.1.1e) installed.
Also, please check if this file exists:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/ffi/ffi.h
Yes, that exists.
Cheers, MJ
--
Michael-John Turner * mj%mjturner.net@localhost * http://mjturner.net/
Home |
Main Index |
Thread Index |
Old Index