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

Bug 132540

Summary: games-mud/kmc does not emerge with gcc-4.1
Product: Gentoo Linux Reporter: Tupone Alfredo <tupone>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED CANTFIX    
Severity: normal CC: halcy0n
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    

Description Tupone Alfredo gentoo-dev 2006-05-07 02:58:06 UTC
This is the log of the compilation that fails:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I.  -I/usr/kde/3.4/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.7/i686-linux/CORE   -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes  -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fpermissive -fpermissive -fpermissive -fno-exceptions -fno-check-new -Wno-write-strings -Wno-unused  -c -o ktelout.moc.o `test -f 'ktelout.moc.cpp' || echo './'`ktelout.moc.cpp
distcc[19059] ERROR: compile /var/tmp/ccache/kcolorstri.tmp.alfredo2.19040.ii on 192.168.0.2 failed
cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wbad-function-cast" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
kcolorstring.h:183: warning: extra ';'
kcolorstring.cpp: In member function 'void KmcVisualDefs::KTextStyle::setAttr(KmcVisualDefs::textAttr)':
kcolorstring.cpp:57: error: invalid lvalue in assignment
kcolorstring.cpp: In member function 'void KmcVisualDefs::KTextStyle::unsetAttr(KmcVisualDefs::textAttr)':
kcolorstring.cpp:62: error: invalid lvalue in assignment
kcolorstring.cpp: In member function 'void KmcVisualDefs::KTextStyle::setFromAnsiCode(int)':
kcolorstring.cpp:137: error: invalid lvalue in assignment
kcolorstring.cpp:139: error: invalid lvalue in assignment
make[3]: *** [kcolorstring.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-05-24 21:43:49 UTC
This looks like a pain to fix.  Upstream hasn't had a release since 2003, maybe we can just drop this package?
Comment 2 Tupone Alfredo gentoo-dev 2006-05-24 22:27:45 UTC
Following your advice it was already masked for removal.

# Alfredo Tupone <tupone@gentoo.org> (23 May 2006)
# No fix found for gcc-4.1, and upstream dead. Bug #132540
# Masked for removal
games-mud/kmc