Bug 1705690 - undefined symbol while importing in python
Summary: undefined symbol while importing in python
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rb_libtorrent
Version: 30
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-02 18:55 UTC by Saggi Mizrahi
Modified: 2019-05-10 00:47 UTC (History)
3 users (show)

Fixed In Version: rb_libtorrent-1.1.13-2.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-10 00:47:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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