Samba USE flags: +acl +cups -debug +doc +kerberos +ldap +libclamav +mysql -oav +pam -postgres +python +quotas +readline (-selinux) +winbind -xml +xml2 ACCEPT_KEYWORDS=~x86 Reproducible: Always Steps to Reproduce: 1. emerge samba Actual Results: Ebuild fails with the following error: ... checking for attr_removef... no checking ability to build shared libraries... true checking linker flags for shared libraries... -shared -Wl,-Bsymbolic checking compiler flags for position-independent code... -fPIC checking whether building shared libraries actually works... gcc: ./tests/shlib.c: No such file or directory gcc: no input files no checking for long long... yes checking for LL suffix on long long integers... yes checking for 64 bit off_t... yes checking for off64_t... no checking for 64 bit ino_t... yes checking for ino64_t... no checking for dev64_t... no checking for struct dirent64... yes checking for major macro... yes checking for minor macro... yes checking for makedev macro... yes checking for unsigned char... no checking for sin_len in sock... no checking whether seekdir returns void... yes checking for __FUNCTION__ macro... yes checking if gettimeofday takes tz argument... yes checking for va_copy... yes checking for C99 vsnprintf... yes checking for broken readdir... no checking for utimbuf... yes checking for pututline... yes checking for pututxline... yes checking for updwtmp... yes checking for updwtmpx... yes checking for getutmpx... yes checking for ut_name in utmp... yes checking for ut_user in utmp... yes checking for ut_id in utmp... yes checking for ut_host in utmp... yes checking for ut_time in utmp... yes checking for ut_tv in utmp... yes checking for ut_type in utmp... yes checking for ut_pid in utmp... yes checking for ut_exit in utmp... yes checking for ut_addr in utmp... yes checking whether pututline returns pointer... yes checking for ut_syslen in utmpx... no checking for iconv in /usr/lib... yes checking can we convert from CP850 to UCS2-LE?... CP850 checking can we convert from ASCII to UCS2-LE?... ASCII checking can we convert from UTF-8 to UCS2-LE?... UTF-8 checking for Linux kernel oplocks... yes checking for kernel change notify support... yes checking for kernel share modes... yes checking for IRIX kernel oplock type definitions... no checking for irix specific capabilities... no checking for int16 typedef included by rpc/rpc.h... no checking for uint16 typedef included by rpc/rpc.h... no checking for int32 typedef included by rpc/rpc.h... no checking for uint32 typedef included by rpc/rpc.h... no checking for conflicting AUTH_ERROR define in rpc/rpc.h... no checking for test routines... configure: error: cant find test code. Aborting config !!! ERROR: net-fs/samba-3.0.9 failed. !!! Function econf, Line 447, Exitcode 1 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Samba should be compiled and installed. Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 i686) ================================================================= System uname: 2.6.9-gentoo-r9 i686 Intel(R) Celeron(TM) CPU 1100MHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.3-r1 [2.3.3 (#1, Jul 11 2004, 19:39:29)] dev-lang/python: 2.3.3-r1 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.14.90.0.8-r1 sys-devel/libtool: 1.5.2-r5 virtual/os-headers: 2.6.7-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse,387 -fstack-protector-all" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe -mmmx -msse -mfpmath=sse,387 -fstack-protector-all" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.du.se/pub/os/gentoo http://trumpetti.atm.tut.fi/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/ http://www.gigaload.org/gentoo.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="GAPING_SECURITY_HOLE X aalib acl activefilter alsa apache2 apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bluetooth caps cdparanoia crypt cups curl dhcp directfb divx4linux divxforlinux doc encode esd f77 fam fbcon flac foomaticdb fortran gdbm gif gnokii gnome gphoto2 gpm gstreamer gtk gtk2 guile hardened imlib irda jack java jpeg jpeg2k junit kde kerberos ldap libclamav libg++ libwww lirc mad mbox mikmod milter mmap mmx mmx2 motif mozilla mpeg mppe-mppc multicall mysql ncurses nls nptl ntlm oggvorbis opengl oss pam pda pdflib perl pic png portaudio povray python qt quicktime quotas readline reiserfs ruby samba sasl scanner sdl sftplogging slang slp sms socks5 speex spell sse ssl svga tcltk tcpd threads tiff truetype usb v4l v4l2 wifi winbind wmf x86 xine xinerama xml2 xmms xscreensaver xv zlib"
Samba compiled with the success after reemerge.
Seems all is ok. Seems trobles with the USE=kerberos and 'mc' package are fixed in this ebuild.
_very_ good news indeed :-)