Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39901 - Infinite loop w/ emerge -DeU
Summary: Infinite loop w/ emerge -DeU
Status: RESOLVED DUPLICATE of bug 117988
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-30 13:03 UTC by Craig Kaes
Modified: 2006-03-14 00:07 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 Craig Kaes 2004-01-30 13:03:49 UTC
I tried to rebuild my whole system with 'emerge -DeU world'.  Four days later, when it was still building (and still on #42 out of 334), I checked out /var/log/emerge.log to diagnose.  Here it is in a nutshell:

emerge recognized that with -De it needed to rebuild darned near everything
emerge started building package 1 out of 334
emerge got to portage (62 out of 334 packages)
emerge built portage
emerge execed itself so that it would build the rest with the new portage.
emerge recognized that with -De it needed to rebuild darned near everything
emerge started building package 1 out of 334

lather, rinse, repeat


Reproducible: Always
Steps to Reproduce:
1. emerge -DeU world
2.
3.

Actual Results:  
Described in details

Expected Results:  
Built packages 1 through 334 instead of packages 1 through 62 and then 1 through
62 and then 1 through 62.....

craigk@caley craigk $ emerge info

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.1-rc3-gentoo)
=================================================================
System uname: 2.6.1-rc3-gentoo i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cscope cups dga emacs encode foomaticdb gdbm
gif gtk gtk2 imlib j-noaim j-nomsn j-noyahoo jabber jpeg kde libg++ libwww mad
mikmod mmx motif moznoirc mpeg ncurses nls nvidia oggvorbis opengl oss pam
pdflib png python qt quicktime readline sdl slang snmp speedo spell ssl svga
tcpd truetype type1 unicode x86 xine xinerama xml2 xmms xv xvid zlib"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-02-01 10:01:22 UTC
eDU is illogical -- Which probably represents part of the problem...
but the code that handles this does not care about that information.

grep ^VERSION /usr/lib/portage/pym/portage.py
emerge -V

and please provide 50-100 lines of the emerge.log.
Comment 2 Craig Kaes 2004-02-02 05:03:50 UTC
bash-2.05b$ grep ^VERSION /usr/lib/portage/pym/portage.py
VERSION="2.0.49-r20"
bash-2.05b$ emerge -V
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.1-rc2-gentoo)


1075111825:  === (51 of 334) Post-Build Cleaning (sys-apps/coreutils-5.0.91-r3::/usr/portage/sys-apps/coreutils/coreutils-5.0.91-r3.ebuild)
1075111830:  >>> AUTOCLEAN: sys-apps/coreutils
1075111835: === Unmerging... (sys-apps/coreutils-5.0-r5)
1075111852:  >>> unmerge success: sys-apps/coreutils-5.0-r5
1075111861:  ::: completed emerge (51 of 334) sys-apps/coreutils-5.0.91-r3 to /
1075111861:  >>> emerge (52 of 334) sys-apps/debianutils-1.16.7-r4 to /
1075111861:  === (52 of 334) Cleaning (sys-apps/debianutils-1.16.7-r4::/usr/portage/sys-apps/debianutils/debianutils-1.16.7-r4.ebuild)
1075111864:  === (52 of 334) Compiling/Merging (sys-apps/debianutils-1.16.7-r4::/usr/portage/sys-apps/debianutils/debianutils-1.16.7-r4.ebuild)
1075111908:  === (52 of 334) Post-Build Cleaning (sys-apps/debianutils-1.16.7-r4::/usr/portage/sys-apps/debianutils/debianutils-1.16.7-r4.ebuild)
1075111911:  >>> AUTOCLEAN: sys-apps/debianutils
1075111911:  --- AUTOCLEAN: Nothing unmerged.
1075111911:  ::: completed emerge (52 of 334) sys-apps/debianutils-1.16.7-r4 to /
1075111911:  >>> emerge (53 of 334) sys-apps/portage-2.0.49-r21 to /
1075111911:  === (53 of 334) Cleaning (sys-apps/portage-2.0.49-r21::/usr/portage/sys-apps/portage/portage-2.0.49-r21.ebuild)
1075111914:  === (53 of 334) Compiling/Merging (sys-apps/portage-2.0.49-r21::/usr/portage/sys-apps/portage/portage-2.0.49-r21.ebuild)
1075112085:  === (53 of 334) Post-Build Cleaning (sys-apps/portage-2.0.49-r21::/usr/portage/sys-apps/portage/portage-2.0.49-r21.ebuild)
1075112089:  >>> AUTOCLEAN: sys-apps/portage
1075112089:  --- AUTOCLEAN: Nothing unmerged.
1075112089:  *** RESTARTING emerge via exec() after change of portage version.
1075112092: Started emerge on: Jan 26, 2004 03:14:52
1075112092:  *** emerge --deep --emptytree --upgradeonly --update world
1075112138:  >>> emerge (1 of 334) sys-devel/gnuconfig-20030708 to /
1075112138:  === (1 of 334) Cleaning (sys-devel/gnuconfig-20030708::/usr/portage/sys-devel/gnuconfig/gnuconfig-20030708.ebuild)
1075112141:  === (1 of 334) Compiling/Merging (sys-devel/gnuconfig-20030708::/usr/portage/sys-devel/gnuconfig/gnuconfig-20030708.ebuild)
1075112179:  === (1 of 334) Post-Build Cleaning (sys-devel/gnuconfig-20030708::/usr/portage/sys-devel/gnuconfig/gnuconfig-20030708.ebuild)
1075112183:  >>> AUTOCLEAN: sys-devel/gnuconfig
1075112183:  --- AUTOCLEAN: Nothing unmerged.
1075112183:  ::: completed emerge (1 of 334) sys-devel/gnuconfig-20030708 to /
1075112183:  >>> emerge (2 of 334) sys-libs/ncurses-5.3-r4 to /
1075112183:  === (2 of 334) Cleaning (sys-libs/ncurses-5.3-r4::/usr/portage/sys-libs/ncurses/ncurses-5.3-r4.ebuild)
1075112186:  === (2 of 334) Compiling/Merging (sys-libs/ncurses-5.3-r4::/usr/portage/sys-libs/ncurses/ncurses-5.3-r4.ebuild)
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-02-03 15:02:25 UTC
When was the last time you did emerge sync?

emerge sync
emerge portage
emerge -V
echo /var/db/pkg/sys-apps/portage*
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-10-17 08:30:47 UTC
old and no further responses
Comment 5 Zac Medico gentoo-dev 2006-03-14 00:07:21 UTC
A fix for this was released in 2.1_pre5.
Comment 6 Zac Medico gentoo-dev 2006-03-14 00:07:39 UTC

*** This bug has been marked as a duplicate of 117988 ***