Created attachment 273199 [details] Ebuild modified to apply patch Boost fails to compile when the system-wide python implementation is set to version 3.2 To reproduce: 1. Install python3.2 2. eselect python set python3.2 3. emerge boost Build log shows two instances of this error: libs/python/src/converter/builtin_converters.cpp:436:32: error: cannot convert 'PyUnicodeObject*' to 'PyObject*' for argument '1' to 'Py_ssize_t PyUnicodeUCS4_AsWideChar(PyObject*, wchar_t*, Py_ssize_t)' Upstream boost developers have issued a patch for python3.2 at the link below. Modifying the 1.46.1 ebuild to apply the patch resulted in a successful build. http://boost.2283326.n4.nabble.com/Python-3-2-convert-convert-PyObject-to-PyUnicodeObject-td3429936.html
Direct link to patch: https://svn.boost.org/trac/boost/raw-attachment/ticket/4994/4994-compile-fix-for-Python32-v2.patch
Fixed