fails to build on ~amd64: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I../.. -I. -DQT_THREAD_SUPPORT -D_REENTRANT -DKMM_DEBUG=0 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=core2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -mfpmath=sse -maccumulate-outgoing-args -O3 -pipe -fomit-frame-pointer --param max-gcse-passes=8 -fgcse-after-reload -ftree-vectorizer-verbose=1 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions -c -o kmymoneyreportconfigtab2decl.o kmymoneyreportconfigtab2decl.cpp In file included from /usr/qt/3/include/qwindowdefs.h:47, from /usr/qt/3/include/qwidget.h:45, from /usr/qt/3/include/qdialog.h:45, from /usr/kde/3.5/include/kdialog.h:26, from kmymoneyreportconfigtab2decl.cpp:1: /usr/qt/3/include/qstring.h: In member function 'char QChar::latin1() const': /usr/qt/3/include/qstring.h:197: warning: conversion to 'char' from 'int' may alter its value /usr/qt/3/include/qstring.h: In member function 'void QChar::setCell(uchar)': /usr/qt/3/include/qstring.h:222: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In member function 'void QChar::setRow(uchar)': /usr/qt/3/include/qstring.h:223: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)': /usr/qt/3/include/qstring.h:267: warning: conversion to 'ushort' from 'int' may alter its value /usr/qt/3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)': /usr/qt/3/include/qstring.h:365: warning: conversion to 'unsigned int:30' from 'uint' may alter its value /usr/qt/3/include/qstring.h:365: warning: conversion to 'unsigned int:30' from 'uint' may alter its value In file included from /usr/qt/3/include/qobject.h:48, from /usr/qt/3/include/qwidget.h:46, from /usr/qt/3/include/qdialog.h:45, from /usr/kde/3.5/include/kdialog.h:26, from kmymoneyreportconfigtab2decl.cpp:1: /usr/qt/3/include/qevent.h: In constructor 'QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)': /usr/qt/3/include/qevent.h:432: warning: conversion to 'unsigned char' from 'uint' may alter its value /usr/qt/3/include/qevent.h: In member function 'void QDropEvent::setAction(QDropEvent::Action)': /usr/qt/3/include/qevent.h:523: warning: conversion to 'unsigned char' from 'uint' may alter its value In file included from /usr/qt/3/include/qwidget.h:52, from /usr/qt/3/include/qdialog.h:45, from /usr/kde/3.5/include/kdialog.h:26, from kmymoneyreportconfigtab2decl.cpp:1: /usr/qt/3/include/qsizepolicy.h: In member function 'void QSizePolicy::transpose()': /usr/qt/3/include/qsizepolicy.h:125: warning: conversion to 'uchar' from 'uint' may alter its value /usr/qt/3/include/qsizepolicy.h:125: warning: conversion to 'uchar' from 'uint' may alter its value In file included from kmymoneyreportconfigtab2decl.cpp:19: /usr/qt/3/include/qpushbutton.h: In member function 'virtual void QPushButton::setIsMenuButton(bool)': /usr/qt/3/include/qpushbutton.h:94: warning: conversion to 'unsigned char:1' from 'uint' may alter its value kmymoneyreportconfigtab2decl.cpp: In constructor 'kMyMoneyReportConfigTab2Decl::kMyMoneyReportConfigTab2Decl(QWidget*, const char*, uint)': kmymoneyreportconfigtab2decl.cpp:61: error: invalid use of incomplete type 'struct KMyMoneyGeneralCombo' kmymoneyreportconfigtab2decl.h:22: error: forward declaration of 'struct KMyMoneyGeneralCombo' kmymoneyreportconfigtab2decl.cpp:62: error: no matching function for call to 'QHBoxLayout::addWidget(KMyMoneyGeneralCombo*&)' /usr/qt/3/include/qlayout.h:389: note: candidates are: void QBoxLayout::addWidget(QWidget*, int, int) make[5]: *** [kmymoneyreportconfigtab2decl.o] Error 1 make[5]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9.3/work/kmymoney2-0.9.3/kmymoney2/widgets' make[4]: *** [all] Error 2 make[4]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9.3/work/kmymoney2-0.9.3/kmymoney2/widgets' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9.3/work/kmymoney2-0.9.3/kmymoney2' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9.3/work/kmymoney2-0.9.3/kmymoney2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9.3/work/kmymoney2-0.9.3' make: *** [all] Error 2
Created attachment 196181 [details] emerge --info
Created attachment 196183 [details] build.log
Does the package compile successfully after you disabled ccache?
no, it does not build, it fails again with the same error.
Dupe:http://bugs.gentoo.org/show_bug.cgi?id=250449
This should be fixed by 1.0.2, reopen, if not.
Created attachment 209769 [details] kmymoney2-1.0.2 build.log
still fails to build with the same error
(In reply to comment #7) > Created an attachment (id=209769) [details] > kmymoney2-1.0.2 build.log > I encountered the same problem and worked around it by temporarily changing my gcc-config from "i686-pc-linux-gnu-4.3.2" to "i686-pc-linux-gnu-4.3.2-vanilla".
app-office/kmymoney2 removal (Pending 2009-12-01), see bug #292584 for reference