[MacPorts] #43187: py-dateutil: File permissions set incorrectly for egg-info
#43187: py-dateutil: File permissions set incorrectly for egg-info ------------------------------+-------------------------------- Reporter: Deil.Christoph@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: py-dateutil ------------------------------+-------------------------------- The file permissions in the egg-info folder for py27-dateutil are set incorrectly (read is forbidden, but should be allowed): {{{ $ ls -lh /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/python_dateutil-2.2-py2.7.egg-info/ total 48 -rw------- 1 root wheel 970B Mar 27 23:21 PKG-INFO -rw------- 1 root wheel 563B Mar 27 23:21 SOURCES.txt -rw------- 1 root wheel 1B Mar 27 23:21 dependency_links.txt -rw------- 1 root wheel 1B Nov 1 09:29 not-zip-safe -rw------- 1 root wheel 3B Mar 27 23:21 requires.txt -rw------- 1 root wheel 9B Mar 27 23:21 top_level.txt }}} This causes installation of some other ports (py27-pyregion in my case) to fail: https://gist.github.com/cdeil/9950045 -- Ticket URL: <https://trac.macports.org/ticket/43187> MacPorts <http://www.macports.org/> Ports system for OS X
#43187: py-dateutil: File permissions set incorrectly for egg-info -------------------------------+------------------- Reporter: Deil.Christoph@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-dateutil | -------------------------------+------------------- Changes (by ryandesign@…): * cc: dh@… (removed) * owner: macports-tickets@… => dh@… -- Ticket URL: <https://trac.macports.org/ticket/43187#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43187: py-dateutil: File permissions set incorrectly for egg-info -------------------------------+------------------- Reporter: Deil.Christoph@… | Owner: dh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py-dateutil | -------------------------------+------------------- Comment (by Peter.Danecek@…): This problem breaks also already installed port (import fails), when these depend in some way on `py-dateutil`. Correcting the rights to `644` solves the problem. {{{ Python 2.7.6 (default, Nov 18 2013, 15:12:51) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin Type "help", "copyright", "credits" or "license" for more information.
from obspy.core import read Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/obspy/__init__.py", line 43, in <module> read.__doc__ % make_format_plugin_table("waveform", "read", numspaces=4) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/obspy/core/util/base.py", line 391, in make_format_plugin_table "obspy.plugin.%s.%s" % (group, name), method) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 351, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 2363, in load_entry_point return ep.load() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 2087, in load if require: self.require(env, installer) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 2100, in require working_set.resolve(self.dist.requires(self.extras),env,installer))) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 633, in resolve requirements.extend(dist.requires(req.extras)[::-1]) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 2291, in requires dm = self._dep_map File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 2277, in _dep_map for extra,reqs in split_sections(self._get_metadata(name)): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 2715, in split_sections for line in yield_lines(s): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 1989, in yield_lines for ss in strs: File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 2305, in _get_metadata for line in self.get_metadata_lines(name): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 1369, in get_metadata_lines return yield_lines(self.get_metadata(name)) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 1361, in get_metadata return self._get(self._fn(self.egg_info,name)) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/pkg_resources.py", line 1470, in _get stream = open(path, 'rb') IOError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/python_dateutil-2.2-py2.7.egg-info/requires.txt'
}}}
-- Ticket URL: <https://trac.macports.org/ticket/43187#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43187: py-dateutil: File permissions set incorrectly for egg-info -------------------------------+-------------------- Reporter: Deil.Christoph@… | Owner: dh@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: py-dateutil | -------------------------------+-------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => fixed Comment: r119081 -- Ticket URL: <https://trac.macports.org/ticket/43187#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts