Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820 - 'emerge system' fails while installing net-tools
Summary: 'emerge system' fails while installing net-tools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Highest critical (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-23 06:12 UTC by Tim Haughton
Modified: 2003-02-04 19:42 UTC (History)
2 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 Tim Haughton 2002-02-23 06:12:44 UTC
I'm trying to install rc6 on an older machine. AMD K6-200 with 64 MB of RAM, a 
NE2000 compatible NIC.

The installation fails during 'emerge system' while installing net-tools:

Does you system suppot GNU gettext? (I18N) [n] *
*
*	Protocol families.
*
UNIX protocol family (HAVE_AFUNIX) [y] make[1]: *** [activate.o] Error 1
make[1]: Leaving directory 
'/var/temp/portage/net-tools-1.60-r1/work/net-tools-1.60/lib'
make: *** [subdirs] Error 2
make: *** Waiting for unfinished jobs...

The system hangs here.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-23 13:41:51 UTC
is this part of the "emerge system" process from a CD install?
Comment 2 Christian Loitsch 2002-02-27 11:20:07 UTC
it's a race condition.  I have the same problem on my MMX 130.
The problem is, that ./configure does not finish, because it is
started by emake.  As emake also starts the "real" compilation in
parallel...
An easy tested fix:  replace emake with make in the ebuild-script.
An easy untested fix: run emake after calling the configure script

I also found a bug in the net-tools package.  I found this bug
because the config files have "stupid" values, when you try it a 
second time without removing the whole tree in /var/tmp/portage...
in /lib/interface.c uses 2 Macros in line 666 which should be inside
an #if and #endif.  If somebody could please notify the net-tools
programmers of this bug (after having verified, that this is really
a bug) (these 2 Macros are declared in net/if_arp.h which is only 
included if HAVE_HWSLIP is #declared)
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-02-27 17:44:13 UTC
OK, the compile portion of this bug should be fixed.  The second portion
(config?) bug hasn't been fixed and some additional info on how to fix would be
appreciated.
Comment 4 Christian Loitsch 2002-03-05 06:41:31 UTC
tested the make again, and answered no to HAVE_HWSLIP.
Don't know why, but did not fail. :)

On the other hand did fail if everything was answered no.
But as I have no idea if this is even considered as valid.
I _won't_ contact the net-tools programmers!

This bug may now be closed "safely" :)