Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130225 - media-video/mplayer-1.0.20060415 fails to compile
Summary: media-video/mplayer-1.0.20060415 fails to compile
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 130226 130227 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-17 01:38 UTC by Xake
Modified: 2006-05-01 23:28 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 Xake 2006-04-17 01:38:16 UTC
all of a sudden I can't get mplayer to compile anymore, even the version I have compiled before became a no-go. Have tried whith the "original" last-working setup (same useflag, same version of mplayer).

[ebuild     U ] media-video/mplayer-1.0.20060415 [1.0.20060302] USE="X aac alsa debug* directfb dts dvd encode fbcon gtk ipv6 mad matroska mmx musepack opengl rtc sse sse2 theora truetype unicode% vorbis win32codecs xv xvid -3dfx -3dnow -3dnowext -aalib -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -dga -doc -dv -dvb -dvdread -edl -esd -ggi -gif -i8x0 -jack -joystick* -jpeg -libcaca -lirc -live -livecd -lzo -matrox -mmxext -nas -nvidia* -openal -oss -png -real* -samba* -sdl -svga -tga -v4l -v4l2 -x264 -xanim -xinerama -xmms -xvmc" 0 kB

###

 * Make
./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-sv.h.charset` -t utf8 "help/help_mp-sv.h" >> help_mp.h
Adding untranslated messages to help_mp.h
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -W -Wall -Wno-unused-parameter -O2 -march=pentium4 -mtune=pentium4 -g  -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.      -I/usr/include/freetype2   -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
In file included from mplayer.c:181:
libmpdemux/demuxer.h:107: error: field "get_current" declared as a function
In file included from libmpdemux/bswap.h:2,
                 from libmpdemux/aviheader.h:5,
                 from libmpdemux/stheader.h:4,
                 from mplayer.c:182:
libmpdemux/../bswap.h:120: varning: "inline" is not at beginning of declaration
libmpdemux/../bswap.h:127: varning: "inline" is not at beginning of declaration
libmpdemux/../bswap.h:134: varning: "inline" is not at beginning of declaration
mplayer.c: In function "saddf":
mplayer.c:860: varning: j
Comment 1 Xake 2006-04-17 01:38:16 UTC
all of a sudden I can't get mplayer to compile anymore, even the version I have compiled before became a no-go. Have tried whith the "original" last-working setup (same useflag, same version of mplayer).

[ebuild     U ] media-video/mplayer-1.0.20060415 [1.0.20060302] USE="X aac alsa debug* directfb dts dvd encode fbcon gtk ipv6 mad matroska mmx musepack opengl rtc sse sse2 theora truetype unicode% vorbis win32codecs xv xvid -3dfx -3dnow -3dnowext -aalib -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -dga -doc -dv -dvb -dvdread -edl -esd -ggi -gif -i8x0 -jack -joystick* -jpeg -libcaca -lirc -live -livecd -lzo -matrox -mmxext -nas -nvidia* -openal -oss -png -real* -samba* -sdl -svga -tga -v4l -v4l2 -x264 -xanim -xinerama -xmms -xvmc" 0 kB

###

 * Make
./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-sv.h.charset` -t utf8 "help/help_mp-sv.h" >> help_mp.h
Adding untranslated messages to help_mp.h
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -W -Wall -Wno-unused-parameter -O2 -march=pentium4 -mtune=pentium4 -g  -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I.      -I/usr/include/freetype2   -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
In file included from mplayer.c:181:
libmpdemux/demuxer.h:107: error: field "get_current" declared as a function
In file included from libmpdemux/bswap.h:2,
                 from libmpdemux/aviheader.h:5,
                 from libmpdemux/stheader.h:4,
                 from mplayer.c:182:
libmpdemux/../bswap.h:120: varning: "inline" is not at beginning of declaration
libmpdemux/../bswap.h:127: varning: "inline" is not at beginning of declaration
libmpdemux/../bswap.h:134: varning: "inline" is not at beginning of declaration
mplayer.c: In function "saddf":
mplayer.c:860: varning: jämföreslse mellan signed och unsigned
mplayer.c: In function "main":
mplayer.c:2713: varning: pointer targets in passing argument 2 of "vobsub_set_from_lang" differ in signedness
mplayer.c:2777: varning: pointer targets in passing argument 2 of "stream_read" differ in signedness
mplayer.c:2796: varning: pointer targets in passing argument 2 of "dvd_aid_from_lang" differ in signedness
mplayer.c:2798: varning: pointer targets in passing argument 2 of "dvd_sid_from_lang" differ in signedness
mplayer.c:2841: varning: pointer targets in passing argument 1 of "strrchr" differ in signedness
mplayer.c:2841: varning: pointer targets in passing argument 1 of "strrchr" differ in signedness
mplayer.c:2841: varning: pointer targets in passing argument 1 of "strrchr" differ in signedness


###
#And then it just goes on and on an on
###

###
#emerge --info
###

Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.4-r2, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.0_pre17
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -pipe -O2 -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.csbnet.se/pub/linux/distributions/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.pudas.net/gentoo"
LANG="sv_SE.UTF-8"
LC_ALL="sv_SE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,-Bdirect"
LINGUAS="sv_SE.UTF-8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/gnome /usr/local/overlays/xgl /usr/local/overlays/portage /usr/local/overlays/gentopia /usr/local/overlays/musicbrainz-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa asf audioscrobbler avi bash bash-completion beagle berkdb bitmap-fonts branding browserplugin bzip2 cairo canvas cdr cli crypt ctype cups curl dba dbus debug dmx dri dvd dvdr eds emboss encode evo expat fastbuild fat firefox flac force-cgi-redirect fortran freetype ftp gd gdbm gif glibc-omitfp glitz gmp gnome gnome-firefox gnutls gpm gstreamer gstreamer010 gstreamer10 gtk gtk2 gtkhtml gxl hal howl-compat icu idn imlib inotify ipv6 irmc isdnlog java jikes joystick jpeg lcms libclamav libg++ libnotify libsexy libwww lm_sensors logrotate lx700 mad matroska memlimit mikmod mmx mng mono moznocompose moznoirc moznomail mp3 mpeg musepack musicbrainz nautilus ncurses network nls nptl nptlonly ntfs ntp nvidia offensive ogg opengl pam pcre pdflib perl pic png posix ppds pppd python quicktime readline real reiser4 reiserfs rtc samba sdl session simplexml smp soap sockets sox spell spf spl sse sse2 ssl startup-notification svg symlink tagwriting tcltk tcpd test tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vorbis win32codecs wma wv wxwindows xinetd xml xml2 xosd xprint xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_evdev input_devices_mouse kernel_linux linguas_sv_SE.UTF-8 userland_GNU video_cards_none video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-04-17 01:55:57 UTC
*** Bug 130226 has been marked as a duplicate of this bug. ***
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2006-04-17 01:56:07 UTC
*** Bug 130227 has been marked as a duplicate of this bug. ***
Comment 4 Sander Sweers 2006-04-30 07:11:58 UTC
Same issue different compiler:

[ebuild     U ] media-video/mplayer-1.0.20060415 [1.0.20060217] USE="X aac alsa dvd encode esd fbcon gif gtk ipv6 jpeg libcaca mad matroska musepack openal opengl oss png rtc samba* sdl theora truetype unicode% v4l v4l2 vorbis x264% xv xvid -aalib -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvdread -edl -ggi -i8x0 -jack -joystick -lirc -live -livecd -lzo -matrox -nas -nvidia -tga -xanim -xinerama -xmms -xvmc" 0 kB

./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-en.h.charset` -t UTF-8 "help/help_mp-en.h" >> help_mp.h
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -D__STDC_LIMIT_MACROS -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/     -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
In file included from mplayer.c:181:
libmpdemux/demuxer.h:107: error: field 
Comment 5 Sander Sweers 2006-04-30 07:11:58 UTC
Same issue different compiler:

[ebuild     U ] media-video/mplayer-1.0.20060415 [1.0.20060217] USE="X aac alsa dvd encode esd fbcon gif gtk ipv6 jpeg libcaca mad matroska musepack openal opengl oss png rtc samba* sdl theora truetype unicode% v4l v4l2 vorbis x264% xv xvid -aalib -arts -bidi -bindist -bl -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvdread -edl -ggi -i8x0 -jack -joystick -lirc -live -livecd -lzo -matrox -nas -nvidia -tga -xanim -xinerama -xmms -xvmc" 0 kB

./version.sh `cc -dumpversion`
iconv -f `cat help/help_mp-en.h.charset` -t UTF-8 "help/help_mp-en.h" >> help_mp.h
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -D__STDC_LIMIT_MACROS -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I/usr/include/     -I/usr/include/freetype2  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include   -I./libavutil -I./libavcodec   -o mplayer.o mplayer.c
In file included from mplayer.c:181:
libmpdemux/demuxer.h:107: error: field get_current declared as a function
mplayer.c: In function main:
mplayer.c:2552: warning: cast to pointer from integer of different size
mplayer.c:2588: warning: cast to pointer from integer of different size
mplayer.c:3296: warning: cast to pointer from integer of different size
mplayer.c:4654: warning: cast to pointer from integer of different size
make: *** [mplayer.o] Error 1

Portage 2.1_pre10 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r2, 2.6.16-g
entoo-r1 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share
/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/default
s/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer multilib-strict sandbox sfperms
 strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-s -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/initng-portage /usr/local/overlays/gentopia
 /usr/local/overlays/gnome-experimental /usr/local/overlays/mine"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 apm avi berkdb bitmap-fonts bzip2 cairo cdr c
li crypt cups dbus dri dvd dvdr eds emboss encode esd firefox flac foomaticdb fo
rtran gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jpeg libcaca lzw l
zw-tiff mad mono mozilla mp3 mpeg ncurses network nls nptl nptlonly nsplugin off
ensive ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python qt qui
cktime readline reflection sdl session speex spell spl ssl tcpd theora threads t
iff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis xorg xpm xpr
int xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_de
vices_evdev kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS
Comment 6 Luca Barbato gentoo-dev 2006-04-30 07:31:26 UTC
virtual/os-headers:  2.6.16

the headers are known to cause such problems.
Comment 7 Matan Peled 2006-05-01 23:28:54 UTC
Also note that it can be fixed by removing rtc from USE. HTH