Bug 1357807

Summary: Can't use capng python3 module
Product: [Fedora] Fedora Reporter: Petr Lautrbach <plautrba>
Component: libcap-ngAssignee: Steve Grubb <sgrubb>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: sgrubb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libcap-ng-0.7.8-1.fc24 libcap-ng-0.7.8-1.fc23 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 18:50:49 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 Petr Lautrbach 2016-07-19 08:35:27 UTC
Description of problem:
# python3

>>> import capng
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.5/site-packages/capng.py", line 28, in <module>
    _capng = swig_import_helper()
  File "/usr/lib64/python3.5/site-packages/capng.py", line 24, in swig_import_helper
    _mod = imp.load_module('_capng', fp, pathname, description)
  File "/usr/lib64/python3.5/imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "/usr/lib64/python3.5/imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: /usr/lib64/python3.5/site-packages/_capng.so: undefined symbol: capng_print_caps_numeric


Version-Release number of selected component (if applicable):

# rpm -qf /usr/lib64/python3.5/site-packages/_capng.so 
libcap-ng-python3-0.7.7-4.fc24.x86_64

Comment 1 Steve Grubb 2016-07-19 12:34:25 UTC
Fixed in upstream commit 85. Linking flags were not right. I'll push a new package into Fedora this week.

Comment 2 Fedora Update System 2016-07-24 16:34:41 UTC
libcap-ng-0.7.8-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6838cbe113

Comment 3 Fedora Update System 2016-07-24 16:34:47 UTC
libcap-ng-0.7.8-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-39449e1ecd

Comment 4 Fedora Update System 2016-07-24 22:48:27 UTC
libcap-ng-0.7.8-1.fc23 has been pushed to the Fedora 23 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-2016-6838cbe113

Comment 5 Fedora Update System 2016-07-24 22:52:09 UTC
libcap-ng-0.7.8-1.fc24 has been pushed to the Fedora 24 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-2016-39449e1ecd

Comment 6 Fedora Update System 2016-07-27 18:50:47 UTC
libcap-ng-0.7.8-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2016-08-08 23:56:07 UTC
libcap-ng-0.7.8-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.