On 28.6.2018 22:13, Stephen Gallagher wrote:
CCing the maintainers of pyCXX.

On Thu, Jun 28, 2018 at 4:10 PM Jerry James <loganje...@gmail.com <mailto:loganje...@gmail.com>> wrote:

    On Thu, Jun 28, 2018 at 1:25 PM Stephen Gallagher
    <sgall...@redhat.com <mailto:sgall...@redhat.com>> wrote:
     > I've been keeping the lights on in this package for years since
    the maintainer (ravenoak) vanished from Fedora. However, it doesn't
    build against Python 3.7 (works fine with 3.6) and I don't have the
    cycles to dig into it.
     >
     > If someone steps up to fix the FTBFS, I'm willing to hang on as a
    comaintainer, but if no one does, I'm going to orphan it completely
    in about a week.

    The bug is not in pysvn.  It is in python-pycxx.  From the build log:

    /usr/src/CXX/IndirectPythonInterface.cxx: In function 'char*
    Py::__Py_PackageContext()':
    /usr/src/CXX/IndirectPythonInterface.cxx:471:50: error: invalid
    conversion from 'const char*' to 'char*' [-fpermissive]
      char *__Py_PackageContext()             { return _Py_PackageContext; }
                                                       ^~~~~~~~~~~~~~~~~~
    make: *** [Makefile:170: IndirectPythonInterface.o] Error 1


    That declaration should be:

    const char *__Py_PackageContext()             { return
    _Py_PackageContext; }

    Either patch python-pycxx to add the missing "const"

https://src.fedoraproject.org/rpms/python-pycxx/c/74daf1e9fe43f8f532e0e600c40f6c80161f002d?branch=master

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/KS6IG5ZNEHNTOPY44MQI5XTKZTXP4V2L/

Reply via email to