Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57202 - linux26-headers-2.6.7-r2 broken for mplayer and transcode
Summary: linux26-headers-2.6.7-r2 broken for mplayer and transcode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 10:27 UTC by Derk W te Bokkel
Modified: 2004-07-15 12:43 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 Derk W te Bokkel 2004-07-15 10:27:02 UTC
emerge info
Portage 2.0.51_pre13 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 2500+)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /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="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/bigdisk1/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa apm arts avi berkdb bonobo cdr crypt cups dvd dvdr encode esd f77 foomaticdb gb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib jack java javascript jpeg kde libg++ libgda libwww mad mikmod motif mozilla mpeg ncurses nls ofx oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang spell ssl svga tcltk tcpd transcode truetype usb v4l x86 xinerama xml xml2 xmms xv zlib"



For emerge transcode


gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -mcpu=athlon-xp -O3 -pipe -DDCT_YUV_PRECISION=1 -g -MT import_ffmpeg.lo -MD -MP -MF .deps/import_ffmpeg.Tpo -c import_ffmpeg.c  -fPIC -DPIC -o .libs/import_ffmpeg.o
In file included from ../ffmpeg/libavcodec/avcodec.h:15,
                 from import_ffmpeg.c:30:
../ffmpeg/libavcodec/rational.h:35: error: syntax error before "__attribute__"
../ffmpeg/libavcodec/rational.h:43: error: syntax error before "__attribute__"
import_ffmpeg.c:167: error: syntax error before "__attribute__"
import_ffmpeg.c:172: error: syntax error before "__attribute__"
import_ffmpeg.c:175: warning: type defaults to `int' in declaration of `y'
import_ffmpeg.c:175: warning: implicit declaration of function `stream_read_char'
import_ffmpeg.c:175: error: `s' undeclared here (not in a function)
import_ffmpeg.c:175: error: initializer element is not constant
import_ffmpeg.c:175: warning: data definition has no type or storage class
import_ffmpeg.c:176: warning: type defaults to `int' in declaration of `y'
import_ffmpeg.c:176: error: redefinition of `y'
import_ffmpeg.c:175: error: `y' previously defined here
import_ffmpeg.c:176: error: `s' undeclared here (not in a function)
import_ffmpeg.c:176: error: initializer element is not constant
import_ffmpeg.c:176: warning: data definition has no type or storage class
import_ffmpeg.c:177: warning: type defaults to `int' in declaration of `y'
import_ffmpeg.c:177: error: redefinition of `y'
import_ffmpeg.c:176: error: `y' previously defined here
import_ffmpeg.c:177: error: `s' undeclared here (not in a function)
import_ffmpeg.c:177: error: initializer element is not constant
import_ffmpeg.c:177: warning: data definition has no type or storage class
import_ffmpeg.c:178: warning: type defaults to `int' in declaration of `y'
import_ffmpeg.c:178: error: redefinition of `y'
import_ffmpeg.c:177: error: `y' previously defined here
import_ffmpeg.c:178: error: `s' undeclared here (not in a function)
import_ffmpeg.c:178: error: initializer element is not constant
import_ffmpeg.c:178: warning: data definition has no type or storage class
import_ffmpeg.c:179: error: syntax error before "return"
import_ffmpeg.c: In function `divx3_is_key':
import_ffmpeg.c:209: warning: implicit declaration of function `stream_read_dword'
{standard input}: Assembler messages:
{standard input}:350: Error: symbol `y' is already defined
{standard input}:356: Error: symbol `y' is already defined
{standard input}:362: Error: symbol `y' is already defined
make[3]: *** [import_ffmpeg.lo] Error 1
make[3]: Leaving directory `/mnt/bigdisk1/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/bigdisk1/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/bigdisk1/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-0.6.12-r1 failed.
!!! Function src_compile, Line 114, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

for emerge mplayer

menu_param.c: In function `parse_args':
menu_param.c:83: warning: dereferencing type-punned pointer will break strict-aliasing rules
menu_param.c:93: warning: dereferencing type-punned pointer will break strict-aliasing rules
menu_param.c:56: warning: unused variable `ok'
menu_param.c:56: warning: unused variable `cancel'
ar r libmenu.a menu.o vf_menu.o menu_cmdlist.o menu_pt.o menu_list.o menu_filesel.o menu_txt.o menu_console.o menu_param.o
ar: creating libmenu.a
true libmenu.a
make[1]: Leaving directory `/home/extrabig/tmp/portage/mplayer-1.0_pre5/work/MPlayer-1.0pre5/libmenu'
gcc -fno-pic -nopie -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -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 -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include       -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a   -lmad -lvorbis -logg -ldv  -lfaad -llzo -lmp3lame -lvorbis -logg -lxvidcore -lm -lpng -lz -lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1 -export-dynamic   -lfreetype -lz -ltermcap -lcdda_interface -lcdda_paranoia -lnsl  -lungif    -lfontconfig    -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -laa -lGL -lXxf86dga -lXv  -lXxf86vm  -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread    -lvgagl -lvga -lm   -L/usr/kde/3.2/lib -ldl -lartsc -lpthread -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib -lesd -laudiofile -lm -lasound        -lpthread -ldl -rdynamic   -lm
gcc -fno-pic -nopie -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mcpu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -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 -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include       -o mencoder.o mencoder.c
In file included from libavcodec/avcodec.h:15,
                 from mencoder.c:82:
libavcodec/rational.h:35: error: syntax error before "__attribute__"
libavcodec/rational.h:43: error: syntax error before "__attribute__"
In file included from /usr/include/freetype2/freetype/config/ftstdlib.h:74,
                 from /usr/include/freetype2/freetype/config/ftconfig.h:44,
                 from /usr/include/freetype2/freetype/freetype.h:42,
                 from libvo/font_load.h:6,
                 from mencoder.c:175:
/usr/include/ctype.h:190: error: syntax error before "__attribute__"
/usr/include/ctype.h:196: error: syntax error before "__attribute__"
make: *** [mencoder.o] Error 1

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



appears to be the same error .. some problem with "__attribute__" define

NOTE: linux26-headers-2.6.6-r1 works fine on these so for a work arround you can install those temporarily if desired  .. some how the fix got lost between them? maybe? or the patches did not apply properly to 2.6.7-r2  .. gcc 3.3.3-r6 or 3.3.4-r1 does not appear to make a difference ..
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-07-15 12:43:18 UTC
Should now be fixed with -r3. Please reopen this bug if you have any issues. Thanks!