Summary: | Updating packages on rawhide has completely broken python, including dnf | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robin Powell <rlpowell> |
Component: | python3 | Assignee: | Charalampos Stratakis <cstratak> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | bkabrda, cstratak, mcyprian, mhroncok, pviktori, rkuska, rlpowell, tomspur, torsava, twp |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | python3-3.6.0-5.fc26 python35-3.5.2-7.fc26 python34-3.4.5-3.fc26 python2-2.7.13-1.fc26 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-12 10:22:09 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: |
Description
Robin Powell
2017-01-06 00:33:35 UTC
Fixed it like so: yumdownloader glibc libcrypt-nss glibc-common glibc-langpack-en glibc-headers glibc-devel sudo rpm -U glibc-2.24.90-26.fc26.x86_64.rpm glibc-2.24.90-26.fc26.i686.rpm glibc-all-langpacks-2.24.90-26.fc26.x86_64.rpm glibc-common-2.24.90-26.fc26.x86_64.rpm glibc-langpack-en-2.24.90-26.fc26.x86_64.rpm libcrypt-nss-2.24.90-26.fc26.x86_64.rpm glibc-headers-2.24.90-26.fc26.x86_64.rpm glibc-devel-2.24.90-26.fc26.x86_64.rpm libcrypt-nss-2.24.90-26.fc26.i686.rpm So. Apparently y'all got a dependency problem. Could you please show me output of: rpm -q python3 ? rlpowell@vrici> rpm -q python3 python3-3.6.0-1.fc26.x86_64 There's an updated version that fixed some glibc related issues. However, i don't know how to test if it fixes the dependency thing. This seems like the issue mentioned at #1410187 Could we confirm that this is fixed somehow? The fix and the build have been applied in rawhide. # rpm -q system-python system-python-3.5.1-15.fc26.x86_64 # dnf update dnf ... pulls in new python3, but not glibc ... # rpm -q system-python system-python-3.6.0-3.fc26.x86_64 # rpm -q python3 python3-3.6.0-3.fc26.x86_64 # rpm -q glibc glibc-2.24.90-2.fc26.x86_64 # python3 python3: relocation error: /lib64/libpython3.6m.so.1.0: symbol getrandom, version GLIBC_2.25 not defined in file libc.so.6 with link time reference # dnf /usr/libexec/system-python: relocation error: /lib64/libpython3.6m.so.1.0: symbol getrandom, version GLIBC_2.25 not defined in file libc.so.6 with link time reference Indeed, this is a bug and python3 built with glibc >= 2.25 needs to require it. I wonder why this is not handled automatically. Oh and it's glibc 2.24.90 not 2.25 as the error suggest :( Or even 2.24.90-26. I suppose we manually add: Requires: glibc >= 2.24.90-26 To system-python-libs. Yes, that would be good. All Pythons in rawhide probably needs this. python2 and python33 remains to be fixed Commits have been pushed for all the interpreters in rawhide to require glibc. This change does not appear to have been needed for python2. Why was it made to that package? Because it was rebuilded. |