From c68b9b6a409383972d40883b740454369463dcf6 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Fri, 20 Feb 2026 22:51:26 +0100 Subject: [PATCH] Huntarr: add build-essential for native pip dependencies (#12126) * fix(huntarr): add build-essential for native pip dependencies Some Python packages in requirements.txt need a C++ compiler for native extensions. Without build-essential the uv pip install step fails with 'command c++ not found'. Closes #12117 * Change apt-get to apt for installing dependencies * Ensure git dependency before updating Huntarr Added dependency check for git before fetching and deploying the GitHub release. * drunk --- ct/huntarr.sh | 3 ++- install/huntarr-install.sh | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ct/huntarr.sh b/ct/huntarr.sh index a14151378..7d81a6b47 100644 --- a/ct/huntarr.sh +++ b/ct/huntarr.sh @@ -35,7 +35,8 @@ function update_script() { msg_info "Stopping Service" systemctl stop huntarr msg_ok "Stopped Service" - + + ensure_dependencies build-essential fetch_and_deploy_gh_release "huntarr" "plexguide/Huntarr.io" "tarball" msg_info "Updating Huntarr" diff --git a/install/huntarr-install.sh b/install/huntarr-install.sh index ea43a1e91..9fdf5f609 100644 --- a/install/huntarr-install.sh +++ b/install/huntarr-install.sh @@ -13,6 +13,10 @@ setting_up_container network_check update_os +msg_info "Installing Dependencies" +$STD apt install -y build-essential +msg_ok "Installed Dependencies" + PYTHON_VERSION="3.12" setup_uv fetch_and_deploy_gh_release "huntarr" "plexguide/Huntarr.io" "tarball"