[buildd-tools-devel] Bug#782553: sbuild: 'sbuild --source --no-arch-all' fails in a very confusing way
Johannes Schauer
josch at debian.org
Sun Jan 3 11:34:38 UTC 2016
Hi,
Quoting Johannes Schauer (2015-12-25 18:39:37)
> On Thu, 24 Dec 2015 11:11:58 +0100 Johannes Schauer <josch at debian.org> wrote:
> > Maybe a good fix would already be to properly document how --source,
> > --arch-all and --arch-all-only play together. Here is an overview of which
> > combination of these options leads to which flag being passed to
> > dpkg-buildpackage:
> >
> > --source | --arch-all | --arch-all-only | dpkg-buildpackage flag
> > ------------+--------------+------------------+------------------------
> > set | set | set | -g
> > set | set | |
> > set | | set | -S
> > set | | | -G
> > | set | set | -A
> > | set | | -b
> > | | set |
> > | | | -B
>
> actually above table is partly a lie. The --arch-all-only option, while being
> the only option that can set the BUILD_ARCH_ANY configuration variable is
> *also* setting the BUILD_ARCH_ALL variable so it has to be used together with
> --no-arch-all directly after it in cases where --arch-all is not set.
>
> This will be vastly simplified with the --arch-any and --no-arch-any option
> from bug #799056.
a proposed patch to fix all this in the documentation and to deprecate the
--arch-all-only option in favour of a simpler interface is attached.
Please comment!
Thanks!
cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-documentation-related-to-generated-build-artifac.patch
Type: text/x-diff
Size: 9930 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160103/dfb277df/attachment-0001.patch>
-------------- 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/20160103/dfb277df/attachment-0001.sig>
More information about the Buildd-tools-devel
mailing list