[debhelper-devel] Bug#820711: Bug#820711: dh_compress: fails if the debian directory is a symlink
Bernhard Miklautz
bernhard.miklautz at shacknet.at
Mon Apr 11 16:37:39 UTC 2016
Hi,
On Mon, Apr 11, 2016 at 04:12:30PM +0000, Niels Thykier wrote:
> "debian" folder as in the "debian" folder itself?
> debian/control -> ../../another/dir/control
I didn't test this case.
> debian -> ../../another/dir/
For the package I'm building the folder structure looks like this:
-nightly
- packaging
- deb
- nightly
- control
- rules
- ...
- debian -> packaging/deb/nightly
The debian folder is a symlink to another folder within the same
directory.
I also tested the case when the link destination is outside the
directory structure like:
- packaging
- deb
- nightly
- control
- rules
- ...
-nightly
- debian -> ../packaging/deb/nightly
This basically ends up in the same error but with a different path
prefix (../../../):
chmod: cannot access '../../../packaging/deb/freerdp-nightly/freerdp-nightly/usr/share/doc/freerdp-nightly/changelog': No such file or directory
However if the link is only "one level" like the following it works:
-nightly
- nightly
- control
- rules
- ...
- debian -> nightly
All of the above combinations worked before 9.20160306.
When I narrowing it down the problem seems to be related to commit
https://anonscm.debian.org/git/debhelper/debhelper.git/commit/dh_compress?id=ef24f6405d14d1359d4b4e4c2028a28b47035d8b
Thank you.
More information about the debhelper-devel
mailing list