When installing libxcrypt as a system library via the system use flag we also need to ensure the proper category of dependencies is specified, otherwise we might end up depending on the host machine built deps in the cross-* build. I've created a GitHub pull request to fix this issue: https://github.com/gentoo/gentoo/pull/25348 Thank you
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac6191ed2fff5b6070ff1efb7128f70b501176d0 commit ac6191ed2fff5b6070ff1efb7128f70b501176d0 Author: Adrian Ratiu <adrian.ratiu@collabora.com> AuthorDate: 2022-05-06 08:58:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-07 05:03:44 +0000 sys-libs/libxcrypt: fix cross + system dependencies Starting with the v4.4.28 ebuild, libxcrypt supports cross-* builds so we need to ensure the dependencies are properly specified, for eg: aarch64-cros-linux-gnu/libxcrypt needs to depend on the aarch64-cros-linux-gnu/glibc instead of plain sys-libs/glibc. Closes: https://bugs.gentoo.org/842906 Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com> Closes: https://github.com/gentoo/gentoo/pull/25348 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/libxcrypt/libxcrypt-4.4.28.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)