Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186780 - sys-libs/glibc-2.6.1 - don't depend on selinux on cross compile
Summary: sys-libs/glibc-2.6.1 - don't depend on selinux on cross compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-27 12:04 UTC by Alon Bar-Lev (RETIRED)
Modified: 2009-05-02 02:37 UTC (History)
0 users

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


Attachments
glibc-2.6.ebuild.diff (glibc-2.6.ebuild.diff,485 bytes, patch)
2007-07-27 12:04 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
glibc-2.6.1-cross-selinux.diff (glibc-2.6.1-cross-selinux.patch,592 bytes, patch)
2007-08-14 20:25 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2007-07-27 12:04:05 UTC
Continue from bug#134318.
As there is no selinux cross compile support, please make glibc disable selinux on cross compile.

vapier, I saw many modification (not documented in ChangeLog), but this one is missing.

The solution to put build or -selinux in package.use as they are forced values.

Thanks!
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2007-07-27 12:04:39 UTC
Created attachment 126138 [details, diff]
glibc-2.6.ebuild.diff
Comment 2 SpanKY gentoo-dev 2007-07-29 04:35:21 UTC
crossdev forces USE=-selinux now
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2007-07-29 04:50:28 UTC
Doing this will not solve the problem this is what I tried initially before bothering you.

Next time emerge --update --deep --newuse is executed, the selinux will be forced and the package builds itself with selinux.

You cannot put -selinux at /etc/package.use either.

So the other alternative is to fix the ebuild to ignore the selinux flag on cross-compile.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2007-08-14 20:25:17 UTC
Created attachment 128100 [details, diff]
glibc-2.6.1-cross-selinux.diff
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2009-05-02 02:37:58 UTC
Seems reasonable enough.  Applied.