[PKG-Openstack-devel] Bug#788095: can't load pygit2: PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/pygit2/__pycache__/pygit2_cffi_ea785866x5470904.c'
Stefano Zacchiroli
zack at debian.org
Mon Jun 8 12:48:11 UTC 2015
Package: python3-pygit2
Version: 0.22.0-1
Severity: serious
It looks like pygit2 is not loadable in testing:
zack at timira:~$ python3
Python 3.4.3+ (default, Jun 2 2015, 14:09:35)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygit2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/pygit2/__init__.py", line 35, in <module>
from .blame import Blame, BlameHunk
File "/usr/lib/python3/dist-packages/pygit2/blame.py", line 32, in <module>
from .errors import check_error
File "/usr/lib/python3/dist-packages/pygit2/errors.py", line 29, in <module>
from .ffi import ffi, C
File "/usr/lib/python3/dist-packages/pygit2/ffi.py", line 35, in <module>
ffi, C = get_ffi()
File "/usr/lib/python3/dist-packages/pygit2/_utils.py", line 101, in get_ffi
include_dirs=[libgit2_include], library_dirs=[libgit2_lib])
File "/usr/lib/python3/dist-packages/cffi/api.py", line 340, in verify
lib = self.verifier.load_library()
File "/usr/lib/python3/dist-packages/cffi/verifier.py", line 73, in load_library
self._write_source()
File "/usr/lib/python3/dist-packages/cffi/verifier.py", line 125, in _write_source
file = open(self.sourcefilename, 'w')
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/pygit2/__pycache__/pygit2_cffi_ea785866x5470904.c'
(FWIW, the same problem applies to the Python 2 package.)
Cheers
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python3-pygit2 depends on:
ii dpkg 1.17.25
ii libc6 2.19-18
ii libgit2-22 0.22.2-2
ii python3 3.4.2-2
ii python3-cffi 0.8.6-1
python3-pygit2 recommends no packages.
Versions of packages python3-pygit2 suggests:
pn python-pygit2-doc <none>
-- no debconf information
More information about the Openstack-devel
mailing list