Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69034 - Samba fails to upgrade to 3.0.7-r1, dosen't like -s being passed...
Summary: Samba fails to upgrade to 3.0.7-r1, dosen't like -s being passed...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 64704 70726 70876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-26 09:27 UTC by Lunis Neko
Modified: 2004-11-13 02:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New patch to compile samba (samba-3.0.x-python-setup.patch.new,994 bytes, patch)
2004-11-12 07:27 UTC, Miroslaw Mieszczak
Details | Diff
patch output file (samba-3.0.x-python-setup.patch-18405.out,2.76 KB, text/plain)
2004-11-12 07:47 UTC, Andrej Kacian (RETIRED)
Details
Corrected samba-3.0.x-python-setup.patch (samba-3.0.x-python-setup.patch.new,1.07 KB, patch)
2004-11-13 00:40 UTC, Miroslaw Mieszczak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lunis Neko 2004-10-26 09:27:27 UTC
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"
Comment 1 Michael Glauche (RETIRED) gentoo-dev 2004-10-29 02:52:24 UTC
can you have a look at bug #68859, did you upgrade python lately ?
Comment 2 Michael Glauche (RETIRED) gentoo-dev 2004-11-11 05:08:53 UTC
*** Bug 64704 has been marked as a duplicate of this bug. ***
Comment 3 Michael Glauche (RETIRED) gentoo-dev 2004-11-11 05:11:42 UTC
*** Bug 70726 has been marked as a duplicate of this bug. ***
Comment 4 Michael Glauche (RETIRED) gentoo-dev 2004-11-11 05:12:17 UTC
did you try to run /usr/sbin/python-updater before emerging samba ?
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2004-11-12 07:16:30 UTC
Yes, I did. It only reemerged dev-db/metakit, and this problem remains.
Comment 6 Miroslaw Mieszczak 2004-11-12 07:27:49 UTC
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.
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2004-11-12 07:46:35 UTC
>>> 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...
Comment 8 Andrej Kacian (RETIRED) gentoo-dev 2004-11-12 07:47:15 UTC
Created attachment 43785 [details]
patch output file
Comment 9 Miroslaw Mieszczak 2004-11-13 00:40:15 UTC
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.
Comment 10 Christian Andreetta (RETIRED) gentoo-dev 2004-11-13 02:08:10 UTC
*** Bug 70876 has been marked as a duplicate of this bug. ***
Comment 11 Christian Andreetta (RETIRED) gentoo-dev 2004-11-13 02:39:50 UTC
tested: in cvs. Good work :-)