Bug 1705690

Summary: undefined symbol while importing in python
Product: [Fedora] Fedora Reporter: Saggi Mizrahi <ficoos>
Component: rb_libtorrentAssignee: Michael Cronenworth <mike>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: me, mike, peter
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rb_libtorrent-1.1.13-2.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-10 00:47:19 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 Saggi Mizrahi 2019-05-02 18:55:11 UTC
Description of problem:
When importing in python3 it spits out an error and crashes

Version-Release number of selected component (if applicable):
rb_libtorrent-python3-1.1.12-2.fc30.x86_64
rb_libtorrent-1.1.12-2.fc30.x86_64


How reproducible:
100%

Steps to Reproduce:
1.python3
2.import libtorrent
3.profit

Actual results:
    import libtorrent as lt
ImportError: /usr/lib64/python3.7/site-packages/libtorrent.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE


Expected results:
It should work

Additional info:

Comment 1 Michael Cronenworth 2019-05-03 13:46:29 UTC
This is strange. The Fedora 30 rb_libtorrent-python3 package auto-generated Requires added boost-python2 (Wrong), but the Fedora 29 package added boost-python3 (Correct). I'll try to package version 1.1.13 and see if the rebuild fixes the Requires. Thanks for the report.

Comment 2 Fedora Update System 2019-05-03 18:00:47 UTC
rb_libtorrent-1.1.13-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8f4c2206ae

Comment 3 Saggi Mizrahi 2019-05-03 18:43:30 UTC
I can confirm that with build rb_libtorrent-1.1.13-2.fc30 it works for me

Comment 4 Michael Cronenworth 2019-05-03 19:04:13 UTC
Thanks! Please leave karma (+1) feedback on the Bodhi update, too.

Comment 5 Fedora Update System 2019-05-04 01:57:57 UTC
rb_libtorrent-1.1.13-2.fc30 has been pushed to the Fedora 30 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-2019-8f4c2206ae

Comment 6 Fedora Update System 2019-05-10 00:47:19 UTC
rb_libtorrent-1.1.13-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.