zacs / sample-icecast-noaa

A sample docker setup for streaming NOAA radio from a USB RTL-SDR dongle to Icecast, so you can listen tp it as an m3u stream.
10 stars 1 forks source link

Docker image won't build #1

Open VaporwareII opened 12 months ago

VaporwareII commented 12 months ago

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 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

Oh yeah, for sure that would be amazing. That's what I was working towards, since my favorite channel got moved to HD.

On Mon, Apr 22, 2024 at 2:25 PM Zac @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/zacs/sample-icecast-noaa/issues/1#issuecomment-2070543810, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBYMGL35XHCXN4ELC2MK73Y6VIYDAVCNFSM6AAAAAA7R7NGXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQGU2DGOBRGA . You are receiving this because you authored the thread.Message ID: @.***>