Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945968 - dev-build/make-4.4.1-r100: fails to compile with musl /gcc15
Summary: dev-build/make-4.4.1-r100: fails to compile with musl /gcc15
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-12-06 13:41 UTC by meartzheast877
Modified: 2025-01-02 15:12 UTC (History)
1 user (show)

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


Attachments
The build log (build.log,14.51 KB, text/plain)
2024-12-06 13:42 UTC, meartzheast877
Details
emerge --info (info.log,5.85 KB, text/plain)
2024-12-06 13:42 UTC, meartzheast877
Details

Note You need to log in before you can comment on or make changes to this bug.
Description meartzheast877 2024-12-06 13:41:57 UTC
dev-build/make 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 make
Actual Results:  
It does not compile

Expected Results:  
It should compile and install successfully.
Comment 1 meartzheast877 2024-12-06 13:42:17 UTC
Created attachment 913435 [details]
The build log
Comment 2 meartzheast877 2024-12-06 13:42:31 UTC
Created attachment 913436 [details]
emerge --info
Comment 3 Mike Gilbert gentoo-dev 2024-12-07 01:51:25 UTC
(In reply to meartzheast877 from comment #0)
> dev-build/make 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.

The faulty code comes from gnulib, which is bundled with many packages.
Comment 4 meartzheast877 2025-01-02 12:05:41 UTC
(In reply to Mike Gilbert from comment #3)
> (In reply to meartzheast877 from comment #0)
> > dev-build/make 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.
> 
> The faulty code comes from gnulib, which is bundled with many packages.

Sorry to reopen this, but then the error could be solved by changing the arguments of getenv and getopt respectively right?