Bug#892547: closed by Guillem Jover <guil...@debian.org> (Re: Bug#892547: [Feature Request] Add architecture dependent keywords to dpkg-buildpackage --build=)

2018-03-10 Thread jean-christophe manciot
>
> No, dpkg-buildpackage or debian/rules, just build the packages
> matching the host architecture, not for all architectures.



In most cases, you're right.
But for instance, for binutils, the "--build=binary" option builds the
packages for all architectures: cf. the battached .buildinfo.

If you want to build for several architectures then you'd do something
> like this instead:
>
>   $ dpkg-buildpackage --arch=amd64 --build=any
>   $ dpkg-buildpackage --arch=arm64 --build=any
>
>
Thanks for the info: the --arch option is not listed in the official
sid dpkg-buildpackage
documentation
<https://manpages.debian.org/unstable/dpkg-dev/dpkg-buildpackage.1.en.html>.


On Sat, Mar 10, 2018 at 2:09 PM, Debian Bug Tracking System <
ow...@bugs.debian.org> wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the dpkg package:
>
> #892547: [Feature Request] Add architecture dependent keywords to
> dpkg-buildpackage --build=
>
> It has been closed by Guillem Jover <guil...@debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Guillem Jover <
> guil...@debian.org> by
> replying to this email.
>
>
> --
> 892547: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892547
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems
>
>
> -- Forwarded message --
> From: Guillem Jover <guil...@debian.org>
> To: jean-christophe manciot <actionmysti...@gmail.com>,
> 892547-d...@bugs.debian.org
> Cc:
> Bcc:
> Date: Sat, 10 Mar 2018 14:06:10 +0100
> Subject: Re: Bug#892547: [Feature Request] Add architecture dependent
> keywords to dpkg-buildpackage --build=
> Hi!
>
> On Sat, 2018-03-10 at 13:13:21 +0100, jean-christophe manciot wrote:
> > Package: dpkg
> > Version: 1.19.0.5
>
> > Right now, running dpkg-buildpackage --build=any builds all architecture
> > dependent packages, such as:
> > - amd64
> > - arm64
> > - m68k
> > - mips
> > - ...
>
> No, dpkg-buildpackage or debian/rules, just build the packages
> matching the host architecture, not for all architectures.
>
> > My proposal offers a way to build a specific or list of specific
> > architecture dependent packages through:
> > --build=[arch1],[arch2],...[archn]
> >
> > For instance:
> > - --build=amd64
> > - --build=amd64,arm64
> > ...
>
> > It must be possible to combine those architecture keywords with other
> > existing build keywords such as:
> > - all
> > - source
> >
> > For instance:
> > - --build=amd64,all
> > - --build=amd64,arm64,all
>
> If you want to build for several architectures then you'd do something
> like this instead:
>
>   $ dpkg-buildpackage --arch=amd64 --build=any
>   $ dpkg-buildpackage --arch=arm64 --build=any
>
> while having the appropriate cross-compilers and similar.
>
> Closing.
>
> Thanks,
> Guillem
>
> -- Forwarded message --
> From: jean-christophe manciot <actionmysti...@gmail.com>
> To: sub...@bugs.debian.org
> Cc:
> Bcc:
> Date: Sat, 10 Mar 2018 13:13:21 +0100
> Subject: [Feature Request] Add architecture dependent keywords to
> dpkg-buildpackage --build=
> Package: dpkg
> Version: 1.19.0.5
>
> Right now, running dpkg-buildpackage --build=any builds all architecture
> dependent packages, such as:
> - amd64
> - arm64
> - m68k
> - mips
> - ...
>
> My proposal offers a way to build a specific or list of specific
> architecture dependent packages through:
> --build=[arch1],[arch2],...[archn]
>
> For instance:
> - --build=amd64
> - --build=amd64,arm64
> ...
>
> It must be possible to combine those architecture keywords with other
> existing build keywords such as:
> - all
> - source
>
> For instance:
> - --build=amd64,all
> - --build=amd64,arm64,all
> ...
> --
> Jean-Christophe Manciot
>
>


-- 
Jean-Christophe


binutils_2.30-7_amd64.buildinfo
Description: Binary data


Bug#892547: [Feature Request] Add architecture dependent keywords to dpkg-buildpackage --build=

2018-03-10 Thread jean-christophe manciot
Package: dpkg
Version: 1.19.0.5

Right now, running dpkg-buildpackage --build=any builds all architecture
dependent packages, such as:
- amd64
- arm64
- m68k
- mips
- ...

My proposal offers a way to build a specific or list of specific
architecture dependent packages through:
--build=[arch1],[arch2],...[archn]

For instance:
- --build=amd64
- --build=amd64,arm64
...

It must be possible to combine those architecture keywords with other
existing build keywords such as:
- all
- source

For instance:
- --build=amd64,all
- --build=amd64,arm64,all
...
-- 
Jean-Christophe Manciot