Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21663 - error emerging sys-apps/baselayout-1.8.6.8-r1 <= "gawk too old"
Summary: error emerging sys-apps/baselayout-1.8.6.8-r1 <= "gawk too old"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
: 21552 23226 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-25 06:21 UTC by Andreas Piening
Modified: 2003-10-26 14:05 UTC (History)
9 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Piening 2003-05-25 06:21:00 UTC
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
Comment 1 Roger Luethi 2003-05-25 07:55:34 UTC
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.
Comment 2 Andreas Piening 2003-05-25 09:32:10 UTC
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!
Comment 3 Ben Ricker 2003-06-16 07:26:29 UTC
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.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2003-06-18 19:06:44 UTC
Re-emerge gawk and it should solve your problem. It worked for me with the same 
problem. 
Comment 5 SpanKY gentoo-dev 2003-06-21 05:26:23 UTC
*** Bug 21552 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2003-06-21 05:26:27 UTC
*** Bug 23226 has been marked as a duplicate of this bug. ***
Comment 7 Sascha Silbe 2003-06-22 03:53:32 UTC
Re-emerging gawk solved the problem for me, too. What's the matter with it?

Comment 8 Derk-Jan Hartman 2003-06-22 14:46:17 UTC
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.

Comment 9 Jesse Adelman 2003-06-22 16:48:36 UTC
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!
Comment 10 Jesse Adelman 2003-06-22 18:22:09 UTC
(FYI: The fix of re-emerging the current gawk worked to solve the bug.)
Comment 11 Omkhar Arasaratnam 2003-06-23 11:05:50 UTC
Re-emerge-ing works for me as well
Comment 12 Paul Thompson 2003-06-24 12:34:58 UTC
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.
Comment 13 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-30 14:58:07 UTC
It does depend on gawk-3.1.1-r2 which have the module.
Comment 14 meyerm 2003-07-11 04:10:52 UTC
Found the same error. Reemerged gawk (without deleting anything etc). Works now. :-/ 
Comment 15 Kurt Lieber (RETIRED) gentoo-dev 2003-07-11 06:05:43 UTC
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.
Comment 16 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-14 22:13:28 UTC
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?
Comment 17 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-26 14:05:51 UTC
This should be fixed now.