Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 429806

Summary: sci-libs/mathgl-2.0.3 USE="python" - .../work/mathgl-2.0.3_build/lang/mgl_wrap.cpp:3097:31: fatal error: numpy/arrayobject.h: No such file or directory
Product: Gentoo Linux Reporter: Ivan S. Titov <iohann.s.titov>
Component: [OLD] LibraryAssignee: Andrey Grozin <grozin>
Status: RESOLVED FIXED    
Severity: normal CC: egorov_egor, sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=464378
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Ivan S. Titov 2012-08-04 13:28:11 UTC
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....
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-04 15:22:46 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 2 Ivan S. Titov 2012-08-04 16:24:23 UTC
Created attachment 320312 [details]
emerge --info
Comment 3 Ivan S. Titov 2012-08-04 16:27:23 UTC
Created attachment 320316 [details]
build.log
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2012-08-04 19:14:44 UTC
 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