Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1049413

Bug#983335: sdbus-cpp: support Multiarch and nodoc/nocheck build profiles/options

From Luca Boccassi <bluca@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#983335: sdbus-cpp: support Multiarch and nodoc/nocheck build profiles/options
Date 2021-02-22 17:40 +0100
Message-ID <BLmpz-6q4-5@gated-at.bofh.it> (permalink)
References <BLkQN-5oN-1@gated-at.bofh.it> <BLmfU-6n5-7@gated-at.bofh.it> <BLkQN-5oN-1@gated-at.bofh.it> <BLmfU-6n5-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, 2021-02-23 at 00:22 +0800, Shengjing Zhu wrote:
> On Mon, Feb 22, 2021 at 02:47:20PM +0000, Luca Boccassi wrote:
> > Source: sdbus-cpp
> > Version: 0.8.3-3
> > Tags: patch
> > 
> > Dear Maintainer,
> > 
> > Please find attached some patches to enable multiarch support and
> > nodoc/nocheck build profiles (for easier
> > crossbuild/bootstrap/backport).
> > 
> > -- 
> > Kind regards,
> > Luca Boccassi
> > Subject: [PATCH 1/5] libsdbus-c++-dev: downgrade Depends on libsdbus-c++-bin
> >  to Suggests
> > 
> > It is not actually necessary to use the library headers and link against
> > the shared object, it's a useful development tool. A Suggests is enough
> > and doesn't have side effects on Multiarch installations.
> > ---
> 
> Will apply after bullseye. Otherwise anbox will FTBFS.

This is required for multiarch though. An alternative could be to mark
the dependency as :native and the bin package as "Multi-Arch: allowed".
Then it should be satisfiable from another architecture (eg:
libsdbuscpp-dev:i386 can be installed with libsdbuscpp-bin:amd64).

> > Subject: [PATCH 2/5] Enable Multiarch support
> 
> Applied
> 
> > From 14bff4c1d7c4c1af021d189ff4df378e41d50141 Mon Sep 17 00:00:00 2001
> > From: Luca Boccassi <luca.boccassi@microsoft.com>
> > Date: Mon, 22 Feb 2021 13:43:34 +0000
> > Subject: [PATCH 3/5] Add support for nocheck build option/profile
> > 
> 
> Applied without checking DEB_BUILD_PROFILES.
> The spec says:
> 
> Builds that set this profile must also add nocheck to DEB_BUILD_OPTIONS
> 
> So the DEB_BUILD_OPTIONS is always available. With DEB_BUILD_OPTIONS and
> debhelper-compat 13, there's no need to check nocheck in dh_auto_test.
> 
> > Subject: [PATCH 4/5] Mark d/rules as executable
> > 
> 
> Applied.
> 
> > Subject: [PATCH 5/5] Add support for nodoc build option/profile
> > 
> 
> Applied without check nodoc in d/rules. As building doc is already in
> -indep target. And the -doc is the only arch all package.

That adds an additional requirement though - doing a binary build
together with the nodoc profile. Also, the binary build will fail
without passing -DBUILD_DOC=OFF to the binary configure, since it's
default-enabled and will fail when looking for the doxygen binary.

-- 
Kind regards,
Luca Boccassi

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#983335: sdbus-cpp: support Multiarch and nodoc/nocheck build profiles/options Luca Boccassi <bluca@debian.org> - 2021-02-22 16:00 +0100
  Bug#983335: sdbus-cpp: support Multiarch and nodoc/nocheck build profiles/options Shengjing Zhu <zhsj@debian.org> - 2021-02-22 17:30 +0100
    Bug#983335: sdbus-cpp: support Multiarch and nodoc/nocheck build profiles/options Luca Boccassi <bluca@debian.org> - 2021-02-22 17:40 +0100
      Bug#983335: sdbus-cpp: support Multiarch and nodoc/nocheck build profiles/options Shengjing Zhu <zhsj@debian.org> - 2021-02-22 17:50 +0100
        Bug#983335: sdbus-cpp: support Multiarch and nodoc/nocheck build profiles/options Luca Boccassi <bluca@debian.org> - 2021-02-22 18:50 +0100
          Bug#983335: sdbus-cpp: support Multiarch and nodoc/nocheck build profiles/options Shengjing Zhu <zhsj@debian.org> - 2021-02-22 19:00 +0100
            Bug#983335: sdbus-cpp: support Multiarch and nodoc/nocheck build profiles/options Luca Boccassi <bluca@debian.org> - 2021-02-22 21:10 +0100

csiph-web