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

Bug 935242

Summary: dev-libs/libratbag-0.17-r2 fails to compile: libratbag-data.c:610:66: error: implicit declaration of function basename [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alex Barker <alex>
Status: CONFIRMED ---    
Severity: normal CC: alex, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412, 926147    
Attachments: build.log
basename-musl.patch

Description Agostino Sarubbo gentoo-dev 2024-06-30 16:15:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/libratbag-0.17-r2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-30 16:15:06 UTC
Created attachment 896669 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-30 16:15:07 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: libratbag.a.p/src_libratbag-data.c.o 
../libratbag-0.17/src/libratbag-data.c:610:66: error: implicit declaration of function 'basename'; did you mean 'g_basename'? [-Wimplicit-function-declaration]
Comment 3 Alex Barker 2024-07-10 04:45:07 UTC
Created attachment 897386 [details, diff]
basename-musl.patch

I have no idea if this will work and I have no way of testing it with musl. If you could toss it in /etc/portage/patches/dev-libs/libratbag and let me know if it builds, that would help a lot.