Problem with dpkg-source -b outside of package source dir
according to the man page, dpkg-source -b takes an argument that is "the
name of the directory containing the debianized source tree". But that
does not work for me if the current directory is not the package's
When I execute dpkg-source in the package's source directory, i.e.
/tmp/test/pkg$ dpkg-source -b .
everything works fine. But if I execute dpkg-source from a different
directory with the source directory as the argument to -b, e.g.
/tmp$ dpkg-source -b /tmp/test/pkg
dpkg-source complains that it can't find the original tarball at
../pkg_vers.orig.tar.*. Shouldn't it look into /tmp/test/pkg/..?
The problem does not occur with native packages as they do not require
an original tarball.
I'm using dpkg-source 1.17.27 in Debian jessie