Date: Tue, 26 Sep 2023 11:05:01 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 274099] lang/python27 fails to compile on 14.0-BETA2 Message-ID: <bug-274099-21822-99c4aHwnUV@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-274099-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-274099-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274099 --- Comment #9 from John Hein <jcfyecrayz@liamekaens.com> --- (In reply to Philip Homburg from comment #3) You are using openssl from ports (openssl-1.1.1w). The openssl shown in comment 1 (and comment 2) is from base. So these two builds are not the sa= me. In the log in comment 3, there is this: warning: openssl 0x00000000 is too old for _hashlib That is why the _hashlib module is not being built. See if you can track d= own why the openssl version reported is 0. setup.py has: # find out which version of OpenSSL we have openssl_ver =3D 0 openssl_ver_re =3D re.compile( '^\s*#\s*define\s+OPENSSL_VERSION_NUMBER\s+(0x[0-9a-fA-F]+)' ) It's looking in openssl/opensslv.h for OPENSSL_VERSION_NUMBER. Assuming th= at file (from your /packages/All/openssl-1.1.1w,1.pkg) does not have a bad ver= sion definition or is corrupt in some other way, consider that setup.py is not u= sing the opensslv.h from the port and needs to be convinced to do so. This [usi= ng the wrong openssl header file(s)] may have always been a [hidden] problem w= ith lang/python27 and the opensslv.h (and perhaps the rest of openssl) in base = and ports were usually close enough to work. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274099-21822-99c4aHwnUV>