Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464510 - kde-base/kdepim-runtime-4.10.1 failed to compile with gcc44
Summary: kde-base/kdepim-runtime-4.10.1 failed to compile with gcc44
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo KDE team
URL: http://quickgit.kde.org/?p=kdepim-run...
Whiteboard: fixed in 4.10.3
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-04 05:11 UTC by Daiajo Tibdixious
Modified: 2013-04-25 10:30 UTC (History)
0 users

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


Attachments
gzip compressed build log (build.log.gz,78.55 KB, text/plain)
2013-04-04 05:15 UTC, Daiajo Tibdixious
Details
ebuild environment file (environment,146.63 KB, text/plain)
2013-04-04 05:16 UTC, Daiajo Tibdixious
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daiajo Tibdixious 2013-04-04 05:11:26 UTC
The offending line in build.log is (with many line breaks inserted):
[ 93%] Building CXX object agents/nepomukfeeder/CMakeFiles/akonadi_nepomuk_feeder.dir/nepomukfeederagent.o
cd /var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1_build/agents/nepomukfeeder
&& /usr/bin/x86_64-pc-linux-gnu-g++  -DDISABLE_NEPOMUK_LEGACY -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS
-D_BSD_SOURCE  -DQT_NO_DEBUG -DNDEBUG -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new
-fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden
-fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -fPIC
-I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1_build/agents/nepomukfeeder
-I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/nepomukfeeder
-I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1
-I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1_build
-I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1_build/agents/ontologies
-I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/ontologies
-I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/nepomukfeeder/plugin
-I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/nepomukfeeder/.
-I/usr/include/boost-1_49 -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml
-I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg
-I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus
-I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt
-I/usr/share/qt4/mkspecs/default -I/usr/include/qt4
-o CMakeFiles/akonadi_nepomuk_feeder.dir/nepomukfeederagent.o
-c /var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/nepomukfeeder/nepomukfeederagent.cpp
/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/nepomukfeeder/nepomukfeederagent.cpp:66: error: using âtypenameâ outside of template

line 66 of nepomukfeederagent.cpp is:
typedef QSharedPointer< QMultiHash< typename Akonadi::Collection::Id,  typename Akonadi::Item::Id> > MultiHashPointer;

This is weird to me as this is obviously a template.
My debugging ability fails at this point.

I believe that one of the definitions of Id mentioned is in
/usr/include/akonadi/entity.h which belongs to kde-base/kdepimlibs-4.10.1
which has already upgraded so should be the right version.
I am in the middle of a kde upgrade, got the following left to go:
# emerge -DavuN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] kde-base/kdepim-runtime-4.10.1:4 [4.9.5:4] USE="(-aqua) -debug -google -kolab" 0 kB
[ebuild     U  ] kde-base/kdepim-common-libs-4.10.1:4 [4.9.5:4] USE="(-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kdetoys-meta-4.10.1:4 [4.9.5:4] USE="(-aqua)" 0 kB
[ebuild     U  ] kde-base/kdeadmin-meta-4.10.1:4 [4.9.5:4] USE="(-aqua) (-cups%)" 0 kB
[ebuild     U  ] kde-base/kdeartwork-meta-4.10.1:4 [4.9.5:4] USE="(-aqua)" 0 kB
[ebuild     U  ] kde-base/kdeutils-meta-4.10.1:4 [4.9.5:4] USE="(-aqua) -cups -floppy -lirc" 0 kB
[ebuild     U  ] kde-base/kdenetwork-meta-4.10.1:4 [4.9.5:4] USE="(-aqua) -ppp" 0 kB
[ebuild     U  ] kde-base/mplayerthumbs-4.10.1:4 [4.9.5:4] USE="(-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/nsplugins-4.10.1:4 [4.9.5:4] USE="(-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/konq-plugins-4.10.1:4 [4.9.5:4] USE="(-aqua) -debug -tidy" 0 kB
[ebuild     U  ] kde-base/kajongg-4.10.1:4 [4.9.5:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kontact-4.10.1:4 [4.9.5:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kdepim-kresources-4.10.1:4 [4.9.5:4] USE="(-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kdeplasma-addons-4.10.1:4 [4.9.5:4] USE="exif semantic-desktop (-aqua) -attica -debug -desktopglobe -fcitx -ibus -json -oauth -qalculate -qwt -scim" 0 kB
[ebuild     U  ] kde-base/kdemultimedia-meta-4.10.1:4 [4.9.5:4] USE="mplayer (-aqua) -ffmpeg" 0 kB
[ebuild     U  ] kde-base/kdebase-startkde-4.10.1:4 [4.9.5:4] USE="wallpapers (-aqua)" 0 kB
[ebuild     U  ] kde-base/kleopatra-4.10.1:4 [4.9.5:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kdepim-strigi-analyzer-4.10.1:4 [4.9.5:4] USE="(-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kalarm-4.10.1:4 [4.9.5:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/konsolekalendar-4.10.1:4 [4.9.5:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/akonadiconsole-4.10.1:4 [4.9.5:4] USE="(-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/korganizer-4.10.1:4 [4.9.5:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kdebase-meta-4.10.1:4 [4.9.5:4] USE="wallpapers (-aqua)" 0 kB
[ebuild     U  ] kde-base/knode-4.10.1:4 [4.9.5:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/ktimetracker-4.10.1:4 [4.9.5:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/knotes-4.10.1:4 [4.9.5:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kaddressbook-4.10.1:4 [4.9.5:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/akregator-4.10.1:4 [4.9.5:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kjots-4.10.1:4 [4.9.5:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild     U  ] kde-base/kmail-4.10.1:4 [4.9.5:4] USE="handbook kontact (-aqua) -debug {-test}" 0 kB
[ebuild     U  ] kde-base/kdepim-meta-4.10.1:4 [4.9.5:4] USE="nls (-aqua)" 0 kB
[ebuild     U  ] kde-base/kde-meta-4.10.1:4 [4.9.5:4] USE="nls semantic-desktop -accessibility (-aqua) -sdk" 0 kB

Total: 32 packages (32 upgrades), Size of downloads: 0 kB

# emerge --info '=kde-base/kdepim-runtime-4.10.1'
Portage 2.1.11.55 (default/linux/amd64/13.0/desktop/kde, gcc-4.4.5, glibc-2.15-r3, 3.7.9-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.9-gentoo-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.1
KiB Mem:     4048640 total,    218468 free
KiB Swap:    1020120 total,   1012192 free
Timestamp of tree: Wed, 03 Apr 2013 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.5, 4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cxx dbus declarative dhcp dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran gdbm gif gnutls gpm gtk iconv icu ipv6 java jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline script sdl semantic-desktop session spell sql sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis webkit wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

# emerge -pqv '=kde-base/kdepim-runtime-4.10.1'
[ebuild     U ] kde-base/kdepim-runtime-4.10.1 [4.9.5] USE="(-aqua) -debug -google -kolab"
Comment 1 Daiajo Tibdixious 2013-04-04 05:15:50 UTC
Created attachment 344326 [details]
gzip compressed build log

Extracted the error line into the main text.
Comment 2 Daiajo Tibdixious 2013-04-04 05:16:36 UTC
Created attachment 344328 [details]
ebuild environment file
Comment 3 Daiajo Tibdixious 2013-04-08 05:15:46 UTC
After some googling, I suspect the use of the "typename" reserved word is not allowed outside of a template definition. The offending line is not a template definition, its a typedef.

I made the following change:
66c66
< typedef QSharedPointer< QMultiHash< Akonadi::Collection::Id,  Akonadi::Item::Id> > MultiHashPointer;
---
> typedef QSharedPointer< QMultiHash< typename Akonadi::Collection::Id,  typename Akonadi::Item::Id> > MultiHashPointer;

to nepomukfeederagent.cpp
and now it complies without errors.

The compile line I used I pulled from build.log, replacing some instances of the current working directory with ".":
/usr/bin/x86_64-pc-linux-gnu-g++  -DDISABLE_NEPOMUK_LEGACY -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -D_BSD_SOURCE  -DQT_NO_DEBUG -DNDEBUG -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -fPIC -I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1_build/agents/nepomukfeeder -I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/nepomukfeeder -I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1 -I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1_build -I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1_build/agents/ontologies -I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/ontologies -I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/nepomukfeeder/plugin -I/var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1/agents/nepomukfeeder/. -I/usr/include/boost-1_49 -I/usr/include/KDE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -o ./nepomukfeederagent.o -c ./nepomukfeederagent.cpp

I guess I could manually finishing installing this, but it does look like a bug in the source related to the gcc c++ language checking. i.e. I suspect that this  code would have passed with a previous version of gcc c++ with more lax checking. This is purely guess work on my part.
Comment 4 Daiajo Tibdixious 2013-04-10 12:51:43 UTC
I added "noauto" to /etc/portage/make.conf
and did
ebuild /usr/portage/kde-base/kdepim-runtime/kdepim-runtime-4.10.1.ebuild compile

which completed without errors.
I then did test, install, qmerge, postinst

The following error occured when qmerge tried to remove 4.9.5:
* Messages for package kde-base/kdepim-runtime-4.9.5:

 * Unknown value for ${CMAKE_MAKEFILE_GENERATOR}
 * ERROR: kde-base/kdepim-runtime-4.9.5 failed (prerm phase):
 *   Value make is not supported
 * 
 * Call stack:
 *                     ebuild.sh, line 551:  Called source '/var/db/pkg/kde-base/kdepim-runtime-4.9.5/kdepim-runtime-4.9.5.ebuild'
 *   kdepim-runtime-4.9.5.ebuild, line   8:  Called inherit 'kde4-base'
 *                     ebuild.sh, line 286:  Called __qa_source '/usr/portage/eclass/kde4-base.eclass'
 *                     ebuild.sh, line  80:  Called source '/usr/portage/eclass/kde4-base.eclass'
 *              kde4-base.eclass, line 103:  Called inherit 'cmake-utils'
 *                     ebuild.sh, line 286:  Called __qa_source '/usr/portage/eclass/cmake-utils.eclass'
 *                     ebuild.sh, line  80:  Called source '/usr/portage/eclass/cmake-utils.eclass'
 *            cmake-utils.eclass, line  82:  Called die
 * The specific snippet of code:
 *              die "Value ${CMAKE_MAKEFILE_GENERATOR} is not supported"
 * 
 * If you need support, post the output of `emerge --info '=kde-base/kdepim-runtime-4.9.5'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/kdepim-runtime-4.9.5'`.
 * The complete build log is located at '/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5/temp/environment'.
 * Working directory: '/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5'
 * S: '/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5/work/kdepim-runtime-4.9.5'
 * The 'postrm' phase of the 'kde-base/kdepim-runtime-4.9.5' package has
 * failed with exit value 1.
 * 
 * The problem occurred while executing the ebuild file named 'kdepim-
 * runtime-4.9.5.ebuild' located in the '/var/db/pkg/kde-base/kdepim-
 * runtime-4.9.5' directory. If necessary, manually remove the
 * environment.bz2 file and/or the ebuild file located in that directory.
 * 
 * Removal of the environment.bz2 file is preferred since it may allow the
 * removal phases to execute successfully. The ebuild will be sourced and
 * the eclasses from the current portage tree will be used when necessary.
 * Removal of the ebuild file will cause the pkg_prerm() and pkg_postrm()
 * removal phases to be skipped entirely.
 * Unknown value for ${CMAKE_MAKEFILE_GENERATOR}
 * ERROR: kde-base/kdepim-runtime-4.9.5 failed (postrm phase):
 *   Value make is not supported
 * 
 * Call stack:
 *                     ebuild.sh, line 551:  Called source '/var/db/pkg/kde-base/kdepim-runtime-4.9.5/kdepim-runtime-4.9.5.ebuild'
 *   kdepim-runtime-4.9.5.ebuild, line   8:  Called inherit 'kde4-base'
 *                     ebuild.sh, line 286:  Called __qa_source '/usr/portage/eclass/kde4-base.eclass'
 *                     ebuild.sh, line  80:  Called source '/usr/portage/eclass/kde4-base.eclass'
 *              kde4-base.eclass, line 103:  Called inherit 'cmake-utils'
 *                     ebuild.sh, line 286:  Called __qa_source '/usr/portage/eclass/cmake-utils.eclass'
 *                     ebuild.sh, line  80:  Called source '/usr/portage/eclass/cmake-utils.eclass'
 *            cmake-utils.eclass, line  82:  Called die
 * The specific snippet of code:
 *              die "Value ${CMAKE_MAKEFILE_GENERATOR} is not supported"
 * 
 * If you need support, post the output of `emerge --info '=kde-base/kdepim-runtime-4.9.5'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/kdepim-runtime-4.9.5'`.
 * The complete build log is located at '/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5/temp/environment'.
 * Working directory: '/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5'
 * S: '/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5/work/kdepim-runtime-4.9.5'

/var/db/pkg/kde-base/kdepim-runtime-4.9.5 does not have an environment.bz2 file.
the unmerge working directory is still there:
ls /var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5/*
/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5/homedir:

/var/tmp/portage/._unmerge_/kde-base/kdepim-runtime-4.9.5/temp:
build.log  eclass-debug.log  environment  logging

I'm not worried about this, 4.9.5 does seem to have been unmerged. Just included for completeness.
Comment 5 Daiajo Tibdixious 2013-04-10 13:14:55 UTC
I have logged this with kde bugs:
http://bugs.kde.org/show_bug.cgi?id=318136
Comment 6 Brandon 2013-04-12 02:34:38 UTC
I want to second the issue.

This is my GCC version,
gcc (Gentoo 4.4.5 p1.2, pie-0.4.5) 4.4.5
I believe the issue is related to GCC 4.4.x

Daiajo,
I'm not sure how to use your workaround to get the package to merge.  I definitely know it is a source code error that needs fixed.
Comment 7 Daiajo Tibdixious 2013-04-13 05:27:50 UTC
Workaround (in more detail)
1. cd to the ebuild working directory, in my case
   cd /var/tmp/portage/kde-base/kdepim-runtime-4.10.1/work/kdepim-runtime-4.10.1_build/agents/nepomukfeeder
2. save the original, then edit the offending source:
   vim nepomukfeederagent.cpp
3. go to line 66 and remove the 2 offending "typename"
4. do a diff & make sure it matches mine
5. add "noauto" options to features in make.conf (etc/portage/make.conf)
6. run the rest of the ebuild manually:
   ebuild /usr/portage/kde-base/kdepim-runtime/kdepim-runtime-4.10.1.ebuild compile
   ebuild /usr/portage/kde-base/kdepim-runtime/kdepim-runtime-4.10.1.ebuild install
   ebuild /usr/portage/kde-base/kdepim-runtime/kdepim-runtime-4.10.1.ebuild qmerge
   ebuild /usr/portage/kde-base/kdepim-runtime/kdepim-runtime-4.10.1.ebuild postinst
7. put make.conf back the way it was

n.b., kde team don't look keen to even acknowledge this as a bug.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2013-04-13 12:46:39 UTC
(In reply to comment #7)

> n.b., kde team don't look keen to even acknowledge this as a bug.

This is *very* low on our priority list since there are two newer stable gcc versions and upgrading is totally unproblematic.
Comment 9 Michael Palimaka (kensington) gentoo-dev 2013-04-15 13:32:03 UTC
This is fixed upstream in master, but /of course/ it wasn't backported to KDE/4.10.
Comment 10 Michael Palimaka (kensington) gentoo-dev 2013-04-22 19:00:27 UTC
I filed a review request upstream to backport this to 4.10
Comment 11 Michael Palimaka (kensington) gentoo-dev 2013-04-25 10:30:53 UTC
Thanks, backported in CVS.

+  25 Apr 2013; Michael Palimaka <kensington@gentoo.org>
+  +files/kdepim-runtime-4.10.2-gcc-4.4.patch, kdepim-runtime-4.10.2.ebuild:
+  Backport patch from upstream to fix build with GCC 4.4, wrt bug #464510.