Summary: | sci-libs/ipp too much time to install | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Emanuele Baglini <emanuele> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | jer, qa, sci |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Emanuele Baglini
2009-01-17 16:14:45 UTC
Did your install actually finish after 12 hours, or did it simply hang and you gave up and stopped it after 12 hours? Also, please post 'emerge --info' output for your system. (In reply to comment #1) > Did your install actually finish after 12 hours, or did it simply hang and you > gave up and stopped it after 12 hours? > > Also, please post 'emerge --info' output for your system. > I stopped it, becouse it too much. ------------- # emerge --info Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0 Timestamp of tree: Sat, 17 Jan 2009 20:00:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 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=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mneisen.org/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://mirror.jamit.de/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl acpi alsa apache2 arts bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread encode esd evo fam firefox fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv innodb ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap mysql ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis win32codecs x86 xml xml2 xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="keyboard mouse synaptics wacom " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga " Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY And 'misc-funtions' stay at 99.9% of CPU all the time. Can you use pstree to see if it's misc-functions.sh itself, or a subprocess that's causing it? If you run it with the emerge --debug option then you should be able to see where it's hung (either in bash or a subprocess). It seems likely to be the scanelf program from the pax-utils package. If the problem is scanelf, you might try rebuilding the pax-utils package. If it's misc-functions.sh itself, you might try rebuilding bash. I've just realized that the sci-libs/ipp consumes an exceptionally large amount of space, which explains why scanelf would consume more time on this package than others. Part of the problem is that misc-functions.sh calls scanelf multiple times on all of the files, in order to perform various checks. It's possible to disable the scanelf checks by setting RESTRICT=binchecks in the ebuild. This may be the best solution, assuming that we haven't triggered some sort of infinite loop inside scanelf. (In reply to comment #5) > I've just realized that the sci-libs/ipp consumes an exceptionally large amount > of space, which explains why scanelf would consume more time on this package > than others. Part of the problem is that misc-functions.sh calls scanelf > multiple times on all of the files, in order to perform various checks. > > It's possible to disable the scanelf checks by setting RESTRICT=binchecks in > the ebuild. This may be the best solution, assuming that we haven't triggered > some sort of infinite loop inside scanelf. > Just tried with RESTRICT=binchecks and all works correctrly! Do you need that I ask to the other questions in previous post? OK, thanks for the tests. I applied the restiction in the ebuild. It's not really a good solution to restrict binary checks because it ignores these TEXTRELs altogether, and will not warn for other bigger issues. The binchecks restrict should only be used when the package is installing solely non-binary stuff (sources, fonts, graphic) and scanelf would be spending time for no good reason. All recent versions of ipp do not have RESTRICT=binchecks and I personally do not experience any longer install times. Is this bug still valid with latest portage and ipp? |