OttPeterR / addon-babybuddy

BabyBuddy, wrapped into a Home Assistant addon
36 stars 13 forks source link

Error during install #5

Closed nylandsmarthome closed 2 years ago

nylandsmarthome commented 2 years ago

I tried installing the Baby Buddy add on today, the repo showed up in the add on store just fine and when I went to install I got the following error:

Failed to install add-on The command '/bin/bash -o pipefail -c echo " install build packages " && apk add --no-cache --virtual=build-dependencies build-base curl jpeg-dev libffi-dev libxml2-dev libxslt-dev postgresql-dev python3-dev zlib-dev' returned a non-zero code: 17

I'm not a super fluent developer but it looks to me like it's having trouble loading the apk?

SifuDaigo commented 2 years ago

Same issue here on latest HA (core-2022.4.6). Supervisor-log says following:

22-04-24 13:06:24 INFO (SyncWorker_1) [supervisor.docker.addon] Starting build for 68152197/armv7-addon-baby_buddy:1.10.2.2
22-04-24 13:06:28 ERROR (SyncWorker_1) [supervisor.docker.addon] Can't build 68152197/armv7-addon-baby_buddy:1.10.2.2: The command '/bin/bash -o pipefail -c echo "**** install build packages ****" &&   apk add --no-cache --virtual=build-dependencies     build-base     curl     jpeg-dev     libffi-dev     libxml2-dev     libxslt-dev     postgresql-dev     python3-dev     zlib-dev' returned a non-zero code: 17
22-04-24 13:06:28 ERROR (SyncWorker_1) [supervisor.docker.addon] Build log: 
Step 1/16 : ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:11.1.0
Step 2/16 : FROM ${BUILD_FROM}
 ---> 00d0a203f172
Step 3/16 : SHELL ["/bin/bash", "-o", "pipefail", "-c"]
 ---> Using cache
 ---> 109d339320c0
Step 4/16 : RUN   echo "**** install build packages ****" &&   apk add --no-cache --virtual=build-dependencies     build-base     curl     jpeg-dev     libffi-dev     libxml2-dev     libxslt-dev     postgresql-dev     python3-dev     zlib-dev
 ---> Running in ac9d7f56a35b
**** install build packages ****
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/armv7/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/armv7/APKINDEX.tar.gz
ERROR: unable to select packages:

  libcrypto1.1-1.1.1l-r8:
    breaks: openssl-dev-1.1.1n-r0[libcrypto1.1=1.1.1n-r0]
    satisfies: world[libcrypto1.1=1.1.1l-r8]
               ca-certificates-20191127-r7[so:libcrypto.so.1.1]
               python3-3.9.7-r4[so:libcrypto.so.1.1]
               libretls-3.3.4-r2[so:libcrypto.so.1.1]
               libpq-14.2-r0[so:libcrypto.so.1.1]
               libcurl-7.80.0-r0[so:libcrypto.so.1.1]
               apk-tools-2.12.7-r3[so:libcrypto.so.1.1]
               libssl1.1-1.1.1l-r8[so:libcrypto.so.1.1]
  libssl1.1-1.1.1l-r8:
    breaks: openssl-dev-1.1.1n-r0[libssl1.1=1.1.1n-r0]
    satisfies: world[libssl1.1=1.1.1l-r8]
               python3-3.9.7-r4[so:libssl.so.1.1]
               libretls-3.3.4-r2[so:libssl.so.1.1]
               libpq-14.2-r0[so:libssl.so.1.1]
               libcurl-7.80.0-r0[so:libssl.so.1.1]
               apk-tools-2.12.7-r3[so:libssl.so.1.1]
Removing intermediate container ac9d7f56a35b
OttPeterR commented 2 years ago

an update has been pushed that fixes this, could you let me know if its working for you?

SifuDaigo commented 2 years ago

It's working now, thank you very much! :)