Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68649 - mplayer-1.0_pre4-r7 won't compile if USE=+live
Summary: mplayer-1.0_pre4-r7 won't compile if USE=+live
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-23 11:06 UTC by Cedric Godin
Modified: 2004-10-24 06:57 UTC (History)
1 user (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 Cedric Godin 2004-10-23 11:06:33 UTC
WHen I try to compile mplayer with the USE flag "live" set on, it fails. Reemerging without succeeds.


Reproducible: Always
Steps to Reproduce:
1.USE=live emerge mplayer
2.
3.

Actual Results:  
gcc -c -I../libvo/ -I../../libvo -mcpu=athlon-xp -Os -pipe
-fno-stack-protector-D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I../loader -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include    
-I/usr/lib/live/liveMedia/include -I/usr/lib/live/UsageEnvironment/include
-I/usr/lib/live/BasicUsageEnvironment/include -I/usr/lib/live/groupsock/include
-o demux_rtp.o demux_rtp.cpp
/usr/lib/live/UsageEnvironment/include/UsageEnvironment.hh: In function `void
   demux_close_rtp(demuxer_t*)':
/usr/lib/live/UsageEnvironment/include/UsageEnvironment.hh:79: error: `virtual
   UsageEnvironment::~UsageEnvironment()' is protected
demux_rtp.cpp:404: error: within this context



Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r3 i686)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Unknown CPU Type
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -Os -pipe"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox userpriv"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X acl alsa apache2 apm arts avi cdr chroot crypt cups
dedicated dga divx4linux dvd encode faad fbcon gd gif gphoto2 gpm graphviz gtk
gtk2 icq imap imlib innodb ipv6 java jpeg kde kerberos ldap libwww live mad
maildir mmxmmx2 motif mozilla moznocompose moznoirc moznomail mpeg msn mysql
ncurses net network nls nptl nvidia objc oggvorbis opengl oss pam pdflib perl
pg-intdatetime pg-vacuumdelay png postgres python qt quicktime readline rtc
samba sdl spell ssessl tcltk threads tiff truetype usb v4l v4l2 wmf x86 xinerama
xml xml2 xmms xprint xv xvid zlib"
Comment 1 Fabio Di Fabio 2004-10-23 12:16:57 UTC
Same here.

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Celeron(TM) CPU                1133MHz
Gentoo Base System version 1.4.16
distcc 2.16 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.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
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=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/deltup /usr/local/portage /home/abel/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 acpi acpi4linux alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts cdparanoia cdr crypt cups dga directfb divx4linux dnd encode f77 faad fam fbcon fbdev foomaticdb gd gif gnutls gphoto2 gpm gstreamer gtk gtk2 i8x0 imap imlib innodb java jce jikes jpeg kde lcms ldap libg++ libwww live mad maildir matroska mikmod mmx mmx2 mozilla mozsvg mpeg mysql ncurses network nls nptl oggvorbis openal opengl pam pdflib png ppds python qt quicktime readline rtc samba scanner sdl slang slp sox spell sse ssl tcpd theora tiff truetype type1 usb wmf x86 xml2 xmms xprint xv xvid zlib video_cards_i830"

Comment 2 Chris White (RETIRED) gentoo-dev 2004-10-23 14:58:29 UTC
Try emerge sync-ing.  I swore I fixed this one.
Comment 3 Chris White (RETIRED) gentoo-dev 2004-10-23 14:58:51 UTC
Oh yah, forgot to re-assign :).
Comment 4 Cedric Godin 2004-10-23 17:38:36 UTC
portage synced and prob still here.
Comment 5 Chris White (RETIRED) gentoo-dev 2004-10-23 18:36:35 UTC
Ok, I solved it in pre5-r4, hence the confusion.  Basically what happened is
that someone marked a previously unstable live ebuild with new api changes (
which means that stable mplayer wouldn't pick it up) stable.  Hence where the
chaos set in :).  I fixed it in pre4-r7 by re-using the pre5-r4 patch so you
should be ok now.
Comment 6 Cedric Godin 2004-10-24 01:13:09 UTC
synced again and :
- can see the change in .ebuild :

if use live && [ use x86 || use alpha ]
then
 epatch ${FILESDIR}/mplayer-1.0_pre5-live.patch
fi

- can see the patch : 378 Jul 30 00:08 mplayer-1.0_pre5-live.patch

but can't see it applied when merging :

 * Applying mplayer-odml.patch ...                                        [ ok ]
live
/usr/lib/portage/bin/ebuild.sh: line 121: [: missing `]'
 * Applying mplayer-1.0_pre4-alsa-gcc34.patch ...                         [ ok ]


just changed it in : 
        if use live && ( use x86 || use alpha )

and all is ok
Comment 7 Chris White (RETIRED) gentoo-dev 2004-10-24 06:57:31 UTC
Arg, sorry about that, I'd been working on too many ebuilds with [ ] on it
and kinda got stuck in my head, but I fixed it.  Thanks again :).