Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297542 - dev-lang/icc breaks itself during upgrade
Summary: dev-lang/icc breaks itself during upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Andrey Kislyuk (RETIRED)
URL:
Whiteboard:
Keywords:
: 336205 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-19 17:04 UTC by Ladislav Laska
Modified: 2012-09-16 19:10 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Laska 2009-12-19 17:04:44 UTC
I have noticed, that in certain cases (version bump), icc breaks it's environment. It just happened again, so I'm reporting it.

This only happens if bzip2 is compiled by icc.

It changes path (probably), and then bzip2 is unable to find library libimf.so, thus unable to unzip environment files into /etc/env.d. Next, some applications fail with missing libimf.so (don't know why) and icc is unable to work in portage (because of the missing files) and unable to fix itself (because of bzip2 is failing inside portage). 

I don't have time to investigate further, so I stick with bzip2 compiled by gcc, but it seems like an easy fix (suggestion: regenerate linker just after icc update and before bzip2 usage?). 

Reproducible: Sometimes

Steps to Reproduce:
1. Update icc
2. See what happens

Actual Results:  
Some applications will fail, env-rebuild and source /etc/profile helps in most cases. Rebuild of icc is needed after you've got working bzip2.

Expected Results:  
Icc will not break it's environment in that way.

Contact me if you need any assistance and/or testing.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-04-07 09:07:15 UTC
This bug sucks and has to be closed ASAP!!!!!!!!!!!!!!!!!!!!
Comment 2 Frédéric Magnard 2010-04-30 01:30:07 UTC
Not sure if my case is the same, but since upgrade from icc-11.1.056 to icc-11.1.056-r1, some 8610 files have disappeared from installation (12275 files in icc-11.1.056, only 3866 in icc-11.1.056).
My flags are: USE="idb mkl -eclipse -ipp"
Amongst the missing files are:
/opt/intel/Compiler/11.1/056/lib/intel64/libclompc.so
/opt/intel/Compiler/11.1/056/lib/intel64/libclusterguide.so
/opt/intel/Compiler/11.1/056/lib/intel64/libclusterguide_stats.so
/opt/intel/Compiler/11.1/056/lib/intel64/libcxaguard.a
/opt/intel/Compiler/11.1/056/lib/intel64/libcxaguard.so
/opt/intel/Compiler/11.1/056/lib/intel64/libcxaguard.so.5
/opt/intel/Compiler/11.1/056/lib/intel64/libdecimal.a
/opt/intel/Compiler/11.1/056/lib/intel64/libguide.a
/opt/intel/Compiler/11.1/056/lib/intel64/libguide.so
/opt/intel/Compiler/11.1/056/lib/intel64/libguide_stats.a
/opt/intel/Compiler/11.1/056/lib/intel64/libguide_stats.so
/opt/intel/Compiler/11.1/056/lib/intel64/libimf.a
/opt/intel/Compiler/11.1/056/lib/intel64/libimf.so
/opt/intel/Compiler/11.1/056/lib/intel64/libintlc.so
/opt/intel/Compiler/11.1/056/lib/intel64/libintlc.so.5
/opt/intel/Compiler/11.1/056/lib/intel64/libiomp5.a
/opt/intel/Compiler/11.1/056/lib/intel64/libiomp5.so
/opt/intel/Compiler/11.1/056/lib/intel64/libiompprof5.a
/opt/intel/Compiler/11.1/056/lib/intel64/libiompprof5.so
/opt/intel/Compiler/11.1/056/lib/intel64/libiompstubs5.a
/opt/intel/Compiler/11.1/056/lib/intel64/libiompstubs5.so
/opt/intel/Compiler/11.1/056/lib/intel64/libipgo.a
/opt/intel/Compiler/11.1/056/lib/intel64/libirc.a
/opt/intel/Compiler/11.1/056/lib/intel64/libirc.so
/opt/intel/Compiler/11.1/056/lib/intel64/libirc_s.a
/opt/intel/Compiler/11.1/056/lib/intel64/libomp_db.so
/opt/intel/Compiler/11.1/056/lib/intel64/libompstub.a
/opt/intel/Compiler/11.1/056/lib/intel64/libompstub.so
/opt/intel/Compiler/11.1/056/lib/intel64/libpdbx.a
/opt/intel/Compiler/11.1/056/lib/intel64/libpdbx.so
/opt/intel/Compiler/11.1/056/lib/intel64/libpdbx.so.5
/opt/intel/Compiler/11.1/056/lib/intel64/libsvml.a
/opt/intel/Compiler/11.1/056/lib/intel64/libsvml.so

I am downgrading to icc-11.1.056.
Comment 3 Frédéric Magnard 2010-04-30 01:31:55 UTC
my emerge --info:

Portage 2.1.8.3 (default/linux/amd64/10.0/server, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2387-with-gentoo-1.12.13
Timestamp of tree: Thu, 29 Apr 2010 15:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r1
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://gentoo.tiscali.nl/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en fr"
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="/usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync-portage.tpx.iap.fr/gentoo-portage"
USE="X X509 Xaw3d acl acpi adns amd64 apache2 authfile background bacula-console bash-completion berkdb big-tables blas bugzilla bzip2 cairo cgi chroot cli cpudetection cracklib cron crypt ctype ctypes-python cups curl cxx deflate djvu dri dvi dynamicplugin encode exif extensions extras fam ffmpeg fftw fits fltk fontconfig fortran fpx ftp fts3 gd gdbm geoip geos gif gimp gimpprint git glitz gmp gpg gpm graphviz gs gsl gtk gtkhtml hal hash hdri heterogeneous hpn icc iconv idn ifc ifsession imagemagick imlib innodb ipv6 isag ithreads java jpeg jpeg2k kerberos lapack latex lcms ldap libffi libnotify libssh2 lm_sensors logrotate management math memlimit mhash mkl mmap mmx mng modules mozsvg mpeg mpi mudflap multilib multislot multitarget mysql mysqli nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net netboot new-login nis nls nptl nptlonly nsplugin nxclient odbc ogdi opengl openmp openntpd opensslcrypt optimized-qmake pam pcre pdf perl plotutils plplot png posix pppd profile proj python qhull qt3support qt4 radius readline reflection rewrite rrdtool ruby samba sasl sdl sensord server session shaper sitemisc snmp soap softquota spell spl spoof-source sqlite sse sse2 ssl static-libs subversion svg sysfs syslog tcltk tcpd tetex threads tiff timestats tk tools traits truetype unicode ups usb utempter vhosts vim-pager vim-syntax vnc vroot webdav webkit wmf wxwidgets wxwindows xattr xft xinetd xml xmlpatterns xmlreader xmlrpc xmlwriter xmp xorg xpm zip 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 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati vga vesa r128 radeon nv nvidia sis xgi" 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, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2010-04-30 06:35:47 UTC
(In reply to comment #2)
> 
> I am downgrading to icc-11.1.056.
> 

That won't help. You have to unemerge and reemerge ifc and icc.
Comment 5 Ladislav Laska 2010-04-30 06:40:31 UTC
(In reply to comment #2)
> Not sure if my case is the same, but since upgrade from icc-11.1.056 to
> icc-11.1.056-r1, some 8610 files have disappeared from installation (12275
> files in icc-11.1.056, only 3866 in icc-11.1.056).
>
> I am downgrading to icc-11.1.056.
> 

Note that this seems to be a differenet bug.
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2010-09-13 16:09:08 UTC
*** Bug 336205 has been marked as a duplicate of this bug. ***
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2011-05-25 08:18:19 UTC
Please test the version from the sci overlay. That should be fine now.
Comment 8 Dennis Schridde 2011-08-11 08:27:19 UTC
(In reply to comment #7)
> Please test the version from the sci overlay. That should be fine now.
RESOLVED/FIXED?
Comment 9 Gary Macindoe 2011-08-18 09:35:43 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > Please test the version from the sci overlay. That should be fine now.
> RESOLVED/FIXED?

Works for me.
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2011-08-18 09:38:26 UTC
We will test it till the end of August and then move it over.
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2012-09-16 19:10:48 UTC
+*intel-common-13.0.0.079 (16 Sep 2012)
+
+  16 Sep 2012; Justin Lecher <jlec@gentoo.org> +intel-common-13.0.0.079.ebuild,
+  +metadata.xml:
+  Imported from sci overlay; new package containing common libs, #297542
+