Do not remove fields, answer them, otherwise your bug will be reported as invalid and closed
How I did start SLC, with what arguments
./hlc_download
Led device name
"Matrix Voice"
The bug
Script runs without error up to point of installing matrix-lite, then gcc fails with output below. If I skip matrix voice installation in script, then no main.py is created. Matrix-lite is already installed and test with python scripts on matrix website.
Debug output
× Running setup.py install for matrix-lite did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
running install
/home/voice/HermesLedControl/venv/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-armv7l-cpython-39
creating build/lib.linux-armv7l-cpython-39/matrix_lite
copying matrix_lite/colour.py -> build/lib.linux-armv7l-cpython-39/matrix_lite
copying matrix_lite/init.py -> build/lib.linux-armv7l-cpython-39/matrix_lite
copying matrix_lite/sensors.py -> build/lib.linux-armv7l-cpython-39/matrix_lite
copying matrix_lite/led.py -> build/lib.linux-armv7l-cpython-39/matrix_lite
running build_ext
building '_matrix_hal' extension
creating build/temp.linux-armv7l-cpython-39
creating build/temp.linux-armv7l-cpython-39/hal_wrapper
creating build/temp.linux-armv7l-cpython-39/hal_wrapper/drivers
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/voice/HermesLedControl/venv/lib/python3.9/site-packages/pybind11/include -I/home/voice/HermesLedControl/venv/lib/python3.9/site-packages/pybind11/include -I/home/voice/HermesLedControl/venv/include -I/usr/include/python3.9 -c hal_wrapper/drivers/everloop.cpp -o build/temp.linux-armv7l-cpython-39/hal_wrapper/drivers/everloop.o -O3 -DVERSION_INFO=\"0.0.8\" -std=c++11
hal_wrapper/drivers/everloop.cpp:2:10: fatal error: ./everloop.h: No such file or directory
include "./everloop.h"
^~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> matrix-lite
Do not remove fields, answer them, otherwise your bug will be reported as invalid and closed
How I did start SLC, with what arguments ./hlc_download
Led device name "Matrix Voice"
The bug Script runs without error up to point of installing matrix-lite, then gcc fails with output below. If I skip matrix voice installation in script, then no main.py is created. Matrix-lite is already installed and test with python scripts on matrix website.
Debug output × Running setup.py install for matrix-lite did not run successfully. │ exit code: 1 ╰─> [23 lines of output] running install /home/voice/HermesLedControl/venv/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib.linux-armv7l-cpython-39 creating build/lib.linux-armv7l-cpython-39/matrix_lite copying matrix_lite/colour.py -> build/lib.linux-armv7l-cpython-39/matrix_lite copying matrix_lite/init.py -> build/lib.linux-armv7l-cpython-39/matrix_lite copying matrix_lite/sensors.py -> build/lib.linux-armv7l-cpython-39/matrix_lite copying matrix_lite/led.py -> build/lib.linux-armv7l-cpython-39/matrix_lite running build_ext building '_matrix_hal' extension creating build/temp.linux-armv7l-cpython-39 creating build/temp.linux-armv7l-cpython-39/hal_wrapper creating build/temp.linux-armv7l-cpython-39/hal_wrapper/drivers gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/voice/HermesLedControl/venv/lib/python3.9/site-packages/pybind11/include -I/home/voice/HermesLedControl/venv/lib/python3.9/site-packages/pybind11/include -I/home/voice/HermesLedControl/venv/include -I/usr/include/python3.9 -c hal_wrapper/drivers/everloop.cpp -o build/temp.linux-armv7l-cpython-39/hal_wrapper/drivers/everloop.o -O3 -DVERSION_INFO=\"0.0.8\" -std=c++11 hal_wrapper/drivers/everloop.cpp:2:10: fatal error: ./everloop.h: No such file or directory
include "./everloop.h"
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> matrix-lite
To Reproduce Run sudo ./.hlc_download.sh