Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81786 - mplayer 1.0_pre5-r5 and 1.0_pre6 both wont build
Summary: mplayer 1.0_pre5-r5 and 1.0_pre6 both wont build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-12 14:02 UTC by Lindsay Haisley
Modified: 2005-02-12 15:34 UTC (History)
0 users

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 Lindsay Haisley 2005-02-12 14:02:18 UTC
Looks like different errors on each of these.  This may be a dup of 

>>> emerge (1 of 1) media-video/mplayer-1.0_pre5-r5 to /
....
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O2 -mcpu=pentium4 -march=pentium4 -pipe -fno-pie -fno-pie -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     -o demux_gif.o demux_gif.c
demux_gif.c:21:21: gif_lib.h: No such file or directory
demux_gif.c: In function `demux_gif_fill_buffer':
demux_gif.c:43: error: `GifFileType' undeclared (first use in this function)
demux_gif.c:43: error: (Each undeclared identifier is reported only once
demux_gif.c:43: error: for each function it appears in.)
demux_gif.c:43: error: `gif' undeclared (first use in this function)
demux_gif.c:43: error: parse error before ')' token
demux_gif.c:45: error: `GifRecordType' undeclared (first use in this function)
demux_gif.c:45: error: parse error before "type"
demux_gif.c:48: error: `ColorMapObject' undeclared (first use in this function)
demux_gif.c:48: error: `effective_map' undeclared (first use in this function)
demux_gif.c:51: error: `type' undeclared (first use in this function)
demux_gif.c:51: error: `IMAGE_DESC_RECORD_TYPE' undeclared (first use in this function)
demux_gif.c:52: error: `GIF_ERROR' undeclared (first use in this function)
demux_gif.c:56: error: `TERMINATE_RECORD_TYPE' undeclared (first use in this function)
demux_gif.c:58: error: `SCREEN_DESC_RECORD_TYPE' undeclared (first use in this function)
demux_gif.c:64: error: `EXTENSION_RECORD_TYPE' undeclared (first use in this function)
demux_gif.c: In function `demux_open_gif':
demux_gif.c:154: error: `GifFileType' undeclared (first use in this function)
demux_gif.c:154: error: `gif' undeclared (first use in this function)
demux_gif.c: In function `demux_close_gif':
demux_gif.c:211: error: `GifFileType' undeclared (first use in this function)
demux_gif.c:211: error: `gif' undeclared (first use in this function)
demux_gif.c:211: error: parse error before ')' token
demux_gif.c:216: error: `GIF_ERROR' undeclared (first use in this function)
make[1]: *** [demux_gif.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre5-r5/work/MPlayer-1.0pre5try2/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2

!!! ERROR: media-video/mplayer-1.0_pre5-r5 failed.
!!! Function src_compile, Line 463, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.


And for the unstable version (which seems to get a bit further) ....

>>> emerge (1 of 1) media-video/mplayer-1.0_pre6 to /
...
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe -frename-registers -fno-pie -fno-pie -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. -Inative -I.. -I../libmpdemux -I../loader -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -D_GNU_SOURCE -o ve_x264.o ve_x264.c
ar r libmpcodecs.a dec_audio.o ad.o ad_liba52.o ad_hwac3.o ad_mp3lib.o ad_alaw.o ad_dk3adpcm.o ad_pcm.o ad_dvdpcm.o ad_imaadpcm.o ad_msadpcm.o ad_msgsm.o ad_ra1428.o ad_acm.o ad_dshow.o ad_dmo.o ad_qtaudio.o ad_ffmpeg.o ad_faad.o ad_libvorbis.o ad_libmad.o ad_realaud.o ad_libdv.o dec_video.o vd.o vd_null.o vd_raw.o vd_hmblck.o vd_mpegpes.o vd_mtga.o vd_sgi.o vd_libmpeg2.o vd_nuv.o vd_lzo.o vd_realvid.o vd_ffmpeg.o vd_dshow.o vd_dmo.o vd_vfw.o vd_vfwex.o vd_odivx.o vd_divx4.o vd_zrmjpeg.o vd_xanim.o vd_xvid.o vd_xvid4.o vd_libdv.o vd_qtvideo.o vd_theora.o vd_mpng.o vd_ijpg.o vf.o vf_vo.o vf_crop.o vf_expand.o vf_scale.o vf_format.o vf_noformat.o vf_yuy2.o vf_flip.o vf_rgb2bgr.o vf_rotate.o vf_mirror.o vf_palette.o vf_lavc.o vf_dvbscale.o vf_cropdetect.o vf_test.o vf_noise.o vf_yvu9.o vf_rectangle.o vf_lavcdeint.o vf_eq.o vf_eq2.o vf_halfpack.o vf_dint.o vf_1bpp.o vf_bmovl.o vf_2xsai.o vf_unsharp.o vf_swapuv.o vf_il.o vf_boxblur.o vf_sab.o vf_smartblur.o vf_perspective.o vf_down3dright.o vf_field.o vf_denoise3d.o vf_hqdn3d.o vf_detc.o vf_telecine.o vf_tfields.o vf_ivtc.o vf_ilpack.o vf_dsize.o vf_decimate.o vf_softpulldown.o vf_tinterlace.o vf_pullup.o pullup.o vf_framestep.o vf_tile.o vf_delogo.o vf_fil.o vf_hue.o vf_spp.o vf_yuvcsp.o vf_filmdint.o vf_kerndeint.o vf_rgbtest.o vf_qp.o vf_phase.o vf_divtc.o vf_harddup.o vf_softskip.o vf_pp.o native/RTjpegN.o native/minilzo.o native/nuppelvideo.o native/xa_gsm.o native/decode144.o native/decode288.o img_format.o
ar: creating libmpcodecs.a
true libmpcodecs.a
ar r libmpencoders.a ve.o ve_divx4.o ve_lavc.o ve_vfw.o ve_raw.o ve_libdv.o ve_xvid.o ve_xvid4.o ve_qtvideo.o ve_nuv.o ve_x264.o
ar: creating libmpencoders.a
true libmpencoders.a
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6/work/MPlayer-1.0pre6a/libmpcodecs'

!!! ERROR: media-video/mplayer-1.0_pre6 failed.
!!! Function src_compile, Line 458, Exitcode 2
!!! Failed to build MPlayer!
!!! If you need support, post the topmost build error, NOT this status message.

Odd.  No complier/linker error reported here, just an ebuild failure.

# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 20:58:26)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/X11/xkb /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://cudlug.cudenver.edu/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en"
LC_ALL="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d acl acpi alsa apache2 apm arts avi berkdb bindist bitmap-fonts bonobo cdr crypt cups curl doc dvd dvdr encode esd evo f77 fam fastcgi flac flash font-server foomaticdb fortran gdbm gif gnome gpm gps gstreamer gtk gtk2 gtkhtml guile hal imagemagick imap imlib ipv6 java jikes jpeg junit libg++ libwww mad maildir mcal mikmod motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl plotutils png ppds python quicktime readline samba sasl scanner sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xosd xv zeo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS

MPlayer was working fine gentoo updated libdv, at which point the currently installed version went off target and reports "mplayer: error while loading shared libraries: libdv.so.2: cannot open shared object file: No such file or directory".  I may have to back version this lib ebuild until the mplayer issue gets sorted.
Comment 1 Lindsay Haisley 2005-02-12 14:17:40 UTC
Sorry, I didn't cite the dup.  The possible bug dup is of Bug #51853 which goes back a year ago.  This report may contain significant new information.
Comment 2 Lindsay Haisley 2005-02-12 15:18:12 UTC
It looks like the same error is present in 1.0_pre6, it's just that the build goes on considerable further before failing than it does in 1.0_pre5-r5.  Looking back up the build output, I see:

cc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O2 -mcpu=pentium4 -march=pentium4 -fprefetch-loop-arrays -pipe -frename-registers -fno-pie -fno-pie -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 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o truemotion1.o truemotion1.c 
demux_gif.c:21:21: gif_lib.h: No such file or directory
demux_gif.c: In function `demux_gif_fill_buffer':
demux_gif.c:43: error: `GifFileType' undeclared (first use in this function)
demux_gif.c:43: error: (Each undeclared identifier is reported only once
demux_gif.c:43: error: for each function it appears in.)
demux_gif.c:43: error: `gif' undeclared (first use in this function)
demux_gif.c:43: error: parse error before ')' token
demux_gif.c:45: error: `GifRecordType' undeclared (first use in this function)
demux_gif.c:45: error: parse error before "type"
demux_gif.c:48: error: `ColorMapObject' undeclared (first use in this function)
demux_gif.c:48: error: `effective_map' undeclared (first use in this function)
demux_gif.c:51: error: `type' undeclared (first use in this function)
demux_gif.c:51: error: `IMAGE_DESC_RECORD_TYPE' undeclared (first use in this function)
demux_gif.c:52: error: `GIF_ERROR' undeclared (first use in this function)
demux_gif.c:56: error: `TERMINATE_RECORD_TYPE' undeclared (first use in this function)
demux_gif.c:58: error: `SCREEN_DESC_RECORD_TYPE' undeclared (first use in this function)
demux_gif.c:64: error: `EXTENSION_RECORD_TYPE' undeclared (first use in this function)
demux_gif.c: In function `demux_open_gif':
demux_gif.c:154: error: `GifFileType' undeclared (first use in this function)
demux_gif.c:154: error: `gif' undeclared (first use in this function)
demux_gif.c: In function `demux_close_gif':
demux_gif.c:211: error: `GifFileType' undeclared (first use in this function)
demux_gif.c:211: error: `gif' undeclared (first use in this function)
demux_gif.c:211: error: parse error before ')' token
demux_gif.c:216: error: `GIF_ERROR' undeclared (first use in this function)
make[1]: *** [demux_gif.o] Error 1
Comment 3 Lindsay Haisley 2005-02-12 15:34:31 UTC
OK, this looks like a problem elsewhere.  /usr/include/gif_lib.h was indeed missing.  Some other ebuild apparently nuked it.  I re-emerged giflib and it came back, and mplayer builds properly.  I'll try to track down the problem elsewhere.