On Mon Mar 30, 2020 at 07:34:10PM +0200, Christian Weisgerber wrote:
> People have been switching ports from Python2 to Python3.  In some
> cases, this appears to bubble up to dependent ports and break them:
> 
> games/freeorion         undefined symbol: PyString_FromStringAndSize
> games/gemrb             undefined symbol: Py_InitModule4_64

!cmake

> graphics/piglit         Could NOT find PythonNumpy
> graphics/hugin          Could NOT find PythonLibs

In both cmake cases -DPYTHON_EXECUTABLE=${MODPY_BIN} fix it to find the
correct versions. OK to commit this like my other KDE fixes?

> 
> None of these ports have been touched recently, but they now break
> from Py2/3 problems.  The "undefined symbol" errors are definitely
> a case of linking with -lpython3.7m, but expecting symbols only
> found in -lpython2.7.
> 
> Could the people who have been tilling that field please have a
> look?
> 
> -- 
> Christian "naddy" Weisgerber                          [email protected]
> 

Reply via email to