Bug 1594496

Summary: antimony FTFBS with Python 3.7
Product: [Fedora] Fedora Reporter: Antonio T. (sagitter) <anto.trande>
Component: antimonyAssignee: Antonio T. (sagitter) <anto.trande>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anto.trande
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: 2018-06-29 14:23:59 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: 1565020    

Description Antonio T. (sagitter) 2018-06-23 18:31:01 UTC
Description of problem:
Antimony does not compile against python37.

Version-Release number of selected component (if applicable):
antimony-0.9.3

Actual results:
[  9%] Building CXX object lib/graph/CMakeFiles/SbGraph.dir/src/types/downstream.cpp.o
cd /builddir/build/BUILD/antimony-0.9.3/build/lib/graph && /usr/bin/c++   -isystem /usr/include/python3.7m -I/builddir/build/BUILD/antimony-0.9.3/lib/graph/inc  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -pie -DNDEBUG -DRELEASE   -std=gnu++11 -o CMakeFiles/SbGraph.dir/src/types/downstream.cpp.o -c /builddir/build/BUILD/antimony-0.9.3/lib/graph/src/types/downstream.cpp
/builddir/build/BUILD/antimony-0.9.3/lib/graph/src/util.cpp: In function 'std::pair<std::__cxx11::basic_string<char>, int> getPyError()':
/builddir/build/BUILD/antimony-0.9.3/lib/graph/src/util.cpp:50:35: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
         char* c = PyUnicode_AsUTF8(PyList_GetItem(lst, i));
                   ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [lib/graph/CMakeFiles/SbGraph.dir/build.make:157: lib/graph/CMakeFiles/SbGraph.dir/src/util.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....


Additional info:

Bug reported to upstream: https://github.com/mkeeter/antimony/issues/193

Comment 1 Antonio T. (sagitter) 2018-06-23 18:35:08 UTC
Full build log: https://kojipkgs.fedoraproject.org//work/tasks/1872/27751872/build.log

Comment 2 Antonio T. (sagitter) 2018-06-29 14:23:59 UTC
Error fixed with commit https://src.fedoraproject.org/rpms/antimony/c/9e5efa7c222e057afc7a2ed8f6bf9d1a4d7f2b8e?branch=master