dev-libs/nettle does not compile because of a getenv() error, and it seems that several programs suffer from this, so far I have only seen 5, but there may be more. Reproducible: Always Steps to Reproduce: 1. Have a musl system 2. Try to compile nettle Actual Results: It does not compile Expected Results: It should compile and install successfully.
Created attachment 913438 [details] The build log
Created attachment 913439 [details] emerge --info
The issue is in ancient bundled copies of (fallback) getopt, so unfortunately, multiple bugs are correct (just saying in case you're worried they're dupes -- they're not unfortunately).
Should I put that these bugs are confirmed?
We don't use UNCO/CONF in gentoo, really.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f989abe49298272382368a2416df1671843c456 commit 2f989abe49298272382368a2416df1671843c456 Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2025-01-01 08:44:59 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2025-03-29 17:48:34 +0000 dev-libs/nettle: avoid broken/dated getopt.c with musl Closes: https://bugs.gentoo.org/945970 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39926 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-libs/nettle/nettle-3.10.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)