FEDORA-2017-f77e2a9205 created by bizdelnick 4 years ago for Fedora 26
obsolete

Fix python3 module build

This update has been submitted for testing by bizdelnick.

4 years ago
User Icon lantw44 commented & provided feedback 4 years ago

It doesn't fix #1443250. Running import dlib in python3 still fails with undefined symbol error.

$ python3
Python 3.6.1 (default, May  9 2017, 15:52:14) 
[GCC 7.1.1 20170503 (Red Hat 7.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.6/site-packages/dlib/__init__.py", line 1, in <module>
    from .dlib import *
ImportError: /usr/lib64/python3.6/site-packages/dlib/dlib.so: undefined symbol: _ZN5boost6python6detail11init_moduleER11PyModuleDefPFvvE

dlib/add_python_module in dlib 18.18 only checks for python-py34, so it cannot find the name python3 used by Fedora. Either replacing python-py34 with python3, or updating dlib to 19.4 (the version used by rawhide), can fix the problem.

BZ#1443250 dlib does not work with python 3

This update has been pushed to testing.

4 years ago

This update has reached 3 days in testing and can be pushed to stable now if the maintainer wishes

4 years ago
User Icon minh commented & provided feedback 4 years ago

Any progress with that package? Seems like this build doesn't fix an issue for me as well

BZ#1443250 dlib does not work with python 3

Please login to add feedback.

Metadata
Type
bugfix
Karma
0
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
4 years ago
in testing
4 years ago
BZ#1443250 dlib does not work with python 3
-2
0

Automated Test Results