Source: debian-policy
Version: 4.1.1.1
I recently introduced support for nodoc for libgdamm5.0 in its
packaging branch (not uploaded to unstable yet) [1]. Since there is
only one arch-indep package, the -doc package, there are no packages
built when an arch-indep build is attempted with the nodoc build
profile.
This is technically a violation of Debian Policy 4.9.1 which has this wording "This option does not change the set of binary packages generated by
the source package, but documentation-only binary packages may be
nearly empty when built with this option." [2]
I don't think there is any benefit to anyone from empty -doc packages.
On Wed, Oct 18, 2017 at 2:43 PM, Simon McVittie <smcv@debian.org> wrote:
I don't think this is a policy violation: you're mixing up the nodoc
build profile with the nodoc build option.
Specifically, this is what I used in my test case where no packages are built.
sbuild -d unstable -A --no-arch-any --profiles nodoc
Do you have a reason why we should not remove that sentence from Debian Policy?
Source: debian-policy
Version: 4.1.1.1
I recently introduced support for nodoc for libgdamm5.0 in its
packaging branch (not uploaded to unstable yet) [1]. Since there is
only one arch-indep package, the -doc package, there are no packages
built when an arch-indep build is attempted with the nodoc build
profile.
This is technically a violation of Debian Policy 4.9.1 which has this wording "This option does not change the set of binary packages generated by
the source package, but documentation-only binary packages may be
nearly empty when built with this option." [2]
The wiki also would need to be updated. [3]
[3] https://wiki.debian.org/BuildProfileSpec#Registered_profile_names
On Wed, Oct 18, 2017 at 02:16:48PM -0400, Jeremy Bicha wrote:
I don't think there is any benefit to anyone from empty -doc packages.
What about packages that depend on -doc packages ?
They might become uninstallable.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 74:05:23 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,203 |
Messages: | 5,332,501 |
Posted today: | 1 |