--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: debian-policy: Please document autobuilder-imposed build-dependency alternative restrictions
- From: Roger Leigh <rleigh@debian.org>
- Date: Wed, 23 Feb 2011 15:20:23 +0000
- Message-id: <20110223152023.32663.35231.reportbug@nagini.codelibre.net>
Package: debian-policy
Version: 3.9.1.0
Severity: normal
Patch attached.
-- System Information:
Debian Release: 6.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.27-kvm-i386-20110114 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
debian-policy depends on no packages.
debian-policy recommends no packages.
Versions of packages debian-policy suggests:
ii doc-base 0.9.5 utilities to manage online documen
-- no debconf information
>From d0737d445da8bc5e860400a73d6990f542e5ac47 Mon Sep 17 00:00:00 2001
From: Roger Leigh <rleigh@debian.org>
Date: Wed, 23 Feb 2011 15:14:56 +0000
Subject: [PATCH] Document restrictions on alternative build dependencies
The Debian autobuilders only make use of the first alternative
in a set of alternatives, in order to guarantee consistent,
reproducible builds. This does not include architecture
restrictions, because architecture reduction takes place before
alternative removal. Alternatives are therefore allowed, and
hence useful for backports and other distributions, but are not
used by default.
---
policy.sgml | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/policy.sgml b/policy.sgml
index 642f672..4b87261 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -4586,6 +4586,28 @@ Build-Depends: foo [linux-any], bar [any-i386], baz [!linux-any]
source package section of the control file (which is the
first section).
</p>
+
+ <p>
+ Also note that while <tt>Build-Depends</tt>
+ and <tt>Build-Depends-Indep</tt> permit the use of
+ alternative dependencies, these are not normally used by the
+ Debian autobuilders. A key criterion for building binary
+ packages for inclusion in the main Debian archive is that
+ the build must be consistently reproducible, for example
+ using the same toolchain, and linking against the same
+ libraries. Alternative dependencies introduce inconsistency
+ because the set of packages which will be used for the build
+ can vary. To avoid this, the autobuilders will use only the
+ first alternative, and will ignore all other alternatives.
+ This does not include architecture restrictions, which are
+ reduced to just those needed by the build architecture prior
+ to alternative removal. Alternatives may therefore be used
+ to allow building the same package in different
+ distributions, for example unstable, stable, backports and
+ experimental, but the first dependency is the one which will
+ be used to build for the distribution set
+ in <file>debian/changelog</file>.
+ </p>
</sect>
<sect id="binarydeps">
--
1.7.2.3
--- End Message ---
--- Begin Message ---
Source: debian-policy
Source-Version: 4.1.2.0
We believe that the bug you reported is fixed in the latest version of
debian-policy, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 614807@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sean Whitton <spwhitton@spwhitton.name> (supplier of updated debian-policy package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 30 Nov 2017 15:23:05 -0700
Source: debian-policy
Binary: debian-policy
Architecture: all source
Version: 4.1.2.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Policy List <debian-policy@lists.debian.org>
Changed-By: Sean Whitton <spwhitton@spwhitton.name>
Closes: 614807 636383 683495 877674 878523 882445
Description:
debian-policy - Debian Policy Manual and related documents
Changes:
debian-policy (4.1.2.0) unstable; urgency=medium
.
* Policy: /usr/bin/perl shebang 'should' -> 'must'
Wording: Sean Whitton <spwhitton@spwhitton.name>
Seconded: Dominic Hargreaves <dom@earth.li>
Seconded: Salvatore Bonaccorso <carnil@debian.org>
Seconded: Gunnar Wolf <gwolf@debian.org>
Seconded: Bill Allombert <ballombe@debian.org>
Seconded: Jonathan Nieder <jrnieder@gmail.com>
Seconded: Dominique Dumont <dod@debian.org>
Closes: #683495
* Policy: Update where private shared object files may be installed
Wording: Charles Plessy <plessy@debian.org>
Seconded: Sean Whitton <spwhitton@spwhitton.name>
Seconded: Mattia Rizzolo <mattia@debian.org>
Seconded: Simon McVittie <smcv@debian.org>
Closes: #636383
* Policy: Convention for naming packages with potentially offensive content
Wording: Ian Jackson <ijackson@chiark.greenend.org.uk>
Seconded: Sean Whitton <spwhitton@spwhitton.name>
Seconded: Gunnar Wolf <gwolf@debian.org>
Seconded: Iain R. Learmonth <irl@debian.org>
Closes: #882445
* Update links to other formats in 1.2 (Closes: #877674).
Thanks to Laura Arjona Reina for the patch.
* Fix duplication in upgrading checklist.
/nonexistent as the canonical home directory was listed under 4.1.1
and 4.1.0.
* Miscellaneous spelling fixes (Closes: #878523).
Thanks to Ville Skyttä for the patch.
* Drop workarounds in d/rules for the (reopened) dh_sphinxdoc bug #872863.
Thanks to Dmitry Shachnev for fixing the bug.
- Tighten build-dep on sphinx-common.
* Add a footnote documenting limitations on build-dependency
alternatives imposed by Debian's autobuilders (Closes: #614807).
Thanks to Sean Finney for the patch, and Simon McVittie for reviewing.
Checksums-Sha1:
a546855e1d9f3b9d68dbfc73ea18aa2c5290d5db 2018 debian-policy_4.1.2.0.dsc
660a153380faf38a1154899ef4de73451b40e126 674848 debian-policy_4.1.2.0.tar.xz
9b0c745bb9eb1b49d018dd790dc09c80da73e173 2369300 debian-policy_4.1.2.0_all.deb
9e5d82e0bbc0664190c34235d21aba92b46eac28 12083 debian-policy_4.1.2.0_amd64.buildinfo
Checksums-Sha256:
4b37c6171c7c8585dc676ffcc7437fef70d9898d34c19143d687a746e313c6d1 2018 debian-policy_4.1.2.0.dsc
79aad33ec713f6f223c00ad611d67925f9f298591d90fd2fc31c9c32ed588920 674848 debian-policy_4.1.2.0.tar.xz
6b1e90adfcddc1d24bd24bc6563a9339bc6fef21af547695ba69ca8672dcd94e 2369300 debian-policy_4.1.2.0_all.deb
f78e3378529c608e8910a3edbed0a490bf82cc9500c47c3a907eb5dfe48c03ce 12083 debian-policy_4.1.2.0_amd64.buildinfo
Files:
a224a831e3c2aa032feb41a759676a96 2018 doc optional debian-policy_4.1.2.0.dsc
361eb5d6317366f2b524eeacbcd58015 674848 doc optional debian-policy_4.1.2.0.tar.xz
633431a30532de48b9a4802f9bfd2390 2369300 doc optional debian-policy_4.1.2.0_all.deb
8f7882e10003ebca1a9e7b5cace14218 12083 doc optional debian-policy_4.1.2.0_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAloghrgACgkQaVt65L8G
YkC7+hAAm740pFmLU9uwfjv8LGj9vofMt2YFIWKDc4elw4SeJFMmDf5ue2baEDDr
bXrB8RYF0gwKSo+kfFDFrl0mr9losHNfRBHXLVe4G7fyrIkgXE2WZ4Eiu/Zyu8kn
g1cZhnyvVAAQamb4JjkGlvO2LNx0yjhGm6894w6ZkHqv3Nz6tMayqff8Wp5x8lJ5
qjMMhT8GXlaiaUewPurA1fqPdvzYemfgUPLxQH/y/efXqy8Z9fARc2iRfX+RjcP5
33CbM+StcUXvXA4dldrzTzEYu/aVQcGfsgvzQi1pi6YxC3pzBywEj+NUJXP5efY8
AQqT7HNNmX+7+vxsDTGUEoYRhn5dZzKRrNiWGHSAXF14ac3Qo2e34rsiVTU9B+W0
EZgU9Nodu7LOQNRQMKzsxmyuRIELuml27ZuvRj5wCtb9GPR9S99M1NIR3dD0VBBf
lih2hO7Ts54fhPQMsHOI+53HIUQqyrLMS+el6zBDDCyo6ss1Yk4iOj8o/OU0EnVR
A19VMrhLIZ3YV3cvkJFjBdSBbLuqGqZ2Dpxsi8RVKHAe/zCxwqLZhR4VpWy9byPd
OIggNXlO6s2YR9cQ5rhJsRvqhOoL09ev822lBmvhzg7WPW2kcAN7a0oUIl6Cs9qR
NuTEItBkZ/YzYxaPiBE7YncoEAcfdaavHrR/8bhmuw6eSCGxKKM=
=l/Iw
-----END PGP SIGNATURE-----
--- End Message ---