Summary: | media-video/mpv-0.20.0 : /.../libavformat.so: undefined reference to `smbc_lseek@SMBCLIENT_0.1.0' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Coacher <itumaykin+gentoo> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | media-video, proxy-maint, samba |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-history.txt
environment media-video:mpv-0.20.0:20161020-074428.log |
Description
Toralf Förster
![]() Created attachment 450786 [details]
emerge-history.txt
Created attachment 450788 [details]
environment
Created attachment 450790 [details]
media-video:mpv-0.20.0:20161020-074428.log
Looks like 'client' USE is missing from samba. Please show `emerge -pqv samba`. (In reply to Coacher from comment #4) mr-fox / # emerge -pqv samba [ebuild U ] net-fs/samba-4.2.14 [3.6.25] USE="acl cups fam pam system-mitkrb5%* -addc% -addns -ads -aio* -avahi -client* -cluster -dmapi -gnutls% -iprint% -ldap -quota (-selinux) -syslog -systemd% {-test%} -winbind* (-caps%) (-debug%) (-doc%) (-examples%) (-ldb%) (-netapi%*) (-readline%*) (-server%*) (-smbclient%*) (-smbsharemodes%) (-swat%)" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7%*" mr-fox / # exit exit Indeed. I need to test a bit more locally. I'll fix it later today. This problem isn't reproducible with samba-4 even built with USE='-*' as libsmbclient is always there, but samba-3 has smbclient USE to install libsmbclient. This problem is unusual since one has to explicitly install samba-3. Well, 3 different packages failed with nearly identical failures - so I'll stop that image for now. *** Bug 597636 has been marked as a duplicate of this bug. *** Wed Oct 19 01:03:02 2016 >>> net-fs/samba-3.6.25 (In reply to Toralf Förster from comment #5) Could you please also show the last couple of lines of 'emerge --info samba' output where it says about USE flags. 'emerge -pqv' output is annoyingly hard to read in this case. (In reply to Coacher from comment #11) ofc, although comment #0 together with the profile should give the same info, or ? : ================================================================= Package Settings ================================================================= net-fs/samba-3.6.25::gentoo was built with the following: USE="acl aio client cups fam netapi pam readline server smbclient winbind -addns -ads -avahi -caps -cluster -debug -dmapi -doc -examples -ldap -ldb -quota (-selinux) -smbsharemodes -swat -syslog" ABI_X86="32 64 -x32" Since this is not the first time that random packages fail due to problems in ffmpeg/libav, maybe it's time to add -Wl,-z,defs to that package? (In reply to Toralf Förster from comment #0) I cannot reproduce this problem exactly. If I install samba-3 with USE='-* smbclient' or samba-4 with USE='-*', then build passes fine. If I install samba-3 with USE='-smbclient', then mpv build dies during configuration, not linking. I agree that samba dep should include '[smbclient(+)]', but it seems your problem comes from a broken ffmpeg/libav, not mpv itself. Can you please confirm that your ffmpeg/libav doesn't have linking problems wrt samba? (In reply to Coacher from comment #14) it is ffmpeg-3 FWIW : ================================================================= Package Settings ================================================================= media-video/ffmpeg-3.1.4::gentoo was built with the following: USE="X alsa bzip2 encode fontconfig gpl hardcoded-tables iconv mp3 network pic postproc samba theora threads truetype v4l vaapi vorbis vpx x264 xcb xvid zlib (-altivec) -amr -amrenc (-armv5te) (-armv6) (-armv6t2) (-armvfp) -bluray -bs2b -cdio -celt -chromaprint -cpudetection -debug -doc -ebur128 -faac -fdk -flite -frei0r -fribidi -gcrypt -gme -gmp -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libass -libcaca -libilbc -librtmp -libsoxr -libv4l -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug (-neon) -nvenc -openal -opengl -openh264 -openssl -opus -oss -pulseaudio -rubberband -schroedinger -sdl -snappy -speex -ssh -static-libs -test -twolame -vdpau -wavpack -webp -x265 -zimg -zvbi" ABI_X86="32 64 -x32" CPU_FLAGS_X86="aes avx mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -avx2 -fma3 -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" How can I "Can you please confirm" ? Ok, I've managed to reproduce this. Steps to reproduce: - build ffmpeg[samba] against samba-4 (samba tested with USE='-* system-mitkrb5'); - downgrade to samba-3[smbclient] (samba tested with USE='-* smbclient'); - try to build mpv[samba]. The problem is that ffmpeg[samba] needs to be rebuild after samba downgrade. I guess libsmbclient SONAME should be different for different major samba versions. I don't know if it's ffmpeg's or samba's problem. But this is definitely not mpv's problem as mpv[samba] compiles fine after ffmpeg[samba] is rebuilt against samba-3[smbclient]. @media-video, @samba can anything be done about this ^^^ scenario? (In reply to Coacher from comment #16) > @media-video, @samba can anything be done about this ^^^ scenario? probably like glibc and almost every other lib: do not support downgrades since upstream only preserves forward abi indeed, "emerge -1 ffmpeg" helped at that image I've updated samba dep in all mpv ebuilds to be samba[smbclient(+)]. Nothing left to do here as it seems downgrading samba isn't supported. Closing as CANTFIX as this problem is due to samba not being nice with their libraries' SONAMEs. Thanks for the report. *** Bug 597638 has been marked as a duplicate of this bug. *** |