Bug 1447934
Summary: | custodia does not seem to pull correct dependencies | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Pazdziora <jpazdziora> |
Component: | custodia | Assignee: | Simo Sorce <ssorce> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | cheimes, jpazdziora, mhroncok, ssorce |
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: | 2017-05-04 09:35:23 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: |
Description
Jan Pazdziora
2017-05-04 09:23:04 UTC
Putting RUN dnf -y upgrade && dnf clean all to the Dockerfile before the custodia installation makes the error go away. But if custodia needs some additional libraries / packages / packages in particular version, it should pull them via versioned dependencies. That's not a bug in Custodia but some incompatibility between python3-cffi and python3's ABI. python3-cffi is a dependency of python3-cryptography. The bug is caused by an ABI mismatch between Python 3.6.0 and packages that have been compiled for Python 3.6.1 without Py_LIMITED_API, see #1435135. *** This bug has been marked as a duplicate of bug 1435135 *** Well, trying the reproducer, $ docker run --rm -ti registry.fedoraproject.org/fedora:27 python3 -c "import rpm" $ echo $? 0 passes. So the image itself does not seem to have the problem. Do we need this bugzilla reset to python3-cffi or some other component that needs to be rebuilt? Here is a reproducer: $ docker run custodia-fedora-27 python3 -c "import _cffi_backend" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: /usr/lib64/python3.6/site-packages/_cffi_backend.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PySlice_AdjustIndices The Fedora rawhide image has Python 3.6.0, you need 3.6.1: $ docker run custodia-fedora-27 /usr/bin/rpm -qa python3 python3-3.6.0-20.fc26.x86_64 Imagine this as a bug in the python3 package that has been fixed. All you have to do is update python3. |