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

Bug#796660: Binaries in binary packages match the architecture



Florian Weimer <fw@deneb.enyo.de> writes:

> It seems to me that a requirement is missing from the policy that
> binaries (DSOs and executables) which are intended to run on the host
> must be located in a binary package, and the architecture of the
> binary package must match the DSO/executable architecture.

> For example, shipping i386 binaries instead of amd64 binaries is not
> acceptable, even though these programs might run with the default
> Debian kernel.

This is a little tricky to phrase, since there are entirely legitimate
cases where you do want to ship foreign binaries (packages that set up
cross-compiler environments, for instance, or packages meant to install
binaries onto auxiliary devices).

But yes, saying that amd64 packages should generally have amd64 binaries
and that i386 binaries should be installed on amd64 systems using
foreign-arch packages, not by putting i386 binaries into an amd64 package,
seems reasonable to say at this point.  (Have we entirely eliminated the
various pre-multiarch workarounds for this from the archive?)

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: