Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image won't build #1

Open
VaporwareII opened this issue Nov 19, 2023 · 4 comments
Open

Docker image won't build #1

VaporwareII opened this issue Nov 19, 2023 · 4 comments

Comments

@VaporwareII
Copy link

I know this repo is kind of out of date, but I'm trying to retrace your path here and I'm not sure what the below failure is. additionally, there are quite a few docker images of icecast so I'm pretty lost here as to if there is an easy fix. Is it the libcrypto3-3.1.3-r0 & libssl3-3.1.3-r0 errors?

I was eventually going to use your image to stream my RTL-SDR because I'd like to listen to HD radio (a single channel lol), but I wanted to try and get your example running first.

Building radio_noaa
[+] Building 3.9s (6/10)                                                                                                                                     docker:default
 => [internal] load .dockerignore                                                                                                                                      0.1s
 => => transferring context: 2B                                                                                                                                        0.0s
 => [internal] load build definition from Dockerfile                                                                                                                   0.1s
 => => transferring dockerfile: 594B                                                                                                                                   0.0s
 => [internal] load metadata for docker.io/library/alpine:latest                                                                                                       1.1s
 => CACHED [1/6] FROM docker.io/library/alpine:latest@sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978                                          0.0s
 => [internal] load build context                                                                                                                                      0.1s
 => => transferring context: 67B                                                                                                                                       0.0s
 => ERROR [2/6] RUN   apk add     --no-cache     --repository 'http://dl-cdn.alpinelinux.org/alpine/edge/main'     build-base     cmake     autoconf     automake      2.4s
------                                                                                                                                                                      
 > [2/6] RUN   apk add     --no-cache     --repository 'http://dl-cdn.alpinelinux.org/alpine/edge/main'     build-base     cmake     autoconf     automake     librtlsdr-dev     libtool     libao-dev     fftw-dev     ezstream     lame     lame-dev     libshout-dev     git     rtl-sdr:                                                            
0.603 fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz                                                                                          
0.878 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz                                                                                        
1.206 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz                                                                                   
1.994 ERROR: unable to select packages:
2.000   libcrypto3-3.1.3-r0:
2.000     breaks: openssl-dev-3.1.4-r1[libcrypto3=3.1.4-r1]
2.001     satisfies: ca-certificates-20230506-r0[so:libcrypto.so.3]
2.001                apk-tools-2.14.0-r2[so:libcrypto.so.3]
2.001                libshout-2.4.6-r3[so:libcrypto.so.3]
2.001                libcurl-8.4.0-r0[so:libcrypto.so.3]
2.001                cmake-3.27.8-r0[so:libcrypto.so.3]
2.001                libssl3-3.1.3-r0[so:libcrypto.so.3]
2.001                rhash-libs-1.4.4-r0[so:libcrypto.so.3]
2.001                libarchive-3.7.2-r0[so:libcrypto.so.3]
2.002                ssl_client-1.36.1-r2[so:libcrypto.so.3]
2.002   libssl3-3.1.3-r0:
2.002     breaks: openssl-dev-3.1.4-r1[libssl3=3.1.4-r1]
2.002     satisfies: apk-tools-2.14.0-r2[so:libssl.so.3]
2.002                libshout-2.4.6-r3[so:libssl.so.3]
2.002                libcurl-8.4.0-r0[so:libssl.so.3]
2.002                cmake-3.27.8-r0[so:libssl.so.3]
2.002                ssl_client-1.36.1-r2[so:libssl.so.3]
------
Dockerfile:4
--------------------
   3 |     
   4 | >>> RUN \
   5 | >>>   apk add \
   6 | >>>     --no-cache \
   7 | >>>     --repository 'http://dl-cdn.alpinelinux.org/alpine/edge/main' \
   8 | >>>     build-base \
   9 | >>>     cmake \
  10 | >>>     autoconf \
  11 | >>>     automake \
  12 | >>>     librtlsdr-dev \
  13 | >>>     libtool \
  14 | >>>     libao-dev \
  15 | >>>     fftw-dev \
  16 | >>>     ezstream \
  17 | >>>     lame \
  18 | >>>     lame-dev \
  19 | >>>     libshout-dev \
  20 | >>>     git \
  21 | >>>     rtl-sdr
  22 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apk add     --no-cache     --repository 'http://dl-cdn.alpinelinux.org/alpine/edge/main'     build-base     cmake     autoconf     automake     librtlsdr-dev     libtool     libao-dev     fftw-dev     ezstream     lame     lame-dev     libshout-dev     git     rtl-sdr" did not complete successfully: exit code: 2
ERROR: Service 'radio_noaa' failed to build : Build failed
@zacs
Copy link
Owner

zacs commented Apr 8, 2024

Apologies I never saw this issue til now. It does appear to be those two libraries. Did you end up getting it to work?

FWIW my use case is the exact same :) -- wanted to have KEXP always available on my Sonos even without internet.

@VaporwareII
Copy link
Author

I never got it working, unfortunately. I can retrace my steps to try and figure it out again if you think it may have been a temporary library problem. If it's something that has been obsoleted then I wouldn't know where to start to replace those libraries.

@zacs
Copy link
Owner

zacs commented Apr 22, 2024

I will give it a run to test it out. It should be a simple fix. I also have a container that tunes in to FM spectrum but using HD Radio. The Dockerfile is more complex since it has to compile nrsc5, but I am happy to paste that here if it would be helpful to you.

@VaporwareII
Copy link
Author

VaporwareII commented Apr 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants