Changeset f8d2cff for debian/changelog

Timestamp:
2018-04-11T06:16:02Z (7 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
17cc2fe
Parents:
8d7b0a4
git-author:
dequis <dx@…> (11-04-18 05:58:33)
git-committer:
dequis <dx@…> (11-04-18 06:16:02)
Message:

debian: turn -common and -dev into arch:any to safely use --link-doc

This started with trying to remove something that says "remove the hack
below once Hardy and Lenny are deprecated". Hardy and Lenny have been
deprecated for years, this should be easy, right?

Turns out that the symlink stuff we were doing can result in broken
packages with binNMU, see debbug#767839. This is also documented in the
dh_installdocs man page:

CAVEAT 2: The use of --link-doc should only be done when the packages
have same "architecture" type. A link from a architecture independent
package to a architecture dependent package (or vice versa) will not
work. Since compat 10, debhelper will actively reject unsupported
combinations.

And we were doing essentially the same wrong thing but manually.

The easiest way to solve this is to stop mixing arch:any and arch:all,
and to make everything arch:any. Let's hope this is as easy as it looks.

Thanks to bunk, nthykier and olly from #debian-devel for help with this.

(No files)

Note: See TracChangeset for help on using the changeset viewer.