I am only able to successfully emerge sys-apps/coreutils-6.12 if the RHEL4 SELinux fix is applied to src/Makefile.in. src/Makefile.am does not seem to be enough although automake is used within the ebuild. Using the following patch, both src/Makefile.am and src/Makefile.in will be modified.
Created attachment 160045 [details, diff] coreutils.patch
I moved the sed up before the eautoreconf, which makes more sense. That should have the same effect. Not sure how we ended up adding it there, because I recall having someone problems with it, so it had to be fixed. Anyhow, can you test if moving the sed up before the eautoreconf solves it as well (without patching .in that is)
(In reply to comment #2) > I moved the sed up before the eautoreconf, which makes more sense. That should > have the same effect. Not sure how we ended up adding it there, because I > recall having someone problems with it, so it had to be fixed. Weird. and yes, I had this problem, and IIRC I was the one to fix it. Worked for me. > Anyhow, can you test if moving the sed up before the eautoreconf solves it as > well (without patching .in that is) >
Thanks Fabian, coreutils emerged fine with your changes!
Thanks Stefan for testing. Does this also mean we need a newer bootstrap image with this fix?
That's right, it also failed when bootstrapping.
ok, thanks, I'll create a new snapshot.