Bug#813248: libdx4-dev: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE

Graham Inggs ginggs at debian.org
Fri Feb 19 11:13:08 UTC 2016


Control: severity -1 normal
Control: tags -1 confirmed

Hi Andreas

On 31 January 2016 at 00:04, Andreas Beckmann <anbe at debian.org> wrote:
> For /usr/share/doc/PACKAGE this may not be problematic as long as both
> packages are installed, ship byte-for-byte identical files and are
> upgraded in lockstep. But once one of the involved packages gets
> removed, the other one will lose its documentation files, too,
> including the copyright file, which is a violation of Policy 12.5:
> https://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile

I don't see this being problematic as both packages in question are
built from the same source package and libdx4-dev depends on libdx4,
so if libdx4-dev is installed then libdx4 will be too.

I found that this change occurred when I converted the packaging to dh(1) [1].
Putting the link 'usr/share/doc/libdx4 usr/share/doc/libdx4-dev' back
into libdx4-dev.links caused a FTBFS with the error:

dh_link: link destination debian/libdx4-dev/usr/share/doc/libdx4-dev
is a directory

I will take your recommendation and use the 'symlink_to_dir'
dpkg-maintscript-helper command to fix this in my next upload, thank
you.

Regards
Graham


[1] https://anonscm.debian.org/cgit/debian-science/packages/dx.git/commit/?id=13b6c76a8c75e33b1af8d44e4c8407a2e8c022b1



More information about the debian-science-maintainers mailing list