Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 62831

Summary: beep-media-player-1.0.0_pre5 compilation fails (oggvorbis)
Product: Gentoo Linux Reporter: Michal Januszewski (RETIRED) <spock>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 62463    

Description Michal Januszewski (RETIRED) gentoo-dev 2004-09-04 09:42:32 UTC
Merging of beep-media-player-1.0.0_pre5 fails with the following messages:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../beep -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include -I/usr/include -I../../intl -I../.. -Os -s -mcpu=athlon-xp -mmmx -m3dnow -msse -pipe -DNDEBUG -DG_DISABLE_ASSERT -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops -c vorbis.c -MT vorbis.lo -MD -MP -MF .deps/vorbis.TPlo  -fPIC -DPIC -o vorbis.lo
In file included from /usr/include/glib-2.0/glib/giochannel.h:31,
                 from /usr/include/glib-2.0/glib.h:45,
                 from vorbis.c:40:
/usr/include/glib-2.0/glib/gmain.h:35: error: syntax error before "pid"
/usr/include/glib-2.0/glib/gmain.h:251: error: syntax error before "pid"
/usr/include/glib-2.0/glib/gmain.h:296: error: syntax error before "GPid"
/usr/include/glib-2.0/glib/gmain.h:300: error: syntax error before "pid"
In file included from /usr/include/glib-2.0/glib.h:63,
                 from vorbis.c:40:
/usr/include/glib-2.0/glib/gspawn.h:80: error: syntax error before "GPid"
/usr/include/glib-2.0/glib/gspawn.h:93: error: syntax error before "GPid"
/usr/include/glib-2.0/glib/gspawn.h:123: error: syntax error before "pid"
vorbis.c: In function `vorbis_generate_title':
vorbis.c:725: warning: assignment discards qualifiers from pointer target type
make[3]: *** [vorbis.lo] B&#322;&#261;d 1
make[3]: Leaving directory `/var/tmp/portage/beep-media-player-1.0.0_pre5/work/beep-media-player-1.0.0-pre5/Input/vorbis'

It compiles correctly with -oggvorbis in USE.

One more possible issue - BMP is not listed in `pkg-config --list-all`. I think it should be, some other packages seem to need this in order to compile plugins for BMP (see bug #62463).

Portage 2.0.51_pre20 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.9-rc1 i686 AMD Athlon(tm) Processor)
=================================================================
System uname: 2.6.9-rc1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.5.3
distcc 2.17 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.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -s -mcpu=athlon-xp -mmmx -m3dnow -msse -pipe -fforce-addr -DNDEBUG -DG_DISABLE_ASSERT -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -s -mcpu=athlon-xp -mmmx -m3dnow -msse -pipe -DNDEBUG -DG_DISABLE_ASSERT -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs digest sandbox sign"
GENTOO_MIRRORS="http://src.gentoo.pl/ http://gentoo.oregonstate.edu/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/overlays/spyderous"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aalib acpi alsa apache2 apm avi berkdb bindist bonobo cdr crypt cups curl curlwrappers dba directfb encode ethereal f77 fbcon flash flatfile foomaticdb gd gdbm gdm gif gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile iconv imagemagick imlib ipv6 jabber java jpeg libg++ libwww mad maildir mbox mikmod mmx mmx2 mng motif mozilla moznocompose moznoirc mpeg mysql ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl plotutils png postgres python quicktime readline samba scanner sdl session slang sockets spell ssl svga tcltk tcpd tetex threads tiff tlen truetype wmf x86 xml xml2 xmms xosd xv zlib linguas_en linguas_pl linguas_us linguas_de"
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2004-09-06 07:23:05 UTC
I'm sorry, I didn't notice that ebuild was coming from my local overlay. The ebuilds in Portage work fine.