Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82256 - media-video/mplayer-1.0_pre6 fails to compile
Summary: media-video/mplayer-1.0_pre6 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-16 09:02 UTC by fbusse
Modified: 2005-03-20 13:44 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 fbusse 2005-02-16 09:02:10 UTC
i386/dsputil_mmx.c: In function `dsputil_init_mmx':
i386/dsputil_mmx.c:3080: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3081: warning: assignment from incompatible pointer type
rm -f libavcodec.a
ar rc libavcodec.a common.o utils.o mem.o allcodecs.o mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o mpegaudio.o ac3enc.o mjpeg.o resample.o resample2.o dsputil.o motion_est.o imgconvert.o imgresample.o mpeg12.o mpegaudiodec.o pcm.o simple_idct.o ratecontrol.o adpcm.o eval.o dv.o error_resilience.o fft.o mdct.o mace.o huffyuv.o cyuv.o opts.o raw.o h264.o golomb.o vp3.o asv1.o 4xm.o cabac.o ffv1.o ra144.o ra288.o vcr1.o cljr.o roqvideo.o dpcm.o interplayvideo.o xan.o rpza.o cinepak.o msrle.o msvideo1.o vqavideo.o idcinvideo.o adx.o rational.o faandct.o 8bps.o smc.o parser.o flicvideo.o truemotion1.o vmdav.o lcl.o qtrle.o g726.o flac.o vp3dsp.o integer.o snow.o tscc.o sonic.o ulti.o h264idct.o qdrw.o xl.o rangecoder.o png.o pnm.o qpeg.o pthread.o h263.o h261.o msmpeg4.o h263dec.o svq1.o rv10.o wmadec.o indeo3.o libpostproc/postprocess.o mp3lameaudio.o i386/fdct_mmx.o i386/cputest.o i386/dsputil_mmx.o i386/mpegvideo_mmx.o i386/idct_mmx.o i386/motion_est_mmx.o i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o i386/vp3dsp_sse2.o
true libavcodec.a
make[1]: Leaving directory `/var/tmp/portage/mplayer-1.0_pre6/work/MPlayer-1.0pre6a/libavcodec'

!!! 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.


Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-ac12 i686)
=================================================================
System uname: 2.6.10-ac12 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  7 2005, 18:56:09)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.6.3, 1.8.5-r3, 1.4_p6, 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-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
USE="x86 3dnow X aalib acpi alsa apm avi berkdb bitmap-fonts cdparanoia cdr crypt cups curl dvd encode f77 fam flac font-server foomaticdb fortran gdbm gif gimpprint gtk gtk2 imagemagick imap imlib ipv6 java jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline real rtc sdl slang speex sse ssl svga tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode xface xine xml2 xmms xv xvid zlib"
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-16 09:36:27 UTC
Was there anything else above those warnings?  Like an error or somesuch?
Comment 2 fbusse 2005-02-16 09:38:06 UTC
No, I didn't see any. Otherwise, I'd posted them.
I can tee the emerge and check for any.
Comment 3 fbusse 2005-02-16 09:49:02 UTC
tee'd the merge, grepped for "error, but it turned up nothing (only lines that compile the error-handling itself).
So no idea what causes this. Only big change I made was the switch to UTF-8, but with LC_ALL=C it fails as well.
Comment 4 fbusse 2005-02-17 08:08:49 UTC
FYI: mplayer-1.0_pre5-r5 fails as well, but with a different error

cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -march=athlon-xp -pipe -O2 -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
Comment 5 Robin Wood 2005-02-18 08:30:19 UTC
I get the same on media-video/mplayer-1.0_pre5-r5 but the line mentioned in the error block at the bottom is different if that helps.

cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -mcpu=athlon-xp -pipe -O2 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/in                          
clude/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 450, Exitcode 2
Comment 6 Robin Wood 2005-02-18 09:00:36 UTC
I've found a fix for my bug, I needed to re-emerge giflib. 

All is happy now :-)
Comment 7 fbusse 2005-02-18 09:16:17 UTC
Works for me as well. Strange, no idea what changed.
Maybe a einfo in the ebuild about this error for other users?
Comment 8 Alan McNeil 2005-02-22 22:22:58 UTC
Same error BUT I don't have 'gif' in USE flags. So you'd think the whole gif arena should be skipped.

Error:
demux_gif.c:21:21: gif_lib.h: No such file or directory
demux_gif.c: In function `demux_gif_fill_buffer':
etc...
====================
USE="alsa X acl acpi acpi4linux apache2 dga dvd ethereal fbcon freetype gd\
 gphoto2 imagemagick imap mbox mmx moznocompose moznoirc moznomail mpeg4 music \
 sse sse2 -directfb \
 pnp ppds radeon scanner sdk slp src usb videos xinerama xosd xvid -apm"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe"
FEATURES="ccache"
CCACHE_SIZE="2G"

Comment 9 Rich 2005-02-24 11:18:14 UTC
Gif is a default use flag, unless you explicitly specify -gif.

I had the same problem as the bug's poster, and re-emerging giflib worked for me.
Comment 10 Chris White (RETIRED) gentoo-dev 2005-02-25 13:59:43 UTC
This was all taken care of in the latest mplayer ebuilds.. please let me know if there is an issue still.
Comment 11 Tro 2005-03-20 13:44:32 UTC
Problem still occurs in 1.0_pre6-r2. Had to reemerge giflib.