[debhelper-devel] Bug#888251: does not allow certain characters in filenames

Wouter Verhelst wouter at debian.org
Wed Jan 24 10:06:56 UTC 2018


Package: debhelper
Version: 11.1.3
Severity: normal
File: /usr/bin/dh_install

Hi,

I'm trying to package something with funny characters in the filename:

#!/usr/bin/dh-exec
plugins_tools/xpi/signed-build/belgium_eid-1.0.27.xpi => usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid at eid.belgium.be.xpi

This causes dh_exec to emit something like
"debian/tmp/dh_exec.XXXXXX/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid at eid.belgium.be.xpi",
but dh_install doesn't find the file. In fact, the error message states
"can't find the file <name>", but if one then copy/pastes the file into
a command shell from the toplevel pakage directory, and puts "ls" in
front of it, it works just fine.

I wish I could drop the curly braces and @ in the filename, but these
are required by Firefox, so that's just not an option.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unreleased'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, m68k, arm64

Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8), LANGUAGE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debhelper depends on:
ii  autotools-dev            20171216.1
ii  binutils                 2.29.90.20180122-1
ii  dh-autoreconf            15
ii  dh-strip-nondeterminism  0.040-1
ii  dpkg                     1.19.0.5
ii  dpkg-dev                 1.19.0.5
ii  file                     1:5.32-1
ii  libdpkg-perl             1.19.0.5
ii  man-db                   2.7.6.1-4
ii  perl                     5.26.1-4
ii  po-debconf               1.0.20

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201701
pn  dwz      <none>

-- no debconf information




More information about the debhelper-devel mailing list