[Pkg-zsh-devel] Bug#697808: Bug#697808: zsh: missing copyright file after upgrade from 5.0.2-1

Axel Beckert abe at debian.org
Wed Jan 9 22:57:06 UTC 2013


Control: tag -1 confirmed

Hi Sebastian,

Sebastian Ramacher wrote:
> Package: zsh
> Version: 5.0.2-2
> Severity: serious
> Justification: Policy §12.5

While that's definitely a policy violating issue, there's also the
rule that packages in experimental can't have bugs of RC severity. I
though consider the policy to be the stronger rule here. :-)

> After an upgrade from 5.0.2-1 to 5.0.2-2 /usr/share/doc/zsh is empty and
> /usr/share/doc/zsh/copyright is missing.

Thanks for noticing.

> It looks like a maintainer script is missing to replace the <= 5.0.2-1
> /usr/share/doc/zsh directory with a symlink to
> /usr/share/doc/zsh-common.

Yeah, a symlink was planned. I though forgot that dpkg can't replace
directories with symlinks. Because the symlink is actually in the
package:

# dpkg-deb --contents /var/cache/apt/archives/zsh_5.0.2-2_kfreebsd-i386.deb| fgrep doc
drwxr-xr-x root/root         0 2013-01-09 20:03 ./usr/share/doc/
lrwxr-xr-x root/root         0 2013-01-09 20:03 ./usr/share/doc/zsh -> zsh-common
#

> The other option is to not use the symlink and leave the doc
> directory as it was.

Than I'd have done initially. The idea is the get all /usr/share stuff
into zsh-common, that includes /usr/share/doc/ for me:

# du -sh /usr/share/doc/zsh-common/
1.1M    /usr/share/doc/zsh-common/
#

> [1] might contain some useful links for this issue.
[...]
> [1] http://wiki.debian.org/MissingCopyrightFile

Indeed, thanks.

http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=30;filename=nmu.diff;att=1;bug=685653
looks like some starting point.

I'm though surprised that Lintian didn't catch that issue. Maybe
because of the symlink in the package.

		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 Pkg-zsh-devel mailing list