[yocto] scipy recipe

Peter Balazovic balazovic.peter at gmail.com
Fri Mar 16 12:04:42 PDT 2018


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'



On Fri, Mar 16, 2018 at 7:33 PM, Giordon Stark <gstark at cern.ch> wrote:

> OpenBLAS is here: http://layers.openembedded.org/layerindex/recipe/68888/
>
> G
>
> On Fri, Mar 16, 2018 at 1:30 PM Philip Balister <philip at balister.org>
> wrote:
>
>> You'll get to Atlas soon, and that is another source of pain :)
>>
>> Philip
>>
>> On 03/16/2018 11:26 AM, Peter Balazovic wrote:
>> > 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.
>> >
>> >
>> > On Fri, Mar 16, 2018 at 6:36 PM, Burton, Ross <ross.burton at intel.com>
>> wrote:
>> >
>> >> To change the version, change the filename of the recipe.
>> >>
>> >> Also, please remember the CC the list.
>> >>
>> >> Ross
>> >>
>> >> On 16 March 2018 at 17:30, Peter Balazovic <balazovic.peter at gmail.com>
>> >> wrote:
>> >>
>> >>> 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?
>> >>>
>> >>> On Fri, Mar 16, 2018 at 5:57 PM, Burton, Ross <ross.burton at intel.com>
>> >>> wrote:
>> >>>
>> >>>> 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
>> >>>>
>> >>>> On 16 March 2018 at 16:50, Peter Balazovic <
>> balazovic.peter at gmail.com>
>> >>>> wrote:
>> >>>>
>> >>>>> 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] = "87ea1f11a0e9ec08c264dc64551d50
>> 1fa307289460705f6fccd84cbfc7926d10"
>> >>>>>
>> >>>>> 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?
>> >>>>>
>> >>>>>
>> >>>>> On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
>> >>>>> randy.macleod at windriver.com> wrote:
>> >>>>>
>> >>>>>> On 2018-03-15 01:56 PM, Peter Balazovic wrote:
>> >>>>>>
>> >>>>>>> Hello all,
>> >>>>>>>
>> >>>>>>> I wonder if there is scipy recipe available?
>> >>>>>>>
>> >>>>>>
>> >>>>>> Not yet:
>> >>>>>>
>> >>>>>> https://layers.openembedded.org/layerindex/branch/master/rec
>> >>>>>> ipes/?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?
>> >>>>>>
>> >>>>>>
>> >>>>>>> Thanks.
>> >>>>>>>
>> >>>>>>>
>> >>>>>>>
>> >>>>>>
>> >>>>>> --
>> >>>>>> # Randy MacLeod.  WR Linux
>> >>>>>> # Wind River an Intel Company
>> >>>>>>
>> >>>>>
>> >>>>>
>> >>>>> --
>> >>>>> _______________________________________________
>> >>>>> yocto mailing list
>> >>>>> yocto at yoctoproject.org
>> >>>>> https://lists.yoctoproject.org/listinfo/yocto
>> >>>>>
>> >>>>>
>> >>>>
>> >>>
>> >>
>> >
>> >
>> >
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
> --
> Giordon Stark
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180316/2be07e3e/attachment.html>


More information about the yocto mailing list