Advertisement
matteoscordino

scipy OpenWRT build output

Oct 23rd, 2020
437
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. # install -d -m0755 /home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/ipkg-install//usr/lib/python2.7/site-packages
  2. if [ "" == "HOST" ]; then export PYTHONPATH="/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/host/lib/python2.7:/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/host/lib/python2.7/site-packages"; export PYTHONDONTWRITEBYTECODE=0; else export PYTHONPATH="/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7:/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi//usr/lib/python2.7/site-packages:/home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/ipkg-install//usr/lib/python2.7/site-packages"; export PYTHONDONTWRITEBYTECODE=1; export _python_sysroot="/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi"; export _python_prefix="/usr"; export _python_exec_prefix="/usr"; fi; export PYTHONOPTIMIZE=""; cd /home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/; CC="arm-openwrt-linux-gnueabi-gcc" CCSHARED="arm-openwrt-linux-gnueabi-gcc -fpic" CXX="arm-openwrt-linux-gnueabi-g++" LD="arm-openwrt-linux-gnueabi-gcc" LDSHARED="arm-openwrt-linux-gnueabi-gcc -shared" CFLAGS="-Os -pipe -mcpu=cortex-a8 -mfpu=vfpv3-d16 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -iremap/home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3:scipy-1.2.3 -Wformat -Werror=format-security -Wl,-z,now -Wl,-z,relro" CPPFLAGS="-I/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/include -I/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/include -I/home/user/openwrt/staging_dir/toolchain-arm_cortex-a8+vfpv3_gcc-5.4.0_glibc-2.24_eabi/usr/include -I/home/user/openwrt/staging_dir/toolchain-arm_cortex-a8+vfpv3_gcc-5.4.0_glibc-2.24_eabi/include -I/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/include/python2.7" LDFLAGS="-L/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib -L/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/lib -L/home/user/openwrt/staging_dir/toolchain-arm_cortex-a8+vfpv3_gcc-5.4.0_glibc-2.24_eabi/usr/lib -L/home/user/openwrt/staging_dir/toolchain-arm_cortex-a8+vfpv3_gcc-5.4.0_glibc-2.24_eabi/lib -znow -zrelro -lpython2.7" _PYTHON_HOST_PLATFORM=linux2 __PYVENV_LAUNCHER__="/usr/bin/python2.7" /home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/host/bin/python2.7 ./setup.py install --prefix="/usr" --root="/home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/ipkg-install" ;
  3.  
  4. Note: if you need reliable uninstall behavior, then install
  5. with pip instead of using `setup.py install`:
  6.  
  7. - `pip install .` (from a git repo or downloaded source
  8. release)
  9. - `pip install scipy` (last SciPy release on PyPI)
  10.  
  11.  
  12. Traceback (most recent call last):
  13. File "./setup.py", line 492, in <module>
  14. setup_package()
  15. File "./setup.py", line 468, in setup_package
  16. from numpy.distutils.core import setup
  17. File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/__init__.py", line 180, in <module>
  18. from . import add_newdocs
  19. File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/add_newdocs.py", line 13, in <module>
  20. from numpy.lib import add_newdoc
  21. File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/lib/__init__.py", line 8, in <module>
  22. from .type_check import *
  23. File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/lib/type_check.py", line 11, in <module>
  24. import numpy.core.numeric as _nx
  25. File "/home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/core/__init__.py", line 14, in <module>
  26. from . import multiarray
  27. ImportError: /home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/usr/lib/python2.7/site-packages/numpy/core/multiarray.so: wrong ELF class: ELFCLASS32
  28. make[3]: *** [Makefile:102: /home/user/openwrt/build_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/scipy-1.2.3/.built] Error 1
  29. make[3]: Leaving directory '/home/user/openwrt/connido-feed/python-scipy'
  30. make[2]: *** [package/Makefile:106: package/feeds/connido/python-scipy/compile] Error 2
  31. make[2]: Leaving directory '/home/user/openwrt'
  32. make[1]: *** [package/Makefile:101: /home/user/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_glibc-2.24_eabi/stamp/.package_compile] Error 2
  33. make[1]: Leaving directory '/home/user/openwrt'
  34. make: *** [/home/user/openwrt/include/toplevel.mk:207: world] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement