After upgrading to kde 4.2.2 /qt-4.4.2 (emerge -uDN world) emerging digikam fails. Reproducible: Always Here the error message Generating albumiconviewfilter.moc In file included from /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/version.h:38, from /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam-0.10.0/libs/dimg/loaders/pngloader.cpp:59: /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/svnversion.h:2: error: stray '@' in program /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/svnversion.h:4: error: missing terminating " character In file included from /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam-0.10.0/libs/dimg/loaders/pngloader.cpp:59: /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/version.h:45: error: missing terminating " character /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/svnversion.h:2: error: invalid function declaration /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/version.h: In function 'const QString digiKamVersion()': /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/version.h:45: error: expected primary-expression before '(' token /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/version.h:45: error: expected `)' before ':' token /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/version.h:49: error: 'digiKamVer' was not declared in this scope /var/tmp/portage/media-gfx/digikam-0.10.0/work/digikam_build/digikam/version.h:51: error: 'digiKamVer' was not declared in this scope make[2]: *** [digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pngloader.o] Error 1 make[1]: *** [digikam/CMakeFiles/digikamcore.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Generating batchalbumssyncmetadata.moc Generating camerafolderview.moc Generating batchthumbsgenerator.moc Generating cameraselection.moc Generating camerafolderdialog.moc Generating setuptooltip.moc Generating albumsettings.moc Generating setupplugins.moc Generating timelinewidget.moc Generating setupslideshow.moc Generating setupcamera.moc Generating tagfolderview.moc Generating gpssearchfolderview.moc Generating albumwidgetstack.moc Generating fingerprintsgenerator.moc Generating imageinfoalbumsjob.moc Generating kipiinterface.moc Generating gpssearchview.moc Generating tagspopupmenu.moc Generating imageinfojob.moc Generating albumpropsedit.moc Generating syncjob.moc Generating themediconview.moc Generating albumlister.moc Generating cameraui.moc Generating tageditdlg.moc Generating scancontroller.moc Generating mainwindow.moc Generating mediaplayerview.moc Generating kdatetimeedit.moc Generating moc_iconitem.cpp Generating moc_gpssearchwidget.cpp Generating moc_sketchwidget.cpp [ 2%] Built target digikamthemedesigner_automoc make: *** [all] Error 2 * * ERROR: media-gfx/digikam-0.10.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3082: Called kde4-base_src_compile * environment, line 2290: Called cmake-utils_src_compile * environment, line 772: Called cmake-utils_src_make * environment, line 851: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! Reproducible: Always flitzpiepe patrick # emerge --info Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-_XP_2600+-with-glibc2.0 Timestamp of tree: Thu, 23 Apr 2009 04:25:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.7 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/mnt/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ " LANG="fi_FI.utf8@euro" LDFLAGS="-Wl,-O1" LINGUAS="fi" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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 acpi alsa berkdb bzip2 cairo cdr cli cracklib cups dbus dri dvdr encode exif fbcon ffmpeg flac gdbm gif gimp gphoto2 gpm hal iconv imagemagick isdnlog jbig jpeg kde kde4 kipi lame lcms lm_sensors midi mmx mng mp3 mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt4 quicktime raw readline reflection scanner sdl session spell spl sse sse2 ssl svg sysfs tcpd tiff truetype unicode usb wavpack x86 xcomposite xorg xscreensaver zlib" ALSA_CARDS="intel8x0" 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="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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 189209 [details] emerge.log from digikam emerge.log from digikam added
*** Bug 267165 has been marked as a duplicate of this bug. ***
Hm try to update on gcc-4.3 please
Update to gcc-4.3.3-r2 didn't bring any solution! Emerging digikam still fails. I'm emerging the whole system with the new gcc-version now, I hope it helps!
(In reply to comment #4) > Update to gcc-4.3.3-r2 didn't bring any solution! Emerging digikam still fails. > I'm emerging the whole system with the new gcc-version now, I hope it helps! > Might be worth to try as root: MAKEOPTS="-j1" emerge digikam
Is it still failing with 0.10.0-r1?
Had the same Problem, re-emerging build depencies didn't help.. But for a long time cfg-update gave me errors about a wrong LANG setting.. So i searched, found and removed one in my /etc/make.conf, after that emergeing digikam works flawless.
Sorry for my inactivity aswering comments for this bug ('ve been quite a long time offline and busy). The problem was indeed in the LANG-settings. After fixing the Lang-settings, emerge digikam was successfull! Once again, sorry for not answering the comments!