Re: [yocto] scipy recipe

2018-03-27 Thread Tim Orling
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 <
matthias.schoep...@identpro.de> wrote:

> 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
>
> On 03/26/2018 10:57 PM, Manjukumar Harthikote Matha wrote:
> >
> >> -Original Message-
> >> From: yocto-boun...@yoctoproject.org [mailto:
> yocto-boun...@yoctoproject.org]
> >> On Behalf Of Matthias Schöpfer
> >> Sent: Friday, March 23, 2018 3:08 AM
> >> To: Peter Balazovic <balazovic.pe...@gmail.com>; Yocto-mailing-list
> >> <yocto@yoctoproject.org>
> >> 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: matthias.schoep...@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
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-27 Thread 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

On 03/26/2018 10:57 PM, Manjukumar Harthikote Matha wrote:
> 
>> -Original Message-
>> From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org]
>> On Behalf Of Matthias Schöpfer
>> Sent: Friday, March 23, 2018 3:08 AM
>> To: Peter Balazovic <balazovic.pe...@gmail.com>; Yocto-mailing-list
>> <yocto@yoctoproject.org>
>> 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: matthias.schoep...@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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-26 Thread Manjukumar Harthikote Matha

> -Original Message-
> From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org]
> On Behalf Of Matthias Schöpfer
> Sent: Friday, March 23, 2018 3:08 AM
> To: Peter Balazovic <balazovic.pe...@gmail.com>; Yocto-mailing-list
> <yocto@yoctoproject.org>
> 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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-26 Thread Matthias Schöpfer
Hi Philip,

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

Regards,

Matthias

On 03/24/2018 05:48 PM, Philip Balister wrote:
> On 03/23/2018 06:07 AM, Matthias Schöpfer wrote:
>> 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
> 
> 
>>
>> 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: matthias.schoep...@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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-24 Thread Philip Balister
On 03/23/2018 06:07 AM, Matthias Schöpfer wrote:
> 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


> 
> Regards,
> 
>   Matthias
> 
> 
> 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-23 Thread 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.

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: matthias.schoep...@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
DESCRIPTION = "OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 
BSD version."
SUMMARY = "OpenBLAS : An optimized BLAS library"
AUTHOR = "Alexander Leiva "
HOMEPAGE = "http://www.openblas.net/;
PRIORITY= "optional"
SECTION = "libs"
LICENSE = "BSD"
PR = "r0"

LIC_FILES_CHKSUM = "file://LICENSE;md5=5adf4792c949a00013ce25d476a2abc0"

SRC_URI = "https://github.com/xianyi/OpenBLAS/archive/v${PV}.tar.gz;
SRC_URI[md5sum] = "48637eb29f5b492b91459175dcc574b1"
SRC_URI[sha256sum] = 
"5ef38b15d9c652985774869efd548b8e3e972e1e99475c673b25537ed7bcf394"

S = "${WORKDIR}/OpenBLAS-${PV}"

inherit cmake

DEPENDS = " libgfortran "FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

SRC_URI += " \
file://0001-ragged-set-of-patches-to-allow-cross-compile.patch \
"From e144c3b86abb49bbc943a17e5271bf880dfca5df Mon Sep 17 00:00:00 2001
From: Matthias Schoepfer 
Date: Thu, 22 Mar 2018 15:57:13 +0100
Subject: [PATCH] ragged set of patches to allow cross compile

---
 numpy/distutils/command/build_ext.py | 4 ++--
 numpy/distutils/exec_command.py  | 1 +
 numpy/distutils/fcompiler/gnu.py | 2 +-
 numpy/version.py | 2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py
index 0fa52a2..e2154e7 100644
--- a/numpy/distutils/command/build_ext.py
+++ b/numpy/distutils/command/build_ext.py
@@ -411,10 +411,10 @@ class build_ext (old_build_ext):
depends=ext.depends)
 
 objects = c_objects + f_objects
-
+from distutils.sysconfig import get_config_vars
 if ext.extra_objects:
 objects.extend(ext.extra_objects)
-extra_args = ext.extra_link_args or []
+extra_args = get_config_vars('LDSHARED')[0].split(' ')[1:] + (ext.extra_link_args or [])
 libraries = self.get_libraries(ext)[:]
 library_dirs = ext.library_dirs[:]
 
diff --git a/numpy/distutils/exec_command.py b/numpy/distutils/exec_command.py
index 8faf4b2..d928ada 100644
--- a/numpy/distutils/exec_command.py
+++ b/numpy/distutils/exec_command.py
@@ -113,6 +113,7 @@ def find_executable(exe, path=None, _cache={}):
 fn = os.path.join(path, exe)
 for s in suffixes:
 f_ext = fn+s
+f_ext = f_ext.split(' ')[0]
 if not os.path.islink(f_ext):
 f_ext = realpath(f_ext)
 if os.path.isfile(f_ext) and os.access(f_ext, os.X_OK):
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py
index 4649fd7..61cafd6 100644
--- a/numpy/distutils/fcompiler/gnu.py
+++ b/numpy/distutils/fcompiler/gnu.py
@@ -261,7 +261,7 @@ class Gnu95FCompiler(GnuFCompiler):
 self.executables[key].append('-mno-cygwin')
 return v
 
-possible_executables = ['gfortran', 'f95']
+possible_executables = [os.environ.get('FC', 'gfortran'), 'f95']
 executables = {
 'version_cmd'  : ["", "-dumpversion"],
 'compiler_f77' : [None, "-Wall", "-g", "-ffixed-form",
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index c1cb5fb..75bbfe2 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -620,7 +620,7 @@ class system_info(object):
 path = self.get_paths(self.section, key)
 if path == ['']:
 path = []
-return path
+return []
 
 def get_include_dirs(self, key='include_dirs'):
 return self.get_paths(self.section, key)


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

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = 

Re: [yocto] scipy recipe

2018-03-17 Thread Peter Balazovic
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
| :0:0: warning: "ASMNAME" redefined
| :0:0: warning: "ASMNAME" redefined
| :0:0: note: this is the location of the previous definition
| :0:0: warning: "ASMFNAME" redefined
| :0:0: note: this is the location of the previous definition
| :0:0: warning: "NAME" redefined
| :0:0: note: this is the location of the previous definition
| :0:0: warning: "CNAME" redefined
| :0:0: note: this is the location of the previous definition
| :0:0: warning: "CHAR_NAME" redefined
| :0:0: note: this is the location 

Re: [yocto] scipy recipe

2018-03-16 Thread Giordon Stark
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

On Fri, Mar 16, 2018 at 11:51 AM Peter Balazovic 
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] = 
> "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?
>
>
> On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
> randy.macl...@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/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?
>>
>>
>>> Thanks.
>>>
>>>
>>>
>>
>> --
>> # Randy MacLeod.  WR Linux
>> # Wind River an Intel Company
>>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
Giordon Stark
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-16 Thread Peter Balazovic
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  wrote:

> OpenBLAS is here: http://layers.openembedded.org/layerindex/recipe/6/
>
> G
>
> On Fri, Mar 16, 2018 at 1:30 PM Philip Balister 
> 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
>> > | 
>> > |   NOT AVAILABLE
>> > |
>> > | atlas_3_10_info:
>> > |   libraries satlas,satlas not found in /usr/lib
>> > |   libraries lapack_atlas not found in /usr/lib
>> > | 
>> > |   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
>> > | 
>> > |   NOT AVAILABLE
>> > |
>> > | atlas_info:
>> > |   libraries f77blas,cblas,atlas not found in /usr/lib
>> > |   libraries lapack_atlas not found in /usr/lib
>> > | 
>> > |   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 
>> > | 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 

Re: [yocto] scipy recipe

2018-03-16 Thread Giordon Stark
OpenBLAS is here: http://layers.openembedded.org/layerindex/recipe/6/

G

On Fri, Mar 16, 2018 at 1:30 PM Philip Balister  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
> > | 
> > |   NOT AVAILABLE
> > |
> > | atlas_3_10_info:
> > |   libraries satlas,satlas not found in /usr/lib
> > |   libraries lapack_atlas not found in /usr/lib
> > | 
> > |   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
> > | 
> > |   NOT AVAILABLE
> > |
> > | atlas_info:
> > |   libraries f77blas,cblas,atlas not found in /usr/lib
> > |   libraries lapack_atlas not found in /usr/lib
> > | 
> > |   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 
> > | 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

Re: [yocto] scipy recipe

2018-03-16 Thread Philip Balister
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
> | 
> |   NOT AVAILABLE
> |
> | atlas_3_10_info:
> |   libraries satlas,satlas not found in /usr/lib
> |   libraries lapack_atlas not found in /usr/lib
> | 
> |   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
> | 
> |   NOT AVAILABLE
> |
> | atlas_info:
> |   libraries f77blas,cblas,atlas not found in /usr/lib
> |   libraries lapack_atlas not found in /usr/lib
> | 
> |   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 
> | 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, 

Re: [yocto] scipy recipe

2018-03-16 Thread 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
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
| 
|   NOT AVAILABLE
|
| atlas_3_10_info:
|   libraries satlas,satlas not found in /usr/lib
|   libraries lapack_atlas not found in /usr/lib
| 
|   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
| 
|   NOT AVAILABLE
|
| atlas_info:
|   libraries f77blas,cblas,atlas not found in /usr/lib
|   libraries lapack_atlas not found in /usr/lib
| 
|   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 
| 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  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 
> 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 

Re: [yocto] scipy recipe

2018-03-16 Thread Burton, Ross
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 
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 
> 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 
>> 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] = 
>>> "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?
>>>
>>>
>>> On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
>>> randy.macl...@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@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>>
>>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-16 Thread 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

On 16 March 2018 at 16:50, Peter Balazovic 
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] = 
> "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?
>
>
> On Thu, Mar 15, 2018 at 9:35 PM, Randy MacLeod <
> randy.macl...@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/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?
>>
>>
>>> Thanks.
>>>
>>>
>>>
>>
>> --
>> # Randy MacLeod.  WR Linux
>> # Wind River an Intel Company
>>
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-16 Thread 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=
--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 
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/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?
>
>
>> Thanks.
>>
>>
>>
>
> --
> # Randy MacLeod.  WR Linux
> # Wind River an Intel Company
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-15 Thread Peter Balazovic
is somehow to be fixed and available (recipe)?

Sent from Mailspring 
(https://link.getmailspring.com/link/1521146506.local-368bb114-f6c3-v1.1.5-5834c...@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F=eW9jdG9AeW9jdG9wcm9qZWN0Lm9yZw%3D%3D),
 the best free email app for work
On Mar 15 2018, at 9:35 pm, Randy MacLeod  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/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?
>
> >
> > Thanks.
> >
>
>
> --
> # Randy MacLeod. WR Linux
> # Wind River an Intel Company
>

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] scipy recipe

2018-03-15 Thread Randy MacLeod

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/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?



Thanks.





--
# Randy MacLeod.  WR Linux
# Wind River an Intel Company
--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] scipy recipe

2018-03-15 Thread Peter Balazovic
Hello all,

I wonder if there is scipy recipe available?

Thanks.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto