When compiling media-plugins/live, the compilation breaks due to absence of the file strstream.h. locate strstream shows that plain "strstream" exists (for backwards compatibility) under /usr/lib/gcc-lib/..., but it has no extension. Reproducible: Always Steps to Reproduce: 1. emerge live 2. 3. Actual Results: Long compilation... c++ -c -Iinclude -I../UsageEnvironment/include -I. -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wno-deprecated -DSOCKLEN_T=socklen_t -Wall -DBSD=1 Groupsock.cpp Groupsock.cpp:29:23: strstream.h: No such file or directory Groupsock.cpp: In member function `Boolean Groupsock::output(UsageEnvironment&, unsigned char, unsigned char*, unsigned int, DirectedNetInterface*)': Groupsock.cpp:210: error: `ostrstream' undeclared (first use this function) Groupsock.cpp:210: error: (Each undeclared identifier is reported only once for each function it appears in.) Groupsock.cpp:210: error: parse error before `;' token Groupsock.cpp:211: error: `out' undeclared (first use this function) Groupsock.cpp: In member function `virtual Boolean Groupsock::handleRead(unsigned char*, unsigned int, unsigned int&, sockaddr_in&)': Groupsock.cpp:230: error: parse error before `;' token make[1]: *** [Groupsock.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/live-2003.04.11/work/live/groupsock' make: *** [groupsock/libgroupsock.a] Error 2 !!! ERROR: media-plugins/live-2003.04.11 failed. !!! Function src_compile, Line 26, Exitcode 2 !!! (no error message) Expected Results: Successful compilation.
I can reproduce this. # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-rc1-love1) ================================================================= System uname: 2.6.3-rc1-love1 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.4.3.13 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://gentoo.linux.no/pub/gentoo ftp://sunsite.dk/mirrors/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apm avi berkdb bonobo cdr crypt encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
install dev-libs/STLport and try again please report if works
I installed dev-libs/STLport-4.5.3-r2 and I still get the same error.
seems that we have to patch it to change that include with the proper one...
Please try the latest ~x86 version. The last two versions should be safe for gcc 3.x.
Yes, a later version works fine. I have media-plugins/live-2003.04.11 here and I was in the process of downgrading (moving away from experimental packages) when I encountered this proble,
~x86 works for me (compiling and installing it works), however, after recompiling the mplayer, it does not play the stream I was hoping to play. I don't know if the bug is on the server end, however, from the messages that I'm getting it seems that something is wrong with mplayer - before it at least recognized that it was an RTSP stream, but it couldn't play it without live.com plugins, now it says: This stream is non-cacheable Stream not seekable! Initiated "video/MP4V-ES" RTP subsession Initiated "audio/MPEG4-GENERIC" RTP subsession Unknown MPlayer format code for MIME type "audio/MPEG4-GENERIC" FPS not specified in the header or invalid, use the -fps option. ========================================================================== *** Try to upgrade /home/dmitriy/.mplayer/codecs.conf from etc/codecs.conf *** If it still does not work, read DOCS/codecs.html! Cannot find codec for audio format 0x0. ========================================================================== Audio: no sound Video: no video So it would be nice to try it with a version that's marked stable to see if it works, but I guess I don't have a choice.
Created attachment 26591 [details, diff] Patch to get live-2003.04.11 compile
Created attachment 26592 [details] And the necessary ebuild
With the above patches I got the live package compiled. Try it and post if it works for you as well.
Note that this was equivalent to bug #44005, which was resolved by a version bump to live-2004-03-05. Unfortunately, no Gentoo mirrors seem to have picked up that package, and live.com has moved on to live-2004-03-12, deleting all non-current packages. This means we the most current ~x86 ebuild is broken again since no package actually exists. We need another version bump to live-2004-03-12, although at the pace live.com is revising the package and deleting old versions, this may not do much good. As of right now, they have issued 8 versions this month, an it's only the 13th of the month.
The current stable version doesnt build... is it possible to unmask a later version?
Somebody provide me with a way to test it, and I will unmask the newer version since it hasn't had any bug reports for a while. For example, a server that is streaming something that is live.com format that I can stream from would be nice. Anyone?
Status? mplayer-1.0_pre4 has a nasty has_version hack I'd *love* to get rid of, but requires live-2004.01.05.
Current stable version is 2004.03.27 . Still an issue?
No reaction for several months, I think we can bury this.