[From nobody Tue Jun 23 00:35:05 2026
Received: (at submit) by bugs.debian.org; 22 Apr 2025 20:15:18 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-13.6 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DATE_IN_PAST_03_06,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE
 autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 119; neutral, 53; spammy,
 0. spammytokens: hammytokens:0.000-+--exp1, 0.000-+--H*F:U*helmut,
 0.000-+--H*F:D*subdivi.de, 0.000-+--H*RU:sk:helmut@,
 0.000-+--H*rp:U*helmut
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:53198)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;helmut@subdivi.de&gt;) id 1u7K1W-006t3n-Bb
 for submit@bugs.debian.org; Tue, 22 Apr 2025 20:15:18 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdivi.de;
 s=k15.isilmar-4; t=1745352916;
 bh=f7w3JUMVUer4HG2T6Bb0Z6HIpeOKcprJ0a4qMt4YjN0=;
 h=Date:From:To:Subject:From;
 b=c93Aose8cNIoalSWRk4SucZ5RVaHTNpD0H574ep0O5+CmsjjjysyTbzwjQ2YvApg7
 8P8g2R4XJwj8DX9hDOaQPqf9M0Da6A6XlW6s/3UboOFYLTdL2AIa3YwQgaaaFVh5ii
 bsMHQBKEIuqkdjfCt0XmCRIMVf/zVG1KWo5iBrZOVaZeslEQ3sRYsxObmWslQmGD+n
 BwjZVQ+hd/kJqSduc2wyO0lhun7bbzwJWB9BPITpCEZ2jD+1Zry+ovga7oFrQMnB2/
 aPsVI4nnXalvMezz4/TpvbJ8rAlsBT3dGtobAVg5+pdBDqs5SsDtrPTAUPMD5un8tS
 tgx8uouvAlsfw==
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id 8A28C200053
 for &lt;submit@bugs.debian.org&gt;; Tue, 22 Apr 2025 20:15:16 +0000 (UTC)
Date: Tue, 22 Apr 2025 16:38:46 +0200
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: change libldap2-dev to Architecture: any
Message-ID: &lt;20250422143846.GA3701104@subdivi.de&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 13.1.0
Delivered-To: submit@bugs.debian.org

Package: libldap2-dev
Version: 2.5.4+dfsg-1~exp1
User: helmutg@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
]