Your message dated Tue, 07 Dec 2010 23:03:44 +0000
with message-id <[email protected]>
and subject line Bug#606001: fixed in sbuild 0.60.6-1
has caused the Debian Bug report #606001,
regarding [PATCH] sbuild-update: Add --arch option
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
606001: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606001
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sbuild
Version: 0.60.5-1
Severity: wishlist
Tags: upstream patch

It would be nice to have an --arch option for sbuild-update to update
chroots for another architecture (say i386 on an amd64 host).  Patch
attached.

Regards,
Ansgar
>From c9db570214ddf439879b84c4d8067726d4b1949f Mon Sep 17 00:00:00 2001
From: Ansgar Burchardt <[email protected]>
Date: Sun, 5 Dec 2010 14:06:24 +0100
Subject: [PATCH] sbuild-update: Add --arch option.

Signed-off-by: Ansgar Burchardt <[email protected]>
---
 bin/sbuild-update      |    3 +++
 man/sbuild-update.1.in |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/bin/sbuild-update b/bin/sbuild-update
index be594be..350f126 100755
--- a/bin/sbuild-update
+++ b/bin/sbuild-update
@@ -78,6 +78,9 @@ sub set_options {
     my $self = shift;
 
     $self->add_options(
+       "arch=s" => sub {
+           $self->set_conf('ARCH', $_[1]);
+       },
        "update|u" => sub {
            $self->set_conf('UPDATE', 1);
            $self->set_conf('COMPAT', 0);
diff --git a/man/sbuild-update.1.in b/man/sbuild-update.1.in
index 221ff63..8362ab4 100644
--- a/man/sbuild-update.1.in
+++ b/man/sbuild-update.1.in
@@ -19,6 +19,7 @@ sbuild\-update \- update, upgrade, and clean an sbuild chroot 
with apt-get
 .SH SYNOPSIS
 .B sbuild\-update
 .RB [ \-h \[or] \-\-help ] " " [ \-V \[or] \-\-version ]
+.RB [ \-\-arch=\fIarchitecture\fP ]
 .RB [ \-u \[or] \-\-update ] " " [ \-g \[or] \-\-upgrade ] " "
 .RB [ \-d \[or] \-\-dist\-upgrade ] " " [ \-c \[or] \-\-clean ] " "
 .RB [ \-a \[or] \-\-autoclean ] " " [ \-r \[or] \-\-autoremove ]
@@ -60,6 +61,9 @@ Display this manual.
 .BR \-V ", " \-\-version
 Print version information.
 .TP
+.BR "\-\-arch=\fIarchitecture\fP"
+Update chroot for the architecture specified.
+.TP
 .BR \-u ", " \-\-update
 Perform an \f[CB]apt\-get update\fP.
 .TP
-- 
1.7.2.3


--- End Message ---
--- Begin Message ---
Source: sbuild
Source-Version: 0.60.6-1

We believe that the bug you reported is fixed in the latest version of
sbuild, which is due to be installed in the Debian FTP archive:

buildd_0.60.6-1_all.deb
  to main/s/sbuild/buildd_0.60.6-1_all.deb
libsbuild-perl_0.60.6-1_all.deb
  to main/s/sbuild/libsbuild-perl_0.60.6-1_all.deb
sbuild_0.60.6-1.diff.gz
  to main/s/sbuild/sbuild_0.60.6-1.diff.gz
sbuild_0.60.6-1.dsc
  to main/s/sbuild/sbuild_0.60.6-1.dsc
sbuild_0.60.6-1_all.deb
  to main/s/sbuild/sbuild_0.60.6-1_all.deb
sbuild_0.60.6.orig.tar.gz
  to main/s/sbuild/sbuild_0.60.6.orig.tar.gz
wanna-build_0.60.6-1_all.deb
  to main/s/sbuild/wanna-build_0.60.6-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roger Leigh <[email protected]> (supplier of updated sbuild package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Tue, 07 Dec 2010 21:08:28 +0000
Source: sbuild
Binary: libsbuild-perl sbuild wanna-build buildd
Architecture: source all
Version: 0.60.6-1
Distribution: unstable
Urgency: low
Maintainer: Debian buildd-tools Developers 
<[email protected]>
Changed-By: Roger Leigh <[email protected]>
Description: 
 buildd     - Daemon for automatically building Debian binary packages from Deb
 libsbuild-perl - Tool for building Debian binary packages from Debian sources
 sbuild     - Tool for building Debian binary packages from Debian sources
 wanna-build - Database to track building of Debian binary packages from Debian
Closes: 589615 604715 605745 605997 606001
Changes: 
 sbuild (0.60.6-1) unstable; urgency=low
 .
   [ Roger Leigh ]
   * New release.
   * sbuild:
     - sbuild now sanitises its environment when running external
       commands.
     - sbuild no longer generates the files REDO and SBUILD-REDO-DUMPED.
     - sbuild now has a testsuite.
     - apt and aptitude build-dependency resolvers now use a local apt
       archive, which improves the behaviour of the apt resolver (the
       dependency package will no longer be removed in some situations).
     - Workaround uninstallable sysvinit on Ubuntu, where sysvinit is
       still present in the build-essential package list.  Thanks to
       Jamie Strandboge.
   * sbuild-update:
     - sbuild-update works on multiple chroots (Closes: #604715).
     - sbuild-update works with multiple architectures (Closes: #606001).
       Thanks to Ansgar Burchardt for this patch.
     - sbuild-update now has a --keygen option to generate signing keys
       for temporary apt archives.
   * sbuild.1: Update description of --maintainer (Closes: #605745).
     Thanks to Jakub Wilk.
   * Sbuild::ConfBase: Only use MAILTO_HASH if defined (Closes: #589615).
     Thanks to Marc Dequènes for this patch.
 .
   [ Modestas Vainius ]
   * sbuild:
     - Do not skip purging of build directory if chroot is cloned
       (Closes: #605997).  This is necessary if /build in chroots is
       (bind-)mounted to the outside of the session.  However, if /build
       is part of the cloned session, $purge_build_directory='never'
       could be used in order to avoid wasting time when the session
       ends.
Checksums-Sha1: 
 19a02f3e533a2a752315678e0b17804bf6e5c61e 1265 sbuild_0.60.6-1.dsc
 a35b05dd62825fe6c4a47d44fb140ea098ccb206 530240 sbuild_0.60.6.orig.tar.gz
 a0fddd5458378c1bf3c10dd2f5c060d1347741ed 20 sbuild_0.60.6-1.diff.gz
 f50802aebe9b75643d54412233824c6dcfa2b95a 242598 libsbuild-perl_0.60.6-1_all.deb
 210206b7fd2461132c9439325e17ca461d799bdd 243822 sbuild_0.60.6-1_all.deb
 4f15965b688316e94ff2e7507de102288d998a7a 246936 wanna-build_0.60.6-1_all.deb
 255d719822d58505261e107e3fd48add78449bfa 236658 buildd_0.60.6-1_all.deb
Checksums-Sha256: 
 5d797b1d0e5441c4a0ea0274b3b3ad9406e6573e5fee9ee0e1c13def5ed5e49e 1265 
sbuild_0.60.6-1.dsc
 40b20b8c55831182fcbd4770e7a6761095ceedead414dd8a7a274faae06f55a5 530240 
sbuild_0.60.6.orig.tar.gz
 f61f27bd17de546264aa58f40f3aafaac7021e0ef69c17f6b1b4cd7664a037ec 20 
sbuild_0.60.6-1.diff.gz
 4a973e9420e99ca2ec6810b154efe7ef73af893547dc43a84e5c0e3c4e35e6f8 242598 
libsbuild-perl_0.60.6-1_all.deb
 7468f4690d27d615a19c72777bc52a34fcc9b9fd61451415803622388142fb0a 243822 
sbuild_0.60.6-1_all.deb
 516debb1519921852cb24d4a1cbe094e56d2a19fd058bd73a940e84ce703e16f 246936 
wanna-build_0.60.6-1_all.deb
 07703d18655a0157c661068ed2feeebe6f3e4febdc4a45477c82f8ece89fd9f5 236658 
buildd_0.60.6-1_all.deb
Files: 
 7723a2517cf7b717b25959387420517c 1265 devel extra sbuild_0.60.6-1.dsc
 abeb27ce06f57ec9901ff59567a4c266 530240 devel extra sbuild_0.60.6.orig.tar.gz
 4a4dd3598707603b3f76a2378a4504aa 20 devel extra sbuild_0.60.6-1.diff.gz
 6084e3322e2c4db3cc221ec423d41bd9 242598 perl extra 
libsbuild-perl_0.60.6-1_all.deb
 6c984b956438956108ebfbe8615a0c57 243822 devel extra sbuild_0.60.6-1_all.deb
 249986d1db8958c01e06fd73171e07cc 246936 devel extra 
wanna-build_0.60.6-1_all.deb
 24cfe395f870de1acf9d7dbdc859653a 236658 devel extra buildd_0.60.6-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEAREDAAYFAkz+ujMACgkQVcFcaSW/uEiVggCgh6sX9PNFO11oo6I25ud+HQ/a
9VMAoJibhLfvBkanRrFsOb1oUStrUbeR
=U3Lm
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to