Ubuntu: Build Patchelf from source

On Ubuntu hosts we are installing patchelf from apt, which delivers
the newest version. As of writing that version is v0.18.0. This version
specifically has issues with patching Android ARM binaries, which we do
during FFmpeg provisioning. Using this version of patchelf blocks the
option of using Ubuntu hosts for Android ARM builds.

This patch makes us build v0.17.2 from source, which is what we do on
other UNIX hosts.

Pick-to: 6.11
Change-Id: I23d2114d2a7757ab0ce50cba7d207bc7813d64fb
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
This commit is contained in:
Nils Petter Skålerud
2026-04-22 10:14:38 +02:00
parent af907eaa16
commit 062bfe0d2f
10 changed files with 28 additions and 10 deletions

View File

@@ -245,8 +245,6 @@ installPackages+=(keyutils)
installPackages+=(cifs-utils)
# VxWorks QEMU network setup (tunctl)
installPackages+=(uml-utilities)
# Fix dependencies in shared ffmpeg libs
installPackages+=(patchelf)
# For swiftly
installPackages+=(gnupg2)
installPackages+=(pkg-config)