> On 8 Feb 2017, at 14:49, Gianfranco Costamagna <locutusofb...@debian.org> > wrote: >>> apt build-dep (dsc-file) to build-dependencies> > >> I remember "apt build-dep <pkg_name>" is only for package already > >> exists in archive. > > > > when the argument is a dsc file, apt parses the dependency list. > (IIRC this is a feature since apt 1.0 or 1.1)
You can also give it the path to an unpacked source package; I often do "apt-get build-dep $PWD" on porterboxen. Regards, James