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 11:41:39AM +0000, Michael-John Turner wrote:
=> 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/
ERROR:         /usr/obj/pkg/lang/python38/work/.destdir/usr/pkg/lib/python3.8/lib-dynload/

I tweaked the python38 in the working directory, in particular
function detect_openssl_hashlib(). Removing the code that adds _ssl and
_hashlib to self.missing results in both and being built
In particular, the problematic code is:

openssl_includes = split_var('OPENSSL_INCLUDES', '-I')
# Find OpenSSL includes
ssl_incs = find_file(
	'openssl/ssl.h', self.inc_dirs, openssl_includes
if ssl_incs is None:
	self.missing.extend(['_ssl', '_hashlib'])
	return None, None

OPENSSL_INCLUDE has value "-I/usr/pkg/include". Checking the .buildlink
directory I see include/openssl/ssl.h but no usr/pkg. Not sure if it's supposed
to be there or not?

Cheers, MJ

Michael-John Turner * *

Home | Main Index | Thread Index | Old Index