[debhelper-devel] Bug#830309: freetype FTBFS: install: cannot change permissions of 'debian/libfreetype6-dev/usr/share/doc/libfreetype6-dev': No such file or directory

Sven Joachim svenjoac at gmx.de
Fri Jul 8 08:52:26 UTC 2016


Control: reassign -1 debhelper 9.20160702
Control: tags -1 + patch

Am 08.07.2016 um 07:07 schrieb Helmut Grohne:

> Source: freetype
> Version: 2.6.3-3
> Severity: serious
> User: helmutg at debian.org
> Usertags: rebootstrap
>
> Hi,
>
> I noticed that freetype started to fail to cross build from source about
> a week ago. I finally got down to building it natively and it fails
> there as well. The relevant part from the attached build log is
>
> | dh_installdocs --link-doc=libfreetype6 -plibfreetype6-dev \
> |         -Xreference/README -Xreference/.gitignore \
> |         -XLICENSE.TXT -XGPL.TXT -XGPLv2.TXT -XBUILD -XINSTALL \
> |         -XFTL.TXT -XCHANGES -XTODO -Xft2faq.html \
> |         freetype-2.6.3/docs/*
> | install: cannot change permissions of
> | 'debian/libfreetype6-dev/usr/share/doc/libfreetype6-dev': No such
> | file or directory
> | dh_installdocs: install -d debian/libfreetype6-dev/usr/share/doc/libfreetype6-dev returned exit code 1
> | debian/rules:105: recipe for target 'override_dh_installdocs' failed
>
> I'm pretty certain that this is not a regression in freetype as the same
> version of freetype built before. Most likely one of its (transitive)
> build-dependencies is at fault here. Given that I didn't figure out yet
> the cause, I am filing this bug against the victim for now and hope that
> someone figures it out before I get down to it. :)
>
> Maybe Niels (debhelper maintainer hat) knows.

It's a regression in debhelper 9.20160702 that is triggered if a package
symlinks its doc directory with "dh_installdocs --link-doc" _and_
installs additional documentation there.  Attached is a patch which
fixes that (at least in the freetype case since this is the only package
I have tested in on ;-)).

Cheers,
       Sven

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dh_installdocs-Fix-regression-wrt-symlinked-doc-dire.patch
Type: text/x-diff
Size: 1071 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20160708/7e48707d/attachment-0001.patch>


More information about the debhelper-devel mailing list