Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111311 - rbscrobbler-0.0.9pre2 fails with trayiconmodule.c:6: error: syntax error before '*' token
Summary: rbscrobbler-0.0.9pre2 fails with trayiconmodule.c:6: error: syntax error befo...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-02 19:28 UTC by Angel Ortiz
Modified: 2005-11-03 00:34 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 Angel Ortiz 2005-11-02 19:28:35 UTC
The rbscrobbler-0.9 package fails to install with errors relating to the
trayiconmodule.c.15.  Here is what I get when I try to emerge it. 

emerge rbscrobbler
Calculating dependencies ...done!
>>> emerge (1 of 1) media-plugins/rbscrobbler-0.0.9_pre2 to /
>>> md5 files   ;-) rbscrobbler-0.0.9_pre2.ebuild
>>> md5 files   ;-) files/digest-rbscrobbler-0.0.9_pre2
>>> md5 src_uri ;-) rbscrobbler-0.0.9pre2.tar.gz
>>> Unpacking source...
>>> Unpacking rbscrobbler-0.0.9pre2.tar.gz to
/var/tmp/portage/rbscrobbler-0.0.9_pre2/work
>>> Source unpacked.
make[1]: Entering directory
`/var/tmp/portage/rbscrobbler-0.0.9_pre2/work/rbscrobbler-0.0.9pre2/trayicon'
cc `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.3/ -I. -fPIC
  -c -o eggtrayicon.o eggtrayicon.c
cc `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.3/ -I. -fPIC
  -c -o trayiconmodule.o trayiconmodule.c
In file included from trayiconmodule.c:4:
/usr/include/pygtk-2.0/pygobject.h:5:20: Python.h: No such file or directory
In file included from trayiconmodule.c:4:
/usr/include/pygtk-2.0/pygobject.h:20: error: syntax error before "PyObject"
/usr/include/pygtk-2.0/pygobject.h:20: warning: no semicolon at end of struct or
union
/usr/include/pygtk-2.0/pygobject.h:21: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:22: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:22: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:24: error: syntax error before '}' token
/usr/include/pygtk-2.0/pygobject.h:27: error: syntax error before "PyObject_HEAD"
/usr/include/pygtk-2.0/pygobject.h:27: warning: no semicolon at end of struct or
union
/usr/include/pygtk-2.0/pygobject.h:29: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:30: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:30: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:32: error: syntax error before '}' token
/usr/include/pygtk-2.0/pygobject.h:32: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:38: error: syntax error before "PyObject_HEAD"
/usr/include/pygtk-2.0/pygobject.h:38: warning: no semicolon at end of struct or
union
/usr/include/pygtk-2.0/pygobject.h:42: error: syntax error before '}' token
/usr/include/pygtk-2.0/pygobject.h:42: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:48: error: syntax error before "PyObject_HEAD"
/usr/include/pygtk-2.0/pygobject.h:48: warning: no semicolon at end of struct or
union
/usr/include/pygtk-2.0/pygobject.h:51: error: syntax error before '}' token
/usr/include/pygtk-2.0/pygobject.h:51: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:60: error: syntax error before "PyObject_HEAD"
/usr/include/pygtk-2.0/pygobject.h:60: warning: no semicolon at end of struct or
union
/usr/include/pygtk-2.0/pygobject.h:62: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:67: error: syntax error before "PyTypeObject"
/usr/include/pygtk-2.0/pygobject.h:74: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:76: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:79: error: syntax error before "PyTypeObject"
/usr/include/pygtk-2.0/pygobject.h:79: warning: no semicolon at end of struct or
union
/usr/include/pygtk-2.0/pygobject.h:80: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:82: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:84: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:87: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:88: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:88: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:90: error: syntax error before "PyObject"
/usr/include/pygtk-2.0/pygobject.h:91: error: syntax error before "PyObject"
/usr/include/pygtk-2.0/pygobject.h:93: error: syntax error before "PyObject"
/usr/include/pygtk-2.0/pygobject.h:93: error: `register_gtype_custom' declared
as function returning a function
/usr/include/pygtk-2.0/pygobject.h:94: error: syntax error before "int"
/usr/include/pygtk-2.0/pygobject.h:95: error: syntax error before "PyObject"
/usr/include/pygtk-2.0/pygobject.h:96: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:96: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:98: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:101: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:101: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:102: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:104: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:105: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:107: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:107: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:108: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:110: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:110: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:112: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:114: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:128: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:128: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:129: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:129: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:130: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:131: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:137: error: syntax error before "PyObject"
/usr/include/pygtk-2.0/pygobject.h:138: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:140: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:142: error: syntax error before "PyObject"
/usr/include/pygtk-2.0/pygobject.h:144: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:144: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:145: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:145: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:148: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:149: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:149: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:151: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:151: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:152: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:152: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:155: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:156: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:156: warning: data definition has no type or
storage class
/usr/include/pygtk-2.0/pygobject.h:168: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:171: error: syntax error before '*' token
/usr/include/pygtk-2.0/pygobject.h:175: error: syntax error before '}' token
trayiconmodule.c:6: error: syntax error before '*' token
trayiconmodule.c:8: error: syntax error before "trayicon_functions"
trayiconmodule.c:8: warning: data definition has no type or storage class
trayiconmodule.c:11: error: syntax error before "inittrayicon"
trayiconmodule.c: In function `inittrayicon':
trayiconmodule.c:13: error: `PyObject' undeclared (first use in this function)
trayiconmodule.c:13: error: (Each undeclared identifier is reported only once
trayiconmodule.c:13: error: for each function it appears in.)
trayiconmodule.c:13: error: `m' undeclared (first use in this function)
trayiconmodule.c:13: error: `d' undeclared (first use in this function)
trayiconmodule.c:15: error: `gobject' undeclared (first use in this function)
trayiconmodule.c:15: error: `mdict' undeclared (first use in this function)
trayiconmodule.c:15: error: `cobject' undeclared (first use in this function)
trayiconmodule.c:15: error: `PyExc_RuntimeError' undeclared (first use in this
function)
trayiconmodule.c:15: error: `PyExc_ImportError' undeclared (first use in this
function)
trayiconmodule.c: At top level:
trayiconmodule.c:8: warning: array `trayicon_functions' assumed to have one element
make[1]: *** [trayiconmodule.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/rbscrobbler-0.0.9_pre2/work/rbscrobbler-0.0.9pre2/trayicon'
make: *** [all] Error 2

!!! ERROR: media-plugins/rbscrobbler-0.0.9_pre2 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


And here is my emerge info

Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.14-ck1 i686)
=================================================================
System uname: 2.6.14-ck1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi aim alsa apm avi bash-completion berkdb bitmap-fonts bzip2
cdr crypt cups curl divx4linux eds emboss encode esd ethereal evo exif fam flac
foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick
imlib ipv6 java joystick jpeg kde libg++ libwww lm_sensors mad maildir mikmod
mmx mng motif mp3 mpeg msn ncurses nls ogg oggvorbis openal opengl oss pam
pdflib perl png python qt quicktime readline samba sdl spell sse ssl tcltk tcpd
tiff truetype truetype-fonts type1-fonts udev usb v4l vorbis win32codecs xine
xml2 xmms xv yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-03 00:34:43 UTC
Not in portage.