[Bug 925105] [NEW] dh_installdocs adding of misc depends on a package is not multiarch aware

Scott Ritchie scottritchie at ubuntu.com
Wed Feb 1 21:02:45 UTC 2012


Public bug reported:

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.

** Affects: debhelper (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: multiarch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/925105

Title:
  dh_installdocs adding of misc depends on a package is not multiarch
  aware

Status in “debhelper” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/925105/+subscriptions




More information about the foundations-bugs mailing list