[debhelper-devel] Bug#814856: debhelper: dh_install -X option is broken

Dmitry Shachnev mitya57 at debian.org
Tue Feb 16 07:23:58 UTC 2016


Hi James (and thanks for X-Debbugs-Ccing me),

On Tue, Feb 16, 2016 at 01:29:09AM +0000, James Cowgill wrote:
> It seems the -X option of dh_install is either broken or its
> behaviour has changed recently. With newer versions of debhelper
> codelite fails to build with this error:
> 
> >    debian/rules override_dh_install
> > make[1]: Entering directory '/«BUILDDIR»/codelite-9.1+dfsg'
> > dh_install  -Xcodelite-lldb -XLLDBDebugger.so
> > dh_install: codelite-plugins missing files: usr/bin/codelite-lldb
> > dh_install: codelite-plugins missing files: usr/lib/codelite/LLDBDebugger.so
> > dh_install: missing files, aborting
> > debian/rules:40: recipe for target 'override_dh_install' failed
> > make[1]: *** [override_dh_install] Error 2

It is broken for a (in my opinion) quite rare case: when you list a file
in an install file *and* tell dh_install to exclude it.

A patch to fix this bug is attached.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dh_install-Ignore-lines-where-all-globs-have-been-ex.patch
Type: text/x-diff
Size: 1712 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20160216/3ceb6411/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20160216/3ceb6411/attachment-0002.sig>


More information about the debhelper-devel mailing list