Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275969 - app-office/kmymoney2 fails to compile
Summary: app-office/kmymoney2 fails to compile
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 16:55 UTC by emerald
Modified: 2009-12-01 20:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,22.32 KB, text/plain)
2009-06-30 16:56 UTC, emerald
Details
build.log (build.log,752.21 KB, text/plain)
2009-06-30 17:18 UTC, emerald
Details
kmymoney2-1.0.2 build.log (build.log,613.33 KB, text/plain)
2009-11-09 21:32 UTC, emerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description emerald 2009-06-30 16:55:30 UTC
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
Comment 1 emerald 2009-06-30 16:56:34 UTC
Created attachment 196181 [details]
emerge --info
Comment 2 emerald 2009-06-30 17:18:27 UTC
Created attachment 196183 [details]
build.log
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-07-05 07:09:28 UTC
Does the package compile successfully after you disabled ccache?
Comment 4 emerald 2009-07-06 18:14:44 UTC
no, it does not build, it fails again with the same error.
Comment 5 kevstar.31 2009-07-07 15:58:33 UTC
Dupe:http://bugs.gentoo.org/show_bug.cgi?id=250449
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-11-09 21:04:28 UTC
This should be fixed by 1.0.2, reopen, if not.
Comment 7 emerald 2009-11-09 21:32:28 UTC
Created attachment 209769 [details]
kmymoney2-1.0.2 build.log
Comment 8 emerald 2009-11-09 21:32:51 UTC
still fails to build with the same error
Comment 9 Vincent Reher 2009-11-22 23:29:36 UTC
(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".
Comment 10 Víctor Ostorga (RETIRED) gentoo-dev 2009-12-01 20:23:03 UTC
app-office/kmymoney2 removal (Pending 2009-12-01), see bug #292584 for reference