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

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=1af7bdda5d0f5db6d8b0ede49372610f32140216

commit 1af7bdda5d0f5db6d8b0ede49372610f32140216
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:45:22 +0000

    sysutils/py-psutil: Fix run-time failure: Undefined symbol "kinfo_getfile"
    
    Approved by:    portmgr (bugfix)
    
    (cherry picked from commit 02d01cf0eba9c8571afd005ac8640dba7a947089)
---
 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 8722ee5280e3..d1c70b297986 100644
--- a/sysutils/py-psutil/Makefile
+++ b/sysutils/py-psutil/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	psutil
 PORTVERSION=	5.9.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,6 +16,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.278IjPnC069521>