[debhelper-devel] Bug#802274: dh_compress: Tries to run gzip on '.' and fails then, mangling the debian/<package>/ permissions

Daniel Leidert daniel.leidert at wgdd.de
Sun Oct 18 21:57:55 UTC 2015


Package: debhelper
Version: 9.20151005
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


Hi,

Recently I received a bug report against gabedit. The error looked like this:

dh_compress /gabedit-2.4.8/debian/gabedit/usr/share/doc/gabedit/examples/exampleGeoConv.gab
gzip: . is a directory -- ignored
dh_compress: gzip -9nf . usr/share/doc/gabedit/changelog [..]
debian/rules:61: recipe for target 'override_dh_compress' failed
make[1]: *** [override_dh_compress] Error 2

I'm able to reproduce the problem by simply running

dh_compress debian/gabedit/usr/share/doc/gabedit/examples/exampleGeoConv.gab

in the source directory. This will mess up the directory permissions of
debian/gabedit and lead to an error by gzip. If I remove the 'debian/gabedit/'
part, the command succeeds.

Any idea, what's causing this? Did I miss a change, that forbids the above?

Regards, Daniel


- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (850, 'unstable'), (700, 'testing'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  binutils                 2.25.1-7
ii  dh-strip-nondeterminism  0.012-1
ii  dpkg                     1.18.3
ii  dpkg-dev                 1.18.3
ii  file                     1:5.25-2
ii  libdpkg-perl             1.18.3
ii  man-db                   2.7.4-1
ii  perl                     5.20.2-6
ii  po-debconf               1.0.18

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  1.20150601

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWJBXeAAoJEEvNBWfCltBdl1YP/RNIiianKSXGU2uGboHnGoLO
PH602vK1thqPQQ+A2+x55vE9DFXifDDSMaNyOEdhGEya6jYx4c+qXJNiIiYJUZ/Z
p8tUpHyjAjxas5CYk+yQVa73ML4ue+fJDe9d+3uPJ4MRjnyegcGyX39zVcgUn7+m
h96Q0a/V1xSj53+nQXuq5HF21E4Ef0BsYb+FG3TEVOTkE78Xz6CUKFHt+1k++XN0
1vlBHGIkGAwcKw9DX6+t15dQfHS85FLG+eJSdEPKvmx9Y4C68a27DKnCTs1vMxN/
6RJZ3vkw6d3Sb4vDLLVju4e9qJqstjWZpZhl+z+xUZrdyhA98VNswB54WO+YRlyV
L3654hZsjChyTFCkjGswgpVT19MF+MpwacFpDPCG+gwAiSaXTANqQBzwqoI6Z7lT
IXAZAXcxtFoDA/3d2M+KHsPF/YthuDjjiW5S9iYfk6phHXRUEor9OW2QRan/tfK7
l6ztjy4CjlPbRurnv5Q8H3MHTtFrvaToUq/hh4aNtfMkA0CI9DxFOxBRFl8IGtMc
+ETLm5CTbo8/odTCx0p9kLi5sR+KS1/8c+aGkGiy92EUAjApKxsHRsAIvGoC1agb
3/js8A8aF3go+46ERheHQL0O8tHIIseRZ3Cr/zFMm30cIPfOyWt6jN+8wDE4GuEa
1NpLiZc6/Z/f+r+LZb+/
=4Wlu
-----END PGP SIGNATURE-----




More information about the debhelper-devel mailing list