Skip to content

Instantly share code, notes, and snippets.

@openedev
Created April 1, 2020 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save openedev/19eb3dcf1e56bd267a72b30417d1b3b4 to your computer and use it in GitHub Desktop.
Save openedev/19eb3dcf1e56bd267a72b30417d1b3b4 to your computer and use it in GitHub Desktop.
>>> python-scipy 1.4.1 Extracting
gzip -d -c /home/jagan/work/code/buildroot/dl/python-scipy/scipy-1.4.1.tar.gz | tar --strip-components=1 -C /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1 -xf -
>>> python-scipy 1.4.1 Patching
>>> python-scipy 1.4.1 Configuring
rm -f /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/site.cfg
echo "[DEFAULT]" >> /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/site.cfg
echo "library_dirs = /home/jagan/work/code/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib" >> /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/site.cfg
echo "include_dirs = /home/jagan/work/code/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/include" >> /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/site.cfg
>>> python-scipy 1.4.1 Building
(cd /home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1//; _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata__linux_aarch64-linux-gnu" PATH="/home/jagan/work/code/buildroot/output/host/bin:/home/jagan/work/code/buildroot/output/host/sbin:/home/jagan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PATH="/home/jagan/work/code/buildroot/output/host/bin:/home/jagan/work/code/buildroot/output/host/sbin:/home/jagan/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ar" AS="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-as" LD="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld" NM="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-nm" CC="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-gcc" GCC="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-gcc" CPP="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-cpp" CXX="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-g++" FC="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-gfortran" F77="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-gfortran" RANLIB="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ranlib" READELF="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-readelf" STRIP="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-strip" OBJCOPY="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-objcopy" OBJDUMP="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/jagan/work/code/buildroot/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/jagan/work/code/buildroot/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/jagan/work/code/buildroot/output/host/include" LDFLAGS_FOR_BUILD="-L/home/jagan/work/code/buildroot/output/host/lib -Wl,-rpath,/home/jagan/work/code/buildroot/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/jagan/work/code/buildroot/output/host/bin/pkg-config" STAGING_DIR="/home/jagan/work/code/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl PYTHONPATH="/home/jagan/work/code/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/python3.8/" PYTHONNOUSERSITE=1 _python_sysroot=/home/jagan/work/code/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot _python_prefix=/usr _python_exec_prefix=/usr F90=/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-gfortran F77=/home/jagan/work/code/buildroot/output/host/bin/aarch64-buildroot-linux-gnu-gfortran NPY_PKG_CONFIG_PATH=/home/jagan/work/code/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/python3.8/site-packages/numpy/core/lib/npy-pkg-config /home/jagan/work/code/buildroot/output/host/bin/python setup.py build config_fc --fcompiler=gnu95)
Download error on https://pypi.org/simple/pybind11/: unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'pybind11' (maybe misspelled?)
Download error on https://pypi.org/simple/: unknown url type: https -- Some packages may not be found!
No local packages or working download links found for pybind11>=2.4.0
Traceback (most recent call last):
File "setup.py", line 540, in <module>
setup_package()
File "setup.py", line 536, in setup_package
setup(**metadata)
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/numpy/distutils/core.py", line 128, in setup
dist = setup(**new_attr)
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/numpy/distutils/core.py", line 171, in setup
return old_setup(**new_attr)
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/setuptools/dist.py", line 717, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/pkg_resources/__init__.py", line 780, in resolve
dist = best[req.key] = env.best_match(
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1077, in obtain
return installer(requirement)
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/setuptools/dist.py", line 787, in fetch_build_egg
return cmd.easy_install(req)
File "/home/jagan/work/code/buildroot/output/host/lib/python3.8/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pybind11>=2.4.0')
package/pkg-generic.mk:266: recipe for target '/home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/.stamp_built' failed
make: *** [/home/jagan/work/code/buildroot/output/build/python-scipy-1.4.1/.stamp_built] Error 1
buildroot#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment