On Tue, 2021-02-23 at 01:52 +0800, Shengjing Zhu wrote:
> On Mon, Feb 22, 2021 at 05:44:16PM +0000, Luca Boccassi wrote:
> > > I have verified with `sbuild --profiles=nodoc --no-arch-all`.
> > > Is there anything I miss?
> > 
> > I was testing in a pbuilder chroot, and without doxygen installed
> > "DEB_BUILD_OPTIONS=nodoc DEB_BUILD_PROFILES=nodoc dpkg-buildpackage"
> > would fail at the arch-dependent configure.
> > 
> 
> Could you try `dpkg-buildpackage --build-profiles=nodoc`?
> 
> At least I can't find a way to run this command.
> Whenever I pass DEB_BUILD_PROFILES=nodoc to sbuild, or --profiles=nodoc,
> the actual dpkg-buildpackage command becomes:
> 
> dpkg-buildpackage --sanitize-env -Pnodoc -us -uc -G -rfakeroot

Ok, that works - interesting.

Attached patch to make the -bin package Multiarch: allowed, verified in
a chroot that libsdbus-c++-dev:i386 can be installed with libsdbus-c++-
bin:amd64. Would be great to have this in Buster, so that multiarch
works.

-- 
Kind regards,
Luca Boccassi
From 3a060916559800bdfa563f94c4f31b44e63ad546 Mon Sep 17 00:00:00 2001
From: Luca Boccassi <luca.bocca...@microsoft.com>
Date: Mon, 22 Feb 2021 20:03:53 +0000
Subject: [PATCH] Mark libsdbus-c++-bin as Multi-Arch: allowed

Allows libsdbus-c++-dev:i386 to be installable with libsdbus-c++-bin:amd64
---
 debian/control | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index c992b73..212784b 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,7 @@ Vcs-Browser: https://salsa.debian.org/zhsj/sdbus-cpp
 Package: libsdbus-c++-bin
 Section: utils
 Architecture: linux-any
+Multi-Arch: allowed
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
@@ -35,7 +36,7 @@ Package: libsdbus-c++-dev
 Architecture: linux-any
 Multi-Arch: same
 Depends:
- libsdbus-c++-bin (= ${binary:Version}),
+ libsdbus-c++-bin:any (= ${binary:Version}),
  libsdbus-c++0 (= ${binary:Version}),
  ${misc:Depends},
  ${shlibs:Depends},
-- 
2.29.2

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to