First, thank you for taking up the torch on maintaining python3-scipy support. I'm working to pull parts of your layer into a new project I'm starting so I can build scipy. I'm currently pointing at main of all upstream layers (which I know might be a bad idea...). I plan on pointing to an official Yocto release after I get things stabilized out on the new project.
I brought in your python3-scipy recipe and related requirements (i.e. python3-beniget, etc.). When I go to build python3-scipy I get the following error:
ERROR: python3-scipy-native-1.14.1-r0 do_compile: Execution of '/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/temp/run.do_compile.2091' failed with exit code 1
ERROR: Logfile of failure stored in: /build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/temp/log.do_compile.2091
Log data follows:
| DEBUG: Executing shell function do_compile
| * Getting build dependencies for wheel...
|
| ERROR Missing dependencies:
| pythran<0.17.0,>=0.14.0
| beniget~=0.4.0 -> gast~=0.5.0
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/build/../work/layers/meta-aether-scipy/recipes-devtools/python/python3-scipy_1.14.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 840 tasks of which 839 didn't need to be rerun and 1 failed.
NOTE: No commit since BUILDHISTORY_COMMIT != '1'
Summary: 1 task failed:
virtual:native:/build/../work/layers/meta-aether-scipy/recipes-devtools/python/python3-scipy_1.14.1.bb:do_compile
log: /build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/temp/log.do_compile.2091
Summary: There was 1 ERROR message, returning a non-zero exit code.
When I look in the work dir for python3-scipy-native and look in recipe-sysroot-native, it did indeed populate pythran, beniget and gast. If I run a devshell and run python3 (double checking it's using the recipe-sysroot-native version), I can import all those packages. Any idea what is going on here and why the scipy package build process can not find those dependence? Below is a snipped of the run.do_compile. I suppose it's possible some of those paths are off?
python_pep517_do_compile() {
nativepython3 -m build --no-isolation --wheel --outdir /build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/dist /build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/scipy-1.14.1 -Cbuilddir='/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/build' -Csetup-args=--prefix -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/usr -Csetup-args=--bindir -Csetup-args=bin -Csetup-args=--sbindir -Csetup-args=sbin -Csetup-args=--datadir -Csetup-args=share -Csetup-args=--libdir -Csetup-args=lib -Csetup-args=--libexecdir -Csetup-args=libexec -Csetup-args=--includedir -Csetup-args=include -Csetup-args=--mandir -Csetup-args=share/man -Csetup-args=--infodir -Csetup-args=share/info -Csetup-args=--sysconfdir -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/etc -Csetup-args=--localstatedir -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/var -Csetup-args=--sharedstatedir -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/com -Csetup-args=--wrap-mode -Csetup-args=nodownload -Csetup-args=--native-file -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/meson.native -Csetup-args=-Dblas=openblas -Csetup-args=-Dlapack=openblas -Csetup-args=-Duse-pythran=true
}
Thanks in advance for any help!
First, thank you for taking up the torch on maintaining
python3-scipysupport. I'm working to pull parts of your layer into a new project I'm starting so I can build scipy. I'm currently pointing atmainof all upstream layers (which I know might be a bad idea...). I plan on pointing to an official Yocto release after I get things stabilized out on the new project.I brought in your
python3-scipyrecipe and related requirements (i.e.python3-beniget, etc.). When I go to buildpython3-scipyI get the following error:When I look in the work dir for
python3-scipy-nativeand look inrecipe-sysroot-native, it did indeed populatepythran,benigetandgast. If I run a devshell and run python3 (double checking it's using therecipe-sysroot-nativeversion), I can import all those packages. Any idea what is going on here and why the scipy package build process can not find those dependence? Below is a snipped of therun.do_compile. I suppose it's possible some of those paths are off?python_pep517_do_compile() { nativepython3 -m build --no-isolation --wheel --outdir /build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/dist /build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/scipy-1.14.1 -Cbuilddir='/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/build' -Csetup-args=--prefix -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/usr -Csetup-args=--bindir -Csetup-args=bin -Csetup-args=--sbindir -Csetup-args=sbin -Csetup-args=--datadir -Csetup-args=share -Csetup-args=--libdir -Csetup-args=lib -Csetup-args=--libexecdir -Csetup-args=libexec -Csetup-args=--includedir -Csetup-args=include -Csetup-args=--mandir -Csetup-args=share/man -Csetup-args=--infodir -Csetup-args=share/info -Csetup-args=--sysconfdir -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/etc -Csetup-args=--localstatedir -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/var -Csetup-args=--sharedstatedir -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/com -Csetup-args=--wrap-mode -Csetup-args=nodownload -Csetup-args=--native-file -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/meson.native -Csetup-args=-Dblas=openblas -Csetup-args=-Dlapack=openblas -Csetup-args=-Duse-pythran=true }Thanks in advance for any help!