Debian Bug report logs - #894732
mk-build-deps: add build profiles support to filter build dependencies to include/install

version graph

Package: devscripts; Maintainer for devscripts is Devscripts Maintainers <[email protected]>; Source for devscripts is src:devscripts (PTS, buildd, popcon).

Reported by: Raphaël Hertzog <[email protected]>

Date: Tue, 3 Apr 2018 16:39:01 UTC

Severity: wishlist

Found in version devscripts/2.18.1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Devscripts Maintainers <[email protected]>:
Bug#894732; Package devscripts. (Tue, 03 Apr 2018 16:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Raphaël Hertzog <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Devscripts Maintainers <[email protected]>. (Tue, 03 Apr 2018 16:39:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Raphaël Hertzog <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: mk-build-deps: add build profiles support to filter build dependencies to include/install
Date: Tue, 03 Apr 2018 18:37:48 +0200
Package: devscripts
Version: 2.18.1
Severity: wishlist

It would be nice if we could pass a "-P profile[,...]" option to
mk-build-deps to specify which build profiles should be enabled
(I chose -P to match the choice made in dpkg-checkbuilddeps)

Thus "mk-build-deps -P nocheck,nodoc debian/control" would not include
packages that are only needed to build the documentation and to run the
tests.

See man deb-src-control for the syntax of the build profiles. You can see
build profiles annotations in python-django for example:

Build-Depends: ..., python3-bcrypt <!nocheck>, python3-docutils <!nodoc>, ...

It's not yet documented in policy but you can find some information here:
https://wiki.debian.org/BuildProfileSpec

Note that the perl module Dpkg::Deps (from libdpkg-perl) has support for
build profiles.

Cheers,
  Raphaël Hertzog.

Information forwarded to [email protected], Devscripts Maintainers <[email protected]>:
Bug#894732; Package devscripts. (Mon, 27 Aug 2018 15:21:02 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <[email protected]>:
Extra info received and forwarded to list. Copy sent to Devscripts Maintainers <[email protected]>. (Mon, 27 Aug 2018 15:21:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Samuel Thibault <[email protected]>
To: Raphaël Hertzog <[email protected]>, [email protected]
Subject: Re: Bug#894732: mk-build-deps: add build profiles support to filter build dependencies to include/install
Date: Mon, 27 Aug 2018 17:17:14 +0200
Raphaël Hertzog, le mar. 03 avril 2018 18:37:48 +0200, a ecrit:
> It would be nice if we could pass a "-P profile[,...]" option to
> mk-build-deps to specify which build profiles should be enabled
> (I chose -P to match the choice made in dpkg-checkbuilddeps)

Seconded :)

Samuel



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Mon May 12 07:42:20 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.