If I don't have USE="-python" then Samba won't build. The error it dies on is: LIBS="-lcrypt -lresolv -lnsl -ldl -llber -lldap -lcrypto -lk5crypto -lcom_err -lresolv -lnsl -ldl -L/usr/lib -Wl,-rpath -Wl,/usr/lib -lkrb5 -lk5crypto -lcom_err -lkrb5 -lgssapi_krb5" \ python python/setup.py build Unknown entry '-Wl,-rpath' in $LIBS variable passed to setup.py make: *** [python_ext] Error 1 !!! ERROR: net-fs/samba-3.0.0_beta3-r1 failed. !!! Function src_compile, Line 144, Exitcode 2 !!! SAMBA pieces Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~x86" emerge -v samba 2. fails as shown above. Actual Results: It dies complaining about python. If I remove python from my USE line, it works. The USE that causes it to fail: USE="acl ldap kerberos -gnome -gtk -qt -kde -motif -opengl -avi -X -gtk2 -gpm -imlib -java -quicktime -svga -truetype -xv -xmms" If I use this USE line, it works (as it doesn't do python integration, I guess:) USE="-python acl ldap kerberos -gnome -gtk -qt -kde -motif -opengl -avi -X -gtk2 -gpm -imlib -java -quicktime -svga -truetype -xv -xmms" Expected Results: My guess is that the LIBS= line got corrupt somehow; I see multiple -lkrb5, for example. It should compile correctly (or perhaps not do the python extensions by default) . I have python-2.2.3, and this may be a Samba bug. Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r2 i686 VIA Samuel 2 GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.ibiblio. org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm arts crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls oggvorbis pdflib png sdl spell xml2 zlib alsa gdbm berkdb slang readline tetex aalib mysql tcpd pam libwww ssl perl python acl ldap kerberos -gnome -gtk -qt -kde -motif -opengl -avi -X -gtk2 -gpm -imlib -java -quicktime -svga -truetype -xv -xmms" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-march=i586 -m3dnow -mmmx -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=i586 -m3dnow -mmmx -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
ok -- well its a beta ebuild. its masked in package mask. hopefully it'll work for you next beta.