Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77348 - sys-apps/net-tools-1.60-r10 stalls during emake for user input
Summary: sys-apps/net-tools-1.60-r10 stalls during emake for user input
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 87161 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-10 00:59 UTC by Michael Crawford (ali3nx)
Modified: 2005-03-30 00:47 UTC (History)
3 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 Michael Crawford (ali3nx) 2005-01-10 00:59:10 UTC
while updating to net-tools-1.60-r10 I noticed that the build had stalled for no apparent reason. Pressing enter dropped me into a shell configure menu distributed with net-tools. Possibly a new configure menu for user input. This menu when used by the user could remove or seriously impair net-tools funtionality if the user were to remove features from net-tools without full awareness of the features.

Reproducible: Always
Steps to Reproduce:
1. emerge =net-tools-1.60-r10
2. observe the compile halt after reaching the internationalization stage of emake
3. pressing the enter key will release emake allowing the user to configure net tools

Actual Results:  
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o ifconfig.o ifconfig.c
make[1]: Entering directory
`/var/tmp/portage/net-tools-1.60-r10/work/net-tools-1.60/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/net-tools-1.60-r10/work/net-tools-1.60/lib'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o hostname.o hostname.c
make[1]: Entering directory
`/var/tmp/portage/net-tools-1.60-r10/work/net-tools-1.60/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/net-tools-1.60-r10/work/net-tools-1.60/man'
make[1]: Entering directory
`/var/tmp/portage/net-tools-1.60-r10/work/net-tools-1.60/lib'
Building libnet-tools.a
*
*
*              Internationalization
*
* The net-tools package has currently been translated to French,
* German and Brazilian Portugese.  Other translations are, of
* course, welcome.  Answer `n' here if you have no support for
* internationalization on your system.
*
Does your system support GNU gettext? (I18N) [n] make[1]: Leaving directory
`/var/tmp/portage/net-tools-1.60-r10/work/net-tools-1.60/lib'
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o arp.o arp.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o netstat.o netstat.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o statistics.o statistics.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o route.o route.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o rarp.o rarp.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o slattach.o slattach.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o plipconfig.o plipconfig.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o nameif.o nameif.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o iptunnel.o iptunnel.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o ipmaddr.o ipmaddr.c
i686-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon-tbird -O2 -pipe  -I.
-idirafter ./include/ -Ilib   -c -o mii-tool.o mii-tool.c
i686-pc-linux-gnu-gcc -march=athlon-tbird -O2 -pipe -Llib -o hostname hostname.o
i686-pc-linux-gnu-gcc -march=athlon-tbird -O2 -pipe -Llib -o nameif nameif.o
i686-pc-linux-gnu-gcc -march=athlon-tbird -O2 -pipe -Llib -o mii-tool mii-tool.o

*
*
*             Protocol Families.
*
UNIX protocol family (HAVE_AFUNIX) [y] Caught signal 2 in pid 9592
make: *** Deleting file `config.h'
make: *** [config.h] Interrupt

/usr/portage/sys-apps/net-tools/net-tools-1.60-r10.ebuild: src_compile aborted;
exiting.


Expected Results:  
emake should process the configuration of net-tools without user intervention to
prevent possible misconfiguration of net-tools

Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-mm1 i686)
=================================================================
System uname: 2.6.10-mm1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 23 2004, 20:43:12)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo
http://gentoo.seren.com/gentoo http://gentoo.mirrors.pair.com/"
LDFLAGS=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowex S3TC X X509 aac aalib acl acpi activefilter adns
aim alsa amd ansi apache1 aper apm arts artworkextra audiofile authdaemond
avantgo avi bash-completion bcmath bdf berkdb bidi bitmap-fonts blender-game
bluetooth bonobo bzip2 bzlib cap cddb cdinstall cdparanoia cdr cdrom cgi chroot
cjk clanJavaScript clanVoice client cluster codecs cpdflib crypt css ctype cups
curl curlwrappers dba dhcp dio directfb divx4linux djbfft dnd droproot dts dv
dvb dvd dvdr dvdread edl eds eep emacs emacs-w3 encode erandom esd evo exif
ext-png ext-zlib extensions fam fastcgi fbcon ffmpeg flac fluidsynth fmod
foomaticdb foreign-package foreign-sysvinit fortran fpx freetds freetype freewnn
ftp gb gcj gcl gd gdbm geoip ggi gif gimp gimpprint ginac glade glgd glitz glut
gmp gmtfull gnokii gnome gnomedb gnuplot gphoto2 gpm graphviz gs gsl gstreamer
gtk gtk2 gtkhtml guile hal hardenedphp hbci hdf iconv icq ide idl ieee1394 image
imagemagick imap imlib imlib2 innodb ipv6 irda irmc j2ee jabber jack java
javacomm javadoc javamail javascript jbig jboss jce jms jmx joystick jp2 jpeg
jpeg2k jta junit jython kadu-modules kadu-voice kakasi kde kerberos krb4 latex
lcms ldap leim libclamav libdsk libgd libgda libsamplerate libwww live lua
lufsusermount lzo lzw lzw-tiff m17n-lib mad maildir matroska mbox mcal mdb
memlimit migemo mikmod mime mixer mjpeg mls mmap mmx mng monkey motif
mozcalendar mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mpi
mplayer msn mssql mule music mysql mythtv nagios-dns nagios-ntp nagios-ping
nagios-ssh nas native ncurses net netcdf network neural nis nls nowin nptl
nptlonly ntlm nvidia nviz oav objc ocaml odbc offensive ofx oggvorbis openal
opengl opie oracle oscar ospfapi oss pam parse-clocks pcap pcntl pcre pda pdf
pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php physfs pic plotutils png
portaudio posix postgres postgresql povray ppds pri print procmail pthreads
python qt quicktime quotas quotes readline real resperl rhino rogue rplay ruby
samba sasl scanner sdl servlet-2.3 servlet-2.4 session sftplogging shared
sharedmem silc simplexml skk slang slp smime sndfile snmp snortsam sockets
socks5 softquota sox speex spell spl ssl stencil-buffer stroke struts svg svga
sysvipc szip t1lib tcltk tcpd tcsim tetex tga theora tidy tiff transcode
truetype truetype-fonts type1-fonts uim underscores unicode usb v4l v4l2 vcd vda
vhosts videos virus-scan wddx winbind wmf wxwindows xanim xatrix xchatdccserver
xchattext xemacs xface xgetdefault xine xml xml2 xmlrpc xmms xosd xpm xprint
xrandr xscreensaver xsl xv xvid xvmc yahoo yaz yp yv12 zaptel zeo zlib zvbi"
Comment 1 merwan kashouty 2005-01-10 07:54:50 UTC
yeah i second that... not to mention its just irritating
Comment 2 SpanKY gentoo-dev 2005-01-10 09:00:45 UTC
no, that's not how fdopen() works

the problem is that the parameter to fdopen is still wrong, it should be sfd

fixed in 0.2-r6
Comment 3 SpanKY gentoo-dev 2005-01-10 09:09:04 UTC
err, that should have gone to Bug 77367
Comment 4 SpanKY gentoo-dev 2005-01-10 10:31:54 UTC
net-tools now patches out config.h from the Makefile instead of screwing with timestamps ... this way we know the configure script will never run and we dont have to rely on the user's broken system 
Comment 5 Mihai Limbasan 2005-01-12 22:25:43 UTC
Dupe of http://bugs.gentoo.org/show_bug.cgi?id=74082
Not fixed.
Comment 6 SpanKY gentoo-dev 2005-01-12 22:41:43 UTC
this isnt a dupe of 74082, these bugs are completely unrelated
Comment 7 SpanKY gentoo-dev 2005-03-29 15:12:02 UTC
*** Bug 87161 has been marked as a duplicate of this bug. ***
Comment 8 wiktorw 2005-03-30 00:47:09 UTC
From my observation this is related to having
MAKEOPTS="-j2"
in /etc/make.conf file.

When one sets it to:
#MAKEOPTS="-j2"
or
MAKEOPTS="-j1"
the package should compile without problems.