[debhelper-devel] Bug#756238: debhelper: Please trigger an error if a file is both managed in .install & .links
Niels Thykier
niels at thykier.net
Sat Aug 12 18:08:00 UTC 2017
Control: tags -1 wontfix
On Sun, 27 Jul 2014 22:43:20 +0200 Sylvestre Ledru
<sylvestre at debian.org> wrote:
> Package: debhelper
> Version: 9.20140228
> Severity: wishlist
>
> Hello,
>
> Playing with a package, I lost quite some time because a file was overriden by a broken symlink.
> It would be nice if dh_link could fail if a file is already managed by dh_install.
>
> For example:
>
> $ touch target
>
> --- foo.install ---
> target /usr/share/
>
> --- foo.links ---
> usr/share/orig /usr/share/target
>
> In this case, I believe dh_link should fail with an error because the file
> is already managed by dh_install.
>
> Thanks,
> Sylvestre
>
>
> [...]
It is a good idea. However, it seems rather unfeasible to get right
given how independent the tools are from one another. Tagging wontfix
in the absence of a patch (with tests for various corner cases).
Thanks,
~Niels
More information about the debhelper-devel
mailing list