Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160320 - media-plugins/live-2006.12.08 seems not working fine with VLC
Summary: media-plugins/live-2006.12.08 seems not working fine with VLC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 166419 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-05 13:50 UTC by Damien Gombault
Modified: 2007-02-11 22:56 UTC (History)
5 users (show)

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


Attachments
config.log (config.log,470.11 KB, text/plain)
2007-01-06 16:35 UTC, Vincent Le Ligeour
Details
config.log (config.log,424.46 KB, text/plain)
2007-01-09 08:36 UTC, Damien Gombault
Details
live compilation log (live_compilation.txt.gz,6.85 KB, application/octet-stream)
2007-01-09 15:22 UTC, Damien Gombault
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damien Gombault 2007-01-05 13:50:52 UTC
I've recently noticed I couldn't watch Freebox TV (French ADSL RTSP TV stream) since I upgraded VLC.

live-2006.12.08 seems not working fine with VLC (vlc-0.8.6-r1) :
   vlc -l | grep -i live
   VLC media player 0.8.6 Janus

I remerged vlc-0.8.6-r1 with live-2005.11.11 :
   vlc -l | grep -i live
   VLC media player 0.8.6 Janus
  live555               RTP/RTSP/SDP demuxer (using Live555)
  live555               Access/D
Comment 1 Damien Gombault 2007-01-05 13:50:52 UTC
I've recently noticed I couldn't watch Freebox TV (French ADSL RTSP TV stream) since I upgraded VLC.

live-2006.12.08 seems not working fine with VLC (vlc-0.8.6-r1) :
   vlc -l | grep -i live
   VLC media player 0.8.6 Janus

I remerged vlc-0.8.6-r1 with live-2005.11.11 :
   vlc -l | grep -i live
   VLC media player 0.8.6 Janus
  live555               RTP/RTSP/SDP demuxer (using Live555)
  live555               Access/Démultiplexeur RTSP/RTP

Live support is back and TV works :)
Comment 2 Vincent Le Ligeour 2007-01-06 16:35:06 UTC
Created attachment 105673 [details]
config.log

Same problem here.
Problem seems to be related to live (attached config.log part, take a look when live test are achieves (missing libs 8248 and undefined symbols 8432).
Comment 3 Alexis Ballier gentoo-dev 2007-01-08 20:43:13 UTC
That's weird, here I can watch freebox tv perfectly with live 2006.12.08 and vlc 0.8.6-r1. Can you still reproduce it ?  Can you please post the output of emerge --info ?

Vincent: imho you should follow http://www.gentoo.org/doc/en/gcc-upgrading.xml btw


Comment 4 Damien Gombault 2007-01-08 22:11:04 UTC
I will retry tomorrow to recompile VLC with live-2006.12.08. But I think that will change nothing.

Here is my emerge --info

Portage 2.1.2_rc4-r7 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19 x86_64)
=================================================================
System uname: 2.6.19 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.8
Last Sync: Mon, 08 Jan 2007 07:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pr          ef /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://pandemoniu          m.tiscali.de/pub/gentoo/"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --dele          te-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aiglx alsa amd64 apache2 bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt dbus           dlloader dri dvd dvdr eds emboss exif fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv isdn          log jpeg kde kdeenablefinal kdehiddenvisibility libg++ mad mp3 mpeg ncurses nls nptl nptlonly ogg pam pcre pdf perl           png ppds pppd python qt3 readline reflection session spell spl ssl svg symlink tcpd threads truetype truetype-fonts           type1-fonts udev unicode vorbis wxwindows xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy           dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate rou          te share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="fr" LIRC_DEVICES="devinpu          t" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Damien Gombault 2007-01-09 08:34:46 UTC
I have just emerged live-2006.12.08 then vlc-0.8.6-r1.

In the config.log file :
configure:37458: checking for main in -lliveMedia_pic
configure:37487: x86_64-pc-linux-gnu-g++ -o conftest -Wsign-compare -Wall -march=athlon64 -O2 -pipe -pipe  -DSYS_LINUX -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment  conftest.cpp -lliveMedia_pic   >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lliveMedia_pic
collect2: ld returned 1 exit status

And no live support :
vlc -l | grep -i live
VLC media player 0.8.6 Janus

Comment 6 Damien Gombault 2007-01-09 08:36:21 UTC
Created attachment 106163 [details]
config.log
Comment 7 Alexis Ballier gentoo-dev 2007-01-09 14:45:31 UTC
I get :

configure:37557: x86_64-pc-linux-gnu-g++ -o conftest -Wsign-compare -Wall -march=athlon64 -O2 -pipe -I /usr/include/directfb -pipe  -DSYS_LINUX -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -Wl,--as-needed conftest.cpp -lliveMedia   >&5
configure:37563: $? = 0
configure:37581: result: yes


and you get : 

configure:37557: x86_64-pc-linux-gnu-g++ -o conftest -Wsign-compare -Wall -march=athlon64 -O2 -pipe -pipe  -DSYS_LINUX -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment  conftest.cpp -lliveMedia   >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libliveMedia.so: undefined reference to `AddressPortLookupTable::Remove(unsigned int, unsigned int, Port)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libliveMedia.so: undefined reference to `HashTable::create(int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libliveMedia.so: undefined reference to `Groupsock::removeAllDestinations()'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libliveMedia.so: undefined reference to `Groupsock::changeDestinationParameters(in_addr const&, Port, int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libliveMedia.so: undefined reference to `NetAddress::operator=(NetAddress const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/libliveMedia.so: undefined reference to `Groupsock::~Groupsock()'
etc.



This is normal that -lliveMedia_pic is not found as the live ebuild install libliveMedia.so, that is the second check that should not fail.


Your liveMedia seems not properly linked, can you see any error while compiling it ? 


Comment 8 Damien Gombault 2007-01-09 15:22:06 UTC
Created attachment 106227 [details]
live compilation log

I attached the compilation log.

I think there is no problem during compilation. (no error, only some warning about deprecated headers)
Comment 9 Alexis Ballier gentoo-dev 2007-01-09 22:26:04 UTC
Well... live seems fine also, I'm starting to run out of ideas there.

Is your system consistent with revdep-rebuild ? It will probably not change anything, just trying :/


My system is almost the same as yours but you clearly have a problem that I can't see the cause.

The only differences I can see are that I'm using :
- as-needed, which should cause linking errors like this one but clearly not prevent them
- binutils 2.17.50.0.9 which is masked. I'd suggest you not trying this one.


@video: Can anyone else reproduce this ?
Comment 10 Damien Gombault 2007-01-11 06:10:28 UTC
It's not working with live-2007.01.09.

So, I keep live-2005.11.11 :)
Comment 11 Stanislovas Mickus 2007-01-12 12:58:19 UTC
Well, I had the same problem. So hear workaround for live + vlc.
Get new live tarball, then do
./genMakefiles linux
make
rm -rf /usr/lib/live ; cp -r live /usr/lib

It will copy libs to the same place as the live-2005-11-11 ebuild did.
So now vlc configure will be happy and will find live as:
checking for liveMedia/libliveMedia.a in /usr/lib/live... /usr/lib/live/liveMedia/libliveMedia.a

That's it.
Comment 12 Jean-Louis Thekekara 2007-01-15 14:52:06 UTC
Hi, i had the same problem too. But since I re-emerged vlc with the old live version (live-2005.11.11) and the command vlc -l | grep -i live returned back to normal, i had a new error:
$ vlc
VLC media player 0.8.6 Janus
[00000132] main interface error: no interface module matched "hotkeys,none"
[00000132] main interface error: no suitable interface module
[00000001] main private error: interface "hotkeys,none" initialization failed
[00000135] main interface error: no interface module matched "any"
[00000135] main interface error: no suitable interface module
[00000001] main private error: interface "(null)" initialization failed

Maybe there is a link with the older problem ?
Comment 13 Jean-Louis Thekekara 2007-01-19 21:08:59 UTC
(In reply to comment #10)
> It's not working with live-2007.01.09.
> 
> So, I keep live-2005.11.11 :)
> 

I test the last version of live (live-2007.01.17), and it's not working too with it. 
Comment 14 Jean-Louis Thekekara 2007-01-20 12:24:37 UTC
(In reply to comment #12)
> Hi, i had the same problem too. But since I re-emerged vlc with the old live
> version (live-2005.11.11) and the command vlc -l | grep -i live returned back
> to normal, i had a new error:
> $ vlc
> VLC media player 0.8.6 Janus
> [00000132] main interface error: no interface module matched "hotkeys,none"
> [00000132] main interface error: no suitable interface module
> [00000001] main private error: interface "hotkeys,none" initialization failed
> [00000135] main interface error: no interface module matched "any"
> [00000135] main interface error: no suitable interface module
> [00000001] main private error: interface "(null)" initialization failed
> 
> Maybe there is a link with the older problem ?
> 


I resolve the problem with UNsetting the USE "rtsp" in vlc uses and keeping live-2005.11.11 plugin.
Comment 15 Alexis Ballier gentoo-dev 2007-02-11 22:01:59 UTC
*** Bug 166419 has been marked as a duplicate of this bug. ***
Comment 16 Alexis Ballier gentoo-dev 2007-02-11 22:25:23 UTC
Haha, now I think I understand what's happening :
Compiling with as-needed makes the linker drop libliveMedia linkage when doing configure checks, what causes the check to be a false positive. Then, the correct linking parameters are added to the live module...

I now have to fix the checks.
Comment 17 Alexis Ballier gentoo-dev 2007-02-11 22:56:22 UTC
Fixed in patchlevel 36

thanks to everyone who helped here ;)