#593710 dpkg-source: Internal error reported for debian being a symlink

#593710#5
Date:
2010-08-20 14:03:32 UTC
From:
To:
Hello,

I moved the debian folder of an otherwise workign package into a separate directory
and then symlinked to it. This is helpful as a preparation for svn-buildpackage
with propset mergeWithUpstream 1 debian .

dpkg-source was not happy, which is misleading:

dh_clean
 dpkg-source -b ensembl-57
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ensembl using existing ./ensembl_57.orig.tar.gz
dpkg-source: info: building ensembl in ensembl_57-1.debian.tar.gz
dpkg-source: internal error: add_directory() only handles directories
dpkg-buildpackage: error: dpkg-source -b ensembl-57 gave error exit status 29


Thanks

Steffen

#593710#10
Date:
2010-08-20 16:14:33 UTC
From:
To:
Hi,

Where was the target directory?

Was it outside of the source package tree?

Why is it misleading? the debian.tar.gz is supposed to represent the
debian directory, it would be misleading if it didn't contain it...

Do you mean we should support this or do you mean the error message should
be more explicit?

Cheers,