[debhelper-devel] Bug#820711: dh_compress: fails if the debian directory is a symlink

Bernhard Miklautz bmiklautz+debian at shacknet.at
Mon Apr 11 15:24:45 UTC 2016


Package: debhelper
Version: 9.20160403
Severity: important

Dear Maintainer,

if the debian folder is a symlink to a directory, a call to
dh_compress, directly or during a build, causes an error.

For example if the package "nightly" has a debian folder
that is symlinked to packaging/deb/nightly/ the following error will be raised during a debuild

chmod: cannot access '../../packaging/deb/nightly/nightly/usr/share/doc/nightly/changelog': No such file or directory
dh_compress: chmod a-x ../../packaging/deb/nightly/nightly/usr/share/doc/nightly/changelog returned exit code 1

It seems that the paths aren't calculated properly. This happens since dephelper version 9.20160306.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0 (SMP w/12 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debhelper depends on:
ii  autotools-dev            20150820.1
ii  binutils                 2.26-8
ii  dh-autoreconf            12
ii  dh-strip-nondeterminism  0.016-1
ii  dpkg                     1.18.4
ii  dpkg-dev                 1.18.4
ii  file                     1:5.25-2
ii  libdpkg-perl             1.18.4
ii  man-db                   2.7.5-1
ii  perl                     5.22.1-9
ii  po-debconf               1.0.19

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.201605

-- no debconf information




More information about the debhelper-devel mailing list