i brought a system up from stage 1. Over night I kicked of the bootstrap.sh script and emerge system. In the morning ifconfig was missing. Here are a few things Sven Vermeulen suggested I look at: livecd / # ls /sbin/i* /sbin/idectl /sbin/insmod.old /sbin/insmod_ksymoops_clean /sbin/init /sbin/insmod.static /sbin/installkernel /sbin/insmod /sbin/insmod.static.old livecd / # emerge -p net-tools These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-apps/net-tools-1.60-r9 livecd / # cat /var/db/pkg/sys-apps/net-tools-1.60-r9/CONTENTS dir /bin obj /bin/hostname 7c7261f805c6cdc302624429c1f8598c 1105549721 my make.conf if you need it. CFLAGS="-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" USE="x86 mmx 3dnow sse alsa avi crypt cscope dvd flac gif imlib jpeg lirc mad mpeg mysql oggvorbis opengl png quicktime sdl tiff truetype X xmms xv zlib nvidia -arts transcode xinerama -nls net joystick matroska -ldap apache2 xvid v4l2 theora And lastly the forum post that that references this problem http://forums.gentoo.org/viewtopic.php?t=283808 Reproducible: Didn't try Steps to Reproduce: 1.Boot from x86 LiveCD 2.Follow gentoo manual for a stage1 install. Actual Results: net-tools did not install properly Expected Results: Install net-tools properly Portage 2.0.51-r14 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) =============================================================== == System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 22 2005, 10:57:03)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/ kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/ gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apache2 apm avi berkdb bitmap-fonts crypt cscope cups dvd encode f77 fam flac foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 joystick jpeg kde libg++ libwww lirc mad matroska mikmod mmx motif mpeg mysql ncurses net nvidia oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell sse ssl svga tcpd theora tiff transcode truetype truetype-fonts type1-fonts v4l2 x86 xinerama xml2 xmms xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
run `emerge net-tools >& log` and post the log file as an attachment
I can confirm this for a 32-bit x86 build. emerge -Dup system shows everything current, yet emerge -p net-tools shows that net-tools-1.60-r9 is installed. finally, qpkg -l net-tools shows: sys-apps/net-tools-1.60-r9 * CONTENTS: /bin /bin/hostname emerge -pv net-tools shows [ebuild R ] sys-apps/net-tools-1.60-r9 -build* -debug +nsl* -static (-uclibc) 203kB remerging net-tools and rerunning qpkg -l shows that, emerging it again by hand once the build is complete works, and arp, rarp, route, iptunnel, plipconfig mii-tool, slattach, anemif, ifconfig, and ipmaddr are all where they belong. It appears something is broken when net-tools is first emerged during the initial 'emerge system' procedure.
Created attachment 49539 [details] emerge net-tools &log Don't know how much this will help since I've re-emerged net-tools and it works. Looks like Jean-Michel Smith confirms this only happens on emerge-system. But for the record there you are and I hope it helps somewhat.
well, if net-tools is built with USE=build, then the ebuild deletes everything but /bin/hostname
*** Bug 79991 has been marked as a duplicate of this bug. ***
I just had this happen to me also. Says the package is installed, yet none of the binaries like ifconfig were installed. Could somethign have changed in bootstrap.sh lately to cause this? wolk has been doing some different things to it lately and I'm wondering about that. This is quite annoying when you have a box a few thousand miles away and it doesn't come up because ifconfig is missing :P
wouldnt be suprised if it was the recent -e change
It seems to coincide with it, wouldn't surprise me either!
Here is my comment from bug #80396 Actually, the docs have already been updated for 2005.0 to give three choices. 1. The user can simply do "emerge system" and only new portions of their system will be rebuilt with their new USE/CFLAGS, anything made during bootstrap will remain as compiled at that time. This is the quickest method, but I am not sure that everything will work as expected, and therefore, is not recommended. 2. The user can do an "emerge --newuse system" and it will compile the new portions of their system with their new USE/CFLAGS, and anything made during bootstrap that has had changed USE flags will be rebuilt. 3. The user can do an "emerge -e system" and it will recompile everything using their new USE/CFLAGS. This is obviously the slowest method, but this ensures that every package is completely recompiled using the user's given USE/CFLAGS. This really is not required for 2004.3 or earlier, but due to the changes in the stages for 2005.0, these options are all being presented. The problem is that people are asking users to test stages without giving them any notice of what may have changed.
Ah, thanks for that info. Makes sense now! I've been running emerge --newuse world on all my recent boxes to fix that since I missed that in the releng mails. I will make sure I read those before using test stages like that again. Cheers!
ok, but that doesnt change the fact that bootstrap runs emerge with -e which is breaking 2004.3 if the 2005.0 approach is to update our docs, then please revert the `emerge -e` in bootstrap.sh
Done. Also, if you're using a new version of catalyst (anything > 1.1.1) then you'll want to rename bootstrap-new.sh to bootstrap.sh before building stages. If you're using pre-built stages (like 2004.3) then all should be well (now).
ifconfig is still missing and not merged by emerge system in 2005.1-r1. Remerging net-tools helps.