Description of problem: matej@mitmanek: jbrout (master)$ python Python 2.7.5 (default, Feb 11 2014, 07:46:25) [GCC 4.8.2 20140120 (Red Hat 4.8.2-13)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pygit2 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/pygit2/__init__.py", line 35, in <module> from .blame import Blame, BlameHunk File "/usr/lib64/python2.7/site-packages/pygit2/blame.py", line 32, in <module> from .errors import check_error File "/usr/lib64/python2.7/site-packages/pygit2/errors.py", line 29, in <module> from .ffi import ffi, C File "/usr/lib64/python2.7/site-packages/pygit2/ffi.py", line 35, in <module> ffi, C = get_ffi() File "/usr/lib64/python2.7/site-packages/pygit2/_utils.py", line 85, in get_ffi ffi.cdef(header.read()) File "/usr/lib64/python2.7/site-packages/cffi/api.py", line 103, in cdef self._parser.parse(csource, override=override, packed=packed) File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 166, in parse self._internal_parse(csource) File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 172, in _internal_parse ast, macros, csource = self._parse(csource) File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 129, in _parse self.convert_pycparser_error(e, csource) File "/usr/lib64/python2.7/site-packages/cffi/cparser.py", line 158, in convert_pycparser_error raise api.CDefError(msg) cffi.api.CDefError: cannot parse "typedef int64_t git_time_t;" :490: Multiple type specifiers with a type tag >>> Version-Release number of selected component (if applicable): python-pygit2-0.21.4-2.el7.x86_64 libgit2-0.21.1-1.el7.x86_64 python-cffi-0.8.6-1.el7.x86_64
Created attachment 997590 [details] suggested patch pygit2/decl.h contains twice typdef for git_time_t
Created attachment 997591 [details] make package buildable for EPEL-7 Just make the build of python3 conditional
rubygem-rugged-0.24.0-1.fc24 julia-0.4.5-2.fc24 gnome-builder-3.20.0-1.fc24 gitg-3.20.0-1.fc24 subsurface-4.4.2-5.fc24 python-pygit2-0.24.0-1.fc24 libgit2-glib-0.24.0-2.fc24 libgit2-0.24.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fadc1e6504
gitg-3.20.0-1.fc24, gnome-builder-3.20.0-1.fc24, julia-0.4.5-2.fc24, kate-15.12.3-2.fc24, kf5-ktexteditor-5.20.0-3.fc24, libgit2-0.24.0-1.fc24, libgit2-glib-0.24.0-2.fc24, python-pygit2-0.24.0-1.fc24, rubygem-rugged-0.24.0-1.fc24, subsurface-4.4.2-5.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-fadc1e6504
gitg-3.20.0-1.fc24, gnome-builder-3.20.0-1.fc24, julia-0.4.5-2.fc24, kate-15.12.3-2.fc24, kf5-ktexteditor-5.20.0-3.fc24, libgit2-0.24.0-1.fc24, libgit2-glib-0.24.0-2.fc24, python-pygit2-0.24.0-1.fc24, rubygem-rugged-0.24.0-1.fc24, subsurface-4.4.2-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.