The egg-info files installed by this port have 600 permissions, not allowing them to be read by a non privileged user. This causes the following tracebacks to occur: Traceback (most recent call last): File "/usr/local/bin/easy_install-2.7", line 5, in <module> from pkg_resources import load_entry_point File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 2825, in <module> File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 710, in subscribe File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 2825, in <lambda> File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 2257, in activate File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 2364, in insert_on File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 2403, in check_version_conflict File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 2251, in _get_metadata File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 1219, in get_metadata_lines File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 1211, in get_metadata File "build/bdist.freebsd-9.1-STABLE-amd64/egg/pkg_resources.py", line 1326, in _get IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/site-packages/python_dateutil-2.1-py2.7.egg/EGG-INFO/top_level.txt' This issue has been reported in at least Debian and ArchLinux bug trackers: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462297 https://bugs.archlinux.org/task/30020 Attached patch chmods directories 755 and files 644 post-patch: Port maintainer (nivit@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports)
Responsible Changed From-To: freebsd-ports-bugs->nivit Over to maintainer (via the GNATS Auto Assign Tool)
Author: nivit Date: Mon Mar 11 21:59:10 2013 New Revision: 313942 URL: http://svnweb.freebsd.org/changeset/ports/313942 Log: - Fix incorrect permissions of egg-info files - Bump PORTREVISION PR: ports/176803 Submitted by: koobs Modified: head/devel/py-dateutil/Makefile Modified: head/devel/py-dateutil/Makefile ============================================================================== --- head/devel/py-dateutil/Makefile Mon Mar 11 21:34:13 2013 (r313941) +++ head/devel/py-dateutil/Makefile Mon Mar 11 21:59:10 2013 (r313942) @@ -3,6 +3,7 @@ PORTNAME= dateutil PORTVERSION= 2.1 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -20,6 +21,10 @@ USE_PYTHON= yes USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= python-dateutil +# Fix incorrect permissions +post-patch: + @${FIND} ${WRKSRC}/python_dateutil.egg-info -type f -exec ${CHMOD} ${SHAREMODE} {} ";" + regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} test.py _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks!