dh_installdocs adding of misc depends on a package is not multiarch aware
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debhelper (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The new wine1.4 package builds multiple subpackages, with the following multi-arch relationships:
wine1.4 M-A: allowed
wine1.4-i386: foreign (built on i386 only)
wine1.4-amd64: foreign (built on amd64 only)
wine1.4-i386 and wine1.4-amd64 depend on wine1.4:any of the matching binary version
wine1.4:amd64 depends on wine1.4-i386 and wine1.4-amd64.
Since installation of any of these packages will result in a wine1.4 packages being installed (of some architecture), I used dh_installdoc --link-doc=wine1.4
However, the result is that these packages become uninstallable, as --link-doc=wine1.4 will add a dependency on wine1.4 to each package, rather than a dependency on wine1.4:any.
I believe a general change to the misc depends added by dh_installdocs to just be :any should work in all cases, as if the referred to package is not M-A: allowed then apt/dpkg will just treat the :any as a same-arch relationship.