Bug 1712057

Summary: python-gattlib FTBFS with python3.8
Product: [Fedora] Fedora Reporter: Patrik Kopkan <pkopkan>
Component: python-gattlibAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-22 14:41:21 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:
Bug Depends On:    
Bug Blocks: 1686977    
Attachments:
Description Flags
Copr build log none

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.