CCing the maintainers of pyCXX.
On Thu, Jun 28, 2018 at 4:10 PM Jerry James <loganjerry@xxxxxxxxx> wrote:
On Thu, Jun 28, 2018 at 1:25 PM Stephen Gallagher <sgallagh@xxxxxxxxxx> 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" or build pysvn
with -fpermissive.
Incidentally, the two sed expressions in %build are wrong. They don't
match anything, and therefore don't change anything. Change them both
to this:
%{__sed} -i -e 's@-fexceptions -frtti@%{optflags} -frtti@' Makefile
or, if you want to go the -fpermissive route, to this:
%{__sed} -i -e 's@-fexceptions -frtti@%{optflags} -frtti -fpermissive@' Makefile
Regards,
--
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx/message/ZALDNFOZO6DLRXOS6J7EA7WFHMGE3UAF/
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx/message/IU5BXDLUBTMWM6732PGRHBEGSZU5ISMM/