Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408575 - dev-python/matplotlib-1.1.0: src/ft2font.h:6:30: error: CXX/Extensions.hxx: No such file or directory
Summary: dev-python/matplotlib-1.1.0: src/ft2font.h:6:30: error: CXX/Extensions.hxx: N...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-17 11:08 UTC by Martin Mokrejš
Modified: 2012-03-22 10:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,206.84 KB, text/plain)
2012-03-17 11:09 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2012-03-17 11:08:13 UTC
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
Comment 1 Martin Mokrejš 2012-03-17 11:09:49 UTC
Created attachment 305687 [details]
build.log
Comment 2 Arfrever Frehtes Taifersar Arahesis 2012-03-17 21:07:05 UTC
Run python-updater.
Comment 3 Martin Mokrejš 2012-03-22 10:18:50 UTC
In the end I got rid of this. I think it was the freetype re-install.