[debhelper-devel] Bug#747141: debhelper: dh_installdocs --link-doc forces source-version dependencies (was: Re: Bug#766795: afterstep not binnmu safe and not installable in sid)

Axel Beckert abe at debian.org
Sun Nov 9 18:59:39 UTC 2014


Hi Bernhard,

thanks for the clarifications.

Bernhard R. Link wrote:
> * Axel Beckert <abe at debian.org> [141109 17:33]:
> > I suspect that's currently the only solution. zsh is affected, too:
> > 
> > Depends: zsh-common (= 5.0.7-3), zsh-common (= 5.0.7-3+b1), [...]
> > 
> > debian/control says:
> > 
> > Depends: zsh-common (= ${source:Version}),
> >          ${misc:Depends},
> > 	 [...]
[...]
> The problem is that removing the misc:Depends just replaces one bug with
> another one: The packages created that way will not include a changelog
> for the binnmu.

Correct. It came to me, too, when chatting with Niels about it on IRC.
The arch:any packages install a changelog.Debian.$ARCH.gz file which
is not there in this case:

> Packages using --link-doc to link from an architecture any[1] to an
> architecture all package are not really bin-nmuable.

But then again I'd expect that this is the most common case of
--link-doc: A lean arch:any package with binary programs depending on
a much bigger arch:all package with architecture-independent data
files.

> - change the affected packages in question to not use --link-doc.

That's likely the way I'd go with zsh then, with the addition of some
additional symlinks from /usr/share/doc/zsh/something to
/usr/share/doc/zsh-common/something for most files not being
changelogs. *sigh*

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5




More information about the debhelper-devel mailing list