Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817974 - =sys-devel/gcc-10.3.0-r2 sanitizer_platform_limits_posix.cpp:142:10: fatal error: crypt.h: No such file or directory. Workaround: USE=-sanitize ./bootstrap-prefix.sh
Summary: =sys-devel/gcc-10.3.0-r2 sanitizer_platform_limits_posix.cpp:142:10: fatal er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-13 07:53 UTC by Sergey
Modified: 2021-10-14 18:30 UTC (History)
2 users (show)

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 Sergey 2021-10-13 07:53:39 UTC
USE=-sanitize ./bootstrap-prefix.sh solved my problem.
Comment 1 Larry the Git Cow gentoo-dev 2021-10-14 06:15:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19

commit 46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-14 06:14:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-14 06:14:46 +0000

    toolchain.eclass: depend on virtual/libcrypt with USE=sanitize
    
    Bug: https://bugs.gentoo.org/802648
    Closes: https://bugs.gentoo.org/817974
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-14 11:14:13 UTC
Needs more work, will finish it off later
Comment 3 Larry the Git Cow gentoo-dev 2021-10-14 18:11:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=5d11b2898eb984ab1c1986beb512fc54d2b18107

commit 5d11b2898eb984ab1c1986beb512fc54d2b18107
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-14 18:10:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-14 18:10:30 +0000

    bootstap-prefix.sh: disable sanitize on GCC
    
    Avoids needing libcrypt early on.
    
    Closes: https://bugs.gentoo.org/817974
    Signed-off-by: Sam James <sam@gentoo.org>

 scripts/bootstrap-prefix.sh | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-10-14 18:30:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d9eb358d6802608eb16358b6efc394045876b196

commit d9eb358d6802608eb16358b6efc394045876b196
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-14 18:29:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-14 18:30:22 +0000

    bootstrap-prefix.sh: add libxcrypt to core package list
    
    We need to emerge libxcrypt before trying to install
    @world properly to avoid circular dependencies
    between libxcrypt, perl, and glibc.
    
    Bug: https://bugs.gentoo.org/817974
    Signed-off-by: Sam James <sam@gentoo.org>

 scripts/bootstrap-prefix.sh | 1 +
 1 file changed, 1 insertion(+)