I am in tying to emerge system as part of stage2-> stage3 install step of gentoo. Portage however fails to install glib on my AMD64 system. This disables me from completing the necesarry steps to install gentoo. This problem occurs during stage2 of a fresh installation from stage1 (using the amd64 hardened profile) livecd / # emerge system Calculating system dependencies ...done! >>> emerge (1 of 21) dev-libs/glib-1.2.10-r5 to / >>> md5 src_uri ;-) glib-1.2.10.tar.gz >>> Unpacking source... >>> Unpacking glib-1.2.10.tar.gz to /var/tmp/portage/glib-1.2.10-r5/work * Applying glib-1.2.10-gcc34-fix.patch ... [ ok ] * Applying uClibc/libtool patches ... * Fixing ${S}/ltconfig... [ ok ] >>> Source unpacked. ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-threads=posix --enable-debug=yes creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized checking build system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=opteron -pipe -ffast-math -fomit-frame-pointer -fPIC ) works... yes checking whether the C compiler (gcc -O2 -march=opteron -pipe -ffast-math -fomit-frame-pointer -fPIC ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig ltconfig: you must specify a host type if you use `--no-verify' Try `ltconfig --help' for more information. configure: error: libtool configure failed !!! ERROR: dev-libs/glib-1.2.10-r5 failed. !!! Function econf, Line 449, Exitcode 1 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge system 2. tries to pull glib-1.2.10-r5 3. fails Actual Results: It stopped, making further installation of gentoo impossible. Expected Results: Installed the package and continued to install gentoo. Portage 2.0.51-r3 (hardened/amd64, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64) ================================================================= System uname: 2.6.9-gentoo-r1 x86_64 AMD Opteron(tm) Processor 244 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=opteron -pipe -ffast-math -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=opteron -pipe -ffast-math -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS=" ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb crypt gd gif hardened imap jpeg libwww maildir mysql ncurses nls nptl pam pam-mysql perl php pic pie python readline sasl ssl tcpd userlocales xml2 zlib"
if you `export FEATURES=autoconfig`, does it work ?
Yep, that does the trick for me Thanks a lot!
added FEATURES=autoconfig to all profiles