The icc and ifc ebuilds both contain the block: if has_version "~dev-lang/ifc-${PV}"; then rm -f rpm/*cprolib*.rpm use idb && built_with_use dev-lang/ifc idb && rm -f rpm/*idb*.rpm use mkl && built_with_use dev-lang/ifc mkl && rm -f rpm/*mkl*.rpm fi Installing icc/ifc for the first time causes each ebuild to check if the other is installed and assumes it has installed the libraries common to both ifc and icc. When icc/ifc is reinstalled it incorrectly assumes the libraries are installed by the other ebuild and does not bother reinstalling them causing both packages to break. The same happens with idb and mkl if the use flags are set on both ebuilds. I noticed this when doing a revdep-rebuild which rebuilt icc and broke an application I'm developing using mkl. Workaround is to install icc and ifc only once with idb and mkl use flags set on only one of them. Reproducible: Always Steps to Reproduce: 1. emerge =dev-lang/icc-11.1.072 =dev-lang/ifc-11.1.072 2. emerge -1 =dev-lang/icc-11.1.072 OR emerge -1 =dev-lang/ifc-11.1.072 3. link an application to one of the libraries (that should be) in /opt/intel/Compiler/11.1/072/lib/em64t (such as libiomp5.so) Actual Results: ld: cannot find -liomp5 (among others) Expected Results: Links successfully emerge --info Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.35-gentoo-r5-x86_64-Intel-R-_Core-TM-_i7_CPU_965_@_3.20GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 02 Sep 2010 08:15:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.2 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb /var/spool/torque" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests candy ccache distlocks fixpackages metadata-transfer multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB en" MAKEOPTS="-j9" 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="/var/lib/layman/java-overlay /var/lib/layman/kde /usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="3dnow X a52 aac accessibility acl acpi alsa amd64 ao avahi bash-completion berkdb bluetooth bzip2 cairo caps cdda cddb cdparanoia cli consolekit cracklib crypt css cups curl custom-cflags cvs cxx dbus dga directfb dri dvb dvd encode exif expat fbcon fbcondecor ffmpeg flac fontconfig fortran freetds ftp gdbm ggi gmp gnutls gphoto2 gpm gsm gstreamer hal iconv icu idn ieee1394 imagemagick ipv6 java jingle jpeg kde kerberos ladspa lame lapack latex lcms ldap libcaca libsamplerate lm_sensors lua lzo mad mmap mmx mng modules mp3 mpeg mpi mplayer msn mtp mudflap multilib musicbrainz mysql nas ncurses netboot nis nls nptl nptlonly ntp odbc ogg openal opengl openmp oscar pam pcre pdf perl phonon plasma plotutils png policykit ppds pppd python qt4 readline reflection rss samba sasl scanner sdl semantic-desktop session slp snmp sox spell spl sqlite sqlite3 sse sse2 ssl subversion svg symlink sysfs taglib tcpd theora threads tidy tiff truetype unicode usb v4l v4l2 vcd vnc vorbis x264 xattr xcb xcomposite xinetd xml xorg xpm xv xvid xvmc zeroconf zlib" 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="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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS cat /etc/portage/package.use/intel dev-cpp/tbb doc examples dev-lang/icc idb ipp mkl dev-lang/ifc -idb -mkl
*** This bug has been marked as a duplicate of bug 297542 ***