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

Niels Thykier niels at thykier.net
Mon Apr 11 16:12:30 UTC 2016


Control: tags -1 moreinfo

Bernhard Miklautz:
> Package: debhelper
> Version: 9.20160403
> Severity: important
> 
> Dear Maintainer,
> 

Hi,

Thanks for reporting this issue.

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

"debian" folder as in the "debian" folder itself?

  debian -> ../../another/dir/
  debian/control -> ../../another/dir/control

> 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.
> 
> [...]

Thanks,
~Niels




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20160411/4f11478f/attachment-0003.sig>


More information about the debhelper-devel mailing list