From b395e7c3ed2caa2638171d94bbfdf0be043eab43 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Tue, 28 Jul 2026 08:57:36 +0000 Subject: [PATCH] =?UTF-8?q?[FIX]=20install:=20supporter=20Ubuntu=2026.04?= =?UTF-8?q?=20(sinon=20deps=20syst=C3=A8me=20saut=C3=A9es=20->=20pas=20de?= =?UTF-8?q?=20gcc)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit L'install ERPLibre échouait sur une VM Ubuntu 26.04 : « configure: error: no acceptable C compiler found in $PATH » -> pyenv ne compile pas Python -> pas de venv -> pip/poetry/repo absents. Cause : install_dev.sh ne listait Ubuntu que jusqu'à 25.10. Sur 26.04 il tombait dans le « else » (« Your version is not supported… : 26.04 ») et n'exécutait donc PAS install_debian_dependency.sh -> ni build-essential ni gcc installés. Le catalogue de déploiement propose pourtant 26.04. Fix : ajout de 26.04 à la liste des versions Ubuntu supportées. Note : Ubuntu 26.04 utilise uutils (rust-coreutils), bogué en big-endian ; sur s390x un « sort » peut paniquer (non bloquant ici) — problème amont. Co-Authored-By: Claude Opus 4.8 (1M context) --- script/install/install_dev.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/install/install_dev.sh b/script/install/install_dev.sh index 59a7970..95cc0a3 100755 --- a/script/install/install_dev.sh +++ b/script/install/install_dev.sh @@ -3,11 +3,11 @@ if [[ "${OSTYPE}" == "linux-gnu" ]]; then source /etc/os-release if [[ "${ID}" == "ubuntu" ]]; then - if [[ "${VERSION_ID}" == "18.04" || "${VERSION_ID}" == "20.04" || "${VERSION_ID}" == "22.04" || "${VERSION_ID}" == "22.10" || "${VERSION_ID}" == "23.04" || "${VERSION_ID}" == "23.10" || "${VERSION_ID}" == "24.04" || "${VERSION_ID}" == "25.04" || "${VERSION_ID}" == "25.10" ]]; then + if [[ "${VERSION_ID}" == "18.04" || "${VERSION_ID}" == "20.04" || "${VERSION_ID}" == "22.04" || "${VERSION_ID}" == "22.10" || "${VERSION_ID}" == "23.04" || "${VERSION_ID}" == "23.10" || "${VERSION_ID}" == "24.04" || "${VERSION_ID}" == "25.04" || "${VERSION_ID}" == "25.10" || "${VERSION_ID}" == "26.04" ]]; then echo "\n---- linux-gnu installation process started ----" ./script/install/install_debian_dependency.sh else - echo "Your version is not supported, only support 18.04, 20.04 and 22.04 - 24.04, 25.04, 25.10 : ${VERSION_ID}" + echo "Your version is not supported, only support 18.04, 20.04 and 22.04 - 24.04, 25.04, 25.10, 26.04 : ${VERSION_ID}" fi elif [[ "${ID}" == "linuxmint" ]]; then if [[ "${VERSION_ID}" == "22.3" ]]; then