Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1594496 - antimony FTFBS with Python 3.7
Summary: antimony FTFBS with Python 3.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: antimony
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio T. (sagitter)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON37
TreeView+ depends on / blocked
 
Reported: 2018-06-23 18:31 UTC by Antonio T. (sagitter)
Modified: 2018-06-29 14:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-29 14:23:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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