[blfs-dev] Libreoffice breakage

Ken Moffat zarniwhoop at ntlworld.com
Thu Aug 2 19:07:49 PDT 2018

On Thu, Aug 02, 2018 at 11:47:16PM +0100, Ken Moffat wrote:
> With book versions from 31st July libreoffice craps out:
> [build CXX] pyuno/source/module/pyuno.cxx
> In file included from /scratch/working/libreoffice-
> /scratch/working/libreoffice- In function 'char* PyStr_AsString(PyObject*)':
> /scratch/working/libreoffice- error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
>      return PyUnicode_AsUTF8(object);
>             ~~~~~~~~~~~~~~~~^~~~~~~~
> /scratch/working/libreoffice- At global scope:
> /scratch/working/libreoffice- warning: cast between incompatible function types from 'PyObject* (*)(PyObject*)' {aka '_object* (*)(_object*)'} to 'PyCFunction' {aka '_object* (*)(_object*, _object*)'} [-Wcast-function-type]
>      {"__dir__",    reinterpret_cast<PyCFunction>(PyUNO_dir),    METH_NOARGS,  nullptr},
>                                                            ^
> google has no matches, no idea if this is a gcc or python3 change.
> Any ideas ?
Probably python.  Fedora had a patch for LO- (they dropped it



           Entropy not found, thump keyboard to continue

More information about the blfs-dev mailing list