New stage1 install with ~x86 and not standard CFLAGS. Chroot from a working box. Followed Gentoo x86 quick install. bootstrap OK. emerge -e system enters an infinite loop. Reproducible: Always Steps to Reproduce: 1.emerge -epv system These are the packages that I would merge, in order: Calculating system dependencies ...done! [ebuild N ] sys-devel/patch-2.5.9-r1 -build -debug -static 0 kB [ebuild N ] app-arch/bzip2-1.0.3 -build -debug -static 0 kB [ebuild N ] sys-libs/ncurses-5.4-r6 -bootstrap -build -debug -doc -gpm -minimal -nocxx +un icode 0 kB [ebuild N ] app-shells/bash-3.0-r9 -build -debug +nls 0 kB [ebuild N ] sys-devel/binutils-config-1.8-r2 0 kB [ebuild N ] sys-devel/gnuconfig-20050324 0 kB [ebuild N ] sys-devel/gettext-0.14.4 -debug -emacs +nls 0 kB [ebuild N ] sys-devel/binutils-2.15.92.0.2-r8 -debug -multislot -multitarget +nls -test 0 kB [ebuild N ] sys-devel/m4-1.4.3 +nls 0 kB [ebuild N ] sys-devel/bison-2.0 -debug +nls -static 0 kB [ebuild N ] sys-apps/sed-4.1.4 -bootstrap -build -debug +nls -static 0 kB [ebuild N ] sys-libs/zlib-1.2.2 -build -debug 0 kB [ebuild N ] dev-python/python-fchksum-1.7.1 0 kB [ebuild N ] sys-apps/debianutils-2.13.1-r1 -build -debug -static 0 kB [ebuild N ] sys-apps/sandbox-1.2 -debug 0 kB [ebuild N ] sys-libs/readline-5.0-r2 0 kB [ebuild N ] sys-libs/db-4.2.52_p2 -bootstrap -doc -java -nocxx -tcltk 0 kB [ebuild N ] sys-libs/gdbm-1.8.3-r1 +berkdb -debug 0 kB [ebuild N ] sys-devel/flex-2.5.4a-r6 -build -debug -static 0 kB [ebuild N ] sys-devel/bc-1.06-r6 -debug +readline -static 0 kB [ebuild N ] sys-apps/diffutils-2.8.7-r1 -debug +nls -static 0 kB [ebuild N ] sys-apps/texinfo-4.8 -build -debug +nls -static 0 kB [ebuild N ] sys-apps/groff-1.19.1-r2 -X -debug 0 kB [ebuild N ] sys-process/cronbase-0.3.2 0 kB [ebuild N ] sys-apps/man-1.5p -debug +nls 0 kB [ebuild N ] sys-devel/libperl-5.8.6 +berkdb -debug +gdbm +ithreads -nocxx (-uclibc) 0 kB [ebuild N ] dev-lang/perl-5.8.6-r4 +berkdb -debug -doc +gdbm +ithreads -perlsuid (-uclibc) 0 kB [ebuild N ] dev-libs/openssl-0.9.7e-r1 -bindist -debug -emacs (-uclibc) 0 kB [ebuild N ] dev-libs/expat-1.95.8 -test 0 kB [ebuild N ] dev-lang/python-2.3.5 -X +berkdb -bootstrap -build -debug -doc +gdbm +ipv6 +nc urses +readline +ssl -tcltk -ucs2 0 kB [ebuild N ] sys-apps/portage-2.0.51.20-r2 -build (-selinux) 0 kB *** Please update portage to the above version before proceeding. Failure to do so may result in failed or improper merges. A simple 'emerge -u portage' is sufficient. [ebuild N ] sys-devel/gcc-config-1.3.10-r2 0 kB [cut here... rest of packages never emerged in next step] 2.emerge -e system Actual Results: packages up to portage are emerged then portage restarts itself and reemerges packages up to portage, when it restarts itself... and so on. I've watched it today several times... (I'm dooing emerge system now (like it was mentioned in installation guide in 2003(?))) Expected Results: It should emerge the system :) Gentoo Base System version 1.6.11 Portage 2.0.51.20 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo- r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2500+ dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium2 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftrace r -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/e nv /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/p ref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/shar e/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium2 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftra cer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/g entoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X509 acl acpi alsa apache2 apm arts asm authdaemond avi bash-completion berkdb bind-my sql bitmap-fonts cap caps cdr cdrom chroot clamav cracklib crypt cups curlwrappers cyrus dbx de vmap dhcp dio disk-cache distcache droproot ecc elf emboss encode ethereal evms2 extensions fam finger flood foomaticdb fortran freetds ftp gcc-libffi gcj gd gdbm gif gmail gnome gnutls gpgm e gs hal hardened hardenedphp howl html http icecast iconv icp idn imap imlib innodb iodbc ipv6 ithreads jabber javascript jp2 jpeg jpeg2k justify kde ldap libclamav libedit libg++ libwww li ds lingerd lirc lm_sensors logrotate mad mailbox maildir maildrop mailwrapper make-symlinks mat h mbox md5sum memlimit messages mew mhash mikmod milter mime mls mmap mmx mng mod_irc mod_muc m od_pubsub motif mp3 mpeg mpi mpm-peruser mysql mysqli nagios-dns nagios-game nagios-ntp nagios- ping nagios-ssh ncurses net nethack neural nls nntp no-old-linux nodoc nptl ntlm ntlm_unsupport ed_patch odbc oggvorbis opengl oss pam pam-mysql pam_chroot pam_console pam_timestamp pcntl pcr e pdflib pear-db perl pg-vacuumdelay php pic png pnp posix postgres ppds prelude priority procm ail python quicktime quotas readline rpm rtc samba sample sasl sdl sendfile session sftplogging shaper sharedext sharedmem simplexml skey slang smime smtp snmp sockets softquota spamassiassi n spell spl sql sqlite sqlite3 squil srp ssl subject-rewrite svga symlink sysfs syslog tcpd tid y tiff tokenizer tos transparent-proxy truetype truetype-fonts ttcp type1-fonts underscores uni code unsupported_8bit urandom usb userlocales utf8 vda vhosts vim vim-pager virtual-users virus -scan web winbind withsamplescripts xbase xchatdccserver xchatnogtk xchattext xface xinetd xml xml2 xmlrpc xmms xsl xslt xurl xv zlib" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Building stages with ~arch is neither tested nor supported.