I am getting this on several amd64 hosts. running build_ext building 'matplotlib.ft2font' extension creating build-2.7/temp.linux-x86_64-2.7 creating build-2.7/temp.linux-x86_64-2.7/src x86_64-pc-linux-gnu-g++ -pthread -O2 -ggdb -pipe -fno-strict-aliasing -mmmx -msse -msse2 -mssse3 -march=native -mtune=native -fno-strict-aliasing -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/freetype2 -I/usr/include -I. -I/usr/include/python2.7 -c src/ft2font.cpp -o build-2.7/temp.linux-x86_64-2.7/src/ft2font.o In file included from src/ft2font.cpp:3: src/ft2font.h:6:30: error: CXX/Extensions.hxx: No such file or directory src/ft2font.h:7:27: error: CXX/Objects.hxx: No such file or directory In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:7, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:14, from src/ft2font.cpp:7: /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_common.h:85:2: error: #error Must use Python with unicode enabled. In file included from src/ft2font.cpp:3: src/ft2font.h:26: error: 'Py' has not been declared src/ft2font.h:26: error: expected `{' before 'PythonExtension' src/ft2font.h:26: error: expected initializer before '<' token error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1 * ERROR: dev-python/matplotlib-1.1.0 failed (compile phase): * Building failed with CPython 2.7 in distutils_building() function * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 3734: Called distutils_src_compile * environment, line 1049: Called python_execute_function 'distutils_building' * environment, line 2117: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-python/matplotlib-1.1.0', Looks like I am not the first one, but face the problem with python-2.7 and not 3.2, like the other user. :( http://www.mailinglistarchive.com/html/matplotlib-users@lists.sourceforge.net/2011-12/msg00035.html
Created attachment 305687 [details] build.log
Run python-updater.
In the end I got rid of this. I think it was the freetype re-install.