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

Bug 551612

Summary: =sys-apps/attr-2.4.47-r1 fails to build on armv7a-hardened-musl
Product: Gentoo Linux Reporter: Michael Jones <gentoo>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://git.savannah.nongnu.org/cgit/attr.git/commit/?h=667137acaffb8d0cc62b47821a67a52ba0637d5c
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: build.log.gz

Description Michael Jones 2015-06-09 22:36:48 UTC
This bug should be made a blocker of https://bugs.gentoo.org/show_bug.cgi?id=430702

And assigned to blueness@gentoo.org



Reproducible: Always
Comment 1 Michael Jones 2015-06-09 22:37:27 UTC
Created attachment 404846 [details]
build.log.gz
Comment 2 Anthony Basile gentoo-dev 2015-06-10 11:12:36 UTC
The following patch should be cleaned up and upstreamed:

https://gitweb.gentoo.org/proj/hardened-dev.git/tree/sys-apps/attr/files/attr-2.4.46-ifdef_cplusplus.patch?h=musl


_BEGIN_DECL is glibc only.  Its probably better to use


/* __BEGIN_DECLS */
#ifdef __cplusplus
extern "C" {
#endif

....

/* __END_DECLS */
#ifdef __cplusplus
}
#endif
Comment 3 Felix Janda 2015-06-12 18:27:59 UTC
The header does no longer exist in current git.
Comment 4 SpanKY gentoo-dev 2018-06-19 03:52:41 UTC
this is fixed in attr-2.4.48