From 24d50c921eda960159f363b464de79aad93f2dbc Mon Sep 17 00:00:00 2001 From: Smittix Date: Fri, 27 Feb 2026 11:19:23 +0000 Subject: [PATCH] fix: build radiosonde_auto_rx C decoders (dft_detect, fsk_demod, etc.) setup.sh and Dockerfile were installing the Python package and copying files but skipping the build.sh step that compiles the C decoders. This caused "Binary dft_detect does not exist" at runtime. Co-Authored-By: Claude Opus 4.6 --- Dockerfile | 1 + setup.sh | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index aab54a8..1d0b789 100644 --- a/Dockerfile +++ b/Dockerfile @@ -205,6 +205,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && git clone --depth 1 https://github.com/projecthorus/radiosonde_auto_rx.git \ && cd radiosonde_auto_rx/auto_rx \ && pip install --no-cache-dir -r requirements.txt \ + && bash build.sh \ && mkdir -p /opt/radiosonde_auto_rx/auto_rx \ && cp -r . /opt/radiosonde_auto_rx/auto_rx/ \ && chmod +x /opt/radiosonde_auto_rx/auto_rx/auto_rx.py \ diff --git a/setup.sh b/setup.sh index d864f19..f7454f5 100755 --- a/setup.sh +++ b/setup.sh @@ -848,6 +848,12 @@ install_radiosonde_auto_rx() { } fi + info "Building radiosonde_auto_rx C decoders..." + if ! bash build.sh; then + warn "Failed to build radiosonde_auto_rx decoders" + exit 1 + fi + info "Installing to ${install_dir}..." refresh_sudo $SUDO mkdir -p "$install_dir/auto_rx"