Bug 1533249

Summary: Cannot import gdbm
Product: [Fedora] Fedora Reporter: Randy Barlow <randy>
Component: python2Assignee: Charalampos Stratakis <cstratak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: bkabrda, bookreviewer, cstratak, dmalcolm, mcyprian, mhroncok, pviktori, rkuska, tomspur, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python2-2.7.14-5.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-16 17:17:07 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 Randy Barlow 2018-01-10 20:21:11 UTC
Description of problem:
I noticed today that Python 2 could not import gdbm:

$ python -c "import gdbm"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/lib64/python2.7/lib-dynload/gdbmmodule.so: undefined symbol: gdbm_errno


Version-Release number of selected component (if applicable):
python2-2.7.14-4.fc28.x86_64


Additional info:
This is related to https://bugzilla.redhat.com/show_bug.cgi?id=1533246

Comment 1 Charalampos Stratakis 2018-01-11 10:43:38 UTC
It seems a rebuild is required due to the gdbm update.

Comment 2 Miro Hrončok 2018-01-11 16:24:49 UTC
*** Bug 1533551 has been marked as a duplicate of this bug. ***

Comment 3 Miro Hrončok 2018-01-11 16:25:51 UTC
Also Fedora 27 now.

Comment 4 Fedora Update System 2018-01-11 16:27:47 UTC
python2-2.7.14-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-69044af317

Comment 5 Charalampos Stratakis 2018-01-11 16:56:58 UTC
For the record the rebuild has been done only on F27, as on rawhide we are blocked due to a glibc change which should be resolved soon [0].

As soon as that is fixed, I'll rebuild python2 for rawhide.

[0] https://github.com/python/cpython/pull/5137/files

Comment 6 Fedora Update System 2018-01-12 15:50:49 UTC
python2-2.7.14-5.fc27 has been pushed to the Fedora 27 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-2018-69044af317

Comment 7 Miro Hrončok 2018-01-16 15:08:46 UTC
Note that there is https://bodhi.fedoraproject.org/updates/gdbm-1.13-6.fc27 and after that, this update errors. Since this is already on it's way to stable, maybe we'll just need to push another rebuild later.

(I'm commenting here, because Bodhi is somehow broken.)


$ python2 -c 'import gdbm'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: /usr/lib64/python2.7/lib-dynload/gdbmmodule.so: undefined symbol: gdbm_errno_location


$ rpm -q python2
python2-2.7.14-5.fc27.x86_64

$ rpm -q gdbm
gdbm-1.13-6.fc27.x86_64
gdbm-1.13-6.fc27.i686

Comment 8 Fedora Update System 2018-01-16 17:17:07 UTC
python2-2.7.14-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.