Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551612 - =sys-apps/attr-2.4.47-r1 fails to build on armv7a-hardened-musl
Summary: =sys-apps/attr-2.4.47-r1 fails to build on armv7a-hardened-musl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL: http://git.savannah.nongnu.org/cgit/a...
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2015-06-09 22:36 UTC by Michael Jones
Modified: 2018-06-19 03:52 UTC (History)
1 user (show)

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


Attachments
build.log.gz (build.log.gz,8.00 KB, application/x-targz)
2015-06-09 22:37 UTC, Michael Jones
Details

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