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

Bug#616493: lintian: Should know about the Multi-Arch field



On Fri, 11 Mar 2011, Niels Thykier wrote:
> I have added Multi-Arch to the list of known binary fields.  I assumed
> it did not apply to udebs, changes and source packages, please correct
> me if I am wrong here.

That's correct.

(For dpkg, udeb are no different from deb and thus they are allowed but
I don't see udeb making use of multiarch any time soon)

>   I also included a sanity check of the values of the field (one of the
> four listed in your email in all lowercase).  I have not added any

Great.

> sanity (cross-)check for multi-arch vs. content/architecture, so Lintian
> will (at least for now) happily accept Architecture: all with
> Multi-Arch: foreign (or whatever).  I am keeping this bug open to track
> the status of such additional checks.

The only forbidden combination is Architecture: all / Multi-Arch: same.
The rest is allowed. But dpkg already enforces this at build time[1] so it's
ok if there's no check in lintian.

Cheers,

[1] Not yet in sid but in the multi-arch branch that we're working on.
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)



Reply to: