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

Bug 936083

Summary: net-wireless/wireless-tools-30_pre9-r1 configure fails on musl/clang due to -Wimplicit-function-declaration.
Product: Gentoo Linux Reporter: James McGeehan IV <jfmfour22>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: UNCONFIRMED ---    
Severity: normal CC: jfmfour22
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: Failed build.log
emerge --info
include libgen.h

Description James McGeehan IV 2024-07-15 05:06:24 UTC
Created attachment 897641 [details]
Failed build.log

On Musl-Clang profile, wireless-tools fails to configure due to the basename function being called implicitly. The attached patch includes libgen.h, which provides the prototype for basename(). 

I'm just starting to learn programming, so not entirely sure if this is the best way to fix this. Please do let me know if/why not :)
Comment 1 James McGeehan IV 2024-07-15 05:09:09 UTC
Created attachment 897642 [details]
emerge --info
Comment 2 James McGeehan IV 2024-07-15 05:10:03 UTC
Created attachment 897643 [details, diff]
include libgen.h