build.log (complete): >>> Unpacking source... >>> Unpacking parts of koffice-1.6.3_p20090204.tar.bz2 to /var/tmp/portage/app-office/kformula-1.6.3_p20090204/work * * ERROR: app-office/kformula-1.6.3_p20090204 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 4482: Called kde-meta_src_unpack * environment, line 3155: Called die * The specific snippet of code: * die "Can't find library ${libname} under ${PREFIX}/$(get_libdir)/"; * The die message: * Can't find library libkformula under /usr/kde/3.5/lib64/ * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-office:kformula-1.6.3_p20090204:20090518-081026.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/kformula-1.6.3_p20090204/temp/environment'. * emerge --info: Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5 Timestamp of tree: Sun, 17 May 2009 08:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.4.4-r14, 2.5.4-r2 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 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.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=native" 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.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-pipe -O2 -march=native" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--ask --alphabetical --verbose --tree" FEATURES="buildpkg collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS=" http://mirror.switch.ch/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://pandemonium.tiscali.de/pub/gentoo/ " LDFLAGS="-Wl,-O1" LINGUAS="en_GB en en_US" MAKEOPTS="-j3 --load-average=2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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="/mnt/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/allenjb /usr/portage/local/layman/jokey /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 apm bash-completion branding bzip2 cairo cdr cli cracklib crypt cups curl dbus dedicated dga dri dts dvd dvdr dvdread emboss encode evo exif expat fbcon ffmpeg firefox flac fontconfig ftp gif gnutls gtk hal htmlhandbook iconv idn ipod ipv6 isdnlog java javascript jpeg jpeg2k kate kde kdeprefix kipi lcms libass libnotify libssh2 lzo mad matroska midi mikmod mmx mng mp3 mp4 mpeg mudflap multilib musepack mysql mysqli ncurses nls nocd nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl php plasma png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sdl sdl-image session speex spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification subversion svg sysfs tcpd tetex theora threads thumbnail tidy tiff truetype twolame unicode usb vcd vhosts videos vorbis webkit wlm wmf wxwindows x264 xcomposite xine xinerama xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident include info log_config logio mem_cache mime mime_magic negotiation rewrite rss setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en en_US" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Just had this happen on my laptop for app-office/karbon-1.6.3_p20090204 One thing I noticed is that /usr/kde/3.5/share/config/kdeglobals got updated to read: [Directories][$i] dir_lib=/usr/kde/3.5/lib64:/usr/lib64 dir_apps=/usr/kde/3.5/share/applnk:/usr/share/applnk dir_data=/usr/kde/3.5/share/apps:/usr/share/apps dir_icon=/usr/kde/3.5/share/icons:/usr/share/icons dir_module=/usr/kde/3.5/lib64/kde3:/usr/lib64/kde3 dir_config=/usr/kde/3.5/share/config:/usr/share/config dir_kcfg=/usr/kde/3.5/share/config.kcfg:/usr/share/config.kcfg dir_exe=/usr/kde/3.5/bin:/usr/bin dir_mime=/usr/kde/3.5/share/mimelnk:/usr/share/mimelnk dir_services=/usr/kde/3.5/share/services:/usr/share/services dir_servicetypes=/usr/kde/3.5/share/servicetypes:/usr/share/servicetypes dir_templates=/usr/kde/3.5/share/templates:/usr/share/templates Could this be related?
Other koffice packages, such as app-office/kword-1.6.3_p20090204, fail with the exact same error (can't find libkformula). This was happening even before I applied the kdeglobals update bentioned on comment #1.
The problem can be solved by re-emerging app-office/koffice-libs (probably followed by revdep-rebuild)
"emerge -1 app-office/koffice-libs" helped here. Thank you, Florian!
Since the last media-gfx/imagemagick update (6.5.2.9 is current on x86) app-office/karbon and app-office/kword dependencies are broken. I tried to rebuild them using revdep-rebuild, but the compile fails - same error as described here. After re-emerging app-office/koffice-libs I was able to compile app-office/karbon whilst app-office/kword still failed; the error is similar, except it is this time unable to find libkspreadcommon. I now re-emerged all that is pulled by app-office/koffice-meta-1.6.3: app-office/kchart app-office/kexi app-office/kformula app-office/kplato app-office/kugar app-office/kivio app-office/koffice-data app-office/koshell app-office/kpresenter app-office/krita app-office/kspread app-office/kword app-office/koffice-meta Works now on x86. Maybe this is because it is years ago since I last emerged (most parts of) KOffice - I checked: July 2007...
yes, a simple re-compilation of koffice-libs is enough, due to prefixing updates introduced in 3.5.10