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

Re: Build-Depends :native



On 2019-06-22 12:20 +0200, Jörg Frings-Fürst wrote:

> Hello,
>
> can someone please tell me a source about the meaning of :native in the
> Build-Depends?

The architecture you are building on, see deb-src-control(5):

,----
| An architecture qualifier name can be a real Debian architecture name
| (since dpkg 1.16.5), any (since dpkg 1.16.2) or native (since dpkg
| 1.16.5).  If omitted, the default for Build-Depends fields is the
| current host architecture, the default for Build-Conflicts fields is
| any.  A real Debian architecture name will match exactly that
| architecture for that package name, any will match any architecture for
| that package name if the package is marked with Multi-Arch: allowed, and
| native will match the current build architecture if the package is not
| marked with Multi-Arch: foreign.
`----

E.g. if your current architecture is amd64, and you are building for
armhf, "Build-Depends: python3:native" means you have to install
python3:amd64 and not python3:armhf.

Cheers,
       Sven


Reply to: