Bug 782246 - gnutls-2.12.7-2.fc16.x86_64 does not export gnutls_openpgp_privkey_sign_hash required by python-gnutls-1.1.9-3.fc15.x86_64
Summary: gnutls-2.12.7-2.fc16.x86_64 does not export gnutls_openpgp_privkey_sign_hash ...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnutls
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-16 22:38 UTC by Alex Villacís Lasso
Modified: 2012-01-17 15:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-17 08:11:22 UTC
Type: ---


Attachments (Terms of Use)
One-line patch to add the function to the map file (511 bytes, patch)
2012-01-16 23:18 UTC, Alex Villacís Lasso
no flags Details | Diff

Description Alex Villacís Lasso 2012-01-16 22:38:40 UTC
Description of problem:

The package python-gnutls-1.1.9-3.fc15.x86_64 does not work correctly with gnutls-2.12.7-2.fc16.x86_64. gnutls fails to export the symbol gnutls_openpgp_privkey_sign_hash which is requested by python-gnutls.


Version-Release number of selected component (if applicable):
python-gnutls-1.1.9-3.fc15.x86_64
gnutls-2.12.7-2.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1. python -c 'from gnutls.crypto import X509Certificate, X509PrivateKey'
  
Actual results:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/gnutls/crypto.py", line 11, in <module>
    from gnutls.validators import method_args, one_of
  File "/usr/lib64/python2.7/site-packages/gnutls/validators.py", line 9, in <module>
    from gnutls.constants import *
  File "/usr/lib64/python2.7/site-packages/gnutls/constants.py", line 38, in <module>
    from gnutls.library import constants
  File "/usr/lib64/python2.7/site-packages/gnutls/library/__init__.py", line 7, in <module>
    from gnutls.library import errors
  File "/usr/lib64/python2.7/site-packages/gnutls/library/errors.py", line 15, in <module>
    from gnutls.library.functions import gnutls_strerror, gnutls_alert_get
  File "/usr/lib64/python2.7/site-packages/gnutls/library/functions.py", line 861, in <module>
    gnutls_openpgp_privkey_sign_hash = _libraries['libgnutls.so.26'].gnutls_openpgp_privkey_sign_hash
  File "/usr/lib64/python2.7/ctypes/__init__.py", line 366, in __getattr__
    func = self.__getitem__(name)
  File "/usr/lib64/python2.7/ctypes/__init__.py", line 371, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib64/libgnutls.so.26: undefined symbol: gnutls_openpgp_privkey_sign_hash

Expected results:

No traceback, ideally no output at all.

Additional info:

Debian fixed this very same bug, described at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638801

Comment 1 Alex Villacís Lasso 2012-01-16 23:18:02 UTC
Created attachment 555631 [details]
One-line patch to add the function to the map file

Comment 2 Tomas Mraz 2012-01-17 08:11:22 UTC
I suggest to update to the current gnutls package in Fedora 16 updates before reporting first.

Comment 3 Alex Villacís Lasso 2012-01-17 15:36:37 UTC
You should have remarked that an update was available in updates-testing. By "current", I thought at first that there was a new package in the updates repo, but currently there is none. This package should be moved to stable updates as soon as possible.


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