[buildd-tools-devel] Bug#657392: sbuild: Automatically handle --arch=all

Daniel Dehennin daniel.dehennin at baby-gnu.org
Wed Jan 25 22:31:35 UTC 2012


Package: sbuild
Version: 0.62.6-1
Severity: minor

Dear Maintainer,

I setup some automatic build system around reprepro, rebuildd and
sbuild.

I use a little shell script wrapper to handle the architecture:all case
because when reprepro list build-needing packages[1], the architecture:all
is a job on its own.

In rebuildd, I use:

#+begin_src conf
build_cmd = sbuild-wrapper -d ${d} -a ${a} -f ${p}_${v}.dsc
#+end_src

This script test the -a option for architecture and call sbuild like:

#+begin_src sh
[...]
if [ "${arch}" = "all" ]
then
    sbuild -A --arch=${HOST_ARCH} -d ${distrib} ${dsc_file}
else
    sbuild --arch=${arch} -d ${distrib} ${dsc_file}
fi
#+end_src

Regards.

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

Kernel: Linux 3.2.0+hati.1+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

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

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

Versions of packages sbuild suggests:
ii  deborphan  1.7.28.5
ii  wget       1.13.4-2

-- no debconf information


Footnotes: 
[1]  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656187

-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20120125/86980015/attachment.pgp>


More information about the Buildd-tools-devel mailing list