Bug#1103918: change libldap2-dev to Architecture: any
Helmut Grohne
helmut at subdivi.de
Tue Apr 22 15:38:46 BST 2025
Package: libldap2-dev
Version: 2.5.4+dfsg-1~exp1
User: helmutg at debian.org
Usertags: rebootstrap
Hi,
I noticed that architecture cross bootstrap has issues with the
libldap2-dev transitional package. When it comes around to building
src:krb5, it sees a dependency on libldap2-dev and figures that there is
a real libldap2-dev, but since it is Arch:all and implicitly M-A:no, it
cannot satisfy krb5's dependency and gives up. What it does not realize
is that libldap-dev will provide libldap2-dev (as openldap hasn't been
built yet) and that therefore openldap should be built.
The property we need here is that within the cross bootstrap package
set, build-depends must point to real and eventually satisfiable
packages. There are two ways of fixing this. One is changing krb5 to
depend on libldap-dev as that's the real package now. The other is
changing libldap2-dev to Arch:any. The latter fixes the problem for all
users and arguably is more correct. In general transitional packages
should have the same architecture (and the same Multi-Arch value) as the
packages they refer to.
Please convert libldap2-dev back to Arch:any.
Helmut
More information about the Pkg-openldap-devel
mailing list