Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Aug 2022 18:45:03 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 02d01cf0eba9 - main - sysutils/py-psutil: Fix run-time failure: Undefined symbol "kinfo_getfile"
Message-ID:  <202208081845.278Ij3m2069358@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02d01cf0eba9c8571afd005ac8640dba7a947089

commit 02d01cf0eba9c8571afd005ac8640dba7a947089
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-08 18:43:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-08 18:43:24 +0000

    sysutils/py-psutil: Fix run-time failure: Undefined symbol "kinfo_getfile"
    
    Approved by:    portmgr (bugfix)
---
 sysutils/py-psutil/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sysutils/py-psutil/Makefile b/sysutils/py-psutil/Makefile
index 242237afddff..b4b7ae0dcda9 100644
--- a/sysutils/py-psutil/Makefile
+++ b/sysutils/py-psutil/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	psutil
 PORTVERSION=	5.9.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,6 +14,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		cpe python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
 
+LDFLAGS+=	-lutil # fix of: site-packages/psutil/_psutil_bsd.cpython-39.so: Undefined symbol "kinfo_getfile"
+
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}psutil121
 
 CPE_VENDOR=	psutil_project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208081845.278Ij3m2069358>