erplibre/script/install
Mathieu Benoit deae7d16c7 [ADD] install s390x : batir PROJ quand la distribution est en retard
Debian 13 installe ERPLibre de bout en bout ; Debian 12 s'arrete sur
pyproj :

  ERROR: Minimum supported PROJ version is 9.4.0, installed version is
  9.1.1

bookworm livre 9.1.1, trixie 9.6 — d'ou l'ecart entre les deux. La
portee est etroite : sur amd64 et arm64, pyproj pose une roue manylinux
qui EMBARQUE sa propre PROJ, et la version du systeme n'entre pas en
jeu. s390x n'a pas de roue et compile contre celle du systeme.

lib_proj.sh est le calque de lib_qpdf.sh, meme motif et memes
garde-fous : seuil, comparaison qui complete les composantes manquantes
— « sort -V » classe 9.4 avant 9.4.0 — installation dans /usr/local,
declaration a ld.so, et jamais de code non nul pour ne pas masquer ce
que pyproj dira lui-meme. L'appel reste sous la garde s390x, verifie.

--- EN ---

Debian 13 installs ERPLibre end to end; Debian 12 stops on pyproj:

  ERROR: Minimum supported PROJ version is 9.4.0, installed version is
  9.1.1

bookworm ships 9.1.1, trixie 9.6 — hence the gap between the two. The
scope is narrow: on amd64 and arm64 pyproj lays down a manylinux wheel
that BUNDLES its own PROJ, and the system version never comes into play.
s390x has no wheel and builds against the system one.

lib_proj.sh mirrors lib_qpdf.sh, same pattern and same guards: a
threshold, a comparison that pads missing components — "sort -V" ranks
9.4 before 9.4.0 — installation into /usr/local, an ld.so declaration,
and never a non-zero exit so as not to mask what pyproj itself will say.
The call stays under the s390x guard, verified.

Assisted-by: Claude Opus 5
(cherry picked from commit f779702b61ff6405bdd7efabaa1f5bac09e1166b)
2026-08-23 02:11:50 -04:00
..
install_arch_linux.sh [ADD] arch: Canadian pacman mirrors first 2026-08-16 23:33:49 -04:00
install_debian_10_prod_docker.sh [UPD] typo certbot 2026-01-10 04:52:39 -05:00
install_debian_dependency.sh [ADD] install s390x : batir PROJ quand la distribution est en retard 2026-08-23 02:11:50 -04:00
install_dev.sh [ADD] install: mise as Python provider, pyenv as fallback 2026-08-16 23:33:49 -04:00
install_dev_extra_ubuntu.sh [UPD] replace docker-compose to docker compose 2024-05-03 23:13:59 -04:00
install_erplibre.sh [IMP] mobile home installation and run 2025-11-11 05:19:14 -05:00
install_fedora_dependency.sh [FIX] install s390x : pyproj exige le binaire proj, pas ses en-tetes 2026-08-23 02:11:50 -04:00
install_git_repo.sh [IMP] refactoring .venv.erplibre 2025-10-31 01:34:26 -04:00
install_locally.sh [FIX] install s390x: the compiler was killed for lack of memory 2026-08-17 00:40:01 -04:00
install_locally_dev.sh [IMP] installation: parallelize repo sync and poetry install 2026-08-07 02:09:35 -04:00
install_locally_prod.sh [FIX] script python: missing color log error 2024-05-03 23:13:59 -04:00
install_ntfy.sh [ADD] install: add NTFY self-hosted push notification server 2026-08-07 02:52:17 -04:00
install_OSX_dependency.sh [UPD] OSX installation: remove python 3.7 2026-02-13 04:07:32 -05:00
install_production.sh [UPD] script refactor install_daemon, python script to customize services 2025-11-02 02:14:15 -05:00
install_production_nginx.sh [IMP] support multi version odoo on same workspace 2025-10-31 01:36:26 -04:00
install_suse_dependency.sh [FIX] install s390x : pyproj exige le binaire proj, pas ses en-tetes 2026-08-23 02:11:50 -04:00
install_ubuntu_docker.sh [UPD] typo certbot 2026-01-10 04:52:39 -05:00
install_venv.sh [ADD] install: mise as Python provider, pyenv as fallback 2026-08-16 23:33:49 -04:00
lib_lowmem.sh [FIX] install s390x: the compiler was killed for lack of memory 2026-08-17 00:40:01 -04:00
lib_pip_provider.sh [ADD] install: uv to place Python packages, pip as fallback 2026-08-16 23:33:49 -04:00
lib_proj.sh [ADD] install s390x : batir PROJ quand la distribution est en retard 2026-08-23 02:11:50 -04:00
lib_python_provider.sh [ADD] install: mise as Python provider, pyenv as fallback 2026-08-16 23:33:49 -04:00
lib_qpdf.sh [FIX] install: the EL9, EL10 and Fedora build chain 2026-08-16 23:33:49 -04:00