Bug#936932: libvigraimpex: Python2 removal in sid/bullseye

Andreas Tille tille at debian.org
Tue Oct 1 20:47:34 BST 2019


Control: tags -1 help

Hi,

I tried hard to port libvigraimpex to Python3 in Git[1] and think I
managed.  Unfortunately there is a C++ error uncovered which I feel
unable to fix:

...
/build/libvigraimpex-1.11.1+dfsg/vigranumpy/src/core/vigranumpycore.cxx: In function 'vigra::UInt32 vigra::pychecksum(const boost::python::str&)':
/build/libvigraimpex-1.11.1+dfsg/vigranumpy/src/core/vigranumpycore.cxx:64:39: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
   64 |  char * data = PyUnicode_AsUTF8AndSize(s.ptr(), &size);
      |                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
      |                                       |
      |                                       const char*
make[4]: *** [vigranumpy/src/core/CMakeFiles/vigranumpy_core.dir/build.make:66: vigranumpy/src/core/CMakeFiles/vigranumpy_core.dir/vigranumpycore.cxx.o] Error 1
make[4]: Leaving directory '/build/libvigraimpex-1.11.1+dfsg/obj.python3.7'


Any help would be welcome (or Daniel feel free to continue from here).

Kind regards

     Andreas.


[1] https://salsa.debian.org/science-team/libvigraimpex

-- 
http://fam-tille.de



More information about the debian-science-maintainers mailing list