| Summary: | [MAINTAINER][PATCH] www/calendarserver incompatible with sysutils/py-psutil-3.1.1 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Axel.Rau | ||||||
| Component: | Individual Port(s) | Assignee: | Pawel Pekala <pawel> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | CC: | pawel | ||||||
| Priority: | --- | Keywords: | patch | ||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
Created attachment 159931 [details]
poudriere testport on 10.1
A commit references this bug: Author: pawel Date: Fri Oct 9 21:41:03 UTC 2015 New revision: 398961 URL: https://svnweb.freebsd.org/changeset/ports/398961 Log: Depend on correct sysutils/py-psutil version to avoid runtime problem. PR: 202369 Submitted by: maintainer Changes: head/www/calendarserver/Makefile |
Created attachment 159930 [details] patch against revision 394414 Problem: After upgradung dependency sysutils/py-psutil to version 3.1.1 calendarserver fails with: - - - File "/usr/local/lib/python2.7/site-packages/calendarserver/accesslog.py", line 594, in __init__ "cpu count" : psutil.NUM_CPUS if psutil is not None else -1, exceptions.AttributeError: 'module' object has no attribute 'NUM_CPUS' - - - Fix: Use sysutils/py-psutil121 instead. Patch attached.