[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Architecture in *.dsc files



Jonathan Yu <jonathan.i.yu@gmail.com> writes:

> Hi:
>
> This is probably a stupid question, but...
>
> On Tue, May 26, 2009 at 11:33 PM, Russ Allbery <rra@debian.org> wrote:
>> Currently, Policy's description of Architecture includes the statement:
>>
>>    In the main debian/control file in the source package, or in the
>>    source package control file .dsc, one may specify a list of
>>    architectures separated by spaces, or the special values any or all.
>>
>> By my reading, this says that the Architecture field may be *either* a
>> list of architectures *or* one of any or all.  However, the current
>> dpkg-dev appears to generate an Architecture line that includes both
>> architectures and special values like "all".
>
> I'm curious, which package(s) do this? What is the idea of doing so?
> Is it like saying, "build specially on these architectures; otherwise
> just use 'all'"? Or am I missing the point of it completely?

Package: foo
Architecture: amd64 i386

Package: foo-doc
Architecture: all

The dsc file will list all, amd64 and i386.


Before the dsc file would list "any" which then caused the buildds on
all architectures to try to build the package with -B and fail because
there is nothing to build.

MfG
        Goswin


Reply to: