Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936083 - net-wireless/wireless-tools-30_pre9-r1 configure fails on musl/clang due to -Wimplicit-function-declaration.
Summary: net-wireless/wireless-tools-30_pre9-r1 configure fails on musl/clang due to -...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-07-15 05:06 UTC by James McGeehan IV
Modified: 2024-07-20 15:03 UTC (History)
1 user (show)

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


Attachments
Failed build.log (buildlog.txt,3.69 KB, text/plain)
2024-07-15 05:06 UTC, James McGeehan IV
Details
emerge --info (emergeinfo.txt,16.28 KB, text/plain)
2024-07-15 05:09 UTC, James McGeehan IV
Details
include libgen.h (libgen-basename.patch,670 bytes, patch)
2024-07-15 05:10 UTC, James McGeehan IV
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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