Discussion:
[yocto] scipy recipe
Peter Balazovic
2018-03-15 17:56:53 UTC
Permalink
Hello all,

I wonder if there is scipy recipe available?

Thanks.
Randy MacLeod
2018-03-15 20:35:48 UTC
Permalink
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
Not yet:

https://layers.openembedded.org/layerindex/branch/master/recipes/?q=scipy

It appears to be blocked by:
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
--
Peter Balazovic
2018-03-15 20:43:05 UTC
Permalink
is somehow to be fixed and available (recipe)?
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
Peter Balazovic
2018-03-16 16:50:37 UTC
Permalink
per using recipe https://github.com/scipy/scipy/issues/8226


SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d0db8f4148a3d5534cfb93be78f9287c"

PYPI_PACKAGE="scipy"

SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] =
"87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10"

inherit pypi setuptools distutils

RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy"


I am getting error to fetch scipy do_fetch error


WARNING: scipy-1.0-r0 do_fetch: Failed to fetch URL
https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz,
attempting MIRRORS if available
ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-idNNJsmT3C"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export ftp_proxy=
--progress=dot -v failed with exit code 8, output:
--2018-03-16 17:43:34--
https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)... 151.101.17.63,
2a04:4e42:4::319
Connecting to files.pythonhosted.org
(files.pythonhosted.org)|151.101.17.63|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-16 17:43:35 ERROR 404: Not Found.

Any help?
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
Burton, Ross
2018-03-16 16:57:00 UTC
Permalink
You're getting a "file not found" for the URL it is looking for. According
to https://pypi.python.org/pypi/scipy, the version is 1.0.0 not 1.0.

Ross
Post by Peter Balazovic
per using recipe https://github.com/scipy/scipy/issues/8226
SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d0db8f4148a3d5534cfb93be78f9287c"
PYPI_PACKAGE="scipy"
SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] = "87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10"
inherit pypi setuptools distutils
RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy"
I am getting error to fetch scipy do_fetch error
WARNING: scipy-1.0-r0 do_fetch: Failed to fetch URL
https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz,
attempting MIRRORS if available
ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-idNNJsmT3C"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export ftp_proxy=
--2018-03-16 17:43:34-- https://files.pythonhosted.
org/packages/source/s/scipy/scipy-1.0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)...
151.101.17.63, 2a04:4e42:4::319
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.17.63|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-16 17:43:35 ERROR 404: Not Found.
Any help?
On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Burton, Ross
2018-03-16 17:36:39 UTC
Permalink
To change the version, change the filename of the recipe.

Also, please remember the CC the list.

Ross
I did download from https://github.com/scipy/scipy/archive/v1.0.0.tar.gz
and cc to /downloads and same still issue ...
as mentioned should be version is 1.0.0
where to change it to point to correct version & file?
Post by Burton, Ross
You're getting a "file not found" for the URL it is looking for.
According to https://pypi.python.org/pypi/scipy, the version is 1.0.0
not 1.0.
Ross
Post by Peter Balazovic
per using recipe https://github.com/scipy/scipy/issues/8226
SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d0db8f4148a3d5534cfb93be78f9287c"
PYPI_PACKAGE="scipy"
SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] = "87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10"
inherit pypi setuptools distutils
RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy"
I am getting error to fetch scipy do_fetch error
WARNING: scipy-1.0-r0 do_fetch: Failed to fetch URL
https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz,
attempting MIRRORS if available
ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-idNNJsmT3C"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export ftp_proxy=
--2018-03-16 17:43:34-- https://files.pythonhosted.org
/packages/source/s/scipy/scipy-1.0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)...
151.101.17.63, 2a04:4e42:4::319
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.17.63|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-16 17:43:35 ERROR 404: Not Found.
Any help?
On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/rec
ipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Peter Balazovic
2018-03-16 18:26:25 UTC
Permalink
Seems OpenBLAS is missing, is there recipe for it?

ERROR: scipy-1.0.0-r0 do_compile: python setup.py build execution failed.
ERROR: scipy-1.0.0-r0 do_compile: Function failed: do_compile (log file is
located at /log.do_compile.8708)
ERROR: Logfile of failure stored in: /1.0.0-r0/temp/log.do_compile.8708
Log data follows:
| DEBUG: Executing shell function do_compile
| ERROR: python setup.py build execution failed.
| /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'python_requires'
| warnings.warn(msg)
| lapack_opt_info:
| openblas_lapack_info:
| libraries openblas not found in ['/usr/lib']
| NOT AVAILABLE
|
| lapack_mkl_info:
| mkl_info:
| libraries mkl,vml,guide not found in ['/usr/lib']
| NOT AVAILABLE
|
| NOT AVAILABLE
|
| atlas_3_10_threads_info:
| Setting PTATLAS=ATLAS
| libraries tatlas,tatlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
| NOT AVAILABLE
|
| atlas_3_10_info:
| libraries satlas,satlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_info'>
| NOT AVAILABLE
|
| atlas_threads_info:
| Setting PTATLAS=ATLAS
| libraries ptf77blas,ptcblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_threads_info'>
| NOT AVAILABLE
|
| atlas_info:
| libraries f77blas,cblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_info'>
| NOT AVAILABLE
|
| /usr/lib/python2.7/site-packages/numpy/distutils/system_info.py:1510:
UserWarning:
| Atlas (http://math-atlas.sourceforge.net/) libraries not found.
| Directories to search for the libraries can be specified in the
| numpy/distutils/site.cfg file (section [atlas]) or by setting
| the ATLAS environment variable.
| warnings.warn(AtlasNotFoundError.__doc__)
| lapack_info:
| libraries lapack not found in ['/usr/lib']
| NOT AVAILABLE
|
| /usr/lib/python2.7/site-packages/numpy/distutils/system_info.py:1521:
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.
| warnings.warn(LapackNotFoundError.__doc__)
| lapack_src_info:
| NOT AVAILABLE
|
| /usr/lib/python2.7/site-packages/numpy/distutils/system_info.py:1524:
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.
| warnings.warn(LapackSrcNotFoundError.__doc__)
| NOT AVAILABLE
|
| Running from scipy source directory.
| Traceback (most recent call last):
| File "setup.py", line 418, in <module>
| setup_package()
| File "setup.py", line 414, in setup_package
| setup(**metadata)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/core.py", line
135, in setup
| config = configuration()
| File "setup.py", line 336, in configuration
| config.add_subpackage('scipy')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/setup.py", line 15, in configuration
| config.add_subpackage('linalg')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/linalg/setup.py", line 19, in configuration
| raise NotFoundError('no lapack/blas resources found')
| numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
| ERROR: Function failed: do_compile (log file is located at
/scipy/1.0.0-r0/temp/log.do_compile.8708)
ERROR: Task
(/sources/meta-openembedded/meta-python/recipes-devtools/python/scipy_1.0.0.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 8394 tasks of which 8382 didn't need to be
rerun and 1 failed.
Post by Burton, Ross
To change the version, change the filename of the recipe.
Also, please remember the CC the list.
Ross
I did download from https://github.com/scipy/scipy/archive/v1.0.0.tar.gz
and cc to /downloads and same still issue ...
as mentioned should be version is 1.0.0
where to change it to point to correct version & file?
Post by Burton, Ross
You're getting a "file not found" for the URL it is looking for.
According to https://pypi.python.org/pypi/scipy, the version is 1.0.0
not 1.0.
Ross
Post by Peter Balazovic
per using recipe https://github.com/scipy/scipy/issues/8226
SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d0db8f4148a3d5534cfb93be78f9287c"
PYPI_PACKAGE="scipy"
SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] = "87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10"
inherit pypi setuptools distutils
RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy"
I am getting error to fetch scipy do_fetch error
WARNING: scipy-1.0-r0 do_fetch: Failed to fetch URL
https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz,
attempting MIRRORS if available
ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-idNNJsmT3C"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export ftp_proxy=
--2018-03-16 17:43:34-- https://files.pythonhosted.org
/packages/source/s/scipy/scipy-1.0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)...
151.101.17.63, 2a04:4e42:4::319
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.17.63|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-16 17:43:35 ERROR 404: Not Found.
Any help?
On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/rec
ipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Philip Balister
2018-03-16 18:29:48 UTC
Permalink
You'll get to Atlas soon, and that is another source of pain :)

Philip
Post by Peter Balazovic
Seems OpenBLAS is missing, is there recipe for it?
ERROR: scipy-1.0.0-r0 do_compile: python setup.py build execution failed.
ERROR: scipy-1.0.0-r0 do_compile: Function failed: do_compile (log file is
located at /log.do_compile.8708)
ERROR: Logfile of failure stored in: /1.0.0-r0/temp/log.do_compile.8708
| DEBUG: Executing shell function do_compile
| ERROR: python setup.py build execution failed.
| /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'python_requires'
| warnings.warn(msg)
| libraries openblas not found in ['/usr/lib']
| NOT AVAILABLE
|
| libraries mkl,vml,guide not found in ['/usr/lib']
| NOT AVAILABLE
|
| NOT AVAILABLE
|
| Setting PTATLAS=ATLAS
| libraries tatlas,tatlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
| NOT AVAILABLE
|
| libraries satlas,satlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_info'>
| NOT AVAILABLE
|
| Setting PTATLAS=ATLAS
| libraries ptf77blas,ptcblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_threads_info'>
| NOT AVAILABLE
|
| libraries f77blas,cblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_info'>
| NOT AVAILABLE
|
| Atlas (http://math-atlas.sourceforge.net/) libraries not found.
| Directories to search for the libraries can be specified in the
| numpy/distutils/site.cfg file (section [atlas]) or by setting
| the ATLAS environment variable.
| warnings.warn(AtlasNotFoundError.__doc__)
| libraries lapack not found in ['/usr/lib']
| NOT AVAILABLE
|
| 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.
| warnings.warn(LapackNotFoundError.__doc__)
| NOT AVAILABLE
|
| 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.
| warnings.warn(LapackSrcNotFoundError.__doc__)
| NOT AVAILABLE
|
| Running from scipy source directory.
| File "setup.py", line 418, in <module>
| setup_package()
| File "setup.py", line 414, in setup_package
| setup(**metadata)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/core.py", line
135, in setup
| config = configuration()
| File "setup.py", line 336, in configuration
| config.add_subpackage('scipy')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/setup.py", line 15, in configuration
| config.add_subpackage('linalg')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/linalg/setup.py", line 19, in configuration
| raise NotFoundError('no lapack/blas resources found')
| numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
| ERROR: Function failed: do_compile (log file is located at
/scipy/1.0.0-r0/temp/log.do_compile.8708)
ERROR: Task
(/sources/meta-openembedded/meta-python/recipes-devtools/python/scipy_1.0.0.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 8394 tasks of which 8382 didn't need to be
rerun and 1 failed.
Post by Burton, Ross
To change the version, change the filename of the recipe.
Also, please remember the CC the list.
Ross
I did download from https://github.com/scipy/scipy/archive/v1.0.0.tar.gz
and cc to /downloads and same still issue ...
as mentioned should be version is 1.0.0
where to change it to point to correct version & file?
Post by Burton, Ross
You're getting a "file not found" for the URL it is looking for.
According to https://pypi.python.org/pypi/scipy, the version is 1.0.0
not 1.0.
Ross
Post by Peter Balazovic
per using recipe https://github.com/scipy/scipy/issues/8226
SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d0db8f4148a3d5534cfb93be78f9287c"
PYPI_PACKAGE="scipy"
SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] = "87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10"
inherit pypi setuptools distutils
RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy"
I am getting error to fetch scipy do_fetch error
WARNING: scipy-1.0-r0 do_fetch: Failed to fetch URL
https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz,
attempting MIRRORS if available
ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-idNNJsmT3C"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export ftp_proxy=
--2018-03-16 17:43:34-- https://files.pythonhosted.org
/packages/source/s/scipy/scipy-1.0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)...
151.101.17.63, 2a04:4e42:4::319
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.17.63|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-16 17:43:35 ERROR 404: Not Found.
Any help?
On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/rec
ipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Giordon Stark
2018-03-16 18:33:25 UTC
Permalink
OpenBLAS is here: http://layers.openembedded.org/layerindex/recipe/68888/

G
Post by Philip Balister
You'll get to Atlas soon, and that is another source of pain :)
Philip
Post by Peter Balazovic
Seems OpenBLAS is missing, is there recipe for it?
ERROR: scipy-1.0.0-r0 do_compile: python setup.py build execution failed.
ERROR: scipy-1.0.0-r0 do_compile: Function failed: do_compile (log file
is
Post by Peter Balazovic
located at /log.do_compile.8708)
ERROR: Logfile of failure stored in: /1.0.0-r0/temp/log.do_compile.8708
| DEBUG: Executing shell function do_compile
| ERROR: python setup.py build execution failed.
| /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'python_requires'
| warnings.warn(msg)
| libraries openblas not found in ['/usr/lib']
| NOT AVAILABLE
|
| libraries mkl,vml,guide not found in ['/usr/lib']
| NOT AVAILABLE
|
| NOT AVAILABLE
|
| Setting PTATLAS=ATLAS
| libraries tatlas,tatlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
| NOT AVAILABLE
|
| libraries satlas,satlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_info'>
| NOT AVAILABLE
|
| Setting PTATLAS=ATLAS
| libraries ptf77blas,ptcblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_threads_info'>
| NOT AVAILABLE
|
| libraries f77blas,cblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_info'>
| NOT AVAILABLE
|
| Atlas (http://math-atlas.sourceforge.net/) libraries not found.
| Directories to search for the libraries can be specified in the
| numpy/distutils/site.cfg file (section [atlas]) or by setting
| the ATLAS environment variable.
| warnings.warn(AtlasNotFoundError.__doc__)
| libraries lapack not found in ['/usr/lib']
| NOT AVAILABLE
|
| 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.
| warnings.warn(LapackNotFoundError.__doc__)
| NOT AVAILABLE
|
| 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.
| warnings.warn(LapackSrcNotFoundError.__doc__)
| NOT AVAILABLE
|
| Running from scipy source directory.
| File "setup.py", line 418, in <module>
| setup_package()
| File "setup.py", line 414, in setup_package
| setup(**metadata)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/core.py", line
135, in setup
| config = configuration()
| File "setup.py", line 336, in configuration
| config.add_subpackage('scipy')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/setup.py", line 15, in configuration
| config.add_subpackage('linalg')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_util.py",
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/linalg/setup.py", line 19, in configuration
| raise NotFoundError('no lapack/blas resources found')
| numpy.distutils.system_info.NotFoundError: no lapack/blas resources
found
Post by Peter Balazovic
| ERROR: Function failed: do_compile (log file is located at
/scipy/1.0.0-r0/temp/log.do_compile.8708)
ERROR: Task
do_compile)
Post by Peter Balazovic
failed with exit code '1'
NOTE: Tasks Summary: Attempted 8394 tasks of which 8382 didn't need to be
rerun and 1 failed.
Post by Burton, Ross
To change the version, change the filename of the recipe.
Also, please remember the CC the list.
Ross
I did download from
https://github.com/scipy/scipy/archive/v1.0.0.tar.gz
Post by Peter Balazovic
Post by Burton, Ross
and cc to /downloads and same still issue ...
as mentioned should be version is 1.0.0
where to change it to point to correct version & file?
Post by Burton, Ross
You're getting a "file not found" for the URL it is looking for.
According to https://pypi.python.org/pypi/scipy, the version is 1.0.0
not 1.0.
Ross
Post by Peter Balazovic
per using recipe https://github.com/scipy/scipy/issues/8226
SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM =
"file://LICENSE.txt;md5=d0db8f4148a3d5534cfb93be78f9287c"
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
PYPI_PACKAGE="scipy"
SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] =
"87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10"
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
inherit pypi setuptools distutils
RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy"
I am getting error to fetch scipy do_fetch error
WARNING: scipy-1.0-r0 do_fetch: Failed to fetch URL
https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz,
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
attempting MIRRORS if available
ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-idNNJsmT3C"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export ftp_proxy=
--2018-03-16 17:43:34-- https://files.pythonhosted.org
/packages/source/s/scipy/scipy-1.0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)...
151.101.17.63, 2a04:4e42:4::319
Connecting to files.pythonhosted.org (files.pythonhosted.org
)|151.101.17.63|:443...
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-16 17:43:35 ERROR 404: Not Found.
Any help?
On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/rec
ipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Giordon Stark
Peter Balazovic
2018-03-16 19:04:42 UTC
Permalink
openblas - no success yet

NOTE: Executing RunQueue Tasks
ERROR: openblas-0.2.19-r0 do_compile: oe_runmake failed
ERROR: openblas-0.2.19-r0 do_compile: Function failed: do_compile (log file
is located at /openblas/0.2.19-r0/temp/log.do_compile.9671)
ERROR: Logfile of failure stored in:
/openblas/0.2.19-r0/temp/log.do_compile.9671

| ERROR: oe_runmake failed
| aarch64-poky-linux-gcc: error: ../libopenblas_armv8p-r0.2.19.a: No such
file or directory
| aarch64-poky-linux-gcc: error: unrecognized command line option '-ru';
did you mean '-r'?
| ../Makefile.tail:40: recipe for target 'libs' failed
| make[1]: *** [libs] Error 1
| make[1]: Leaving directory '/openblas/0.2.19-r0/OpenBLAS-0.2.19/interface'
| Makefile:133: recipe for target 'libs' failed
| make: *** [libs] Error 1
| ERROR: Function failed: do_compile (log file is located at
/openblas/0.2.19-r0/temp/log.do_compile.9671)
ERROR: Task
(/sources/meta-openembedded/meta-python/recipes-devtools/python/openblas_0.2.19.bb:do_compile)
failed with exit code '1'
Post by Giordon Stark
OpenBLAS is here: http://layers.openembedded.org/layerindex/recipe/68888/
G
Post by Philip Balister
You'll get to Atlas soon, and that is another source of pain :)
Philip
Post by Peter Balazovic
Seems OpenBLAS is missing, is there recipe for it?
ERROR: scipy-1.0.0-r0 do_compile: python setup.py build execution
failed.
Post by Peter Balazovic
ERROR: scipy-1.0.0-r0 do_compile: Function failed: do_compile (log file
is
Post by Peter Balazovic
located at /log.do_compile.8708)
ERROR: Logfile of failure stored in: /1.0.0-r0/temp/log.do_compile.8708
| DEBUG: Executing shell function do_compile
| ERROR: python setup.py build execution failed.
| /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'python_requires'
| warnings.warn(msg)
| libraries openblas not found in ['/usr/lib']
| NOT AVAILABLE
|
| libraries mkl,vml,guide not found in ['/usr/lib']
| NOT AVAILABLE
|
| NOT AVAILABLE
|
| Setting PTATLAS=ATLAS
| libraries tatlas,tatlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
| NOT AVAILABLE
|
| libraries satlas,satlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_info'>
| NOT AVAILABLE
|
| Setting PTATLAS=ATLAS
| libraries ptf77blas,ptcblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_threads_info'>
| NOT AVAILABLE
|
| libraries f77blas,cblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_info'>
| NOT AVAILABLE
|
| /usr/lib/python2.7/site-packages/numpy/distutils/
| Atlas (http://math-atlas.sourceforge.net/) libraries not found.
| Directories to search for the libraries can be specified in the
| numpy/distutils/site.cfg file (section [atlas]) or by setting
| the ATLAS environment variable.
| warnings.warn(AtlasNotFoundError.__doc__)
| libraries lapack not found in ['/usr/lib']
| NOT AVAILABLE
|
| 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.
| warnings.warn(LapackNotFoundError.__doc__)
| NOT AVAILABLE
|
| 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.
| warnings.warn(LapackSrcNotFoundError.__doc__)
| NOT AVAILABLE
|
| Running from scipy source directory.
| File "setup.py", line 418, in <module>
| setup_package()
| File "setup.py", line 414, in setup_package
| setup(**metadata)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/core.py",
line
Post by Peter Balazovic
135, in setup
| config = configuration()
| File "setup.py", line 336, in configuration
| config.add_subpackage('scipy')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/setup.py", line 15, in configuration
| config.add_subpackage('linalg')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/linalg/setup.py", line 19, in configuration
| raise NotFoundError('no lapack/blas resources found')
| numpy.distutils.system_info.NotFoundError: no lapack/blas resources
found
Post by Peter Balazovic
| ERROR: Function failed: do_compile (log file is located at
/scipy/1.0.0-r0/temp/log.do_compile.8708)
ERROR: Task
(/sources/meta-openembedded/meta-python/recipes-devtools/
python/scipy_1.0.0.bb:do_compile)
Post by Peter Balazovic
failed with exit code '1'
NOTE: Tasks Summary: Attempted 8394 tasks of which 8382 didn't need to
be
Post by Peter Balazovic
rerun and 1 failed.
Post by Burton, Ross
To change the version, change the filename of the recipe.
Also, please remember the CC the list.
Ross
I did download from https://github.com/scipy/
scipy/archive/v1.0.0.tar.gz
Post by Peter Balazovic
Post by Burton, Ross
and cc to /downloads and same still issue ...
as mentioned should be version is 1.0.0
where to change it to point to correct version & file?
Post by Burton, Ross
You're getting a "file not found" for the URL it is looking for.
According to https://pypi.python.org/pypi/scipy, the version is
1.0.0
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
not 1.0.
Ross
On 16 March 2018 at 16:50, Peter Balazovic <
Post by Peter Balazovic
per using recipe https://github.com/scipy/scipy/issues/8226
SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=
d0db8f4148a3d5534cfb93be78f9287c"
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
PYPI_PACKAGE="scipy"
SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] = "87ea1f11a0e9ec08c264dc64551d50
1fa307289460705f6fccd84cbfc7926d10"
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
inherit pypi setuptools distutils
RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy"
I am getting error to fetch scipy do_fetch error
WARNING: scipy-1.0-r0 do_fetch: Failed to fetch URL
https://files.pythonhosted.org/packages/source/s/scipy/
scipy-1.0.tar.gz,
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
attempting MIRRORS if available
ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-idNNJsmT3C";
export
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export ftp_proxy=
--2018-03-16 17:43:34-- https://files.pythonhosted.org
/packages/source/s/scipy/scipy-1.0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)...
151.101.17.63, 2a04:4e42:4::319
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.
101.17.63|:443...
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-16 17:43:35 ERROR 404: Not Found.
Any help?
On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/rec
ipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Giordon Stark
Peter Balazovic
2018-03-17 10:36:18 UTC
Permalink
compiling issue on that openblas recipe ...

NOTE: Executing RunQueue Tasks
ERROR: openblas-0.2.19-r0 do_compile: oe_runmake failed
ERROR: openblas-0.2.19-r0 do_compile: Function failed: do_compile (log file
is located at
../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/temp/log.do_compile.2836)
ERROR: Logfile of failure stored in:
../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/temp/log.do_compile.2836
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 HOSTCC=gcc CC=arm-poky-linux-gnueabi-gcc
--sysroot=../build/tmp/sysroots/ ONLY_CBLAS=1 BINARY=32 TARGET=arm
| make[1]: warning: -jN forced in submake: disabling jobserver mode.
| make[1]: Entering directory
'../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/OpenBLAS-0.2.19/interface'
| arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2 -pipe
-g -feliminate-unused-debug-types
-fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0
-fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux=
-fdebug-prefix-map=../build/tmp/sysroots/= -O2 -DMAX_STACK_ALLOC=2048
-Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER
-DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME=
-DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2
-DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK
-DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4
-DASMNAME=cblas_isamax -DASMFNAME=cblas_isamax_ -DNAME=cblas_isamax_
-DCNAME=cblas_isamax -DCHAR_NAME=\"cblas_isamax_\"
-DCHAR_CNAME=\"cblas_isamax\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX
-DCBLAS -c -DUSE_ABS -UUSE_MIN imax.c -o cblas_isamax.o
| arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2 -pipe
-g -feliminate-unused-debug-types
-fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0
-fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux=
-fdebug-prefix-map=../build/tmp/sysroots/= -O2 -DMAX_STACK_ALLOC=2048
-Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER
-DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME=
-DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2
-DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK
-DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4
-DASMNAME=cblas_sasum -DASMFNAME=cblas_sasum_ -DNAME=cblas_sasum_
-DCNAME=cblas_sasum -DCHAR_NAME=\"cblas_sasum_\"
-DCHAR_CNAME=\"cblas_sasum\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX
-DCBLAS -c asum.c -o cblas_sasum.o
| arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2 -pipe
-g -feliminate-unused-debug-types
-fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0
-fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux=
-fdebug-prefix-map=../build/tmp/sysroots/= -O2 -DMAX_STACK_ALLOC=2048
-Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER
-DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME=
-DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2
-DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK
-DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4
-DASMNAME=cblas_saxpy -DASMFNAME=cblas_saxpy_ -DNAME=cblas_saxpy_
-DCNAME=cblas_saxpy -DCHAR_NAME=\"cblas_saxpy_\"
-DCHAR_CNAME=\"cblas_saxpy\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX
-DCBLAS -c axpy.c -o cblas_saxpy.o
| arm-poky-linux-gnueabi-gcc --sysroot=../build/tmp/sysroots/ -O2 -pipe
-g -feliminate-unused-debug-types
-fdebug-prefix-map=../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0=/usr/src/debug/openblas/0.2.19-r0
-fdebug-prefix-map=../build/tmp/sysroots/x86_64-linux=
-fdebug-prefix-map=../build/tmp/sysroots/= -O2 -DMAX_STACK_ALLOC=2048
-Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK -DNO_LAPACKE -DSMP_SERVER
-DNO_WARMUP -DMAX_CPU_NUMBER=4 -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME=
-DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I. -O2
-DMAX_STACK_ALLOC=2048 -Wall -DF_INTERFACE_GFORT -fPIC -DNO_LAPACK
-DNO_LAPACKE -DSMP_SERVER -DNO_WARMUP -DMAX_CPU_NUMBER=4
-DASMNAME=cblas_scopy -DASMFNAME=cblas_scopy_ -DNAME=cblas_scopy_
-DCNAME=cblas_scopy -DCHAR_NAME=\"cblas_scopy_\"
-DCHAR_CNAME=\"cblas_scopy\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX
-DCBLAS -c copy.c -o cblas_scopy.o
| <command-line>:0:0: warning: "ASMNAME" redefined
| <command-line>:0:0: warning: "ASMNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "ASMFNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "NAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CHAR_NAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CHAR_CNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "ASMNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "ASMFNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "NAME" redefined
| In file included from ../build/tmp/sysroots//usr/include/features.h:392:0,
| from ../build/tmp/sysroots//usr/include/stdio.h:27,
| from imax.c:39:
| ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error:
gnu/stubs-soft.h: No such file or directory
| # include <gnu/stubs-soft.h>
| ^
| compilation terminated.
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CHAR_NAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CHAR_CNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "ASMFNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "NAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CHAR_NAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CHAR_CNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "ASMNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "ASMFNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "NAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CHAR_NAME" redefined
| In file included from ../build/tmp/sysroots//usr/include/features.h:392:0,
| from ../build/tmp/sysroots//usr/include/stdio.h:27,
| from axpy.c:39:
| ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error:
gnu/stubs-soft.h: No such file or directory
| # include <gnu/stubs-soft.h>
| ^
| <command-line>:0:0: note: this is the location of the previous definition
| <command-line>:0:0: warning: "CHAR_CNAME" redefined
| <command-line>:0:0: note: this is the location of the previous definition
| ERROR: oe_runmake failed
| In file included from ../build/tmp/sysroots//usr/include/features.h:392:0,
| from ../build/tmp/sysroots//usr/include/stdio.h:27,
| from asum.c:39:
| ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error:
gnu/stubs-soft.h: No such file or directory
| # include <gnu/stubs-soft.h>
| ^
| compilation terminated.
| In file included from ../build/tmp/sysroots//usr/include/features.h:392:0,
| from ../build/tmp/sysroots//usr/include/stdio.h:27,
| from copy.c:39:
| ../build/tmp/sysroots//usr/include/gnu/stubs.h:7:29: fatal error:
gnu/stubs-soft.h: No such file or directory
| # include <gnu/stubs-soft.h>
| ^
| compilation terminated.
| compilation terminated.
| Makefile:1351: recipe for target 'cblas_isamax.o' failed
| make[1]: *** [cblas_isamax.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| Makefile:1375: recipe for target 'cblas_sasum.o' failed
| make[1]: *** [cblas_sasum.o] Error 1
| Makefile:1447: recipe for target 'cblas_scopy.o' failed
| make[1]: *** [cblas_scopy.o] Error 1
| Makefile:1435: recipe for target 'cblas_saxpy.o' failed
| make[1]: *** [cblas_saxpy.o] Error 1
| make[1]: Leaving directory
'../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/OpenBLAS-0.2.19/interface'
| Makefile:133: recipe for target 'libs' failed
| make: *** [libs] Error 1
| ERROR: Function failed: do_compile (log file is located at
../build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/openblas/0.2.19-r0/temp/log.do_compile.2836)
ERROR: Task
(../sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/openblas/openblas_0.2.19.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 433 tasks of which 432 didn't need to be
rerun and 1 failed.
Post by Giordon Stark
OpenBLAS is here: http://layers.openembedded.org/layerindex/recipe/68888/
G
Post by Philip Balister
You'll get to Atlas soon, and that is another source of pain :)
Philip
Post by Peter Balazovic
Seems OpenBLAS is missing, is there recipe for it?
ERROR: scipy-1.0.0-r0 do_compile: python setup.py build execution
failed.
Post by Peter Balazovic
ERROR: scipy-1.0.0-r0 do_compile: Function failed: do_compile (log file
is
Post by Peter Balazovic
located at /log.do_compile.8708)
ERROR: Logfile of failure stored in: /1.0.0-r0/temp/log.do_compile.8708
| DEBUG: Executing shell function do_compile
| ERROR: python setup.py build execution failed.
| /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'python_requires'
| warnings.warn(msg)
| libraries openblas not found in ['/usr/lib']
| NOT AVAILABLE
|
| libraries mkl,vml,guide not found in ['/usr/lib']
| NOT AVAILABLE
|
| NOT AVAILABLE
|
| Setting PTATLAS=ATLAS
| libraries tatlas,tatlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
| NOT AVAILABLE
|
| libraries satlas,satlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_3_10_info'>
| NOT AVAILABLE
|
| Setting PTATLAS=ATLAS
| libraries ptf77blas,ptcblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_threads_info'>
| NOT AVAILABLE
|
| libraries f77blas,cblas,atlas not found in /usr/lib
| libraries lapack_atlas not found in /usr/lib
| <class 'numpy.distutils.system_info.atlas_info'>
| NOT AVAILABLE
|
| /usr/lib/python2.7/site-packages/numpy/distutils/
| Atlas (http://math-atlas.sourceforge.net/) libraries not found.
| Directories to search for the libraries can be specified in the
| numpy/distutils/site.cfg file (section [atlas]) or by setting
| the ATLAS environment variable.
| warnings.warn(AtlasNotFoundError.__doc__)
| libraries lapack not found in ['/usr/lib']
| NOT AVAILABLE
|
| 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.
| warnings.warn(LapackNotFoundError.__doc__)
| NOT AVAILABLE
|
| 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.
| warnings.warn(LapackSrcNotFoundError.__doc__)
| NOT AVAILABLE
|
| Running from scipy source directory.
| File "setup.py", line 418, in <module>
| setup_package()
| File "setup.py", line 414, in setup_package
| setup(**metadata)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/core.py",
line
Post by Peter Balazovic
135, in setup
| config = configuration()
| File "setup.py", line 336, in configuration
| config.add_subpackage('scipy')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/setup.py", line 15, in configuration
| config.add_subpackage('linalg')
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 1003, in add_subpackage
| caller_level = 2)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 972, in get_subpackage
| caller_level = caller_level + 1)
| File "/usr/lib/python2.7/site-packages/numpy/distutils/misc_
util.py",
Post by Peter Balazovic
line 909, in _get_configuration_from_setup_py
| config = setup_module.configuration(*args)
| File "scipy/linalg/setup.py", line 19, in configuration
| raise NotFoundError('no lapack/blas resources found')
| numpy.distutils.system_info.NotFoundError: no lapack/blas resources
found
Post by Peter Balazovic
| ERROR: Function failed: do_compile (log file is located at
/scipy/1.0.0-r0/temp/log.do_compile.8708)
ERROR: Task
(/sources/meta-openembedded/meta-python/recipes-devtools/
python/scipy_1.0.0.bb:do_compile)
Post by Peter Balazovic
failed with exit code '1'
NOTE: Tasks Summary: Attempted 8394 tasks of which 8382 didn't need to
be
Post by Peter Balazovic
rerun and 1 failed.
Post by Burton, Ross
To change the version, change the filename of the recipe.
Also, please remember the CC the list.
Ross
I did download from https://github.com/scipy/
scipy/archive/v1.0.0.tar.gz
Post by Peter Balazovic
Post by Burton, Ross
and cc to /downloads and same still issue ...
as mentioned should be version is 1.0.0
where to change it to point to correct version & file?
Post by Burton, Ross
You're getting a "file not found" for the URL it is looking for.
According to https://pypi.python.org/pypi/scipy, the version is
1.0.0
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
not 1.0.
Ross
On 16 March 2018 at 16:50, Peter Balazovic <
Post by Peter Balazovic
per using recipe https://github.com/scipy/scipy/issues/8226
SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=
d0db8f4148a3d5534cfb93be78f9287c"
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
PYPI_PACKAGE="scipy"
SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] = "87ea1f11a0e9ec08c264dc64551d50
1fa307289460705f6fccd84cbfc7926d10"
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
inherit pypi setuptools distutils
RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy"
I am getting error to fetch scipy do_fetch error
WARNING: scipy-1.0-r0 do_fetch: Failed to fetch URL
https://files.pythonhosted.org/packages/source/s/scipy/
scipy-1.0.tar.gz,
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
attempting MIRRORS if available
ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-idNNJsmT3C";
export
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export ftp_proxy=
--2018-03-16 17:43:34-- https://files.pythonhosted.org
/packages/source/s/scipy/scipy-1.0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)...
151.101.17.63, 2a04:4e42:4::319
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.
101.17.63|:443...
Post by Peter Balazovic
Post by Burton, Ross
Post by Burton, Ross
Post by Peter Balazovic
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-16 17:43:35 ERROR 404: Not Found.
Any help?
On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/rec
ipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Giordon Stark
Matthias Schöpfer
2018-03-23 10:07:44 UTC
Permalink
Hi Peter,

I managed to get scipy to cross compile, since I was in a hurry, and
have no deeper understanding of python / distutils / setuptools, it
turned out to be an ugly hack (but obviously I was not the first one to
do ugly things there ;) )

Maybe you have had some progress as well, and we can figure out a nicer
solution.

See the attached files, involving openblas, a bbappend for python-numpy
and python-scipy.

Regards,

Matthias
--
Dr.-Ing. Matthias Schöpfer

Softwareentwicklung

____________________________________

IdentPro GmbH
Camp-Spich-Str. 4
53842 Troisdorf

Tel: +49 (0)2241 / 866 392 46
Fax: +49 (0)2241 / 866 392 99
eMail: ***@identpro.de

http://www.identpro.de

identplus® – Das 3D Staplerleitsystem mit enormen Sparpotenzial: z. B.
über 67.000 EUR pro Jahr bei 500 Transporten täglich! Berechnen Sie das
Einsparpotenzial für Ihr Lager mit dem identplus® Potenzialrechner.

identplus® live erleben: Vereinbaren Sie jetzt einen Termin!

---------------------------------
IdentPro GmbH
Member of Dr. Wack Holding GmbH & Co.KG
Sitz und Registergericht: St. Augustin, HRB 9770 Siegburg
Geschäftsführer: Michael Wack
Umsatzsteuer-ID-Nr.: DE 254 824 945
WEEE-Reg.-Nr. DE 79026890
Philip Balister
2018-03-24 16:48:18 UTC
Permalink
Post by Matthias Schöpfer
Hi Peter,
I managed to get scipy to cross compile, since I was in a hurry, and
have no deeper understanding of python / distutils / setuptools, it
turned out to be an ugly hack (but obviously I was not the first one to
do ugly things there ;) )
Maybe you have had some progress as well, and we can figure out a nicer
solution.
See the attached files, involving openblas, a bbappend for python-numpy
and python-scipy.
I'm confused why you need the bbappend for numpy?

The recipe in OE-Core should be solid without patches.

Other than that, this is very interesting stuff.

Philip
Post by Matthias Schöpfer
Regards,
Matthias
--
Matthias Schöpfer
2018-03-26 08:22:31 UTC
Permalink
Hi Philip,

I needed to patch numpy because scipy uses numpy.distutils a lot.

Regards,

Matthias
Post by Philip Balister
Post by Matthias Schöpfer
Hi Peter,
I managed to get scipy to cross compile, since I was in a hurry, and
have no deeper understanding of python / distutils / setuptools, it
turned out to be an ugly hack (but obviously I was not the first one to
do ugly things there ;) )
Maybe you have had some progress as well, and we can figure out a nicer
solution.
See the attached files, involving openblas, a bbappend for python-numpy
and python-scipy.
I'm confused why you need the bbappend for numpy?
The recipe in OE-Core should be solid without patches.
Other than that, this is very interesting stuff.
Philip
Post by Matthias Schöpfer
Regards,
Matthias
--
Dr.-Ing. Matthias Schöpfer

Softwareentwicklung

____________________________________

IdentPro GmbH
Camp-Spich-Str. 4
53842 Troisdorf

Tel: +49 (0)2241 / 866 392 46
Fax: +49 (0)2241 / 866 392 99
eMail: ***@identpro.de

http://www.identpro.de

identplus® – Das 3D Staplerleitsystem mit enormen Sparpotenzial: z. B.
über 67.000 EUR pro Jahr bei 500 Transporten täglich! Berechnen Sie das
Einsparpotenzial für Ihr Lager mit dem identplus® Potenzialrechner.

identplus® live erleben: Vereinbaren Sie jetzt einen Termin!

---------------------------------
IdentPro GmbH
Member of Dr. Wack Holding GmbH & Co.KG
Sitz und Registergericht: St. Augustin, HRB 9770 Siegburg
Geschäftsführer: Michael Wack
Umsatzsteuer-ID-Nr.: DE 254 824 945
WEEE-Reg.-Nr. DE 79026890
--
Manjukumar Harthikote Matha
2018-03-26 20:56:16 UTC
Permalink
-----Original Message-----
On Behalf Of Matthias Schöpfer
Sent: Friday, March 23, 2018 3:08 AM
Subject: Re: [yocto] scipy recipe
Hi Peter,
I managed to get scipy to cross compile, since I was in a hurry, and have no deeper
understanding of python / distutils / setuptools, it turned out to be an ugly hack (but
obviously I was not the first one to do ugly things there ;) )
Maybe you have had some progress as well, and we can figure out a nicer solution.
See the attached files, involving openblas, a bbappend for python-numpy and
python-scipy.
Thanks Matthias, will try this out

Thanks,
Manju
--
Matthias Schöpfer
2018-03-27 09:04:39 UTC
Permalink
Hi!

It turns out that openblas cross compile as I posted it is broken. It
only works because my "cross-compile" is from amd64 to amd64...

Regards,

Matthias
Post by Manjukumar Harthikote Matha
-----Original Message-----
On Behalf Of Matthias Schöpfer
Sent: Friday, March 23, 2018 3:08 AM
Subject: Re: [yocto] scipy recipe
Hi Peter,
I managed to get scipy to cross compile, since I was in a hurry, and have no deeper
understanding of python / distutils / setuptools, it turned out to be an ugly hack (but
obviously I was not the first one to do ugly things there ;) )
Maybe you have had some progress as well, and we can figure out a nicer solution.
See the attached files, involving openblas, a bbappend for python-numpy and
python-scipy.
Thanks Matthias, will try this out
Thanks,
Manju
--
Dr.-Ing. Matthias Schöpfer

Softwareentwicklung

____________________________________

IdentPro GmbH
Camp-Spich-Str. 4
53842 Troisdorf

Tel: +49 (0)2241 / 866 392 46
Fax: +49 (0)2241 / 866 392 99
eMail: ***@identpro.de

http://www.identpro.de

identplus® – Das 3D Staplerleitsystem mit enormen Sparpotenzial: z. B.
über 67.000 EUR pro Jahr bei 500 Transporten täglich! Berechnen Sie das
Einsparpotenzial für Ihr Lager mit dem identplus® Potenzialrechner.

identplus® live erleben: Vereinbaren Sie jetzt einen Termin!

---------------------------------
IdentPro GmbH
Member of Dr. Wack Holding GmbH & Co.KG
Sitz und Registergericht: St. Augustin, HRB 9770 Siegburg
Geschäftsführer: Michael Wack
Umsatzsteuer-ID-Nr.: DE 254 824 945
WEEE-Reg.-Nr. DE 79026890
--
Tim Orling
2018-03-27 14:39:54 UTC
Permalink
intel-iot-refkit has an openblas recipe:
http://git.yoctoproject.org/cgit/cgit.cgi/intel-iot-refkit/tree/meta-refkit-extra/recipes-convnet/openblas/openblas_0.2.19.bb

Where I am getting stuck is that scipy doesn’t know it is being
cross-compiled and tries to import numpy.core.multiarray. It reports as
numpy being a broken build because the library is of the wrong ELF type
(paraphrasing from memory). That module loads just fine in qemu.
On Tue, Mar 27, 2018 at 2:13 AM Matthias Schöpfer <
Post by Matthias Schöpfer
Hi!
It turns out that openblas cross compile as I posted it is broken. It
only works because my "cross-compile" is from amd64 to amd64...
Regards,
Matthias
Post by Manjukumar Harthikote Matha
-----Original Message-----
On Behalf Of Matthias Schöpfer
Sent: Friday, March 23, 2018 3:08 AM
Subject: Re: [yocto] scipy recipe
Hi Peter,
I managed to get scipy to cross compile, since I was in a hurry, and
have no deeper
Post by Manjukumar Harthikote Matha
understanding of python / distutils / setuptools, it turned out to be
an ugly hack (but
Post by Manjukumar Harthikote Matha
obviously I was not the first one to do ugly things there ;) )
Maybe you have had some progress as well, and we can figure out a nicer
solution.
Post by Manjukumar Harthikote Matha
See the attached files, involving openblas, a bbappend for python-numpy
and
Post by Manjukumar Harthikote Matha
python-scipy.
Thanks Matthias, will try this out
Thanks,
Manju
--
Dr.-Ing. Matthias Schöpfer
Softwareentwicklung
____________________________________
IdentPro GmbH
Camp-Spich-Str. 4
53842 Troisdorf
Tel: +49 (0)2241 / 866 392 46
Fax: +49 (0)2241 / 866 392 99
http://www.identpro.de
identplus® – Das 3D Staplerleitsystem mit enormen Sparpotenzial: z. B.
Ìber 67.000 EUR pro Jahr bei 500 Transporten tÀglich! Berechnen Sie das
Einsparpotenzial fÌr Ihr Lager mit dem identplus® Potenzialrechner.
identplus® live erleben: Vereinbaren Sie jetzt einen Termin!
---------------------------------
IdentPro GmbH
Member of Dr. Wack Holding GmbH & Co.KG
Sitz und Registergericht: St. Augustin, HRB 9770 Siegburg
GeschÀftsfÌhrer: Michael Wack
Umsatzsteuer-ID-Nr.: DE 254 824 945
WEEE-Reg.-Nr. DE 79026890
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Giordon Stark
2018-03-16 16:56:01 UTC
Permalink
Seems like the SRC_URI isn't correct. I don't see an obvious place to get
tarballs for scipy except from github (and I know that tends to not be
reliable but...)

https://github.com/scipy/scipy/archive/v1.0.0.tar.gz

Giordon
Post by Peter Balazovic
per using recipe https://github.com/scipy/scipy/issues/8226
SUMMARY = "Scientific Library for Python"
SECTION = "devel/python"
HOMEPAGE = "https://pypi.python.org/pypi/scipy"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d0db8f4148a3d5534cfb93be78f9287c"
PYPI_PACKAGE="scipy"
SRC_URI[md5sum] = "53fa34bd3733a9a4216842b6000f7316"
SRC_URI[sha256sum] = "87ea1f11a0e9ec08c264dc64551d501fa307289460705f6fccd84cbfc7926d10"
inherit pypi setuptools distutils
RDEPENDS_${PN} += "python-core python-numpy-native python-distutils"
DEPENDS += "python-numpy"
I am getting error to fetch scipy do_fetch error
WARNING: scipy-1.0-r0 do_fetch: Failed to fetch URL
https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz,
attempting MIRRORS if available
ERROR: scipy-1.0-r0 do_fetch: Fetcher failure: Fetch command export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-idNNJsmT3C"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export ftp_proxy=
--2018-03-16 17:43:34--
https://files.pythonhosted.org/packages/source/s/scipy/scipy-1.0.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)...
151.101.17.63, 2a04:4e42:4::319
Connecting to files.pythonhosted.org (files.pythonhosted.org)|151.101.17.63|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-16 17:43:35 ERROR 404: Not Found.
Any help?
On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
Post by Randy MacLeod
Post by Peter Balazovic
Hello all,
I wonder if there is scipy recipe available?
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=scipy
https://github.com/scipy/scipy/issues/8226
but apparently that's a bitbake issue, not a spip one.
Care to take a look?
Post by Peter Balazovic
Thanks.
--
# Randy MacLeod. WR Linux
# Wind River an Intel Company
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Giordon Stark
Loading...