When I try to emerge sys-apps/baselayout-1.8.6.8-r1 I get the following message: ... gcc -o halt halt.o ifdown.o hddown.o utmp.o * Please install sys-apps/gawk-3.1.1-r2 or later! !!! ERROR: sys-apps/baselayout-1.8.6.8-r1 failed. !!! Function src_compile, Line 128, Exitcode 0 !!! gawk too old But my gawk is newer then the needed version in the ebuild! * sys-apps/gawk Latest version available: 3.1.2-r3 Latest version installed: 3.1.2-r3 Size of downloaded files: 1,956 kB Homepage: http://www.gnu.org/software/gawk/gawk.html Description: GNU awk pattern-matching language Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge sys-apps/baselayout-1.8.6.8-r1
check the sym links for /lib/rcscripts/filefuncs.so They are part of gawk and should look like this: /lib/rcscripts/filefuncs.so -> filefuncs.so.0.0.1 /lib/rcscripts/filefuncs.so.0 -> filefuncs.so.0.0.1 /lib/rcscripts/filefuncs.so.0.0.1 I worked around it by deleting /lib/rcscripts/filefuncs.so* and merging gawk again. No guarantees, though.
They are part of gawk and should look like this: /lib/rcscripts/filefuncs.so -> filefuncs.so.0.0.1 /lib/rcscripts/filefuncs.so.0 -> filefuncs.so.0.0.1 /lib/rcscripts/filefuncs.so.0.0.1 I worked around it by deleting /lib/rcscripts/filefuncs.so* and merging gawk again. No guarantees, though. YES! This realy works for me! Thank you!
I too have this same error on base-layout. However, the trick to get around it did not work. The error I get: * Please install sys-apps/gawk-3.1.1-r2 or later! !!! ERROR: sys-apps/baselayout-1.8.6.8-r1 failed. !!! Function src_compile, Line 128, Exitcode 0 !!! gawk too old But, 'emerge -s gawk' returns: * sys-apps/gawk Latest version available: 3.1.2-r3 Latest version installed: 3.1.2-r3 Size of downloaded files: 1,956 kB Homepage: http://www.gnu.org/software/gawk/gawk.html Description: GNU awk pattern-matching language The output of 'ls -l /lib/rcscripts': total 4 drwxr-xr-x 2 root root 4096 Mar 11 10:20 awk Still get the error.
Re-emerge gawk and it should solve your problem. It worked for me with the same problem.
*** Bug 21552 has been marked as a duplicate of this bug. ***
*** Bug 23226 has been marked as a duplicate of this bug. ***
Re-emerging gawk solved the problem for me, too. What's the matter with it?
Here too. >>> Regenerating /etc/ld.so.cache... >>> sys-apps/baselayout-1.8.6.8-r1 merged. sys-apps/baselayout selected: 1.8.5.9 protected: 1.7.8-r1 1.8.6.8-r1 omitted: none This was the type of emerge i was doing. I got the same error. re emerged gawk and then baselayout was reinstalled. What i'm wondering though, is why there are two versions of baselayout installed.
Same bug here. This package just got moved to Stable, along with a largish number of other packages. Should this have been unmasked with this bug still unaddressed in the ebuild? I don't use ~x86 - only certain apps do I go for unstable. Thanks!
(FYI: The fix of re-emerging the current gawk worked to solve the bug.)
Re-emerge-ing works for me as well
The way the ebuild stands now, it says 'if awk.h exists, and filefuncs.so is not a symlink' then whine and die. Perhaps the whine should just be modified to 'please remerge gawk', because the ebuild itself should be able to specify a versioned requirement in its [R]DEPENDS... and it seems somewhat silly for an ebuild to complain about something being too old-- that case should be handled automaticly.
It does depend on gawk-3.1.1-r2 which have the module.
Found the same error. Reemerged gawk (without deleting anything etc). Works now. :-/
Just another comment to confirm that I found this bug as well. emerge -u baselayout failed complaining about gawk being too old, despite the fact that gawk was the latest version. I remerged gawk and then the upgrade of baselayout completed successfully.
This could be solved by having baselayout-1.8.6.8-r1 depend on a revision-bumped identical version of gawk, if things are as I heard. Apparently two different incarnations of gawk w/ the same revision number are out in the wild, and for the people with the broken 'version', a re-merge gives them the fixed 'version'. Azarah, can you confirm/deny?
This should be fixed now.