james-fry / hassio-addons

Repository for hass.io add ons
99 stars 96 forks source link

Unable to install on hassio docker image. #21

Open Cardy165 opened 5 years ago

Cardy165 commented 5 years ago

Hi,

I have tried to install this on a new docker install of hassio runing on amd64 hardware.

The install starts then gives an error. I'm new to both docker and hassio and am not sure how/where to start debugging why the addon has failed to compile.

19-01-24 23:31:13 INFO (SyncWorker_19) [hassio.docker.addon] Start build f3248fb7/amd64-addon-rtl4332mqtt:0.2 19-01-24 23:31:23 ERROR (SyncWorker_19) [hassio.docker.addon] Can't build f3248fb7/amd64-addon-rtl4332mqtt:0.2: The command '/bin/sh -c apk add --no-cache --virtual build-deps alpine-sdk cmake git libusb-dev && mkdir /tmp/src && cd /tmp/src && git clone git://git.osmocom.org/rtl-sdr.git && mkdir /tmp/src/rtl-sdr/build && cd /tmp/src/rtl-sdr/build && cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr/local && make && make install && chmod +s /usr/local/bin/rtl_* && cd /tmp/src/ && git clone https://github.com/merbanan/rtl_433 && cd rtl_433/ && mkdir build && cd build && cmake ../ && make && make install && apk del build-deps && rm -r /tmp/src && apk add --no-cache libusb mosquitto-clients jq' returned a non-zero code: 5

Above is the error given in the system log.