On Fri, 06 Dec 2024 00:56:36 +0100 Johannes Schauer Marin Rodrigues <jo...@debian.org> wrote:
> [...] In the autopkgtest log, one can see that the > following apt preferences file is written out: > > Package: src:glibc > Pin: release unstable > Pin-Priority: 995 > > But that will only pin binary packages built from src:glibc for the *native* > architecture. To let this pin binary packages built from src:glibc for all > architectures, one has to write this: > > Package: src:glibc:any > Pin: release unstable > Pin-Priority: 995 > > This is made even more comical since I should've known that this is how it > works because I contributed the documentation to apt describing this feature > two years ago: > https://salsa.debian.org/apt-team/apt/-/commit/8d15f117b87a3907e31d3c7e380b67fd85c013df > > So we now know why apt is unable to find a solution. We have a few options > now: > > 1. disable the cross-build test in sbuild > 2. change the pinned package from src:glibc to src:glibc:any > 2.1. let the sbuild autopkgtest do this adjustment > 2.2. let autopkgtest do this adjustment > 2.2. let britney2 (or the test requester) do this adjustment Hi, I think we want option 2.2, implemented here: https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/490 This change will also slightly simplify https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/216 Cheers, Paride