From owner-freebsd-python@freebsd.org Mon Sep 14 15:00:24 2020 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 08FF73D8CD5 for ; Mon, 14 Sep 2020 15:00:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BqqKg6ZB5z3YY6 for ; Mon, 14 Sep 2020 15:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id DFA803D8DB3; Mon, 14 Sep 2020 15:00:23 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DF6C73D8DB2 for ; Mon, 14 Sep 2020 15:00:23 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqqKg4jNpz3Ymw for ; Mon, 14 Sep 2020 15:00:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 85E3318A32 for ; Mon, 14 Sep 2020 15:00:23 +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 08EF0NKX018281 for ; Mon, 14 Sep 2020 15:00:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08EF0NhP018280 for python@FreeBSD.org; Mon, 14 Sep 2020 15:00:23 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 249298] net-mgmt/net-snmp: 'make check-plist' fails with PYTHON on (5.9) Date: Mon, 14 Sep 2020 15:00:23 +0000 X-Bugzilla-Reason: CC 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: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: zi@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: cc flagtypes.name attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2020 15:00:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249298 John Hein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zi@FreeBSD.org Attachment #217958| |maintainer-approval?(zi@Fre Flags| |eBSD.org) --- Comment #2 from John Hein --- Created attachment 217958 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217958&action= =3Dedit [patch] fix missing .pyo and support python3 Note that importing the netsnmp python support fails when using python2.7 (= and there's a warning during the build that hints at the problem as well): % python2.7 -c 'import netsnmp' Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python2.7/site-packages/netsnmp/__init__.py", line 1= , in from .client import * File "/usr/local/lib/python2.7/site-packages/netsnmp/client.py", line 5, = in import netsnmp.client_intf ImportError: /usr/local/lib/python2.7/site-packages/netsnmp/client_intf.so: Undefined symbol "PyUnicode_AsUTF8AndSize" Patch attached: - add back PYDISTUTILS_INSTALL_ARGS (see patch-Makefile.in) - remove python 2.7 support (see above run-time failure and changes to Makefile) - add python3 support (3.5+) QA: - poudriere build with default python (3.7) (ok) - portlint (no errors, no new warnings) - basic run test: python -c 'import netsnmp' --=20 You are receiving this mail because: You are on the CC list for the bug.=