Existing installations of media-tv/xbmc-9.11-r3 fail to launch after emerge of net-fs/samba-3.4.6 with the message: /usr/share/xbmc/xbmc.bin: symbol lookup error: /usr/share/xbmc/xbmc.bin: undefined symbol: smbc_init Remerging media-tv/xbmc-9.11-r3 and media-tv/xbmc-9.11-r4 fail, the latter with the attached log. Thus far I've tried remerging samba, confirming the correct use flags for samba (client and smbclient, unless there's something unexpected), remerging xbmc, confirming that the CIFS option is compiled into the kernel, and revdep-rebuilding, which found no broken packages. Incidentally, I also tried masking >net-fs/samba-3.0.37, then backing down to that version, which solved the problem. There are two things that should probably occur: 1. media-tv/xbmc-9.11-r4 (and -r3, too) should require a version of net-fs/samba less than 3.4.6. 2. Whatever the conflict is should be resolved. I haven't had time to check it out, but I imagine it will take me substantially more time to do so than someone who knows either or both of these packages well :). I don't know of any workarounds for this. Reproducible: Always Steps to Reproduce: 1. update net-fs/samba to 3.4.6 2. emerge media-tv/xbmc-9.11-r4 3. emerge fails.
Created attachment 232897 [details] xbmc emerge log
no problem over here using the svn version of xbmc. maybe an issue upstream?
run `readelf -s /usr/lib/libsmbclient.so` and post the output as an attachment
although most likely, your it's your hardened profile screwing things up. you need to post `emerge --info` as well.
Created attachment 240801 [details] emerge --info
(In reply to comment #5) > Created an attachment (id=240801) [details] > emerge --info > I'm also getting this exact same error, without a hardened profile. I removed mount-cifs recently to replace it with the newer samba, would that possibly be related? I have the most recent stable samba now. [3.4.6] My [emerge xbmc] and [emerge --info] are attached. (or at least I'm trying to, sorry...)
Created attachment 240817 [details] emerge xbmc Big fat huge emerge of xbmc.
Created attachment 240819 [details] emerge --info This is my emerge --info.
Created attachment 240821 [details] readelf -s /usr/lib/libsmbclient.so output
Created attachment 240823 [details] readelf -s /usr/lib/libsmbclient.so
Incidentally, changing to the default profile ( [1] default/linux/x86/10.0 *) did not help - the emerge still fails because of samba. I am about to try remerging samba with this profile. I'll post later or tomorrow about the success of this.
your libsmbclient.so is broken. it lacks any smbc_* symbols. look at the build log for examples of all the symbols it should have had.
Thanks SpanKY. Mine was built by emerge of samba 3.4.6. Why would it be "broken" (and how to fix)? Think it would help to re-emerge? dune ~ # ls /usr/lib/libsmbclient.so* lrwxrwxrwx 1 root root 17 May 8 23:43 /usr/lib/libsmbclient.so -> libsmbclient.so.0 -rwxr-xr-x 1 root root 4929720 May 8 23:42 /usr/lib/libsmbclient.so.0 dune ~ # genlop -l |grep samba Sun Nov 9 14:36:11 2008 >>> net-fs/samba-3.0.32 Mon Nov 10 15:52:00 2008 >>> net-fs/samba-3.0.32 Sat Nov 29 20:33:45 2008 >>> net-fs/samba-3.0.33 Sun Aug 30 04:01:32 2009 >>> net-fs/samba-3.0.33 Mon Sep 28 23:30:36 2009 >>> net-fs/samba-3.0.36 Mon Nov 16 20:49:53 2009 >>> net-fs/samba-3.0.37 Sat May 8 23:43:05 2010 >>> net-fs/samba-3.4.6 dune ~ #
You appear to be correct. After rebuilding samba using the defaullt profile, xbmc compiles as expected.
please post a full build log as an attachment with a hardened profile and with the default profile
I guess this issue is related to the following: http://forums.gentoo.org/viewtopic-t-829049-start-0.html the smbc_* symbols are not exported for dynamic linking one solution is to update gcc (to >=4.4.3), another one is a patch provided at the previous link the patch solved the problem for me. kind regards Alain
Reopen if it still fail with newer gcc-4.4.4-r2