[debhelper-devel] Bug#198507: Bug#198507: dh_install: fails if filenames have an embedded space

Niels Thykier niels at thykier.net
Mon Jul 10 05:44:00 UTC 2017

clone 198507  -1
retitle -1 debhelper: Regression in arguments handling
found -1 10.6
severity -1 grave
tags -1 = confirmed
submitter -1 ben at decadent.org.uk

Ben Hutchings:
> On Sun, 2017-07-09 at 20:29 +0000, Niels Thykier wrote:
>> Ben Hutchings:
>>> On Sun, 2017-07-09 at 19:58 +0000, Niels Thykier wrote:
> [...]
>>>> 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.
>> Definitely, the glob-rewrite then.
>> Could you try to see if the following patch fixes the issue for you?
> [...]
> Yes, with this change the command runs successfully.
> Ben.

Thanks, that confirms my suspicion.

I will fix this regression in debhelper with the next upload, once I
have found a better way to implement it.  The patch I sent fixes it but
it will probably complicate fixing #198507 later, so I will prefer not
using it if I can do something smarter instead.

I have cloned this bug to track the regression separately.  Please
follow up on the new bug if you have more information about the
regression. :)


More information about the debhelper-devel mailing list