[debhelper-devel] Bug#866713: dh_compress: symlink(webalizer.1.gz, debian/webalizer/usr/share/man/man1/webazolver.1.gz) failed: File exists

Sven Joachim svenjoac at gmx.de
Sat Jul 1 15:04:06 UTC 2017


Control: found -1 10.5.1
Control: tags -1 + patch

On 2017-07-01 10:01 +0300, Adrian Bunk wrote:

> Source: debhelper
> Version: 10.6.1
> Severity: serious
> Control: affects -1 src:webalizer
>
> The new debhelper causes a FTBFS in webalizer:
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/webalizer.html
>
> ...
>   dh_compress
> dh_compress: symlink(webalizer.1.gz, debian/webalizer/usr/share/man/man1/webazolver.1.gz) failed: File exists

Previous versions of debhelper had used "ln -sf" to create the symlink,
but since version 10.5.1 dh_compress uses perl's own symlink() function
and fails to remove the target beforehand.  The attached patch fixes
this for me.

Cheers,
       Sven


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dh_compress-Remove-target-before-creating-fixup-syml.patch
Type: text/x-diff
Size: 967 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20170701/8b0db9dc/attachment-0001.patch>


More information about the debhelper-devel mailing list