Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 945970

Summary: dev-libs/nettle-3.10: fails to compile with musl /gcc15
Product: Gentoo Linux Reporter: meartzheast877
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: UNCONFIRMED ---    
Severity: normal CC: meartzheast877
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/39926
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: The build log
emerge --info

Description meartzheast877 2024-12-06 14:07:04 UTC
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.
Comment 1 meartzheast877 2024-12-06 14:07:42 UTC
Created attachment 913438 [details]
The build log
Comment 2 meartzheast877 2024-12-06 14:08:07 UTC
Created attachment 913439 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-06 14:58:16 UTC
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).
Comment 4 meartzheast877 2024-12-06 16:29:23 UTC
Should I put that these bugs are confirmed?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-06 16:30:48 UTC
We don't use UNCO/CONF in gentoo, really.