Re-emerging sys-libs/uclibc-0.9.28 in a chrooted environment, it happened a very bad thing, during the install part of emerge, /lib/libuClibc-0.9.28.so and so on disappeared, so emerge stopped, and I couldn't chroot again in this partition, so I tried to do the same emerge from my system specifing ROOT="/mnt/gentoo/" and "PORTAGE_CONFIGROOT="/mnt/gentoo/", but the emerge process just don't put nothing in /lib, leaving the system unusable. In this case it's not very dangerous because i was just installing and configuring a new system, but if someone did it with his/her system or server (I have got, for example, an uclibc-based server) his/her system would crashed without the ability to restart it. Here is my emerge --info as I could keep it, because the system is not chrootable yet, you can see my command: localhost ~ # ROOT="/mnt/gentoo/" PORTAGE_CONFIGROOT="/mnt/gentoo/" emerge --info Portage 2.1.1 (uclibc/x86, gcc-4.1.1, uclibc-0.9.28-r0, 2.6.17-gentoo-r7-eddy i686) ================================================================= System uname: 2.6.17-gentoo-r7-eddy i686 Mobile AMD Sempron(tm) Processor 3000+ Gentoo Base System version 1.12.5 Last Sync: Sat, 21 Oct 2006 18:00:03 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium2 -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/distfiles" FEATURES="autoconfig confcache distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://147.162.218.5/pub/Linux/distributions/gentoo-sources/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="" PKGDIR="/usr/distfiles/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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acpi apache2 bitmap-fonts cli cracklib dlloader dri elibc_uclibc ftp imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux latin1 mime mmx mpm-worker mysql mysqli ncurses pcmcia pcre php readline reflection session spl sse ssl symlink threads truetype-fonts type1-fonts uclibc userland_GNU video_cards_dummy video_cards_fbdev video_cards_v4l wordexp xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
no real information here other than "things broke" re-emerging in my x86 chroot and everything works fine: ... * Runtime Prefix: / * Devel Prefix: /usr * Kernel Prefix: /usr * CBUILD: i386-gentoo-linux-uclibc * CHOST: i386-gentoo-linux-uclibc * CTARGET: i386-gentoo-linux-uclibc * CPU: GENERIC_386 * ENDIAN: little ...
Created attachment 100206 [details] Log of my uclibc emerge.. COMMAND: ROOT="/mnt/gentoo/" PORTAGE_CONFIGROOT="/mnt/gentoo/" emerge -v uclibc &> /tmp/uclibcemerge.log
ok, so this is PEBKAC
Comment on attachment 100206 [details] Log of my uclibc emerge.. As you see, it do not put nothing in /lib, just in /usr/i686-pc-linux-uclibc/
from your log: * CBUILD: i686-pc-linux-gnu * CHOST: i686-pc-linux-gnu * CTARGET: i686-pc-linux-uclibc you failed to set up the env properly for the emerge so of course it failed to install the way you expected
Ok you are right, i did overwrite my make.conf bringing the conf from a stage3-i686. (urgh)