[oe] python-numpy_1.4.1: task `compile` fails with `numpy/core/include/numpy/ufuncobject.h:309:18: fatal error: fenv.h: No such file or directory`
Paul Menzel
paulepanter at users.sourceforge.net
Sat Jan 1 15:23:07 UTC 2011
Dear OE folks,
task `compile` fails with `minimal-uclibc` for `MACHINE = "beagleboard"`
and `binutils_2.21.bb` with the following error.
| compile options: '-Ibuild/src.linux-i686-2.6/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.linux-i686-2.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/arm-oe-linux-uclibceabi/usr/include/python2.6 -I/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/python2.6 -Ibuild/src.linux-i686-2.6/numpy/core/src/multiarray -Ibuild/src.linux-i686-2.6/numpy/core/src/umath -c'
| arm-oe-linux-uclibceabi-gcc: numpy/core/src/umath/umathmodule_onefile.c
| In file included from numpy/core/src/private/npy_config.h:4:0,
| from numpy/core/src/umath/loops.c.src:7,
| from numpy/core/src/umath/umathmodule_onefile.c:1:
| build/src.linux-i686-2.6/numpy/core/include/numpy/config.h:7:0: warning: "SIZEOF_LONG_DOUBLE" redefined
| /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/python2.6/pyconfig.h:898:0: note: this is the location of the previous definition
| build/src.linux-i686-2.6/numpy/core/include/numpy/config.h:14:0: warning: "HAVE_LOG1P" redefined
| /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/python2.6/pyconfig.h:386:0: note: this is the location of the previous definition
| build/src.linux-i686-2.6/numpy/core/include/numpy/config.h:15:0: warning: "HAVE_EXPM1" redefined
| /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/python2.6/pyconfig.h:173:0: note: this is the location of the previous definition
| In file included from numpy/core/src/umath/loops.c.src:14:0,
| from numpy/core/src/umath/umathmodule_onefile.c:1:
| numpy/core/include/numpy/ufuncobject.h:309:18: fatal error: fenv.h: No such file or directory
| compilation terminated.
| In file included from numpy/core/src/private/npy_config.h:4:0,
| from numpy/core/src/umath/loops.c.src:7,
| from numpy/core/src/umath/umathmodule_onefile.c:1:
| build/src.linux-i686-2.6/numpy/core/include/numpy/config.h:7:0: warning: "SIZEOF_LONG_DOUBLE" redefined
| /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/python2.6/pyconfig.h:898:0: note: this is the location of the previous definition
| build/src.linux-i686-2.6/numpy/core/include/numpy/config.h:14:0: warning: "HAVE_LOG1P" redefined
| /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/python2.6/pyconfig.h:386:0: note: this is the location of the previous definition
| build/src.linux-i686-2.6/numpy/core/include/numpy/config.h:15:0: warning: "HAVE_EXPM1" redefined
| /oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/python2.6/pyconfig.h:173:0: note: this is the location of the previous definition
| In file included from numpy/core/src/umath/loops.c.src:14:0,
| from numpy/core/src/umath/umathmodule_onefile.c:1:
| numpy/core/include/numpy/ufuncobject.h:309:18: fatal error: fenv.h: No such file or directory
| compilation terminated.
| error: Command "arm-oe-linux-uclibceabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -isystem/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -isystem/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include -fPIC -Ibuild/src.linux-i686-2.6/numpy/core/src/umath -Inumpy/core/include -Ibuild/src.linux-i686-2.6/numpy/core/include/numpy -Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/arm-oe-linux-uclibceabi/usr/include/python2.6 -I/oe/build-minimal-uclibc/minimal-uclibc-dev/sysroots/armv7a-oe-linux-uclibceabi/usr/include/python2.6 -Ibuild/src.linux-i686-2.6/numpy/core/src/multiarray -Ibuild/src.linux-i686-2.6/numpy/core/src/umath -c numpy/core/src/umath/umathmodule_onefile.c -o build/temp.linux-i686-2.6/numpy/core/src/umath/umathmodule_onefile.o" failed with exit status 1
| FATAL: python setup.py build_ext execution failed.
| ERROR: Function do_compile failed
NOTE: package python-numpy-1.4.1-ml0: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /oe/openembedded/recipes/python/python-numpy_1.4.1.bb do_compile failed
ERROR: Task 500 (/oe/openembedded/recipes/python/python-numpy_1.4.1.bb, do_compile) failed with 256
ERROR: '/oe/openembedded/recipes/python/python-numpy_1.4.1.bb' failed
ERROR: '/oe/openembedded/recipes/python/python-numpy_1.4.1.bb' failed
ERROR: '/oe/openembedded/recipes/python/python-numpy_1.4.1.bb' failed
`fenv.h` is available though.
/oe/build-minimal-uclibc$ find minimal-uclibc-dev/ -name fenv.h
minimal-uclibc-dev/sysroots/i686-linux/usr/armv7a/arm-oe-linux-uclibceabi/include/c++/4.5.3/fenv.h
minimal-uclibc-dev/sysroots/i686-linux/usr/armv7a/arm-oe-linux-uclibceabi/include/c++/4.5.3/tr1/fenv.h
minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/python-numpy-1.4.1-ml0/numpy-1.4.1/numpy/core/include/numpy/fenv/fenv.h
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110101/cd1e5306/attachment-0002.sig>
More information about the Openembedded-devel
mailing list