Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931494 - cross-aarch64 missing dependency on crypt
Summary: cross-aarch64 missing dependency on crypt
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Cross compilation support
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-07 13:23 UTC by Pedro Ferreira
Modified: 2024-05-07 22:49 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,6.66 KB, text/plain)
2024-05-07 13:23 UTC, Pedro Ferreira
Details
Build log (build.log.xz,116.53 KB, application/x-xz)
2024-05-07 13:25 UTC, Pedro Ferreira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Ferreira 2024-05-07 13:23:42 UTC
Created attachment 892432 [details]
emerge --info

When building cross-aarch64-linux-gnu/gcc-13.2.1_p20240503:13/13::crossdev the build fails due to a missing crypt dependency:

/var/tmp/portage/cross-aarch64-linux-gnu/gcc-13.2.1_p20240503/work/gcc-13-20240503/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:180:10: fatal error: crypt.h: No such file or directory
  180 | #include <crypt.h>
      |          ^~~~~~~~~
compilation terminated.

I think this is because I have the sanitizer enabled.
Comment 1 Pedro Ferreira 2024-05-07 13:25:55 UTC
Created attachment 892433 [details]
Build log
Comment 2 James Le Cuirot gentoo-dev 2024-05-07 22:49:38 UTC
I hit this recently too, but it worked after removing the target entirely and recreating it. I couldn't be sure, but my suspicion was that the sanitize USE flag was enabled when it shouldn't have been due to the target having been created a long time ago. I can see from your log that it is enabled for you, so I suggest you try the same thing. I don't think there's a good solution to automatically fix this for others.