FS#64387 - [home-assistant] missing dependency on gcc/base-devel
Attached to Project:
Community Packages
Opened by Cedric Girard (Xdark) - Monday, 04 November 2019, 17:10 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 20 November 2019, 21:08 GMT
Opened by Cedric Girard (Xdark) - Monday, 04 November 2019, 17:10 GMT
Last edited by Maxime Gauduin (Alucryd) - Wednesday, 20 November 2019, 21:08 GMT
|
Details
Description: On startup, it try to compile some python
module. This is failing with missing gcc if not
installed.
I am quite surprised those python module are not installed through pacman deps though. Logs: Nov 04 17:03:57 alarm hass[3607]: unable to execute 'gcc': No such file or directory Nov 04 17:03:57 alarm hass[3607]: error: command 'gcc' failed with exit status 1 Nov 04 17:03:57 alarm hass[3607]: ---------------------------------------- Nov 04 17:03:57 alarm hass[3607]: ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nazfe6oy/pycryptodome/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nazfe6oy/pycryptodome/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-3ipaytox/install-record.txt --single-version-externally-managed --prefix '' --compile --user --prefix= Check the logs for full command output. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Wednesday, 20 November 2019, 21:08 GMT
Reason for closing: Fixed
Additional comments about closing: 0.101.3-4
Wednesday, 20 November 2019, 21:08 GMT
Reason for closing: Fixed
Additional comments about closing: 0.101.3-4
Comment by
Maxime Gauduin (Alucryd) -
Wednesday, 20 November 2019, 19:29 GMT
Well installing every dependency via pacman is quite tricky. First
there's _a lot_, and most of them optional, plus home-assistant
forces specific versions of them, most of the time out of sync
with ours. We have no choice but to only require the core
libraries, and even then, I'm lifting their version requirement
and hope ours work. I'll add gcc to the deps though, that was an
oversight as base-devel is the first thing I install everywhere.
Comment by
Maxime Gauduin (Alucryd) -
Wednesday, 20 November 2019, 21:07 GMT
I've added gcc in the latest update, hope it is enough for now.