[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: When debian/ is symbolic link


On Sun, 2015-01-18 at 01:11:20 -0500, James McCoy wrote:
> Adding dpkg maintainers since the error isn't from any
> devscripts-specific code.  debuild is running as a thin wrapper to
> dpkg-buildpackage in this scenario.
> On Sun, Jan 18, 2015 at 07:09:16AM +0300, Dmitry Bogatov wrote:
> > `debuild -us -uc` seems to do not work when debian/ is symbolic link.
> > Is it any way to fix it? Typescript attached.
> Is there a legitimate use case for this?  The error is that dpkg-source
> can't create a source package because debian/ is a symlink, which seems
> valid to me.

Yes, that would be #593710, you need to use an actual directory and
not a symlink to one.

> > I belive, main point is this line:
> > 
> > add_directory() only handles directories at /usr/share/perl5/Dpkg/Source/Package/V2.pm line 556
> > 
> > but I have no idea what does it mean.

I'll be improving the error message for this, as it seems to be


Reply to: