[debhelper-devel] Bug#198507: Bug#198507: dh_install: fails if filenames have an embedded space
Ben Hutchings
ben at decadent.org.uk
Sun Jul 9 20:13:01 UTC 2017
On Sun, 2017-07-09 at 19:58 +0000, Niels Thykier wrote:
> Ben Hutchings:
> > It looks like this was quietly fixed somewhere between 10.2.5 and
> > 10.6.2, maybe in 10.5.1 by:
> >
> > * dh_install: Optimize some patterns into bulked "cp" calls. This
> > optimization is only applicable in some cases (notably, it is always
> > disabled by --exclude).
> >
> > This actually broke src:linux as we accidentally relied on dh_install
> > breaking at spaces. We'll fix that, but you might want to make the
> > change dependent on compat level in case it breaks other packages.
> > Possibly the change in 10.6.3 does that.
> >
> > Ben.
> >
> > [...]
>
> Hmm, that is interesting. Said optimization was disabled in 10.6.1 (by
> making it conditional on compat 11) and the rewritten for 10.6.3. That
> suggests it is a different thing happening. Probably caused by the
> rewrite of the glob expansion though.
>
> I am a bit surprised why this would occur as AFAICT the splitting on
> space happens during parsing, which I have left unchanged.
>
> Can you provide an example of what worked before that now breaks. If I
> can get a minimal test case up and running, I can probably bisect the
> code and figure out exactly where it breaks.
We're using compat 9 and the failing command is:
dh_install 'debian/build/linux-source-4.11.tar.xz debian/build/linux-patch-4.11-rt.patch.xz' /usr/src
Ben.
--
Ben Hutchings
All extremists should be taken out and shot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20170709/6462fd6f/attachment-0003.sig>
More information about the debhelper-devel
mailing list