Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231782 - app-office/kmymoney2-0.9 /hardened - kmymoneyreportconfigtab2decl.cpp:61: error: invalid use of undefined type `struct KMyMoneyGeneralCombo'
Summary: app-office/kmymoney2-0.9 /hardened - kmymoneyreportconfigtab2decl.cpp:61: err...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 16:21 UTC by Christian Apeltauer
Modified: 2009-11-09 20:40 UTC (History)
2 users (show)

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


Attachments
/var/tmp/portage/app-office/kmymoney2-0.9/temp/environment (environment,168.43 KB, text/plain)
2008-07-14 16:25 UTC, Christian Apeltauer
Details
/var/tmp/portage/app-office/kmymoney2-0.9/temp/environment (environment,168.43 KB, text/plain)
2008-07-14 16:30 UTC, Christian Apeltauer
Details
/var/tmp/portage/app-office/kmymoney2-0.9/temp/build.log (build.log,140.10 KB, text/plain)
2008-07-14 16:38 UTC, Christian Apeltauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Apeltauer 2008-07-14 16:21:26 UTC
When I try to emerge kmymoney2-0.9 on a hardened amd64 with gcc-3.4.6 the compilation fails with an error (see below).
My emerge --info:
Portage 2.2_rc1 (hardened/amd64, gcc-3.4.6, glibc-2.8_p20080602-r0, 2.6.25-hardened-r1-monolith x86_64)
=================================================================
System uname: Linux-2.6.25-hardened-r1-monolith-x86_64-AMD_Sempron-tm-_Processor_3000+-with-glibc2.3.2
Timestamp of tree: Thu, 10 Jul 2008 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -fomit-frame-pointer -O2 -pipe"
DISTDIR="/var/distfiles"
FEATURES="collision-protect distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox webrsync-gpg"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LDFLAGS=""
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/var/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa amd64 arts bash-completion berkdb bzip2 caps cdr cracklib crypt dbus dvd dvdr dvdread encode fbcon ffmpeg flac gif gnutls gtk2 hal hardened id3tag imap ipv6 jpeg jpeg2k justify kde kdeenablefinal latex midi motif ncurses nls nptl nptlonly offensive ogg openexr opengl pam pic pie png qt3 qt4 readline ruby sasl sdl skey smartcard spell sse2 ssl symlink tcpd theora tiff truetype unicode urandom usb vcd vim-syntax vorbis xine xorg xvid zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="agfa_cl20" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="openchrome via vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
 * The ebuild environment file is located at '/var/tmp/portage/app-office/kmymoney2-0.9/temp/environment'.
 * 

Reproducible: Always

Steps to Reproduce:
1. emerge =kmymoney2-0.9
2.
3.
Actual Results:  
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -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=k8 -fomit-frame-pointer -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions  -c -o kmymoneyreportconfigtab1decl.o kmymoneyreportconfigtab1decl.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -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=k8 -fomit-frame-pointer -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions  -c -o kmymoneyreportconfigtab2decl.o kmymoneyreportconfigtab2decl.cpp
kmymoneyreportconfigtab2decl.cpp: In constructor `kMyMoneyReportConfigTab2Decl::kMyMoneyReportConfigTab2Decl(QWidget*, const char*, uint)':
kmymoneyreportconfigtab2decl.cpp:61: error: invalid use of undefined type `struct KMyMoneyGeneralCombo'
kmymoneyreportconfigtab2decl.h:23: 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:386: note: candidates are: void QBoxLayout::addWidget(QWidget*, int, int)
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -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=k8 -fomit-frame-pointer -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fexceptions  -c -o kmymoneyreportconfigtab3decl.o kmymoneyreportconfigtab3decl.cpp
make[5]: *** [kmymoneyreportconfigtab2decl.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9/work/kmymoney2-0.9/kmymoney2/widgets'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9/work/kmymoney2-0.9/kmymoney2/widgets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9/work/kmymoney2-0.9/kmymoney2'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9/work/kmymoney2-0.9/kmymoney2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/kmymoney2-0.9/work/kmymoney2-0.9'
make: *** [all] Error 2
 * 
 * ERROR: app-office/kmymoney2-0.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4061:  Called kde_src_compile
 *             environment, line 2893:  Called kde_src_compile 'all'
 *             environment, line 3013:  Called kde_src_compile 'myconf' 'configure' 'make'
 *             environment, line 3009:  Called die
 * The specific snippet of code:
 *                   emake || die "died running emake, $FUNCNAME:make"
 *  The die message:
 *   died running emake, kde_src_compile:make
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/kmymoney2-0.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/kmymoney2-0.9/temp/environment'.
 * 

Expected Results:  
KMyMoney2 should be built and emerged.

Emerging works with gcc-4.3.1-r1
Comment 1 Christian Apeltauer 2008-07-14 16:25:23 UTC
Created attachment 160356 [details]
/var/tmp/portage/app-office/kmymoney2-0.9/temp/environment
Comment 2 Christian Apeltauer 2008-07-14 16:30:21 UTC
Created attachment 160357 [details]
/var/tmp/portage/app-office/kmymoney2-0.9/temp/environment
Comment 3 Christian Apeltauer 2008-07-14 16:38:06 UTC
Created attachment 160361 [details]
/var/tmp/portage/app-office/kmymoney2-0.9/temp/build.log

complete build log
Comment 4 Ciprian Ciubotariu 2009-01-15 15:24:50 UTC
Confirmed on hardened x86. Same error.
Comment 5 Ciprian Ciubotariu 2009-01-15 16:26:53 UTC
However, it compiles just fine on non-hardened amd64, so perhaps this is related to the hardened project rather.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-11-09 17:18:39 UTC
(In reply to comment #0)
> Portage 2.2_rc1 (hardened/amd64, gcc-3.4.6, glibc-2.8_p20080602-r0,

Current hardened GCC is 4.3.4, reopen if you can still produce this with it.
Comment 7 Ciprian Ciubotariu 2009-11-09 20:40:22 UTC
On my system I have selinux, which is left with gcc3. On the other hand, during the past year I have found an alternative solution that doesn't involve using the selinux machine for kmymoney2.

(In reply to comment #6)
> (In reply to comment #0)
> > Portage 2.2_rc1 (hardened/amd64, gcc-3.4.6, glibc-2.8_p20080602-r0,
> 
> Current hardened GCC is 4.3.4, reopen if you can still produce this with it.
>