Bug 1533249 - Cannot import gdbm
Summary: Cannot import gdbm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python2
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Charalampos Stratakis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1533551 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-10 20:21 UTC by Randy Barlow
Modified: 2018-01-16 17:17 UTC (History)
10 users (show)

Fixed In Version: python2-2.7.14-5.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-16 17:17:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Python 32484 0 None None None 2018-01-11 10:43:38 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.