[buildd-tools-devel] Bug#662785: sbuild fails to build package when passed a directory

Yves-Alexis Perez corsac at debian.org
Tue Mar 6 11:16:39 UTC 2012


Package: sbuild
Version: 0.62.6-1
Severity: normal

Hi,

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.

Regards,
-- 
Yves-Alexis

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbuild depends on:
ii  adduser         3.113+nmu1
ii  apt-utils       0.8.15.9
ii  libsbuild-perl  0.62.6-1
ii  perl            5.14.2-9
ii  perl-modules    5.14.2-9

Versions of packages sbuild recommends:
ii  debootstrap  1.0.38
ii  fakeroot     1.18.2-1

Versions of packages sbuild suggests:
ii  deborphan  <none>
ii  wget       1.13.4-2

-- no debconf information





More information about the Buildd-tools-devel mailing list