Commit 06bcb0eb0ad for mysql.org
commit 06bcb0eb0ad281e08dd2b4d81b99ad25491433e7
Author: Ridha Chahed <ridha.chahed@oracle.com>
Date: Mon Oct 26 09:50:37 2026 +0100
Bug#40207685 GitHub CI builds fail because libudev-dev is missing
Problem
-------
Daily MTR, PR Build and PR MTR fail during CMake configuration before
compilation or test execution because WebAuthn dependencies are missing.
Analysis / Root-cause analysis
------------------------------
WebAuthn support requires the libudev development files on Linux. The
shared CI bootstrap script does not install libudev-dev, so configuring
with WITH_AUTHENTICATION_WEBAUTHN=ON fails on runners without it.
Solution
--------
Add libudev-dev to the packages installed by scripts/ci/bootstrap.sh.
This supplies the dependency for all workflows using the shared script.
Validation: bash -n scripts/ci/bootstrap.sh and git diff --check pass.
Full CI validation is pending a fresh run after the fix reaches trunk.
Change-Id: Id2eac3e2a3762bb998ff615b8508b720ba2f16fe
(cherry picked from commit 02ff0161c4046610eeda24af14d92ca2d4b0d3dc)
diff --git a/scripts/ci/bootstrap.sh b/scripts/ci/bootstrap.sh
index 17665674eda..55995782114 100755
--- a/scripts/ci/bootstrap.sh
+++ b/scripts/ci/bootstrap.sh
@@ -31,7 +31,7 @@ SUDO=""; [ "$(id -u)" -ne 0 ] && SUDO="sudo"
$SUDO apt-get update
$SUDO apt-get install -y --no-install-recommends \
build-essential cmake ninja-build pkg-config bison \
- libssl-dev libncurses-dev libldap2-dev libsasl2-dev libcurl4-openssl-dev libtirpc-dev \
+ libssl-dev libncurses-dev libldap2-dev libsasl2-dev libcurl4-openssl-dev libtirpc-dev libudev-dev \
ccache git curl
echo "Toolchain ready. Boost is fetched on first configure via -DDOWNLOAD_BOOST=1."