First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 103447
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Kerberos Maintainers <kerberos@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Demme <me@teqdruid.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
proposed-fix.tgz Replacements for in /usr/portage/app-crypt/heimdal that should fix the krb5-config problems application/octet-stream Stefaan De Roeck 2005-09-17 16:19 0000 2.11 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 103447 depends on: Show dependency tree
Bug 103447 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-23 06:37 0000
emerge samba fails with:
LIBS="-Wl,-rpath,/usr/lib -lcrypt -lresolv -lnsl -ldl -lldap -llber   -L/usr/lib
 -L/usr/lib -lgssapi -lkrb5 -lasn1 -lcom_err -lcrypto -lroken -lcrypt -lresolv
-pthread -lldap -llber " \
        python python/setup.py build
Unknown entry '-pthread' in $LIBS variable passed to setup.py

Reproducible: Always
Steps to Reproduce:
1. USE="kerberos" emerge heimdal samba

Actual Results:  
PYTHON_CFLAGS="-I/usr/include/heimdal -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -m3dnow -msse -mmmx -I/usr/include/mysql -mcpu=i686 -pipe
-DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -I/usr/include/libxml2
-I/usr/include/heimdal -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE  -I/usr/include/heimdal -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -m3dnow -msse -mmmx -I/usr/include/mysql -mcpu=i686 -pipe
-DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -I/usr/include/libxml2  -Iinclude
-I/var/tmp/portage/samba-3.0.14a-r2/work/samba-3.0.14a/source/include
-I/var/tmp/portage/samba-3.0.14a-r2/work/samba-3.0.14a/source/ubiqx
-I/var/tmp/portage/samba-3.0.14a-r2/work/samba-3.0.14a/source/smbwrapper  -I.
-I/usr/include/heimdal -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -I/var/tmp/portage/samba-3.0.14a-r2/work/samba-3.0.14a/source   " \
LIBS="-Wl,-rpath,/usr/lib -lcrypt -lresolv -lnsl -ldl -lldap -llber   -L/usr/lib
 -L/usr/lib -lgssapi -lkrb5 -lasn1 -lcom_err -lcrypto -lroken -lcrypt -lresolv
-pthread -lldap -llber " \
        python python/setup.py build
Unknown entry '-pthread' in $LIBS variable passed to setup.py
make: *** [python_ext] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-fs/samba-3.0.14a-r2 failed.
!!! Function src_compile, Line 118, Exitcode 2
!!! SAMBA make everything error
!!! If you need support, post the topmost build error, NOT this status message. 


See workaround at specified URL.


speedo portage # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-gentoo-r6CADCode i686)
=================================================================
System uname: 2.6.12-gentoo-r6CADCode i686 AMD Athlon(tm) XP
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -m3dnow -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi aim alsa apache2 apm arts asterisk avi bash-completion
berkdb bitmap-fonts bri bzip2 caps cpdflib crypt cups dbus dio eds emacs emboss
encode esd ethereal fam florz foomaticdb fortran gdbm geoip ggi gif gmp gnome
gpm gstreamer gtk gtk2 hal imagemagick imap imlib iodbc ipv6 ithreads jabber
java javascript jikes jpeg kde kerberos ldap libg++ libgda libwww lm_sensors mad
maildir memlimit mikmod mime mmap mmx mng motif mp3 mpeg mysql nas ncurses
netboot nls ogg oggvorbis opengl oss pam pcntl pcre pdflib perl php png posix
postgres postgresql pri python qt quicktime readline resperl rtc samba sasl sdl
slang snmp soap sockets socks5 sox speex spell sse ssl svg tcpd theora threads
tiff truetype truetype-fonts type1-fonts unicode usb vorbis wddx wmf x86 xml2
xmlrpc xmms xsl xtruetype xv zaptel zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #1 From Christian Andreetta (RETIRED) 2005-08-24 01:56:44 0000 -------
from what I'm seeing in the second line of your post, the "LIBS" variable is
syntactically correct, _beside_ the '-pthread' that should be '-lpthread'.
Infact, the python function returning this error checks only syntax. I think the
problem lies in the heimdal configuration, as per chtephan's comment in the url
you reported [1].
This is an issue that can be raised beside samba (for every package you try to
link to, actually): assigning to heimdal maintainers.

[1] http://forums.gentoo.org/viewtopic-p-2670540.html

------- Comment #2 From Stefaan De Roeck 2005-09-17 16:19:31 0000 -------
Created an attachment (id=68693) [edit]
Replacements for in /usr/portage/app-crypt/heimdal that should fix the
krb5-config problems

Could you please try this fix? It's a bit trivial, but nevertheless, better
check if it's effective before releasing the fix. 
Just unpack in /usr/portage/app-crypt/heimdal and install heimdal-0.7.1.  I
think you can try this fix with a different version of heimdal as well (if you
prefer), but let me know which version, ok?

------- Comment #3 From John Demme 2005-09-17 21:39:39 0000 -------
I extracted and ran your proposed fix on top of heimdal 0.7.1.  After emerging
it, I was able to emerge samba.  I should note, however, that I was able to
emerge samba previously by modifying krb5-config manually.  I think re-emerging
heimdal would have overwritten it, however, with the incorrect value.  So, looks
good.  Didn't seem to break anything at the least.

------- Comment #4 From Stefaan De Roeck 2005-09-18 07:20:51 0000 -------
Fixed in heimdal-0.7.1-r1

First Last Prev Next    No search results available      Search page      Enter new bug