Bug 1390332

Summary: [RFE] Support Python SDK on Mac OS X platform
Product: Red Hat Enterprise Virtualization Manager Reporter: John Call <jcall>
Component: ovirt-engine-sdk-pythonAssignee: Ondra Machacek <omachace>
Status: CLOSED DEFERRED QA Contact: Lukas Svaty <lsvaty>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: bugs, juan.hernandez, mgoldboi, ncredi, omachace, pstehlik
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-01 14:46:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description John Call 2016-10-31 17:51:05 UTC
A customer of mine recently encountered compilation errors when trying to build/use the Python SDK with Mac OS X.  This RFE requests support for Mac OS X.  Recent commits resolved his problem (below.)  Specifically, with this RFE, future code changes won't break OS X.


[This error has already been resolved -- it servers only as an example]

clang -bundle -undefined dynamic_lookup build/temp.macosx-10.10-x86_64-2.7/ext/ov_xml_module.o build/temp.macosx-10.10-x86_64-2.7/ext/ov_xml_reader.o build/temp.macosx-10.10-x86_64-2.7/ext/ov_xml_utils.o build/temp.macosx-10.10-x86_64-2.7/ext/ov_xml_writer.o build/temp.macosx-10.10-x86_64-2.7/ext/xml.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -lxml2 -o build/lib.macosx-10.10-x86_64-2.7/ovirtsdk4/xml.so
duplicate symbol _ov_xml_module in:
    build/temp.macosx-10.10-x86_64-2.7/ext/ov_xml_module.o
    build/temp.macosx-10.10-x86_64-2.7/ext/ov_xml_reader.o
duplicate symbol _ov_xml_module in:
    build/temp.macosx-10.10-x86_64-2.7/ext/ov_xml_module.o
    build/temp.macosx-10.10-x86_64-2.7/ext/xml.o
duplicate symbol _ov_xml_module in:
    build/temp.macosx-10.10-x86_64-2.7/ext/ov_xml_module.o
    build/temp.macosx-10.10-x86_64-2.7/ext/ov_xml_writer.o
ld: 3 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1

[This error has already been resolved -- it servers only as an example]

Comment 9 Michal Skrivanek 2020-03-19 15:42:04 UTC
We didn't get to this bug for more than 2 years, and it's not being considered for the upcoming 4.4. It's unlikely that it will ever be addressed so I'm suggesting to close it.
If you feel this needs to be addressed and want to work on it please remove cond nack and target accordingly.

Comment 10 Michal Skrivanek 2020-04-01 14:46:03 UTC
ok, closing. Please reopen if still relevant/you want to work on it.

Comment 11 Michal Skrivanek 2020-04-01 14:50:11 UTC
ok, closing. Please reopen if still relevant/you want to work on it.