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

Bug 40652

Summary: kde-base/kdegames-3.2.0 fails to compile
Product: Gentoo Linux Reporter: Joe Khoobyar <joe>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joe Khoobyar 2004-02-06 15:40:35 UTC
Compilation fails on kdegames-3.2.0

Reproducible: Always
Steps to Reproduce:
emerge -vu kdegames
Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkdegames -I/usr/kde/3.2/include
-I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp
-march=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute
-fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o ktron.o
`test -f 'ktron.cpp' || echo './'`ktron.cpp
In file included from /usr/kde/3.2/include/kaction.h:35,
                 from ktron.cpp:28:
/usr/kde/3.2/include/kstdaction.h:136: error: conflicting types for `Up'
player.h:29: error: previous declaration as `Direction Up'
make[2]: *** [ktron.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/kdegames-3.2.0/work/kdegames-3.2.0/ktron'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdegames-3.2.0/work/kdegames-3.2.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdegames-3.2.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make


Expected Results:  
compiled, installed and merged cleanly.

Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.12
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /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/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/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirrors.tds.net/gentoo
http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.netnitco.net
http://cudlug.cudenver.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups
directfb encode esd foomaticdb gdbm ggi gif gnome gpm gtk gtk2 imlib java jpeg
kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql nas ncurses
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner
sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype video_cards_savage
x86 xml2 xmms xv zlib"
Comment 1 Derick Swanepoel 2004-02-07 05:11:01 UTC
There are proposed patches at http://bugs.kde.org/show_bug.cgi?id=74121

I did not have this problem compiling KDE 3.2.0 with konstruct on my Gentoo system.
Comment 2 Joe Khoobyar 2004-02-07 08:49:27 UTC
I did.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-02-08 08:43:07 UTC

*** This bug has been marked as a duplicate of 40355 ***