[buildd-tools-devel] Bug#709270: Bug#709270: sbuild: "Unknown option: build-arch"

Johannes Schauer josch at debian.org
Thu Dec 24 00:09:31 UTC 2015


Control: tag -1 + patch

Hi,

On Wed, 22 May 2013 20:14:49 +0100 Roger Leigh <rleigh at codelibre.net> wrote:
> On Wed, May 22, 2013 at 08:10:36PM +0200, Christoph Biedl wrote:
> > Christoph Biedl wrote...
> > 
> > > | I: Please specify the correct architecture with --build-arch, or use a chroot of the correct architecture
> > 
> > Um, is this just supposed to be "--build=arch"?
> > 
> > If yes, take this as an example how a small typo can create big
> > confusion :)
> 
> Yes, it's definitely --build=$arch.  I'll make sure this typo is fixed for
> the next upload.

it seems that fix never reached unstable :)

I now committed the following patch locally and will push to master soon:

--- a/lib/Sbuild/Build.pm
+++ b/lib/Sbuild/Build.pm
@@ -387,7 +387,7 @@ sub run_chroot_session {
                $self->get_conf('BUILD_ARCH') .
                ") and chroot architecture (" . $chroot_arch .
                ") do not match.  Skipping build.",
-               info => "Please specify the correct architecture with --build-arch, or use a chroot of the correct architecture",
+               info => "Please specify the correct architecture with --build, or use a chroot of the correct architecture",
                failstage => "create-session");
        }


Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151224/8769e36c/attachment.sig>


More information about the Buildd-tools-devel mailing list