Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #58328
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#198507: [debhelper-devel] Bug#198507: dh_install: fails if filenames have an embedded space |
| Date | 2017-07-09 22:20 +0200 |
| Message-ID | <u1qQp-3S2-3@gated-at.bofh.it> (permalink) |
| References | <u1qdH-3o7-13@gated-at.bofh.it> <u1qx4-3vV-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
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.
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#198507: dh_install: fails if filenames have an embedded space Ben Hutchings <ben@decadent.org.uk> - 2017-07-09 21:40 +0200
Bug#198507: [debhelper-devel] Bug#198507: dh_install: fails if filenames have an embedded space Niels Thykier <niels@thykier.net> - 2017-07-09 22:10 +0200
Bug#198507: [debhelper-devel] Bug#198507: dh_install: fails if filenames have an embedded space Ben Hutchings <ben@decadent.org.uk> - 2017-07-09 22:20 +0200
Bug#198507: [debhelper-devel] Bug#198507: dh_install: fails if filenames have an embedded space Niels Thykier <niels@thykier.net> - 2017-07-09 22:40 +0200
Bug#198507: [debhelper-devel] Bug#198507: dh_install: fails if filenames have an embedded space Ben Hutchings <ben@decadent.org.uk> - 2017-07-10 01:10 +0200
Bug#198507: [debhelper-devel] Bug#198507: dh_install: fails if filenames have an embedded space Niels Thykier <niels@thykier.net> - 2017-07-10 07:50 +0200
csiph-web