When trying to update world, emerge dies at Samba 3.0.7-r1, telling me that it dosen't like -s being passed to setup.py. When poking around on google, I found what seems to be a patch, but I'm not nearly enough knowledgable about these things to know whether or not I'm just blowing steam... Here's the link to the patch I found. http://codex.sourcemage.org/test/net/samba/krb5config.patch Reproducible: Always Steps to Reproduce: 1.emerge -vuD world Actual Results: <long snip... original command sent was lost in the mists of time> b -lcrypt -lresolv -lnsl -ldl " \ python python/setup.py build Compiling utils/debug2html.c Unknown entry '-s' in $LIBS variable passed to setup.py make: *** [python_ext] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: net-fs/samba-3.0.7-r1 failed. !!! Function src_compile, Line 194, Exitcode 2 !!! SAMBA make everything error !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Obviously, a clean update. (root@sakura)*(11:16)*(/home/neko) -=>> emerge info Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8.1 i686) ================================================================= System uname: 2.6.8.1 i686 AMD Duron(tm) Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-tbird -pipe -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-tbird -pipe -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bitmap-fonts blade cdr crypt cups divx4linux dvd encode esd f77 flac foomaticdb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg kde lame libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls nntp nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd truetype x86 xinerama xml2 xmms xprint xv xvid zlib"
can you have a look at bug #68859, did you upgrade python lately ?
*** Bug 64704 has been marked as a duplicate of this bug. ***
*** Bug 70726 has been marked as a duplicate of this bug. ***
did you try to run /usr/sbin/python-updater before emerging samba ?
Yes, I did. It only reemerged dev-db/metakit, and this problem remains.
Created attachment 43783 [details, diff] New patch to compile samba There is corrected samba-3.0.x-python-detup.patch with corrected list of linker flags, that should fix the problem.
>>> Unpacking samba-3.0.8.tar.gz to /var/tmp/portage/samba-3.0.8/work * Applying samba-3.0.x-python-setup.patch ... * Failed Patch: samba-3.0.x-python-setup.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/samba-3.0.8/temp/samba-3.0.x-python-setup.patch-18405.out Attaching the .out file...
Created attachment 43785 [details] patch output file
Created attachment 43847 [details, diff] Corrected samba-3.0.x-python-setup.patch There is new patch file. I have tested it, and it works for me.
*** Bug 70876 has been marked as a duplicate of this bug. ***
tested: in cvs. Good work :-)