[Buildroot] [PATCH v5 2/2] package/python-scipy: new package

erichiggins at gmail.com erichiggins at gmail.com
Thu Feb 20 02:16:31 UTC 2020


Hello,

I'm trying to add the scipy package to my buildroot project. Someone in the
IRC support channel had found and shared the following two patches by
Esben, which appear to do exactly that.

https://patchwork.ozlabs.org/patch/1169181/
https://patchwork.ozlabs.org/patch/1169182/

I applied both patches to my branch (based on 2019.11.x) and tried to
build, but got the following errors:

...
/home/eric/src/personal/buildroot/output/build/python-scipy-1.3.1/build/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/scipy/fftpack/fortranobject.c:1061:
undefined reference to `PyCapsule_Type'
collect2: error: ld returned 1 exit status
error: Command
"/home/eric/src/personal/buildroot/output/host/bin/arm-buildroot-linux-gnueabihf-gfortran
-Wall -g
build/temp.linux-x86_64-3.8/build/src.linux-x86_64-3.8/scipy/fftpack/_fftpackmodule.o
build/temp.linux-x86_64-3.8/scipy/fftpack/src/zfft.o
build/temp.linux-x86_64-3.8/scipy/fftpack/src/drfft.o
build/temp.linux-x86_64-3.8/scipy/fftpack/src/zrfft.o
build/temp.linux-x86_64-3.8/scipy/fftpack/src/zfftnd.o
build/temp.linux-x86_64-3.8/build/src.linux-x86_64-3.8/scipy/fftpack/src/dct.o
build/temp.linux-x86_64-3.8/build/src.linux-x86_64-3.8/scipy/fftpack/src/dst.o
build/temp.linux-x86_64-3.8/build/src.linux-x86_64-3.8/build/src.linux-x86_64-3.8/scipy/fftpack/fortranobject.o
-L/home/eric/src/personal/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/8.3.0/../../../../arm-buildroot-linux-gnueabihf/lib
-L/home/eric/src/personal/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabihf/8.3.0/../../../../arm-buildroot-linux-gnueabihf/lib
-L/home/eric/src/personal/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib
-Lbuild/temp.linux-x86_64-3.8 -ldfftpack -lfftpack -lgfortran -o
build/lib.linux-x86_64-3.8/scipy/fftpack/_
fftpack.cpython-38-arm-linux-gnueabihf.so
-Wl,--version-script=build/temp.linux-x86_64-3.8/link-version-scipy.fftpack._fftpack.map"
failed with exit status 1
package/pkg-generic.mk:238: recipe for target
'/home/eric/src/personal/buildroot/output/build/python-scipy-1.3.1/.stamp_built'
failed
make: ***
[/home/eric/src/personal/buildroot/output/build/python-scipy-1.3.1/.stamp_built]
Error 1

Has anyone been able to successfully apply these patches?
Is there a status update for them being merged into buildroot?

Thanks!
-Eric Higgins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200219/20b851b7/attachment.html>


More information about the buildroot mailing list