emerging samba-3.0.13 hangs while checking for ifconf ps shows that the process goes to sleep and never returns Reproducible: Always Steps to Reproduce: 1.emerge samba 2. 3. Actual Results: The emerge stops cold when it tries to check ifconf The config.log in the samba working directory under /var/tmp/portage shows this | #define HAVE_KERNEL_OPLOCKS_LINUX 1 | #define HAVE_KERNEL_CHANGE_NOTIFY 1 | #define HAVE_KERNEL_SHARE_MODES 1 | #define HAVE_FTRUNCATE_EXTEND 1 | #define REPLACE_GETPASS 1 | #define HAVE_SECURE_MKSTEMP 1 | #define SYSCONF_SC_NGROUPS_MAX 1 | #define HAVE_ROOT 1 | /* end confdefs.h. */ | | #define HAVE_IFACE_AIX 1 | #define AUTOCONF_TEST 1 | #include "confdefs.h" | #include "./lib/interfaces.c" configure:26840: result: no configure:26851: checking for iface ifconf configure:26873: i686-pc-linux-gnu-gcc -o conftest -march=pentium-m -O2 -pipe -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -L/usr/lib -Wl,-z,now -Wl,-rpath,/usr/lib -L/usr/lib32 conftest.c -lresolv -lnsl -ldl >&5 configure:26876: $? = 0 configure:26878: ./conftest Expected Results: emerge successfully emerge info: Gentoo Base System version 5.6.10 Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.12-rc1 i686) ================================================================= System uname: 2.6.12-rc1 i686 Intel(R) Pentium(R) M processor 1500MHz Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 4 2005, 11:11:02)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium-m -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium-m -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/Linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/ http://mirror.tucdemonic.org/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages/pentium-m" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X a52 acpi alsa atlas avi bash-completion berkdb bitmap-fonts blas bonobo cdda cddb cdf cdio cdparanoia cdr cdrom chroot clisp cmucl crypt cscope cups curl dba divx4linux dnd dts dv dvd dvdr dvdread edl eds emboss encode evms2 evo exif f2c faac faad fam ffmpeg fftw flac font-server foomaticdb fortran freetype gcj gd gdbm gif gimp gimpprint ginac gnome gnomedb gnuplot gphoto2 gpm gps gsl gstreamer gtk gtk2 gtkhtml guile hal hbci hdf hdf5 ieee1394 imagemagick imlib inkjar irda jack jack-tmpfs java javascript jikes joystick jp2 jpeg junit kerberos lapack latex lcd ldap libg++ libwww lirc mad makecheck matroska mikmod mime mmx mmx2 mng motif mozsvg mp3 mpeg mpeg4 mpi mplayer multicall mysql mythtv ncurses netcdf nls nptl nvidia nviz offensive ofx ogg oggvorbis openal opengl openssh pam pcmcia pcre pda pdf pdflib perl pic plotutils plugin png pnp posix ppds pthreads python qt quicktime readline real rtc samba scanner sdl shared sharedmem skey slang spell sse sse2 ssl stencil-buffer stream stroke svg svga tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1 type1-fonts usb v4l v4l2 vcd vlm vnc vorbis wifi wmf wxwindows xine xml xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Works fine for me on my 2 servers.
you're living a bit on the edge (~x86): libtools, binutils, kernel headers, kernel ver are not the stable ones for your arch. I think this may be an 'invalid' bug, since the primary cause doesn't seem samba itself.
Latest version of libconf-0.39.13 fixed this problem. After emerging this, samba compiled happily. You're right, it isn't a samba problem
good :-)
Neither libconf 0.39.18 or 0.39.13 make this work for me.
(In reply to comment #5) > Neither libconf 0.39.18 or 0.39.13 make this work for me. > I upgraded to gcc 3.4.4 (cuz somebody said my dri would work then) and I first run an emerge -e system and it didnt stop on anything, but the second run hangs on samba :S