On mar., 2012-03-06 at 15:43 +0000, Roger Leigh wrote: > On Tue, Mar 06, 2012 at 12:16:39PM +0100, Yves-Alexis Perez wrote: > > I'm trying to replace my pbuilder/cowbuilder based build-setup by > > sbuild. Right now I have an issue when I try to build a package from a > > debian source folder. > > > > Reading the manpage, it seems that theres are two ways to call sbuild: > > > > - sbuild foo.dsc > > - sbuild folder > > > > with a third form beeing just sbuild, where it uses $PWD as the > > argument. It seems that those don't work, because sbuild tries to call > > dpkg-source -b $PWD, which fails because it expects the orig.tar.gz to > > be in the *current* folder, while the tarballs are usually in the parent > > folder. A way to circumvent this is to call dpkg-source -b . instead of > > dpkg-source -b $PWD. > > > > I'm not too sure how pdebuild handles that but it does support this > > mode. > > Maybe we just need to change the CWD prior to running dpkg-source?
I don't think that would work, dpkg-source needs to be run from the source folder afaict. > I'll take a closer look when I can--I'm moving house this week, so > it might be a week or two before I have internet connectivity and > free time. > Ok. -- Yves-Alexis
signature.asc
Description: This is a digitally signed message part

