Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45860 - xmmsctrl borks on compilation
Summary: xmmsctrl borks on compilation
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 19:50 UTC by Jeremy Huddleston (RETIRED)
Modified: 2004-03-28 16:47 UTC (History)
3 users (show)

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 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-26 19:50:33 UTC
xmms-1.2.10-r1 installed

/usr/local/download/portage-cvs/media-sound/xmmsctrl $ ebuild xmmsctrl-1.6.ebuild install   
>>> md5 src_uri ;-) xmmsctrl-1.6.tar.gz
>>> Unpacking source...
>>> Unpacking xmmsctrl-1.6.tar.gz to /var/tmp/portage/xmmsctrl-1.6/work
 * Applying xmmsctrl-jump.patch...                                                                        [ ok ]
>>> Source unpacked.
gcc -o xmmsctrl xmmsctrl.c -Wall -ansi -pedantic -Wshadow -Wmissing-prototypes -W -O2 -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DVERSION=\"1.6\" -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxmms
xmmsctrl.c:107: error: `xmms_remote_show_jump_box' undeclared here (not in a function)
xmmsctrl.c:107: error: initializer element is not constant
xmmsctrl.c:107: error: (near initialization for `com[6].command')
xmmsctrl.c:109: warning: missing initializer
xmmsctrl.c:109: warning: (near initialization for `com[6].command')
xmmsctrl.c:109: error: initializer element is not constant
xmmsctrl.c:109: error: (near initialization for `com[6]')
xmmsctrl.c:114: error: initializer element is not constant
xmmsctrl.c:114: error: (near initialization for `com[7]')
xmmsctrl.c:119: error: initializer element is not constant
xmmsctrl.c:119: error: (near initialization for `com[8]')
xmmsctrl.c:124: error: initializer element is not constant
xmmsctrl.c:124: error: (near initialization for `com[9]')
xmmsctrl.c:129: error: initializer element is not constant
xmmsctrl.c:129: error: (near initialization for `com[10]')
xmmsctrl.c:134: error: initializer element is not constant
xmmsctrl.c:134: error: (near initialization for `com[11]')
xmmsctrl.c:139: error: initializer element is not constant
xmmsctrl.c:139: error: (near initialization for `com[12]')
xmmsctrl.c:144: error: initializer element is not constant
xmmsctrl.c:144: error: (near initialization for `com[13]')
xmmsctrl.c:149: error: initializer element is not constant
xmmsctrl.c:149: error: (near initialization for `com[14]')
xmmsctrl.c:154: error: initializer element is not constant
xmmsctrl.c:154: error: (near initialization for `com[15]')
xmmsctrl.c:159: error: initializer element is not constant
xmmsctrl.c:159: error: (near initialization for `com[16]')
xmmsctrl.c:164: error: initializer element is not constant
xmmsctrl.c:164: error: (near initialization for `com[17]')
xmmsctrl.c:169: error: initializer element is not constant
xmmsctrl.c:169: error: (near initialization for `com[18]')
xmmsctrl.c:174: error: initializer element is not constant
xmmsctrl.c:174: error: (near initialization for `com[19]')
xmmsctrl.c:179: error: initializer element is not constant
xmmsctrl.c:179: error: (near initialization for `com[20]')
xmmsctrl.c:184: error: initializer element is not constant
xmmsctrl.c:184: error: (near initialization for `com[21]')
make: *** [xmmsctrl] Error 1

!!! ERROR: media-sound/xmmsctrl-1.6 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! (no error message)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-26 23:54:54 UTC
>>> Source unpacked.
gcc -o xmmsctrl xmmsctrl.c -Wall -ansi -pedantic -Wshadow -Wmissing-prototypes -W -O2 -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DVERSION=\"1.6\" -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxmms
strip xmmsctrl
./xmmsctrl > HELP || true
 
>>> Install xmmsctrl-1.6-r1 into /var/tmp/portage/xmmsctrl-1.6-r1/image/ category media-sound
man:
prepallstrip:
strip:
strip:
   usr/bin/xmmsctrl
>>> Completed installing into /var/tmp/portage/xmmsctrl-1.6-r1/image/
 
>>> Merging media-sound/xmmsctrl-1.6-r1 to /
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-26 23:55:25 UTC
I'm going to unmask it, because a few things are b0rking with it masked.  brad[] and I both verified a successful build
Comment 3 scope 2004-03-26 23:58:30 UTC
does not work for me here.

same error as that was posted, here my "emerge info":

junk@osiris junk $ emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://planetmirror.com/pub/gentoo/ http://mirror.pacific.net.au/linux/Gentoo http://ftp.vic.keypoint.com.au/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-gnome-current"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-27 00:12:05 UTC
Seemant, scope:  what versions of xmms do you have installed?  I'll try to clean this up right now...
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-27 00:20:12 UTC
ah crap... I know why it is... the symbol is provided in a patch, and I forgot I emerged a patchless xmms for testing a while back and didn't go back... sorry for causing unneccessary borkage, seemant.

scope, what version of xmms do you have installed?  Please run:

$ xmms-config --version
$ xmms-config --cflags
$ qpkg -I -v xmms

Thanks.
Comment 6 scope 2004-03-27 00:24:08 UTC
junk@osiris junk $ xmms-config --version
1.2.10
junk@osiris junk $ xmms-config --cflags
-I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
junk@osiris junk $ qpkg -I -v xmms
x11-themes/xmms-themes-0.0.3 *
media-sound/xmms-1.2.10-r1 *
Comment 7 scope 2004-03-27 00:35:18 UTC
yeah. i was looking in xmmsctrl.h and "xmms_remote_show_jump_box" isn't defined in there (what it's complaining about).. is that what the patch missed out? i'm using the ebuild version 1.2.10-r1
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-27 00:38:29 UTC
can you try reemerging xmms-1.2.10-r1?  Watch the patch lines... the patch that includes this is the xmms-1.2.10-jump.patch.  You can look for it in /var/tmp/packages/xmms-1.2.10-r1/work/patches while it's compiling... also, you can verify the header file in /var/tmp/packages/xmms-1.2.10-r1/work/xmms-1.2.10/libxmms/xmmscrtl.h (I may have misspelled something as I dind't copy paste... if so, sorry).

As soon as I reemerged 1.2.10-r1 with the patches, it emerged fine... but I'm curious why you're having problems unless you disabled the patches for testing...
Comment 9 scope 2004-03-27 00:46:55 UTC
ah yes, it compiles now
Comment 10 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-28 16:47:48 UTC
closing