Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31480 - media-plugins/crystality-plugin-0.92 fails to compile because of syntax errors
Summary: media-plugins/crystality-plugin-0.92 fails to compile because of syntax errors
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-19 02:27 UTC by Ioannis Aslanidis (RETIRED)
Modified: 2003-10-22 22:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed crystality-plugin-0.92-gcc3.3 patch (crystality-plugin-0.92-gcc3.3.patch,2.49 KB, patch)
2003-10-19 04:01 UTC, Brandy Westcott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ioannis Aslanidis (RETIRED) gentoo-dev 2003-10-19 02:27:41 UTC
This is a plugin for XMMS.

# emerge crystality-plugin
Calculating dependencies ...done!
>>> emerge (1 of 1) media-plugins/crystality-plugin-0.92 to /
>>> md5 src_uri ;-) crystality-plugin-0.92.tar.gz
>>> Unpacking source...
>>> Unpacking crystality-plugin-0.92.tar.gz to
/var/tmp/portage/crystality-plugin-0.92/work
>>> Source unpacked.
cc -s -mpentium -O6 -Wall -ffast-math -fomit-frame-pointer -finline-functions
-fexpensive-optimizations -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -c crystality.c
`-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead.
cc -s -mpentium -O6 -Wall -ffast-math -fomit-frame-pointer -finline-functions
-fexpensive-optimizations -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -c gui.c
`-mpentium' is deprecated. Use `-march=pentium' or `-mcpu=pentium' instead.
gui.c:28:1: missing terminating " character
gui.c:30: error: syntax error before "Bandwidth"
gui.c:30:42: invalid suffix "D" on integer constant
gui.c:34: error: stray '\' in program
gui.c:35: error: syntax error at '@' token
gui.c:50:1: missing terminating " character
gui.c: In function `about_close_cb':
gui.c:63: error: `about_dialog' undeclared (first use in this function)
gui.c:63: error: (Each undeclared identifier is reported only once
gui.c:63: error: for each function it appears in.)
gui.c: In function `gui_about':
gui.c:70: error: `about_dialog' undeclared (first use in this function)
gui.c: In function `conf_close_cb':
gui.c:91: error: `conf_dialog' undeclared (first use in this function)
gui.c: In function `gui_configure':
gui.c:156: error: `conf_dialog' undeclared (first use in this function)
make: *** [gui.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-plugins/crystality-plugin-0.92 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge crystality-plugin
Actual Results:  
The plugin fails to compile.

Expected Results:  
The plugin should have compiled.

Portage 2.0.49-r13-2 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox buildpkg digest ccache distcc usersandbox noauto
keepwork"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://ftp.gentoo.skynet.be/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.linux.no/
http://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo
http://mirror.pudas.net/gentoo http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
http://www.fhh.opensource-mirror.de/gentoo.org/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo
http://darkstar.ist.utl.pt/gentoo/ http://ftp.caliu.info/pub/gentoo/
http://gentoo.inode.at/ http://ftp.rhnet.is/pub/gentoo/ ftp://files.gentoo.gr
http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 libg++ mikmod gdbm berkdb tetex sdl pam python ldap 3dnow aalib alsa
apm arts avi cdr crypt cscope cups curl dga directfb doc dvd dvdr emacs emacs-w3
encode esd ethereal fbcon flash foomaticdb gif gphoto2 gnome gpm gstreamer gtk
imlib ipv6 java jikes jpeg junit kde leim libwww mad maildir memlimit mmx motif
mozilla mpeg mule nas ncurses nls nocd oggvorbis opengl oss ppds pdflib perl png
bindist qt quicktime readline slang spell sse ssl svga tcltk tcpd tiff truetype
usb videos wmf wxwindows X xinerama xosd xml xml2 xmms xv zlib"
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-10-19 04:01:50 UTC
Created attachment 19452 [details, diff]
proposed crystality-plugin-0.92-gcc3.3 patch
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-10-19 06:06:57 UTC
... 2 things:

1) How to apply patch?
2) Why does crystality-plugin bypass CFLAGS ?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-10-19 12:11:46 UTC
in cvs
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2003-10-22 00:27:21 UTC
OK It works now!
Comment 5 Joshua Kinard gentoo-dev 2003-10-22 22:04:31 UTC
Closing