[buildd-tools-devel] Bug#662785: Bug#662785: sbuild fails to build package when passed a directory
Roger Leigh
rleigh at codelibre.net
Tue Mar 6 15:43:03 UTC 2012
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'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.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
More information about the Buildd-tools-devel
mailing list