pkgcheck icon indicating copy to clipboard operation
pkgcheck copied to clipboard

[New Check]: MULTILIB_USEDEP in BDEPEND

Open floppym opened this issue 3 months ago • 2 comments

Is there an existing such new check request for this?

  • [X] I have searched the existing issues

Explain

It is rarely valid to reference MULTILIB_USEDEP in BDEPEND.

MULTILIB_USEDEP contains a USE flag expression that is based on USE flags set for the current package being built. The USE flags will be based on CHOST, not CBUILD.

https://bugs.gentoo.org/723112 https://bugs.gentoo.org/944040

Examples

https://gitweb.gentoo.org/repo/gentoo.git/tree/app-crypt/mit-krb5/mit-krb5-1.21.3-r1.ebuild?id=de41a3ba38ba1ccb98bae20e443a1af8d8df5c6a#n39

Output message

No response

Documentation

No response

Result level

warning

floppym avatar Nov 20 '24 16:11 floppym