Bug 1712057 - python-gattlib FTBFS with python3.8
Summary: python-gattlib FTBFS with python3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-gattlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-20 16:58 UTC by Patrik Kopkan
Modified: 2019-05-22 14:41 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-22 14:41:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Copr build log (137.27 KB, text/plain)
2019-05-20 16:58 UTC, Patrik Kopkan
no flags Details

Description Patrik Kopkan 2019-05-20 16:58:15 UTC
Created attachment 1571343 [details]
Copr build log

python-gattlib fails to build in build section.
 
/usr/bin/ld: cannot find -lboost_python37
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
error: Bad exit status from /var/tmp/rpm-tmp.jH72Uw (%build)


I think it is because in patch https://src.fedoraproject.org/rpms/python-gattlib/blob/master/f/gattlib-boost169.patch
>>> boost_libs = ["boost_python37"]

I want to ask if is good idea to use instead:
boost_libs = [f"boost_python{sys.version_info[0]}{sys.version_info[1]}"]

Comment 1 Gwyn Ciesla 2019-05-22 14:41:21 UTC
Thanks! I had to modify this but the general principle works.


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