From nobody Mon Nov 28 16:49:26 2022 X-Original-To: ports-bugs@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 4NLWdy30kcz4jLvB for ; Mon, 28 Nov 2022 16:49:26 +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 4NLWdy1Yv6z3wTV for ; Mon, 28 Nov 2022 16:49:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669654166; 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; bh=wj4HZ7TXOKTByr1ir5SbWX/Y0jiRdKl2e/jGuZOriSs=; b=AORZG8uZuW0+ltNt2yio34J0CIGdl4auI+Ks4xze2iOjwKSMOnfBJ+ycL7V3V/JYU04irA Zi/jwFyReRNdmWSAhfURHeaW2Q3WH13EC0NxrnYteoeIf1J9TpXCz7yd5AR1LebLG0xBEN boNwoxjC6+kSw+ZgAPuGMCxK7PqbkkN4jbKN74jgoXO5yJUU9Z7NSZUgHquER9I/xlcWBU 0iKBexnRexCUMPnbZ6GcB9Qo1xmFb22SROyvSspG9hKiguGxNK1CK2DsHil+fo3QydjAd/ MUVjd/k+rSr634zbLrVIqd8w/7tkJagRkQWe9Vkkt0M+Eq9p/5p5iVXdyzFirA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669654166; a=rsa-sha256; cv=none; b=GME8gxkgWji9Bo5lG/PpGZw5dHyZptuU7hjJsVgbff8wVGsHlEt4k/F+nT/GLEjKK8RZeD Abi9aipvphJmFYNYCrME6ECO6/PMvQ1xvP0UXyCYsqB5J48dlvXtbnBFGQgakLC+F3W0rM nEZVf/SJQFsRKZ3yH8tuysVmjYz2t1bvnDSbymtf1F7A9jtopuqjitWdPpEZFNmhWJxoRx 1Wk3+G2hOB/hi/kVWscKBLrwPxvwqe0i6o1mTyLXZ4p+1YYtTYc8qEZVvCfU7Qbwv3kxG3 cdWk6YIfcN4nqCRXyDlcKzxRjqV14glo5+WZAYfv4wAiWzrXZ3ef2VbzVtAo6w== 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 4NLWdy0d0vzkw7 for ; Mon, 28 Nov 2022 16:49:26 +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 2ASGnQH9046848 for ; Mon, 28 Nov 2022 16:49:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2ASGnQo2046847 for ports-bugs@FreeBSD.org; Mon, 28 Nov 2022 16:49:26 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: ports-bugs@FreeBSD.org Subject: [Bug 268043] devel/py-twisted regression with openssl port Date: Mon, 28 Nov 2022 16:49:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: dinoex@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268043 Bug ID: 268043 Summary: devel/py-twisted regression with openssl port Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: dinoex@FreeBSD.org Flags: maintainer-feedback?(python@FreeBSD.org) Assignee: python@FreeBSD.org Enviroment: make.conf: DEFAULT_VERSIONS+=3D ssl=3Dopenssl after upgrading matrix-synapse and its dependencies, server fails to start. Logfile: matrix pkg[26938]: py39-twisted upgraded: 22.4.0 -> 22.10.0 matrix root[37561]: /usr/local/etc/rc.d/synapse: WARNING: failed to start synapse Backtrace ... ends with AttributeError: module 'OpenSSL.SSL' has no attribute 'TLS_METHOD' Crude workaround, I changed 2 files to make synapse starting again. This maybe not well tested. vim /usr/local/lib/python3.9/site-packages/twisted/internet/_sslverify.py line 1492 -self.method =3D SSL.TLS_METHOD +self.method =3D SSL.TLSv1_2_METHOD line 1807 - SSL.TLS_METHOD, + SSL.TLSv1_2_METHOD, vim /usr/local/lib/python3.9/site-packages/twisted/internet/ssl.py" line 95 -sslmethod=3DSSL.TLS_METHOD, +sslmethod=3DSSL.TLSv1_2_METHOD, line 145 -method =3D SSL.TLS_METHOD +method =3D SSL.TLSv1_2_METHOD Aa alternate solution may be adding: ${REINPLACE_CMD} -e 's|TLS_METHOD|TLSv1_2_METHOD|' .... If you pick one of the ways, I will generate a build tested patch. --=20 You are receiving this mail because: You are the assignee for the bug.=