Bug 1339790
| Summary: | pygit2 seems to require gcc, which is not in the dependencies | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Patrick Uiterwijk <puiterwijk> |
| Component: | python-pygit2 | Assignee: | Pete Walter <walter.pete> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | i, ignatenko, infra-sig, walter.pete |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-27 09:06:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
There are a lot more dependencies needed like libgit2-devel to get just import to work. *** This bug has been marked as a duplicate of bug 1311161 *** |
Description of problem: After install of python-pygit2, an import tells me I am missing gcc. Version-Release number of selected component (if applicable): python-pygit2-0.23.0-0.1.fc23 How reproducible: consistent Steps to Reproduce: 1. dnf install -y python-pygit2 2. python 3. import pygit2 Actual results: [root@6e5831639320 ipsilon]# python Python 2.7.11 (default, Mar 31 2016, 20:46:51) [GCC 5.3.1 20151207 (Red Hat 5.3.1-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pygit2 unable to execute 'gcc': No such file or directory 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 107, in get_ffi include_dirs=[libgit2_include], library_dirs=[libgit2_lib]) File "/usr/lib64/python2.7/site-packages/cffi/api.py", line 424, in verify lib = self.verifier.load_library() File "/usr/lib64/python2.7/site-packages/cffi/verifier.py", line 110, in load_library self._compile_module() File "/usr/lib64/python2.7/site-packages/cffi/verifier.py", line 207, in _compile_module outputfilename = ffiplatform.compile(tmpdir, self.get_extension()) File "/usr/lib64/python2.7/site-packages/cffi/ffiplatform.py", line 29, in compile outputfilename = _build(tmpdir, ext, compiler_verbose) File "/usr/lib64/python2.7/site-packages/cffi/ffiplatform.py", line 60, in _build raise VerificationError('%s: %s' % (e.__class__.__name__, e)) cffi.ffiplatform.VerificationError: CompileError: command 'gcc' failed with exit status 1 Expected results: Succesful import Additional info: