(myenv) root@armadillo:/home/pi/WASABI-V# pip3.12 install scipy Collecting scipy Using cached scipy-1.13.1.tar.gz (57.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... / [138744.469109] systemd invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0 [138744.479802] CPU: 0 PID: 1 Comm: systemd Tainted: G W 6.1.91-at5 #1 [138744.487470] Hardware name: Freescale i.MX7 Dual (Device Tree) [138744.493313] unwind_backtrace from show_stack+0x10/0x14 [138744.498653] show_stack from dump_stack_lvl+0x40/0x4c [138744.503806] dump_stack_lvl from dump_header+0x58/0x1d4 [138744.509133] dump_header from oom_kill_process+0x20c/0x228 [138744.514730] oom_kill_process from out_of_memory+0xf0/0x34c [138744.520412] out_of_memory from __alloc_pages+0x734/0xd28 [138744.525920] __alloc_pages from __filemap_get_folio+0x188/0x620 [138744.531946] __filemap_get_folio from filemap_fault+0x428/0xd40 [138744.537973] filemap_fault from __do_fault+0x38/0x150 [138744.543128] __do_fault from handle_mm_fault+0xae0/0xfbc [138744.548542] handle_mm_fault from do_page_fault+0x198/0x34c [138744.554220] do_page_fault from do_PrefetchAbort+0x38/0x88 [138744.559809] do_PrefetchAbort from ret_from_exception+0x0/0x10 [138744.565742] Exception stack(0xc0815fb0 to 0xc0815ff8) [138744.570889] 5fa0: 01b232a0 7eca9b17 00000000 00000029 [138744.579160] 5fc0: 00000029 00000000 00000000 01b232a0 00100000 00000000 7fffffff 0000002a [138744.587430] 5fe0: 76e06018 7eca9b00 76ce84dd 76c1ed1c 60030010 ffffffff [138744.594372] Mem-Info: [138744.596757] active_anon:250 inactive_anon:240054 isolated_anon:0 [138744.596757] active_file:19 inactive_file:85 isolated_file:0 [138744.596757] unevictable:0 dirty:0 writeback:0 [138744.596757] slab_reclaimable:2682 slab_unreclaimable:4658 [138744.596757] mapped:11 shmem:300 pagetables:1042 [138744.596757] sec_pagetables:0 bounce:0 [138744.596757] kernel_misc_reclaimable:0 [138744.596757] free:1113 free_pcp:250 free_cma:50 [138744.635655] Node 0 active_anon:1000kB inactive_anon:960216kB active_file:76kB inactive_file:460kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:104kB dirty:0kB writeback:0kB shmem:1200kB writeback_tmp:0kB kernel_stack:1160kB pagetables:4168kB sec_pagetables:0kB all_unreclaimable? yes [138744.662225] Normal free:4200kB boost:0kB min:4016kB low:5024kB high:6032kB reserved_highatomic:0KB active_anon:1000kB inactive_anon:960216kB active_file:224kB inactive_file:240kB unevictable:0kB writepending:0kB present:1048576kB managed:1012528kB mlocked:0kB bounce:0kB free_pcp:1000kB local_pcp:796kB free_cma:200kB [138744.690347] lowmem_reserve[]: 0 0 0 [138744.693975] Normal: 548*4kB (UMC) 165*8kB (UMEC) 35*16kB (UMC) 10*32kB (UME) 7*64kB (UMEC) 0*128kB 1*256kB (M) 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 5096kB [138744.710614] 552 total pagecache pages [138744.714387] 0 pages in swap cache [138744.717810] Free swap = 0kB [138744.720850] Total swap = 0kB [138744.723837] 262144 pages RAM [138744.727042] 0 pages HighMem/MovableOnly [138744.731031] 9012 pages reserved [138744.734290] 16384 pages cma reserved [138744.737970] Tasks state (memory values in pages): [138744.742790] [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name [138744.751581] [ 295] 0 295 6785 202 28672 0 -250 systemd-journal [138744.760753] [ 315] 0 315 5091 567 18432 0 -1000 systemd-udevd [138744.769755] [ 317] 997 317 4967 165 22528 0 0 systemd-timesyn [138744.778963] [ 1226] 103 1226 1382 94 14336 0 0 avahi-daemon [138744.787860] [ 1236] 100 1236 1908 470 14336 0 -900 dbus-daemon [138744.796718] [ 1272] 996 1272 9206 188 22528 0 0 polkitd [138744.805272] [ 1284] 0 1284 6262 219 22528 0 0 rsyslogd [138744.813878] [ 1306] 0 1306 4800 183 22528 0 0 systemd-logind [138744.823007] [ 1393] 103 1393 1349 70 12288 0 0 avahi-daemon [138744.832047] [ 1403] 0 1403 13502 797 43008 0 0 NetworkManager [138744.841150] [ 1410] 0 1410 2210 97 18432 0 0 bluetoothd [138744.849912] [ 1412] 0 1412 2768 300 18432 0 0 wpa_supplicant [138744.859017] [ 1652] 0 1652 1056 73 12288 0 0 connection-reco [138744.868175] [ 1657] 0 1657 385 14 8192 0 0 uim [138744.876354] [ 1665] 0 1665 777 14 12288 0 0 agetty [138744.884751] [ 1670] 0 1670 1494 110 14336 0 0 login [138744.893071] [ 1673] 0 1673 388 18 8192 0 0 input-poweroffd [138744.902246] [ 1699] 33 1699 878 121 12288 0 0 lighttpd [138744.910817] [ 1740] 0 1740 3084 287 20480 0 100 systemd [138744.919294] [ 1744] 0 1744 7892 528 26624 0 100 (sd-pam) [138744.927850] [ 1762] 0 1762 1215 242 14336 0 0 bash [138744.936115] [ 3515] 0 3515 12874 425 34816 0 0 ModemManager [138744.945038] [ 6761] 0 6761 42275 4484 186368 0 0 PM2 v5.4.0: God [138744.954240] [ 6772] 0 6772 53726 10954 329728 0 0 node-red [138744.962897] [ 4155] 0 4155 10128 7096 55296 0 0 pip3.12 [138744.971391] [ 4189] 0 4189 4625 2162 26624 0 0 python3.12 [138744.980160] [ 4632] 0 4632 1694 760 16384 0 0 ninja [138744.988471] [ 5808] 0 5808 403 14 12288 0 0 sh [138744.996635] [ 5809] 0 5809 1018 14 10240 0 0 c++ [138745.004778] [ 5810] 0 5810 89893 80172 368640 0 0 cc1plus [138745.013276] [ 5832] 0 5832 403 14 10240 0 0 sh [138745.021325] [ 5833] 0 5833 1018 14 12288 0 0 c++ [138745.029469] [ 5834] 0 5834 75705 67921 311296 0 0 cc1plus [138745.037935] [ 5870] 0 5870 403 14 10240 0 0 sh [138745.046007] [ 5871] 0 5871 1018 14 10240 0 0 c++ [138745.054213] [ 5872] 0 5872 67586 60163 276480 0 0 cc1plus [138745.062708] [ 6266] 0 6266 3283 95 20480 0 0 nmcli [138745.071040] [ 6267] 0 6267 569 26 12288 0 0 sed [138745.079283] [ 6268] 0 6268 558 22 12288 0 0 grep [138745.087500] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-0.slice/session-c1.scope,task=cc1plus,pid=5810,uid=0 [138745.103783] Out of memory: Killed process 5810 (cc1plus) total-vm:359572kB, anon-rss:320688kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:360kB oom_score_adj:0 error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. x exit code: 1 mq> [1993 lines of output] + meson setup /tmp/pip-install-tw313s29/scipy_be41959cb09d438fbfc3843f39c18365 /tmp/pip-install-tw313s29/scipy_be41959cb09d438fbfc3843f39c18365/.mesonpy-olno9b50 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-tw313s29/scipy_be41959cb09d438fbfc3843f39c18365/.mesonpy-olno9b50/meson-python-native-file.ini The Meson build system Version: 1.4.1 Source dir: /tmp/pip-install-tw313s29/scipy_be41959cb09d438fbfc3843f39c18365 Build dir: /tmp/pip-install-tw313s29/scipy_be41959cb09d438fbfc3843f39c18365/.mesonpy-olno9b50 Build type: native build Project name: scipy Project version: 1.13.1 C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0") C linker for the host machine: cc ld.bfd 2.40 C++ compiler for the host machine: c++ (gcc 12.2.0 "c++ (Debian 12.2.0-14) 12.2.0") C++ linker for the host machine: c++ ld.bfd 2.40 Cython compiler for the host machine: cython (cython 3.0.10) Host machine cpu family: arm Host machine cpu: armv7l Program python found: YES (/home/pi/WASABI-V/myenv/bin/python3.12) Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1 Run-time dependency python found: YES 3.12 Program cython found: YES (/tmp/pip-build-env-aem6nuum/overlay/bin/cython) Compiler for C supports arguments -Wno-unused-but-set-variable: YES Compiler for C supports arguments -Wno-unused-function: YES Compiler for C supports arguments -Wno-conversion: YES Compiler for C supports arguments -Wno-misleading-indentation: YES Library m found: YES Fortran compiler for the host machine: gfortran (gcc 12.2.0 "GNU Fortran (Debian 12.2.0-14) 12.2.0") Fortran linker for the host machine: gfortran ld.bfd 2.40 Compiler for Fortran supports arguments -Wno-conversion: YES Checking if "-Wl,--version-script" : links: YES Program pythran found: YES 0.15.0 0.15.0 (/tmp/pip-build-env-aem6nuum/overlay/bin/pythran) Found CMake: /usr/bin/cmake (3.25.1) WARNING: CMake Toolchain: Failed to determine CMake compilers state Run-time dependency xsimd found: NO (tried pkgconfig and cmake) Run-time dependency threads found: YES Library npymath found: YES Library npyrandom found: YES pybind11-config found: YES (/tmp/pip-build-env-aem6nuum/overlay/bin/pybind11-config) 2.12.0 Run-time dependency pybind11 found: YES 2.12.0 Run-time dependency scipy-openblas found: NO (tried pkgconfig) Run-time dependency openblas found: YES 0.3.21 Dependency openblas found: YES 0.3.21 (cached) Compiler for C supports arguments -Wno-maybe-uninitialized: YES Compiler for C supports arguments -Wno-discarded-qualifiers: YES Compiler for C supports arguments -Wno-empty-body: YES Compiler for C supports arguments -Wno-implicit-function-declaration: YES Compiler for C supports arguments -Wno-parentheses: YES Compiler for C supports arguments -Wno-switch: YES Compiler for C supports arguments -Wno-unused-label: YES Compiler for C supports arguments -Wno-unused-result: YES Compiler for C supports arguments -Wno-unused-variable: YES Compiler for C++ supports arguments -Wno-cpp: YES Compiler for C++ supports arguments -Wno-deprecated-declarations: YES Compiler for C++ supports arguments -Wno-class-memaccess: YES Compiler for C++ supports arguments -Wno-format-truncation: YES Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES Compiler for C++ supports arguments -Wno-sign-compare: YES Compiler for C++ supports arguments -Wno-switch: YES Compiler for C++ supports arguments -Wno-terminate: YES Compiler for C++ supports arguments -Wno-unused-but-set-variable: YES Compiler for C++ supports arguments -Wno-unused-function: YES Compiler for C++ supports arguments -Wno-unused-local-typedefs: YES Compiler for C++ supports arguments -Wno-unused-variable: YES Compiler for C++ supports arguments -Wno-int-in-bool-context: YES Compiler for Fortran supports arguments -Wno-argument-mismatch: YES Compiler for Fortran supports arguments -Wno-conversion: YES (cached) Compiler for Fortran supports arguments -Wno-intrinsic-shadow: YES Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES Compiler for Fortran supports arguments -Wno-surprising: YES Compiler for Fortran supports arguments -Wno-uninitialized: YES Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES Compiler for Fortran supports arguments -Wno-unused-label: YES Compiler for Fortran supports arguments -Wno-unused-variable: YES Compiler for Fortran supports arguments -Wno-tabs: YES Compiler for Fortran supports arguments -Wno-argument-mismatch: YES (cached) Compiler for Fortran supports arguments -Wno-conversion: YES (cached) Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES (cached) Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES (cached) Compiler for Fortran supports arguments -Wno-unused-label: YES (cached) Compiler for Fortran supports arguments -Wno-unused-variable: YES (cached) Compiler for Fortran supports arguments -Wno-tabs: YES (cached) Checking if "Check atomic builtins without -latomic" : links: YES Configuring __config__.py using configuration Checking for function "open_memstream" : NO Configuring messagestream_config.h using configuration Compiler for Fortran supports arguments -w: YES Checking for size of "void*" : 4 Compiler for Fortran supports arguments -w: YES (cached) Build targets in project: 237 scipy 1.13.1 User defined options Native files: /tmp/pip-install-tw313s29/scipy_be41959cb09d438fbfc3843f39c18365/.mesonpy-olno9b50/meson-python-native-file.ini buildtype : release b_ndebug : if-release b_vscrt : md Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/ninja [1/1475] Generating scipy/generate-version with a custom command [2/1475] Compiling C object scipy/libdummy_g77_abi_wrappers.a.p/_build_utils_src_wrap_dummy_g77_abi.c.o [3/1475] Copying file scipy/__init__.py [4/1475] Linking static target scipy/libdummy_g77_abi_wrappers.a [5/1475] Copying file scipy/linalg.pxd [6/1475] Copying file scipy/optimize.pxd [7/1475] Copying file scipy/special.pxd [8/1475] Copying file scipy/_lib/__init__.py [9/1475] Copying file scipy/_lib/_ccallback_c.pxd [10/1475] Copying file scipy/_lib/ccallback.pxd [11/1475] Copying file scipy/_lib/messagestream.pxd [12/1475] Compiling C object scipy/_lib/_test_ccallback.cpython-312-arm-linux-gnueabihf.so.p/src__test_ccallback.c.o [13/1475] Linking target scipy/_lib/_test_ccallback.cpython-312-arm-linux-gnueabihf.so [14/1475] Compiling C object scipy/lib_fortranobject.a.p/f5d0a967649c95d6eda3716a1ebe489543ae0b2c_site-packages_numpy_f2py_src_fortranobject.c.o ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/f2py/src/fortranobject.c: In function ‘format_def’: ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/f2py/src/fortranobject.c:222:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘npy_intp’ {aka ‘int’} [-Wformat=] 222 | n = PyOS_snprintf(p, size, "array(%" NPY_INTP_FMT, def.dims.d[0]); | ^~~~~~~~~ ~~~~~~~~~~~~~ | | | npy_intp {aka int} In file included from ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarraytypes.h:4, from ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12, from ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/arrayobject.h:5, from ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/f2py/src/fortranobject.h:16, from ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/f2py/src/fortranobject.c:2: ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/npy_common.h:237:32: note: format string is defined here 237 | #define NPY_INTP_FMT "ld" ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/f2py/src/fortranobject.c:230:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘npy_intp’ {aka ‘int’} [-Wformat=] 230 | n = PyOS_snprintf(p, size, ",%" NPY_INTP_FMT, def.dims.d[i]); | ^~~~ ~~~~~~~~~~~~~ | | | npy_intp {aka int} ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/_core/include/numpy/npy_common.h:237:32: note: format string is defined here 237 | #define NPY_INTP_FMT "ld" ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/f2py/src/fortranobject.c: In function ‘ndarray_from_pyobj’: ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/f2py/src/fortranobject.c:919:46: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘npy_intp’ {aka ‘int’} [-Wformat=] 919 | sprintf(mess + strlen(mess), "%" NPY_INTP_FMT ",", dims[i]); | ^~~ ~~~~~~~ | | | npy_intp {aka int} ../../../pip-build-env-aem6nuum/overlay/lib/python3.12/site-packages/numpy/_core/