From fe9d9fe1817f7d4e8cf951df40d0bb9afacf8ff8 Mon Sep 17 00:00:00 2001 From: jknapp Date: Thu, 19 Nov 2026 09:46:06 -0800 Subject: [PATCH] fix(lsphp): post-install check asserts exact resolved pins incl. -ldap [skip ci] Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6 --- Dockerfile.lsphp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.lsphp b/Dockerfile.lsphp index 511167d..9c71f29 100644 --- a/Dockerfile.lsphp +++ b/Dockerfile.lsphp @@ -248,7 +248,8 @@ RUN set -e; \ rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*; \ RTV=$(dpkg-query -W -f='${Version}' lsphp${PHPVER}); \ CMV=$(dpkg-query -W -f='${Version}' lsphp${PHPVER}-common); \ - if [ "$RTV" != "$V" ] || ! $PR ok "$CMV" "$V"; then \ + LDV=$(dpkg-query -W -f='${Version}' lsphp${PHPVER}-ldap); \ + if [ "$RTV" != "$V" ] || [ "$CMV" != "$VC" ] || [ "$LDV" != "$VL" ] || ! $PR ok "$CMV" "$V"; then \ echo "FATAL: cac_path_parity.so was compiled against lsphp${PHPVER} $V but this" >&2; \ echo " image would ship lsphp${PHPVER}=$RTV / -common=$CMV." >&2; \ echo " Rebuild with --no-cache so both stages resolve the same release." >&2; \