Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185831 - emerge occasionally craps out when installing a large number of binary packages
Summary: emerge occasionally craps out when installing a large number of binary packages
Status: VERIFIED CANTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-19 03:42 UTC by Joshua Hoblitt
Modified: 2007-07-21 02:33 UTC (History)
0 users

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 Joshua Hoblitt 2007-07-19 03:42:13 UTC
This is error is difficult to reproduce but it does happen from time to time.  Interestingly enough it can always be recovered from by running `emerge --resume`.

>>> Emerging (60 of 671) media-sound/cdparanoia-3.9.8-r5 to /
>>> Extracting info
>>> Extracting cdparanoia-3.9.8-r5
>>> Merging media-sound/cdparanoia-3.9.8-r5 to /

!!! ERROR: media-sound/cdparanoia-3.9.8-r5 failed.
Call stack:
  ebuild.sh, line 1518:   Called source '/var/tmp/portage/media-sound/cdparanoia-3.9.8-r5/build-info/cdparanoia-3.9.8-r5.ebuild'
  cdparanoia-3.9.8-r5.ebuild, line 8:   Called inherit 'eutils' 'flag-o-matic' 'libtool' 'toolchain-funcs' 'versionator' 'autotools'
  ebuild.sh, line 1263:   Called qa_source '/data/portage/eclass/autotools.eclass'
  ebuild.sh, line 34:   Called source '/data/portage/eclass/autotools.eclass'
  autotools.eclass, line 12:   Called inherit 'eutils' 'libtool'
  ebuild.sh, line 1263:   Called qa_source '/data/portage/eclass/eutils.eclass'
  ebuild.sh, line 34:   Called source '/data/portage/eclass/eutils.eclass'
  eutils.eclass, line 18:   Called inherit 'multilib' 'portability'
  ebuild.sh, line 1240:   Called die

!!! multilib.eclass could not be found by inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-sound/cdparanoia-3.9.8-r5/temp/build.log'.

!!! FAILED preinst: 1
ipp002 portage # 
ipp002 portage # emerge --resume
Calculating dependencies... done!
[binary   R   ] media-sound/cdparanoia-3.9.8-r5  
[binary   R   ] x11-themes/gnome-backgrounds-2.16.2  USE="-debug" 
.
.
Total: 612 packages (612 reinstalls), Size of downloads: 0 kB
Portage overlays:
 [1] /data/portage_overlay

*** Resuming merge...
>>> starting parallel fetching

>>> Emerging (1 of 612) media-sound/cdparanoia-3.9.8-r5 to /
>>> Extracting info
>>> Extracting cdparanoia-3.9.8-r5
>>> Merging media-sound/cdparanoia-3.9.8-r5 to /
>>> Performing suid scan in /var/tmp/portage/media-sound/cdparanoia-3.9.8-r5/image/
--- /usr/
--- /usr/bin/
>>> /usr/bin/cdparanoia
--- /usr/lib64/
>>> /usr/lib64/libcdda_interface.so -> libcdda_interface.so.0.9.8
>>> /usr/lib64/libcdda_paranoia.so.0.9.8
>>> /usr/lib64/libcdda_interface.so.0 -> libcdda_interface.so.0.9.8
>>> /usr/lib64/libcdda_interface.so.0.9.8
>>> /usr/lib64/libcdda_paranoia.so -> libcdda_paranoia.so.0.9.8
>>> /usr/lib64/libcdda_interface.a
>>> /usr/lib64/libcdda_paranoia.a
>>> /usr/lib64/libcdda_paranoia.so.0 -> libcdda_paranoia.so.0.9.8
--- /usr/lib/
--- /usr/include/
>>> /usr/include/cdda_paranoia.h
>>> /usr/include/utils.h
>>> /usr/include/cdda_interface.h
--- /usr/share/
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/cdparanoia.1.bz2
--- /usr/share/doc/
--- /usr/share/doc/cdparanoia-3.9.8-r5/
>>> /usr/share/doc/cdparanoia-3.9.8-r5/README.bz2
>>> /usr/share/doc/cdparanoia-3.9.8-r5/FAQ.txt.bz2
>>> Safely unmerging already-installed instance...
--- !mtime obj /usr/share/man/man1/cdparanoia.1.bz2
--- !mtime obj /usr/share/doc/cdparanoia-3.9.8-r5/README.bz2
--- !mtime obj /usr/share/doc/cdparanoia-3.9.8-r5/FAQ.txt.bz2
--- !mtime obj /usr/lib64/libcdda_paranoia.so.0.9.8
--- !mtime sym /usr/lib64/libcdda_paranoia.so.0
--- !mtime sym /usr/lib64/libcdda_paranoia.so
--- !mtime obj /usr/lib64/libcdda_paranoia.a
--- !mtime obj /usr/lib64/libcdda_interface.so.0.9.8
--- !mtime sym /usr/lib64/libcdda_interface.so.0
--- !mtime sym /usr/lib64/libcdda_interface.so
--- !mtime obj /usr/lib64/libcdda_interface.a
--- !mtime obj /usr/include/utils.h
--- !mtime obj /usr/include/cdda_paranoia.h
--- !mtime obj /usr/include/cdda_interface.h
--- !mtime obj /usr/bin/cdparanoia
--- !empty dir /usr/share/man/man1
--- !empty dir /usr/share/man
--- !empty dir /usr/share/doc/cdparanoia-3.9.8-r5
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/lib64
--- !empty dir /usr/lib
--- !empty dir /usr/include
--- !empty dir /usr/bin
--- !empty dir /usr
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
>>> Regenerating /etc/ld.so.cache...
>>> media-sound/cdparanoia-3.9.8-r5 merged.

>>> No packages selected for removal by clean


Reproducible: Sometimes




ipp002 portage # emerge --info
Portage 2.1.2.9 (!..//usr/portage/profiles/default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo x86_64)
=================================================================
System uname: 2.6.21-gentoo x86_64 Dual Core AMD Opteron(tm) Processor 285
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 09 Jul 2007 18:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
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/share/X11/xkb /usr/share/config /usr/share/genkernel"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/data/portage/distfiles"
FEATURES="buildpkg ccache digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict suidctl userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/data/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/data/portage"
PORTDIR_OVERLAY="/data/portage_overlay"
SYNC="rsync://gentoo.ifa.hawaii.edu/gentoo-portage-ipp"
USE="X acl acpi amd64 apache2 bash-completion berkdb bitmap-fonts cli cracklib crypt cups dri firefox fortran gdbm gnome gnome2 gnutls gpm gtk gtk2 iconv imap ipv6 isdnlog libg++ mbox midi mmx mudflap ncurses nls nptl ntpl openmp pam pcre perl pic pppd python readline reflection samba session spl sse sse2 ssl sysfs tcpd truetype-fonts type1-fonts unicode vim-with-x xattr xinerama xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="r128"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2007-07-20 04:54:54 UTC
(In reply to comment #0)
> !!! multilib.eclass could not be found by inherit()

What type of filesystem is PORTDIR on?  Is there anything about it that might make it unreliable?  This looks more like a local problem than and issue with portage.
Comment 2 Joshua Hoblitt 2007-07-21 02:33:26 UTC
It's sitting on NFS... your probably right that we're hitting NFS timeouts.