sci-libs/mathgl-2.0.3 with USE="python" fails with /var/tmp/portage/sci-libs/mathgl-2.0.3/work/mathgl-2.0.3_build/lang/mgl_wrap.cpp:3097:31: fatal error: numpy/arrayobject.h: No such file or directory Reproducible: Always Steps to Reproduce: 1. USE="python" emerge -av mathgl 2. compiles... 3. fails Expected Results: proper compilation x86_64-pc-linux-gnu-g++ -pthread -O2 -pipe -march=corei7-avx -mfpmath=sse -mavx -fexcess-precision=fast --param l1-cache-size=32 --param l2-cache-size=256 -DNDEBUG -fPIC -DNO_COLOR_ARRAY -I/var/tmp/portage/sci-libs/mathgl-2.0.3/work/mathgl-2.0.3_build/include -I/var/tmp/portage/sci-libs/mathgl-2.0.3/work/mathgl-2.0.3/include -I/usr/include/python2.7 -c /var/tmp/portage/sci-libs/mathgl-2.0.3/work/mathgl-2.0.3_build/lang/mgl_wrap.cpp -o build/temp.linux-x86_64-2.7/var/tmp/portage/sci-libs/mathgl-2.0.3/work/mathgl-2.0.3_build/lang/mgl_wrap.o /var/tmp/portage/sci-libs/mathgl-2.0.3/work/mathgl-2.0.3_build/lang/mgl_wrap.cpp:3097:31: fatal error: numpy/arrayobject.h: No such file or directory compilation terminated. error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1 make[2]: *** [lang/_mathgl.so] Error 1 make[2]: Leaving directory `/var/tmp/portage/sci-libs/mathgl-2.0.3/work/mathgl-2.0.3_build' make[1]: *** [lang/CMakeFiles/mgl_python_module.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
1) Please attach the entire build log to this bug report. 2) Please post your `emerge --info' output in a comment.
Created attachment 320312 [details] emerge --info
Created attachment 320316 [details] build.log
04 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> +files/mathgl-2.0.3-fix-hardcoded-paths.patch, -mathgl-1.11.1.1.ebuild, mathgl-2.0.3.ebuild, metadata.xml: Added double-precision flag, linguas (only russian for now). Now blocks old udav. Fix numpy include directory (bug #429806), fix octave installation (bug #429804). Some of the features inspired from rion-overlay