Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2011 18:13:41 GMT
From:      Stephen Sanders <ssanders@opnet.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154119: The port sysutls/psutil pkg-plist missing files
Message-ID:  <201101181813.p0IIDfPE015255@red.freebsd.org>
Resent-Message-ID: <201101181820.p0IIK8l1093924@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         154119
>Category:       ports
>Synopsis:       The port sysutls/psutil pkg-plist missing files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 18 18:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Sanders
>Release:        FreeBSD 8.1
>Organization:
OPNET Technologies
>Environment:
FreeBSD vm8-1-64.opnet.com 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Mon Nov 29 05:59:38 EST 2010     root@vm8-1-64.opnet.com:/usr/obj/usr/src/sys/SopwithCamel  amd64
>Description:
The port sysutils/psutils is missing the following two files from pkg-plist.

%%PYTHON_SITELIBDIR%%/psutil/_psposix.py
%%PYTHON_SITELIBDIR%%/psutil/_psposix.pyc

The current package will install but will fail to run when one does an "import psutil" in python.


>How-To-Repeat:
make package
Move the resultant package to a different machine and install it.
Run python and enter "import psutil"
You should see a python stack trace complaining about psposix
>Fix:
Add the following two lines to pkg-plist

%%PYTHON_SITELIBDIR%%/psutil/_psposix.py
%%PYTHON_SITELIBDIR%%/psutil/_psposix.pyc


>Release-Note:
>Audit-Trail:
>Unformatted:



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