Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58807 - mplayer-1.0_pre5-r2 compile breaks with USE="network"
Summary: mplayer-1.0_pre5-r2 compile breaks with USE="network"
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:
: 58929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-29 11:28 UTC by Michael Schneider
Modified: 2004-07-30 23:21 UTC (History)
2 users (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 Michael Schneider 2004-07-29 11:28:11 UTC
Hello,

While trying to emerge mplayer-1.0_pre5-r2, it broke in the following way:

gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I../loader       -o dvb_tune.o dvb_tune.c
In file included from dvbin.h:5,
                 from dvb_tune.c:50:
dvb_defaults.h:69:10: warning: #warning No DVB-T country defined in dvb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
dvb_tune.c:550: warning: useless keyword or type name in empty declaration
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I../loader       -o demux_mkv.o demux_mkv.c
In file included from demux_mkv.c:27:
../loader/qtx/qtxsdk/components.h: In function `dump_CodecDecompressParams':
../loader/qtx/qtxsdk/components.h:724: warning: initialization from incompatible pointer type
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I../loader       -o ebml.o ebml.c
gcc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I../loader       -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:410: error: within this context
make[1]: *** [demux_rtp.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre5-r2/work/MPlayer-1.0pre5/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre5-r2 failed.
!!! Function src_compile, Line 337, Exitcode 2
!!! Failed to build MPlayer!


Removing networkd from my USE flags allows the compile to complete.  It actually looks like the problem is in media-plugins/live (live-2004.07.20).  My emerge info is below (I had network set in /etc/portage/package.use, and is included after the emerge info):

shrimp root # emerge info
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe -w -s -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -w -s -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://mirror.datapipe.net/gentoo http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gnome-current /usr/local/bmg-main"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb bonobo cdr crypt cups dga dvd dvdr encode evo fbcon flac gif gnome gnutls gpm gstreamer gtk2 gtkhtml hal jpeg kerberos ldap mad mmx mpeg ncurses nptl oggvorbis opengl pam perl pic png python readline samba sdl spell sse ssl tcpd tiff truetype x86 xinerama xml2 xv zlib"


shrimp root # cat /etc/portage/package.use
app-crypt/mit-krb5                      krb4
gnome-base/gnome-vfs                    howl
media-gfx/gthumb                        gphoto2
media-libs/freetype                     bindist
media-libs/libao                        mmap
media-libs/win32codecs                  quicktime
media-libs/xine-lib                     avi
media-video/mplayer                     encode fbdev live mpeg network rtc
media-video/totem                       -gstreamer
net-misc/openssh                        chroot
net-im/gaim                             krb4
net-print/foomatic-db                   ppds
net-www/links                           javascript
sys-apps/dbus                           mono
sys-apps/grep                           pcre
sys-apps/pcmcia-cs                      trusted
sys-libs/gdbm                           -berkdb
sys-libs/glibc                          erandom
sys-libs/pam                            pwdb


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Chris White (RETIRED) gentoo-dev 2004-07-29 13:19:56 UTC
Can you please give me the version of media-plugins/live you have installed?
Comment 2 Michael Schneider 2004-07-29 13:49:05 UTC
It was in that mess of an original post from me, but here it is again:
media-plugins/live-2004.07.20
Comment 3 Chris White (RETIRED) gentoo-dev 2004-07-29 15:10:17 UTC
In cvs.  Recent api changes in live-2004.07.20 were causing the issue.

Thanks for reporting!
Comment 4 Chris White (RETIRED) gentoo-dev 2004-07-30 23:21:31 UTC
*** Bug 58929 has been marked as a duplicate of this bug. ***