Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25198 - Samba-3.0.0beta3-r1 fails to build if USE="python"
Summary: Samba-3.0.0beta3-r1 fails to build if USE="python"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-24 12:56 UTC by Tom Dickson
Modified: 2003-07-26 17:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Dickson 2003-07-24 12:56:53 UTC
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"
Comment 1 Donny Davies (RETIRED) gentoo-dev 2003-07-26 17:28:18 UTC
ok -- well its a beta ebuild.  its masked in package mask.

hopefully it'll work for you next beta.