emerging media-libs/xine-lib-lib-1_rc0-r2 fails on the file src/input/input_gnome_vfs.c. The problem seems to be the line: #define D(...) which gcc 2.95.3 doesn't like. I found a bug report on the xine sourceforge site, so it's not a gentoo-specific problem - http: //sourceforge.net/tracker/index.php?func=detail&aid=783988&group_id=9655&atid=10965 output from emerge follows: input_v4l.c: In function `open_audio_capture_device': input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic input_v4l.c:1050: warning: pointer of type `void *' used in arithmetic /bin/sh ../../libtool-nofpic --mode=link gcc -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/linc-1.0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I../../src/input/libdvdnav/ -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -pipe -fomit-frame-pointer -malign-functions=4 -malign-loops=4 -malign-jumps=4 -mwide-multiply -mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 -fno-strict-aliasing -ffast-math -funroll-loops -finline-functions -mcpu=pentiumpro -o xineplug_inp_v4l.la -rpath /usr/lib/xine/plugins/1.0.0 -avoid-version -module input_v4l.lo -lasound ../../src/xine-engine/libxine. la ils -pthread -DORBIT2=1 -I/usr/includeinput_gnome_vfs.c:36: badly punctuated parameter list in `#define' input_gnome_vfs.c: In function `gnomevfs_plugin_read': input_gnome_vfs.c:76: warning: implicit declaration of function `D' input_gnome_vfs.c: In function `gnomevfs_plugin_read_block': input_gnome_vfs.c:122: warning: nested extern declaration of `D' make[4]: *** [input_gnome_vfs.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/xine-lib-1_rc0-r2/work/xine-lib-1-rc0a/src/input' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/xine-lib-1_rc0-r2/work/xine-lib-1-rc0a/src/input' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/xine-lib-1_rc0-r2/work/xine-lib-1-rc0a/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xine-lib-1_rc0-r2/work/xine-lib-1-rc0a' make: *** [all] Error 2 !!! ERROR: media-libs/xine-lib-1_rc0-r2 failed. !!! Function src_compile, Line 95, Exitcode 2 !!! Parallel make failed Calculating dependencies ...done! >>> emerge (1 of 1) media-libs/xine-lib-1_rc0-r2 to / >>> md5 src_uri ;-) xine-lib-1-rc0a.tar.gz Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.48-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8) ============================================================== === System uname: 2.4.21 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio. org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 apm avi crypt cups encode libg++ mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv aalib berkdb esd gdbm gif gnome-libs gpm gtk imlib java libwww motif oggvorbis pam python readline sdl snmp ssl svga tcpd -3dnow alsa apache2 -arts bonobo cdr curses dga dvd emacs ethereal evo fbcon gnome gtk2 gtkhtml guile jpeg -kde lcms -lirc -mikmod -moznoxft mysql nas -nls odbc -opengl oss pcmcia pda perl pic plotutils png pnp -qt -qtmt samba -slang smooth tcltk tetex tiff trusted usb vim-with-x xml X X509 zlib" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i686 -march=i686 -O3 -pipe" CXXFLAGS="-mcpu=i686 -march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" FEATURES="ccache digest sandbox strict"
Same errors here. Portage 2.0.48-r7 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8) ================================================================= System uname: 2.4.20-gentoo-r5 i586 AMD-K6(tm)-III+ Processor GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss apm avi crypt encode jpeg libg++ mikmod mmx mpeg pdflib quicktime spell xml2 xv arts berkdb bonobo cdr esd gdbm gif gnome gnome-libs gpm guile imlib java kde libwww motif mozilla nls oggvorbis opengl pam perl png python qt readline scanner sdl slang ssl svga tcpd tiff X gtk gtk2 -xmms 3dnow 3dfx voodoo3 matrox truetype bindist prebuilt cups alsa tcltk ncurses" COMPILER="" CHOST="i586-pc-linux-gnu" CFLAGS="-march=k6 -Os -fomit-frame-pointer -pipe" CXXFLAGS="-march=k6 -Os -fomit-frame-pointer -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache fixpackages"
http://sourceforge.net/tracker/index.php?func=detail&aid=783988&group_id=9655&atid=109655 correct link, see if it gets fixed Or could the reporter here give us a patch with the debug stuff removed (that should do the trick) ?
Created attachment 16266 [details, diff] Patch to remove debugging from input-gnome-vfs.c Here's a patch to remove all instances of D() which seems to upset gcc-2.95 - with this patch, xine-lib-lib-1_rc0 compiles for me.
Created attachment 16267 [details] xine-lib ebuild which uses the above patch
Foser, hope you don't mind if I just hand this to you. I don't have the time at the moment to be working on it.
thnx for the patch, i've added it to the -r3 ebuild. Patching was fine, but i couldn't buildtest it. So please test it and report back.
Sorry about the delayed reply; I've been offline for a couple of weeks. I have now tried the r3 ebuild and it works fine.
no problem, thanks for getting back