Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 842906 - sys-libs/libxcrypt: fix system mode cross-* dependencies
Summary: sys-libs/libxcrypt: fix system mode cross-* dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-06 10:25 UTC by Adrian Ratiu
Modified: 2022-05-07 21:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Ratiu 2022-05-06 10:25:54 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2022-05-07 05:04:11 UTC
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(-)