• Bug#757760: debian-policy: please document build profiles

    From Johannes Schauer@21:1/5 to All on Wed Jan 31 07:30:02 2018
    XPost: linux.debian.bugs.dist

    Hi Javier,

    Quoting Javier Serrano Polo (2018-01-31 00:18:01)
    Where should I report issues about the spec in the meantime?

    build profiles came from the people who try to bootstrap Debian automatically. We don't have a specific list for that task but an IRC channel at #debian-bootstrap on OFTC.

    If you want to write an email, then all of us are also subscribed to [email protected].

    Thanks!

    cheers, josch

    --==============�62627403939174224=MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Description: signature
    Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEElFhU6KL81LF4wVq58sulx4+9g+EFAlpxX3gACgkQ8sulx4+9 g+EVjA/6AoyRMVVOOxfPu0AwLrANr4DMDPdsKnlyzRh3ApRRrXP5U+kkgdDF53bO xUjXgYIxfQp8VEhrJjNX23bR5tBxO18LflYnTuSt71ayNoSeczrjUTI3XCY97DiC PJwjKrf5ImLZ7CzKV3lDGhNzflCDjDg2FF+oAZvhbr32K0XhL2kSRisXiWWBxvCa Pn/rM7LuyYojtLCJLxvrjjAlLJkwk23fWeRe+TgzlU/283WVHr9TBPn/BNRVv3dT 9ZK/6/sGZK2nBPgwevAqr2nCiwKLnqQTVM16LJ+VVTym2ma5SnCz97gTdw/cJkc1 6jGyhx7uYJMe76fn9Do0v6wI2jJnE+7c+9MheQi0TBpTDICla9VmZtByVgPQeh9D +ASUyOMqh17UbqD+FRRL3PKgmbyOlc5FCMHLCK+e4mPBJUTAi+zzbhogoNezzGPC 2EtsKCEYVkJGPqWHBeKTZedJSqiAjxJBKizVWk+SvIA2dazWbQDrxNamjdVLLRU3 WzYCum+63C+IKuzAYrYrbt+Ca27cZSvGr4hLfuGjQP9j4rHfXKU9Sizr+1O3xhj2 rYZzslr9U9MR6cLSUcowYSGhCXOr1t9fOQjYr92NiPfns0HsbVMwXMgeEs7l7hX3 RJC4cKSdGrS3Tw4SekWaQIiA/KBtP4o1dtXiJXVj1ZEISc3LkTQ=
    =tyB1
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to All on Mon Mar 31 05:00:01 2025
    XPost: linux.debian.bugs.dist

    Hello,

    Thank you to all of you for this. I will aim to review it soon.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

    -----BEGIN PGP SIGNATURE-----

    iQJNBAEBCgA3FiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmfqAlQZHHNwd2hpdHRv bkBzcHdoaXR0b24ubmFtZQAKCRBpW3rkvwZiQMzdEAC1jmu8aj3MHHotSjAVlnao Oi37PphF+lC/lqcRkqD0ULjKXk4Q7gEmHmkA4u7KukuyprHdm3gWVGv85UG8SEFk GCwt25ElVDe2fQjHyb/qVoRCRmgkzCmTRzvqRji4PeZ4+PUqO+6jRlwwOAsOReWP IHY0Gj/uq+i1LCB1//o1JPfADJhqQZZSPQEYG6LIpT2kFgK4SomLev5MgjQzjGGN OQW10FNhyr/TvfsZvgKpd7OOuoPeA0D06HdJkFm4iDWCJ8pnBpLvNQH9v0CJVoEu 6S8WJb8GUB7js4Otp16DI3oJdO8BL4c/mW2qbz3hgyyTFt8R9TS7jOpEtaeFOcap 6bXoe+ztgTSfD7Z+FwUJaDhBY6IspQsEsbx/lXbxMWD6P8BrL4x26FRM9QVOpbmg pxQCqoq+vwiohOhTWmaCRNgn1K3GToEtMFC6cuoRagn01/767nieVnwnD8dVuVIM C+R13mUWhUN8E1DQHLBQvvIdAdXQcArIr08tYsHdZg/X9Jv72jGGVPbH5gmzHH8v wIJzysaFIAdCMy1LQg7fjQUcfVHgpuIuC6OI8zxJ4BIuxxmsUXvXoCYtl3SS5bCc YSXJvP2CA6i+Rb8TREvyqhB3IMrqu959sZFjOiq25DEVvq0DmCcw0ihKtNBrKEfa zNX0skNUcsVPA7WWhXtibQ==Hdkl
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Us
  • From Johannes Schauer Marin Rodrigues@21:1/5 to All on Sun Mar 30 17:20:01 2025
    XPost: linux.debian.bugs.dist

    --===============2576857871165344162==
    Content-Type: text/plain; charset="utf-8"
    MIME-Version: 1.0
    Content-Transfer-Encoding: quoted-printable

    Hi Sean and other policy editors,

    it may appear strange to resume a thread that was last discussed seven years ago. Yet, we picked up this matter at the Würzburg sprint and iterated a lot on
    the text already present in the BuildProfileSpec, refining and extending it to hopefully better fit the language and structure of Debian Policy.

    Quoting Johannes Schauer (2014-08-11 09:44:44)
    please document the new Build-Depends syntax and fields for build profiles. The current write-up of the new syntax and fields for build profiles lives at https://wiki.debian.org/BuildProfileSpec

    I am really sorry I failed to follow up back then as I really do agree that having something in policy would help a lot.

    You'll find the result of two days of discussion and iteration among Jochen, Helmut and myself attached.

    Kind regards

    Jochen, Helmut and josch
    --==============%76857871165344162=Content-Type: text/x-diff; charset="utf-8" MIME-Version: 1.0
    Content-Transfer-Encoding: quoted-printable
    Content-Disposition: attachment; filename="0001-document-build-profiles.patch"; maxlinelen="78"

    From 6b2479e7ea23fe9fa5e32c2fde49ca3b88a8b51e Mon Sep 17 00:00:00 2001
    From: Johannes Schauer Marin Rodrigues <[email protected]>
    Date: Sat, 29 Mar 2025 23:04:56 +0100
    Subject: [PATCH] document build profiles

    Closes: #757760
    ---
    policy/ch-controlfields.rst | 16 +++++
    policy/ch-relationships.rst | 134 ++++++++++++++++++++++++++++++++----
    policy/ch-source.rst | 56 +++++++++++++++
    3 files changed, 191 insertions(+), 15 deletions(-)

    diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst
    index 3151816..0736cf7 100644
    --- a/policy/ch-controlfields.rst
    +++ b/policy/ch-controlfields.rst
    @@ -152,6 +152,8 @@ The fields in the binary package stanzas are:

    - :ref:`Package-Type <s-f-Package-Type>`

    +- :ref:`Build-Profiles <s-f-Build-Profiles>`
    +
    The syntax and semantics of the fields are described below.

    These fields are used by ``dpkg-gencontrol`` to generate control files
    @@ -1243,6 +1245,20 @@ or set it to ``binary-targets`` if it has been requested to test
    whether the package it builds correctly implements the fall-back for
    legacy builders.

    +``Build-Profiles``
    +~~~~~~~~~~~~~~~~~~
    +
    +Specifies the condition for which that binary package does or does not
    +build. To expre