diff --git a/2024/So you wanna do FreeBSD?.md b/2024/So you wanna do FreeBSD?.md index a917300..1c73983 100644 --- a/2024/So you wanna do FreeBSD?.md +++ b/2024/So you wanna do FreeBSD?.md @@ -160,4 +160,41 @@ LDFLAGS=" -lm -lpython3" pip install numpy-git/ ``` https://github.com/numpy/numpy/issues/24873#issuecomment-1807458661 -`setenv LDFLAGS "-lm -lpython3" ; pip install dl/numpy-git/` \ No newline at end of file +`setenv LDFLAGS "-lm -lpython3" ; pip install dl/numpy-git/` + +``` +(homeassistant) homeassistant@mango:/data/homeassistant % setenv LDFLAGS "-lm -lpython3" ; pip install dl/numpy-git/ +Processing ./dl/numpy-git + Installing build dependencies ... done + Getting requirements to build wheel ... done + Preparing metadata (pyproject.toml) ... error + error: subprocess-exited-with-error + + × Preparing metadata (pyproject.toml) did not run successfully. + │ exit code: 1 + ╰─> [12 lines of output] + + /data/homeassistant/bin/python /data/homeassistant/dl/numpy-git/vendored-meson/meson/meson.py setup /data/homeassistant/dl/numpy-git /data/homeassistant/dl/numpy-git/.mesonpy-8palx956/build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/data/homeassistant/dl/numpy-git/.mesonpy-8palx956/build/meson-python-native-file.ini + The Meson build system + Version: 1.2.99 + Source dir: /data/homeassistant/dl/numpy-git + Build dir: /data/homeassistant/dl/numpy-git/.mesonpy-8palx956/build + Build type: native build + Project name: NumPy + Project version: 1.26.0 + + ../../meson.build:1:0: ERROR: Compiler cc cannot compile programs. + + A full log can be found at /data/homeassistant/dl/numpy-git/.mesonpy-8palx956/build/meson-logs/meson-log.txt + [end of output] + + note: This error originates from a subprocess, and is likely not a problem with pip. +error: metadata-generation-failed + +× Encountered error while generating package metadata. +╰─> See above for output. + +note: This is an issue with the package mentioned above, not pip. +hint: See above for details. +``` + +Okay so it means `meson` build system is also written in Python.... \ No newline at end of file