From nobody Tue Sep 26 11:05:01 2023 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rvxj95SRxz4v10m for ; Tue, 26 Sep 2023 11:05:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rvxj90Dcbz3Kww for ; Tue, 26 Sep 2023 11:05:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695726301; a=rsa-sha256; cv=none; b=h+8DeTMvIKKgOes03uhLKspgbNLtfeEtXYlyKjil1jSz/KXIEesMyS9EIT7YzCdbiArD15 N1u0TT+1t3rLdgBtytimUBQyWiK69250Ng14im7e2c526dX1WzL2WjSdutc1gQINQ0GPHz gT9RvFBkBu2fYepmB2PCiCJpyJvv6yhvuBU5EusDy2oyVdS1zuyzcXfk7hubjYG+po5Z11 DD57exVkI0FC9IhEwKudUazREW+I6noW5yfdjf1faHVqgA5SQQgm+2i2a8wd6K5hviHt7H uMEWqywXEMHjL9WkUrznIKnYvnN1f+zyIXctWT3vd+z91mvLz6JW/zSUUXWpYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695726301; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BBeAn2gbTxpfwGHOEMsHZDBaiumRcH5HMxVDW+h02+8=; b=pztCxXVOuN1aUt18WHYUAX3mul1jg7Z4jhL1OzcTGfKwgnPwqqToPCCN69SHaAoUR7qMQE SDd8Ss3UMdmDN2yT53u+PIL0IafqRIIO2ArXRJ+s9FsALVQmWC6fWqYT2sDh+Nh8QHsju+ kGiex/ffjvllKTzTAJ4rAHES7qOdaFQo+j8VXNKxDgskK2QOoJ+hYa2+Srg83krgcne0P0 Z5xwof5X222Yz/hHOT7zFxOueS/hRQ3VVMHSrMfuOtF5cpwhYAb5LUIOY9+yQoY0lB2VU0 APaA2ZctMtrhSrWHXGjFOrjQCKX0D8+I+Fas9YVbXsAZS8izxsUnVnUXRq0N2Q== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rvxj86L6WztY1 for ; Tue, 26 Sep 2023 11:05:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 38QB50sm031647 for ; Tue, 26 Sep 2023 11:05:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38QB50Is031646 for python@FreeBSD.org; Tue, 26 Sep 2023 11:05:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 274099] lang/python27 fails to compile on 14.0-BETA2 Date: Tue, 26 Sep 2023 11:05:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274099 --- Comment #9 from John Hein --- (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.=