]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: ci: Fix .respdiff-recent-named anchor to work when the ABI changes
authorŠtěpán Balážik <stepan@isc.org>
Tue, 3 Mar 2026 08:03:40 +0000 (08:03 +0000)
committerŠtěpán Balážik <stepan@isc.org>
Tue, 3 Mar 2026 08:03:40 +0000 (08:03 +0000)
commit8d557b0e9db5652f91dc85f6a6ddae94854483ad
treeb7d932e04003b37ba4d82269fa79e803a2e74992
parent819fe452745382a4e6410e7b3ea3b65346cd7ac7
parent36c56f0d90b316b17e6bcb77cefa23f08a5ed64e
[9.20] fix: ci: Fix .respdiff-recent-named anchor to work when the ABI changes

Previously, on 9.20 and 9.18, both builds (reference and the version
being tested) would use the same .so files which lead to a crash if the
ABI changed.

Use `git worktree` to get completely separate build environment for the
reference version.

This is not a problem on 9.21 as Meson is smart and covers this mistake,
but apply the fix to it as well for consistency.

This also is not a problem on non-MR pipelines: the latest released version
was used as a reference there, so the .so versions would differ.

See the 9.20 pre-backport branch and the jobs:

- Broken: https://gitlab.isc.org/isc-projects/bind9/-/jobs/6951217
- Fixed: https://gitlab.isc.org/isc-projects/bind9/-/jobs/6951220

Backport of MR !11616

Merge branch 'backport-stepan/respdiff-fails-on-abi-breakage-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11619