What happened?
Hi,
after upgrade to appdaemon 0.18.5 and migration to an aarch64 HAOS host (not sure whats causing the problem here), appdaemon stops after trying to compile matplotlib from source.
I tried several different older matplotlib versions down to 3.7.5 (no success, though somtimes different errors during build). It seems that no suitable matplotlib wheels are available and,at least for later matplotlib versions, compilation fails due to missing compilers.
What can I do to get my matplotlib-dependent app working again?
Version
0.18.5
Installation type
Home Assistant add-on
Relevant log output
-----------------------------------------------------------
App: AppDaemon
Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
App version: 0.18.5
You are running the latest version of this app.
System: Home Assistant OS 18.1 (aarch64 / raspberrypi4-64)
Home Assistant Core: 2026.7.4
Home Assistant Supervisor: 2026.07.3
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
Log level is set to INFO
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting matplotlib
Downloading matplotlib-3.11.1.tar.gz (32.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 32.6/32.6 MB 1.1 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
+ meson setup /tmp/pip-install-msl5ldm2/matplotlib_2495232959ff453c8f6882d67c410269 /tmp/pip-install-msl5ldm2/matplotlib_2495232959ff453c8f6882d67c410269/.mesonpy-ireyo3hk -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/tmp/pip-install-msl5ldm2/matplotlib_2495232959ff453c8f6882d67c410269/.mesonpy-ireyo3hk/meson-python-native-file.ini
The Meson build system
Version: 1.11.2
Source dir: /tmp/pip-install-msl5ldm2/matplotlib_2495232959ff453c8f6882d67c410269
Build dir: /tmp/pip-install-msl5ldm2/matplotlib_2495232959ff453c8f6882d67c410269/.mesonpy-ireyo3hk
Build type: native build
Program python found: YES 3.12.13 3.12.13
Project name: matplotlib
Project version: 3.11.1
../meson.build:1:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'], ['clang'], ['nvc'], ['pgcc'], ['icc'], ['icx']]
The following exception(s) were encountered:
Running `cc --version` gave "[Errno 2] No such file or directory: 'cc'"
Running `gcc --version` gave "[Errno 2] No such file or directory: 'gcc'"
Running `clang --version` gave "[Errno 2] No such file or directory: 'clang'"
Running `nvc --version` gave "[Errno 2] No such file or directory: 'nvc'"
Running `pgcc --version` gave "[Errno 2] No such file or directory: 'pgcc'"
Running `icc --version` gave "[Errno 2] No such file or directory: 'icc'"
Running `icx --version` gave "[Errno 2] No such file or directory: 'icx'"
A full log can be found at /tmp/pip-install-msl5ldm2/matplotlib_2495232959ff453c8f6882d67c410269/.mesonpy-ireyo3hk/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.
[11:23:16] FATAL: Failed installing package matplotlib
s6-rc: warning: unable to start service init-appdaemon: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: warning: service s6rc-oneshot-runner is marked as essential, not stopping it
Relevant code in the app or config file that caused the issue
python_packages:
- matplotlib
Anything else?
No response
What happened?
Hi,
after upgrade to appdaemon 0.18.5 and migration to an aarch64 HAOS host (not sure whats causing the problem here), appdaemon stops after trying to compile matplotlib from source.
I tried several different older matplotlib versions down to 3.7.5 (no success, though somtimes different errors during build). It seems that no suitable matplotlib wheels are available and,at least for later matplotlib versions, compilation fails due to missing compilers.
What can I do to get my matplotlib-dependent app working again?
Version
0.18.5
Installation type
Home Assistant add-on
Relevant log output
Relevant code in the app or config file that caused the issue
Anything else?
No response