RedHat-Artwork fails to merge correctly, I get several errors from the redhatclient.cpp and redhatclient.moc files. I have attached a log from the build and pasted in the last part of the log. Reproducible: Always Steps to Reproduce: 1. emerge redhat-artwork 2. 3. Actual Results: ***************** More Errors about this ***************** redhatclient.cpp:838: error: initializer list being treated as compound expression redhatclient.cpp:838: error: no matching function for call to ` KWinInternal::RedHatButton::RedHatButton(QString)' redhatclient.h:48: error: candidates are: KWinInternal::RedHatButton::RedHatButton() redhatclient.h:48: error: KWinInternal::RedHatButton::RedHatButton(const KWinInternal::RedHatButton&) redhatclient.cpp:841: error: no matching function for call to `QHBoxLayout:: addWidget(KWinInternal::RedHatButton*&)' /usr/qt/3/include/qlayout.h:386: error: candidates are: void QBoxLayout::addWidget(QWidget*, int, int) redhatclient.cpp:848: error: `isMinimizable' undeclared (first use this function) redhatclient.cpp:852: error: initializer list being treated as compound expression redhatclient.cpp:852: error: no matching function for call to ` KWinInternal::RedHatButton::RedHatButton(QString)' redhatclient.h:48: error: candidates are: KWinInternal::RedHatButton::RedHatButton() redhatclient.h:48: error: KWinInternal::RedHatButton::RedHatButton(const KWinInternal::RedHatButton&) redhatclient.cpp:855: error: no matching function for call to `QHBoxLayout:: addWidget(KWinInternal::RedHatButton*&)' /usr/qt/3/include/qlayout.h:386: error: candidates are: void QBoxLayout::addWidget(QWidget*, int, int) redhatclient.cpp:862: error: `isMaximizable' undeclared (first use this function) redhatclient.cpp:866: error: initializer list being treated as compound expression redhatclient.cpp:866: error: no matching function for call to ` KWinInternal::RedHatButton::RedHatButton(QString)' redhatclient.h:48: error: candidates are: KWinInternal::RedHatButton::RedHatButton() redhatclient.h:48: error: KWinInternal::RedHatButton::RedHatButton(const KWinInternal::RedHatButton&) redhatclient.cpp:869: error: no matching function for call to `QHBoxLayout:: addWidget(KWinInternal::RedHatButton*&)' /usr/qt/3/include/qlayout.h:386: error: candidates are: void QBoxLayout::addWidget(QWidget*, int, int) redhatclient.cpp:880: error: initializer list being treated as compound expression redhatclient.cpp:880: error: no matching function for call to ` KWinInternal::RedHatButton::RedHatButton(QString)' redhatclient.h:48: error: candidates are: KWinInternal::RedHatButton::RedHatButton() redhatclient.h:48: error: KWinInternal::RedHatButton::RedHatButton(const KWinInternal::RedHatButton&) redhatclient.cpp:883: error: no matching function for call to `QHBoxLayout:: addWidget(KWinInternal::RedHatButton*&)' /usr/qt/3/include/qlayout.h:386: error: candidates are: void QBoxLayout::addWidget(QWidget*, int, int) redhatclient.cpp:890: error: `isTool' undeclared (first use this function) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::iconChange()': redhatclient.cpp:907: error: `isVisible' undeclared (first use this function) redhatclient.cpp:908: error: `repaint' undeclared (first use this function) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::stickyChange(bool)': redhatclient.cpp:915: error: `repaint' undeclared (first use this function) redhatclient.cpp:916: error: `setTipText' undeclared (first use this function) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::slotMaximize()': redhatclient.cpp:922: error: `MidButton' undeclared (first use this function) redhatclient.cpp:923: error: `MaximizeVertical' undeclared (first use this function) redhatclient.cpp:923: error: `maximize' undeclared (first use this function) redhatclient.cpp:924: error: `RightButton' undeclared (first use this function) redhatclient.cpp:925: error: `MaximizeHorizontal' undeclared (first use this function) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::resizeEvent(QResizeEvent*)': redhatclient.cpp:933: error: `Client' undeclared (first use this function) redhatclient.cpp:933: error: parse error before `::' token redhatclient.cpp:937: error: `isVisibleToTLW' undeclared (first use this function) redhatclient.cpp:939: error: `update' undeclared (first use this function) redhatclient.cpp:961: error: incomplete type 'QApplication' cannot be used to name a scope redhatclient.cpp: In member function `void KWinInternal::RedHatClient::captionChange(const QString&)': redhatclient.cpp:969: error: `repaint' undeclared (first use this function) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::paintEvent(QPaintEvent*)': redhatclient.cpp:983: error: no matching function for call to `QPainter:: QPainter(KWinInternal::RedHatClient* const)' /usr/qt/3/include/qpainter.h:421: error: candidates are: QPainter::QPainter(const QPainter&) /usr/qt/3/include/qpainter.h:70: error: QPainter::QPainter(const QPaintDevice*, const QWidget*, bool) /usr/qt/3/include/qpainter.h:69: error: QPainter::QPainter(const QPaintDevice*, bool) /usr/qt/3/include/qpainter.h:68: error: QPainter::QPainter() redhatclient.cpp:994: error: parse error before `::' token redhatclient.cpp:1003: error: parse error before `::' token redhatclient.cpp:1017: error: parse error before `::' token redhatclient.cpp:1021: error: parse error before `::' token redhatclient.cpp:1022: error: parse error before `::' token redhatclient.cpp:1024: error: parse error before `::' token redhatclient.cpp:1025: error: parse error before `::' token redhatclient.cpp:1056: error: invalid conversion from `QColor (*)(...)' to ` unsigned int' redhatclient.cpp:1056: error: initializing argument 1 of ` QColor::QColor(unsigned int, unsigned int)' redhatclient.cpp:1056: error: invalid conversion from `QColor (*)(...)' to ` unsigned int' redhatclient.cpp:1056: error: initializing argument 1 of ` QColor::QColor(unsigned int, unsigned int)' redhatclient.cpp:1065: error: invalid conversion from `QColor (*)(...)' to ` unsigned int' redhatclient.cpp:1065: error: initializing argument 1 of ` QColor::QColor(unsigned int, unsigned int)' redhatclient.cpp:1065: error: invalid conversion from `QColor (*)(...)' to ` unsigned int' redhatclient.cpp:1065: error: initializing argument 1 of ` QColor::QColor(unsigned int, unsigned int)' redhatclient.cpp:1070: error: `isActive' undeclared (first use this function) redhatclient.cpp:1088: error: `caption' undeclared (first use this function) redhatclient.cpp:1094: error: parse error before `::' token redhatclient.cpp:1097: error: `AlignLeft' undeclared (first use this function) redhatclient.cpp:1097: error: `AlignVCenter' undeclared (first use this function) redhatclient.cpp:1099: error: parse error before `::' token redhatclient.cpp:1121: error: parse error before `::' token redhatclient.cpp:1122: error: invalid conversion from `QColor (*)(...)' to ` unsigned int' redhatclient.cpp:1122: error: initializing argument 1 of ` QColor::QColor(unsigned int, unsigned int)' redhatclient.cpp:1125: error: request for member `hsv' in `lighterColor', which is of non-aggregate type `QColor ()(...)' redhatclient.cpp:1126: warning: converting to `int' from `double' redhatclient.cpp:1142: error: `isVisible' undeclared (first use this function) redhatclient.cpp:1151: error: `geometry' undeclared (first use this function) redhatclient.cpp:1172: error: parse error before `::' token redhatclient.cpp:1189: error: parse error before `::' token redhatclient.cpp:1244: error: no matching function for call to `bitBlt( KWinInternal::RedHatClient* const, int, int, KPixmap*&)' /usr/qt/3/include/qpixmap.h:249: error: candidates are: void bitBlt(QPaintDevice*, int, int, const QPaintDevice*, int, int, int, int, Qt::RasterOp, bool) /usr/qt/3/include/qpixmap.h:252: error: void bitBlt(QPaintDevice*, int, int, const QImage*, int, int, int, int, int) /usr/qt/3/include/qpaintdevice.h:410: error: void bitBlt(QPaintDevice*, const QPoint&, const QPaintDevice*, const QRect&, Qt::RasterOp, bool) /usr/qt/3/include/qimage.h:336: error: void bitBlt(QImage*, int, int, const QImage*, int, int, int, int, int) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::doShape()': redhatclient.cpp:1310: error: `setMask' undeclared (first use this function) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::showEvent(QShowEvent*)': redhatclient.cpp:1318: error: parse error before `::' token redhatclient.cpp: In member function `void KWinInternal::RedHatClient::mouseDoubleClickEvent(QMouseEvent*)': redhatclient.cpp:1325: error: `workspace' undeclared (first use this function) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::maximizeChange(bool)': redhatclient.cpp:1333: error: `setTipText' undeclared (first use this function) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::activeChange(bool)': redhatclient.cpp:1342: error: `repaint' undeclared (first use this function) redhatclient.cpp: In member function `void KWinInternal::RedHatClient::calcHiddenButtons()': redhatclient.cpp:1375: error: `isVisible' undeclared (first use this function) redhatclient.cpp:1376: error: `hide' undeclared (first use this function) redhatclient.cpp:1383: error: `show' undeclared (first use this function) redhatclient.cpp: At global scope: redhatclient.cpp:1388: error: syntax error before `::' token redhatclient.cpp: In member function `void KWinInternal::RedHatClient::menuButtonPressed()': redhatclient.cpp:1415: error: `rect' undeclared (first use this function) redhatclient.cpp:1417: error: `mapToGlobal' undeclared (first use this function) redhatclient.cpp:1418: error: `setDown' undeclared (first use this function) redhatclient.cpp: At global scope: redhatclient.cpp:1425: error: syntax error before `*' token redhatclient.cpp:1444: error: parse error before `}' token In file included from redhatclient.cpp:1446: redhatclient.moc: In static member function `static QMetaObject* KWinInternal::RedHatClient::staticMetaObject()': redhatclient.moc:51: error: no class template named `Client' in `KWinInternal' redhatclient.moc: In member function `virtual void* KWinInternal::RedHatClient::qt_cast(const char*)': redhatclient.moc:75: error: parse error before `::' token redhatclient.moc: In member function `virtual bool KWinInternal::RedHatClient::qt_invoke(int, QUObject*)': redhatclient.moc:84: error: parse error before `::' token redhatclient.moc: In member function `virtual bool KWinInternal::RedHatClient::qt_emit(int, QUObject*)': redhatclient.moc:91: error: parse error before `::' token redhatclient.moc: In member function `virtual bool KWinInternal::RedHatClient::qt_property(int, int, QVariant*)': redhatclient.moc:97: error: parse error before `::' token {standard input}: Assembler messages: {standard input}:796: Error: symbol `_ZN12KWinInternal12RedHatClient12largeButtonsE' is already defined {standard input}:827: Error: symbol `_ZN12KWinInternal12RedHatClient16addClientButtonsE' is already defined {standard input}:833: Error: symbol `_ZN12KWinInternal12RedHatClient2hbE' is already defined make[5]: *** [redhatclient.lo] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 !!! ERROR: x11-themes/redhat-artwork-0.73 failed. !!! Function src_compile, Line 128, Exitcode 2 !!! (no error message) Expected Results: Successfully added the BlueCurve themes for GTK, GTK2, KDE, etc, etc... Gentoo Base System version 1.4.16 Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 i686 Pentium III (Coppermine) ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fprefetch-loop-arrays -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.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="-O2 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/ http://gentoo.netnitco.net http://cudlug.cudenver.edu/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 aalib acpi acpi4linux alsa apm arts avi berkdb cdr crypt cscope cups curl dedicated dga doc dv dvd dvdr encode erandom esd faad fam flac foomaticdb gcj gd gdbm ggi gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib innodb java jbig jikes joystick jpeg junit kde lame lcms libg++ libwww mad mbox mikmod mmx monkey motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses net nls nptl objc odbc offensive oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline samba sasl scanner sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff truetype usb vhost video_cards_mach64 vim-with-x virus-scan wmf wxwindows x86 xinerama xml xml2 xmms xv xvid zlib"
Created attachment 34809 [details] Output from 'emerge redhat-artwork > /tmp/emerge_redhat-artwork.log'
ideas kde folks?
I guess it's just too old - theming stuff changed from kDE 3.1 to 3.2. The newest version compiled fine here, while 0.73 failed, too.
thanks .. i'll look into marking the newest version stable
I get a successful merge of 0.96, but there is a little icon corruption in the KDE theme. The Icon on the top left corner, next to the system menu does not display correctly. XMMS and GNOME seem to work correctly though. I don't know what to do to check into that though. :-( I'm merging redhat-artwork-0.96 using "env ACCEPT_KEYWORDS="~x86" emerge redhat-artwork"
Closing this old bug, the stable version in portage should compile now.