Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70925 - samba 3.0.8 + kdebase 3.3.1 = no kio_smb
Summary: samba 3.0.8 + kdebase 3.3.1 = no kio_smb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 72475 (view as bug list)
Depends on:
Blocks: 71515
  Show dependency tree
 
Reported: 2004-11-12 00:07 UTC by Marek Zebrowski
Modified: 2004-12-26 04:27 UTC (History)
7 users (show)

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 Marek Zebrowski 2004-11-12 00:07:17 UTC
After upgrading samba to version 3.0.8  kdebase 3.3.1 cannot use libsmbclient.so 

Reproducible: Always
Steps to Reproduce:
1. emerge samba (3.0.8)
2. USE="samba" emerge kdebase 


Actual Results:  
kdebase ./configure complains about libsmbclient usability and disables build 
of kio_smb 

Expected Results:  
kio_smb build and installed as ususal 

in configuration phase: 
 
You're missing libsmbclient from samba 3.0 
KDE will not be able to browse windows shares without it, 
consider installing it. 
Look at kioslave/smb/libsmbclient-HOWTO.txt 
 
closer look to configure.log shows: 
configure:48003: i686-pc-linux-gnu-gcc -o conftest -ansi -W -Wall 
-Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -D_X 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libsmbclient.so: undefined 
reference to `secrets_fetch_machine_password' 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libsmbclient.so: undefined 
reference to `secrets_fetch' 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libsmbclient.so: undefined 
reference to `secrets_delete' 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libsmbclient.so: undefined 
reference to `secrets_store' 
 
but all these symbols are present in libsmbclient.a 
 
my emerge info: 
 
Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041102-r0, 
2.6.9-gentoo-r1 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.50GHz 
Gentoo Base System version 1.6.6 
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium-m -O3 -pipe -ffast-math " 
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="-march=pentium-m -O3 -pipe -ffast-math " 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distlocks keepwork sandbox" 
GENTOO_MIRRORS="http://gentoo.osuosl.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j1" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X acpi acpi4linux alsa apache2 ared aredmem arts avi bitmap-fonts cap 
caps cdr cdrom codecs crypt cups divx4linux dv dvd dvdread encode erandom 
ethereal exif ext-png ext-zlib f77 faac faad fam ffmpeg fftw flac foomaticdb 
fortran ftp gif gimp gphoto2 iconv ieee1394 imagemagick imap imlib imlib2ipv6 
jack java jp2 jpeg jpeg2k kadu-modules kadu-voice kde kerberos ldap libg++ 
libwww live mad maildir matroska mmx mmx2 mng monkey motif mozilla 
moznocompose moznoirc mozp3p mozsvg mpeg mplayer msdav music network nis nls 
noantlr nobcel nobeanutils nocommonslogging nocommonsnet nojsch nojython 
nolog4j nooro noregexp norhino nosm noxalan noxerces nptl ntlm odbc offensive 
oggvorbis ooo-kde opengl operanom2 pam pcmcia pda pdflib png posix ppds psyco 
python qt quicktime radeon readline rtc samba sdl slang spell sse sse2 ssl svg 
theora tidy transcode truetype unicode usagi usb wifi x86 xine xml2xmms xv 
xvid xvmc zlib"
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2004-11-12 01:40:11 UTC
This problem is not related to kde but to samba.

I think that the samba's people can help you better than us.
Comment 2 Stefano 2004-11-12 06:07:22 UTC
Confirm the bug. The KDE control center samba component is also obviously broken by this (claims "/usr/lib/kde3/libkcm_kcmsambaconf.so" to be missing, but the file is there). This looks like something broken also in the KDE side of things to me.
Comment 3 Simone Gotti (RETIRED) gentoo-dev 2004-11-12 06:13:59 UTC
Probably the cause is a missing symbol on the samba side, that will crash any already linked application/library to it, have you also updated the samba version right?.
Comment 4 Stefano 2004-11-12 06:16:30 UTC
Yes, in fact the bug happened after I updated samba to 3.0.8, not KDE. I just tried to re-emerge kdenetwork just to see if maybe relinking the libraries fixed the problem or gave some meaningful error message during the compile, but it didn't: compiled just fine, then gave the same results.
Comment 5 Simone Gotti (RETIRED) gentoo-dev 2004-11-12 06:21:48 UTC
So I confirm that this is a samba issue and not a kde one.
Comment 6 Christian Andreetta (RETIRED) gentoo-dev 2004-11-13 01:52:11 UTC
soon (next week) samba-3.0.9 should be out.
If it doesn't resolve, we'll look further into this...
Comment 7 Stefano 2004-11-13 04:53:45 UTC
BTW: same error breaks other ebuilds which make use of that component:
/usr/lib/libsmbclient.so: undefined reference to `secrets_fetch_machine_password'
/usr/lib/libsmbclient.so: undefined reference to `secrets_fetch'
/usr/lib/libsmbclient.so: undefined reference to `secrets_delete'
/usr/lib/libsmbclient.so: undefined reference to `secrets_store'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

!!! ERROR: media-video/mplayer-1.0_pre4-r7 failed

Comment 8 Stefano 2004-11-18 07:36:34 UTC
Samba 3.0.8-r1 does not fix this.
Comment 9 Stefano 2004-11-20 12:08:56 UTC
Emerged Samba 3.0.9, it fixes kio_smb, but not the KDE control center samba component which still claims "/usr/lib/kde3/libkcm_kcmsambaconf.so" to be missing... (maybe a re-emerge could fix it ?) 

As per the other ebuilds I've tested which use samba (e.g. mplayer), they seem to work fine now.
Comment 10 Jeroen Doumen 2004-11-25 06:53:09 UTC
I can confirm that mplayer now works fine for me (with samba 3.0.9) (bug 71515)
Comment 11 Peter Ruskin 2004-11-25 07:18:56 UTC
Regarding Comment #2: Control Centre is looking for /usr/lib/kde3/libkcm_kcmsambaconf.so which does NOT exist.  That file is installed to /usr/kde/3.3/lib/kde3/.  You can fix this by doing:

ln -s /usr/kde/3.3/lib/kde3/libkcm_kcmsambaconf.so \
      /usr/lib/kde3/libkcm_kcmsambaconf.so
Comment 12 Simone Gotti (RETIRED) gentoo-dev 2004-11-25 08:37:01 UTC
This is strange. looks like you mixed the new kcmsambaconfig present in kdenetwork with the old net-misc/ksambaplugin
Comment 13 Stefano 2004-11-25 08:56:58 UTC
At some point in the past I did unmerge ksambaplugin in order to merge the new kdenetwork. But it has broken nothing at that time, so it is a bit strange that it breaks now, isn't it ? ;)
Comment 14 P. Allen Trevethan, Jr. 2004-11-25 10:20:10 UTC
I noticed that when I remove Kerberos support for Samba 3.0.8, the bug goes away for me... FWIW...
Comment 15 basic 2004-11-29 01:51:17 UTC
I'm seeing this in gnome-vfs as well, The problem is that libsmbclient depends on some additionaly libs when Kerberos is turned on for samba. Not sure how to fix this one, maybe force libsmbclient to be static only?
Comment 16 basic 2004-11-29 02:53:04 UTC
disregard what I posted, 3.0.9 doesn't have this issue.
Comment 17 Doug Goldstein (RETIRED) gentoo-dev 2004-12-25 20:45:43 UTC
So fixed with 3.0.9 or still an issue? Looks fixed...
Comment 18 Doug Goldstein (RETIRED) gentoo-dev 2004-12-25 20:46:01 UTC
*** Bug 72475 has been marked as a duplicate of this bug. ***
Comment 19 Stefano 2004-12-26 03:20:50 UTC
Samba 3.0.9-r1 fixes the kio_smb problem as reported, NOT the one with KDE control center (not for me, at least - it still claims "/usr/lib/kde3/libkcm_kcmsambaconf.so" to be missing... I have just a .la file instead). I'd change the priority of this to "normal" since it doesn't block ebuilds or access to critical functions any more, though.
Comment 20 Simone Gotti (RETIRED) gentoo-dev 2004-12-26 03:57:38 UTC
This other problem is probably unrelated to the samba's one. 
You probably had the old version of kcm_samba (not the one provided with kdenetwork), then a fix_libtool_files.sh changed it's mtime/md5 so on removal the .la wasn't removed and now the kde control center finds it before the right one under /usr/kde/3.3/lib/kde3.

So you should remove /usr/lib/kde3/libkcm_kcmsambaconf.la, and try again.

See bug #71265 for more infos.

I'm closing it. If you cannot fix this issue please open a new bug report.
Comment 21 Stefano 2004-12-26 04:27:45 UTC
Confirmed that your solution works out also the other problem, thx :)