Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632658 - sys-apps/openrc-0.28 needs __USE_BSD, __USE_MISC defined to build on sys-libs/uclibc-ng
Summary: sys-apps/openrc-0.28 needs __USE_BSD, __USE_MISC defined to build on sys-libs...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: uclibc-porting
  Show dependency tree
 
Reported: 2017-10-01 20:54 UTC by René Rhéaume
Modified: 2017-10-05 21:28 UTC (History)
1 user (show)

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


Attachments
openrc-0.28-uclibc.patch (openrc-0.28-uclibc-r1.patch,5.86 KB, patch)
2017-10-01 20:57 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description René Rhéaume 2017-10-01 20:54:14 UTC
OpenRC uses many extensions, notably BSD extensions, most of them supported by uclibc-ng. However, __USE_BSD and __USE_MISC are not defined and cannot be defined globally as end up with other build errors.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 openrc
2.
3.
Actual Results:  
emake failed (compile phase)

Expected Results:  
OpenRC updated on system
Comment 1 René Rhéaume 2017-10-01 20:57:14 UTC
Created attachment 497382 [details, diff]
openrc-0.28-uclibc.patch

The patches enabled __USE_BSD and __USE_MISC on a header-by-header basis
Comment 2 William Hubbs gentoo-dev 2017-10-02 16:55:34 UTC
I believe the macros you are listing are internal maccros for uclibc-ng
and should not be defined by other projects.

I have added our uclibc-ng maintainer to this bug.
Comment 3 William Hubbs gentoo-dev 2017-10-02 16:57:57 UTC
Which version of uclibc-ng are you using?
I think you need at least 1.25.
Comment 4 William Hubbs gentoo-dev 2017-10-05 18:37:17 UTC
I just verified that you need uclibc-ng v1.0.25. This is the relevant
commit.

https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/commit?id=526747a2bf

Thanks,

William
Comment 5 René Rhéaume 2017-10-05 21:28:23 UTC
That's correct you mark my report as invalid because I use an old version of µclibc-ng. However, can you please add "elibc_uclibc ? ( >=syslibs/uclibc-ng-1.0.25 )" to the DEPEND variable in the ebuild, because there are still versions older than 1.0.25 in the tree?