Re: What is the best way to restrict building a package to 64-bit platforms?

Soren Stoutner <[email protected]> Fri, 10 Jul 2026 20:40:56 -0700
Newsgroups gmane.linux.debian.devel.mentors
Organization Debian
Message-ID <8703975.T7Z3S40VBb@soren-desktop>
On Friday, July 10, 2026 7:39:07 PM Mountain Standard Time Soren Stoutner 
wrote:
> I have a vague recollection that there is a pseudo-package that only exists 
on
> 64-bit platforms, and you can restrict a package to only attempt 64-bit
> builds by Build-Depending on that package, but I don’t remember what the 
name
> was, and I haven’t been able to discover it by searching.
> 
> Can anyone point me in the right direction?

The answer is to Build-Depend on architecture-is-64-bit, which is a pseudo-
package provided by architecture-properties.

Thanks to Manuel Guerra for the hint.

-- 
Soren Stoutner
[email protected]
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmpRu0gACgkQwufLJ66w
tgNgKBAAjgO8bAJscf9lEXsfuhcur8CTCRzhIW2tx/wSowEGU8TzLf5ZRMEenhgf
RakFmhNKXIsk/7DgiPE/aTEZ6CjE5SCFL3jBRB4gD+nIKLJNySV4//Wssw30/s0e
J6jOTifIvt54E6AUCUcSxOkcUbP4M2U0k4gBZmt6mq9FCJIMrAjZpguVY6G4vDiP
I+moocpldJisFIIwRvOs8e66yPJFk3Dk7MGXsZ7ceIxRd9jxnrwpje4d73I/Y6YE
Jozw5lYqB+fCfZaHV704S4l9v76XfjRLNt/zHPehwHg++zyr4oSjPYgBI+yNQB8u
b+XRW6aDaS96U3GiCUscH5+fTDb9LzIjsk1tnJOghCYW1P6OdktJl7o8YowRLNJc
Qwte0Xn+lisJ+n70GwT/mErf29wEuA2QXi+bSsPCEJ493nutVwZiZaSDr1B6e3VP
HFt7b/XGnxYOAS5nuAaydZs0d6GgyMnPAvR8J1f4Umm+fMhlI20PP461WFwTgIeg
hIWoy6BO8Uek3Fv+Ze/BC2rtoRLvuRLcEWa+6sNq26Uw+4VJnMXccc2N8BO2mvJe
1I/1t0VvUWkwWBebaUNJS515eTc3jBfLPEB+DfhmJ3FlZtP4EzqWnOZCo6PKg8qT
xGyInuPACTJwJRi3+jiwAa+RLjAQp76EJ0OR2OBgG9mWPXbLv+M=
=Tdbf
-----END PGP SIGNATURE-----