Opde Issues Tracker

compile.34

build number: 34

re-implement command

docker pull immortalwrt/opde:sdk
docker run -it --rm immortalwrt/opde:sdk zsh # or bash
export http_proxy= # [your proxy], do not use localhost or 127.0.0.1
export https_proxy=$http_proxy
opde feeds && opde config -a
make package/feeds/packages/numpy/compile -j$(nproc) || make package/feeds/packages/numpy/compile V=s

Compile.txt

Collecting Cython==0.29.24
  Downloading Cython-0.29.24.tar.gz (2.1 MB)
Skipping wheel build for Cython, due to binaries being disabled for it.
Installing collected packages: Cython
    Running setup.py install for Cython: started
    Running setup.py install for Cython: still running...
    Running setup.py install for Cython: finished with status 'done'
Successfully installed Cython-0.29.24
Running from numpy source directory.
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/mtrand.pyx
Processing numpy/random/_generator.pyx
Processing numpy/random/_sfc64.pyx
Processing numpy/random/_common.pyx
Processing numpy/random/bit_generator.pyx
Processing numpy/random/_mt19937.pyx
Processing numpy/random/_bounded_integers.pyx.in
Processing numpy/random/_pcg64.pyx
Processing numpy/random/_philox.pyx

Note: if you need reliable uninstall behavior, then install
with pip instead of using `setup.py install`:

  - `pip install .`       (from a git repo or downloaded source
                           release)
  - `pip install numpy`   (last NumPy release on PyPi)


Cythonizing sources
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
C compiler: ccache_cc -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -I/openwrt/staging_dir/host/include -I/openwrt/staging_dir/hostpkg/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include -O2 -I/openwrt/staging_dir/host/include -I/openwrt/staging_dir/hostpkg/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2=numpy-1.21.2 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include -I/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/include/python3.9 -fPIC

creating /openwrt/tmp/tmpi564c74g/openwrt
creating /openwrt/tmp/tmpi564c74g/openwrt/tmp
creating /openwrt/tmp/tmpi564c74g/openwrt/tmp/tmpi564c74g
compile options: '-MMD -MF /openwrt/tmp/tmpi564c74g/file.c.d -c'
ccache_cc: /openwrt/tmp/tmpi564c74g/file.c
  libraries mkl_rt not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

blis_info:
  libraries blis not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

openblas_info:
  libraries openblas not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

accelerate_info:
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

atlas_3_10_blas_info:
  libraries satlas not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/system_info.py:2026: UserWarning: 
    Optimized (vendor) Blas libraries are not found.
    Falls back to netlib Blas library which has worse performance.
    A better performance should be easily gained by switching
    Blas library.
  if self._calc_info(blas):
blas_info:
  libraries blas not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/system_info.py:2026: UserWarning: 
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  if self._calc_info(blas):
blas_src_info:
  NOT AVAILABLE

/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/system_info.py:2026: UserWarning: 
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  if self._calc_info(blas):
  NOT AVAILABLE

non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
  libraries mkl_rt not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

openblas_lapack_info:
  libraries openblas not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

openblas_clapack_info:
  libraries openblas,lapack not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

flame_info:
  libraries flame not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
  libraries lapack_atlas not found in /openwrt/staging_dir/hostpkg/lib
  libraries tatlas,tatlas not found in /openwrt/staging_dir/hostpkg/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries tatlas,tatlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/lib64
  libraries tatlas,tatlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib
  libraries tatlas,tatlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
  libraries tatlas,tatlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

atlas_3_10_info:
  libraries lapack_atlas not found in /openwrt/staging_dir/hostpkg/lib
  libraries satlas,satlas not found in /openwrt/staging_dir/hostpkg/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries satlas,satlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/lib64
  libraries satlas,satlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib
  libraries satlas,satlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
  libraries satlas,satlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_info'>
  NOT AVAILABLE

atlas_threads_info:
Setting PTATLAS=ATLAS
  libraries lapack_atlas not found in /openwrt/staging_dir/hostpkg/lib
  libraries ptf77blas,ptcblas,atlas not found in /openwrt/staging_dir/hostpkg/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/lib64
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
  libraries ptf77blas,ptcblas,atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_threads_info'>
  NOT AVAILABLE

atlas_info:
  libraries lapack_atlas not found in /openwrt/staging_dir/hostpkg/lib
  libraries f77blas,cblas,atlas not found in /openwrt/staging_dir/hostpkg/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries f77blas,cblas,atlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/lib64
  libraries f77blas,cblas,atlas not found in /usr/lib64
  libraries lapack_atlas not found in /usr/lib
  libraries f77blas,cblas,atlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib/x86_64-linux-gnu
  libraries f77blas,cblas,atlas not found in /usr/lib/x86_64-linux-gnu
<class 'numpy.distutils.system_info.atlas_info'>
  NOT AVAILABLE

lapack_info:
  libraries lapack not found in ['/openwrt/staging_dir/hostpkg/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu']
  NOT AVAILABLE

/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/system_info.py:1858: UserWarning: 
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  return getattr(self, '_calc_info_{}'.format(name))()
lapack_src_info:
  NOT AVAILABLE

/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/system_info.py:1858: UserWarning: 
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  return getattr(self, '_calc_info_{}'.format(name))()
  NOT AVAILABLE

numpy_linalg_lapack_lite:
  FOUND:
    language = c
    define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]

Warning: attempted relative import with no known parent package
/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
  warnings.warn(msg)
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build/src.-3.9
creating build/src.-3.9/numpy
creating build/src.-3.9/numpy/distutils
building library "npymath" sources
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable ifort
Could not locate executable ifc
Could not locate executable lf95
Could not locate executable pgfortran
Could not locate executable nvfortran
Could not locate executable f90
Could not locate executable f77
Could not locate executable fort
Could not locate executable efort
Could not locate executable efc
Could not locate executable g77
Could not locate executable g95
Could not locate executable pathf95
Could not locate executable nagfor
Could not locate executable frt
don't know how to compile Fortran code on platform 'posix'
creating build/src.-3.9/numpy/core
creating build/src.-3.9/numpy/core/src
creating build/src.-3.9/numpy/core/src/npymath
conv_template:> build/src.-3.9/numpy/core/src/npymath/npy_math_internal.h
  adding 'build/src.-3.9/numpy/core/src/npymath' to include_dirs.
conv_template:> build/src.-3.9/numpy/core/src/npymath/ieee754.c
conv_template:> build/src.-3.9/numpy/core/src/npymath/npy_math_complex.c
None - nothing done with h_files = ['build/src.-3.9/numpy/core/src/npymath/npy_math_internal.h']
building library "npyrandom" sources
building extension "numpy.core._multiarray_tests" sources
creating build/src.-3.9/numpy/core/src/multiarray
conv_template:> build/src.-3.9/numpy/core/src/multiarray/_multiarray_tests.c
building extension "numpy.core._multiarray_umath" sources
Traceback (most recent call last):
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/setup.py", line 448, in <module>
    setup_package()
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/setup.py", line 440, in setup_package
    setup(**metadata)
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/core.py", line 169, in setup
    return old_setup(**new_attr)
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/command/install.py", line 60, in run
    r = self.setuptools_run()
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/command/install.py", line 34, in setuptools_run
    return distutils_install.run(self)
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/command/install.py", line 546, in run
    self.run_command('build')
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/command/build.py", line 61, in run
    old_build.run(self)
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/openwrt/staging_dir/hostpkg/lib/python3.9/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/command/build_src.py", line 144, in run
    self.build_sources()
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/command/build_src.py", line 161, in build_sources
    self.build_extension_sources(ext)
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
    sources = self.generate_sources(sources, ext)
  File "/openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/numpy/distutils/command/build_src.py", line 378, in generate_sources
    source = func(extension, build_dir)
  File "numpy/core/setup.py", line 434, in generate_config_h
    moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
  File "numpy/core/setup.py", line 44, in check_types
    out = check_types(*a, **kw)
  File "numpy/core/setup.py", line 289, in check_types
    raise SystemError(
SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
make[3]: *** [Makefile:86: /openwrt/build_dir/target-aarch64_cortex-a53_musl/pypi/numpy-1.21.2/.built] Error 1
Last updated on 31 Oct 2021
Published on 31 Oct 2021