[debhelper-devel] Bug#868649: dh_installdocs: cp --reflink=auto -a cccc/CCCC debian/cccc/usr/share/doc/cccc returned exit code 1

Sven Joachim svenjoac at gmx.de
Thu Jul 20 19:56:30 UTC 2017


Control: tags -1 + patch

On 2017-07-17 11:24 +0300, Adrian Bunk wrote:

> Package: debhelper
> Version: 10.6.4
> Severity: serious
> Control: affects -1 src:cccc
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/cccc.html
>
> ...
>    debian/rules override_dh_installdocs
> make[1]: Entering directory '/build/1st/cccc-3.1.4'
> dh_installdocs 'cccc/CCCC User Guide.html'
> cp: cannot stat 'cccc/CCCC': No such file or directory
> dh_installdocs: cp --reflink=auto -a cccc/CCCC debian/cccc/usr/share/doc/cccc returned exit code 1
> debian/rules:41: recipe for target 'override_dh_installdocs' failed
> make[1]: *** [override_dh_installdocs] Error 2
>
>
> Works with debhelper 10.2.5, FTBFS with 10.6.4

The culprit is commit d00d7d524f874c which fixed the changed behavior in
dh_install (see #867866) but overzealously also touched a few other
utilities like dh_installdocs.  It turns out that these programs
actually treated an argument like 'foo bar' as a single file in 10.2.5,
and obviously there are a few packages which rely on that.

Attached is a patch to revert these programs to their previous behavior.

Cheers,
       Sven

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Revert-to-the-pre-10.6.4-behavior-for-dh_installdocs.patch
Type: text/x-diff
Size: 2701 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20170720/13d25ded/attachment-0002.patch>


More information about the debhelper-devel mailing list