Hi, I had a problem with the checkfs-boot-script that checks the filesystem before the mount. with e2fsprogs-1.37 the executable /sbin/fsck exists but in e2fsprogs-1.38 it is no longer present. I installed e2fsprogs-1.37 and everything was fine, then updated to 1.38 and the system won't come over the filesystem check. Snip from "emerge -u e2fsprogs" -------- sys-fs/e2fsprogs selected: 1.37-r1 protected: 1.38 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging sys-fs/e2fsprogs-1.37-r1... No package files given... Grabbing a set. --- !mtime obj /usr/share/man/man8/tune2fs.8.gz --- !mtime obj /usr/share/man/man8/resize2fs.8.gz --- !mtime obj /usr/share/man/man8/mklost+found.8.gz --- !mtime obj /usr/share/man/man8/mke2fs.8.gz --- !mtime obj /usr/share/man/man8/logsave.8.gz <<< obj /usr/share/man/man8/fsck.8.gz --- !mtime obj /usr/share/man/man8/findfs.8.gz --- !mtime obj /usr/share/man/man8/filefrag.8.gz --- !mtime obj /usr/share/man/man8/e2label.8.gz ... --- !mtime obj /sbin/mke2fs --- !mtime obj /sbin/logsave <<< obj /sbin/fsck --- !mtime obj /sbin/filefrag --- !mtime obj /sbin/e2image --- !mtime obj /sbin/e2fsck .... ----------- In the /etc/init.d/checkfs the fsck that is removed here is needed. Please update e2fsprogs or baselayout (tried to reemerge baselayout but doesn't fix checkfs)! Yours, Patrick Reproducible: Always Steps to Reproduce: 1. emerge -C e2fsprogs 2. emerge '=sys-fs/e2fsprogs-1.37-r1' 3. reboot ... everything ok 4. emerge -u e2fsprogs 5. reboot ... error at bootup --- *Checking root filesystem... /sbin/rc: line 28: fsck: command not found --- Actual Results: The error was there Expected Results: work fine after update ^^ Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-vs2.0-gentoo-r1 i686) ================================================================= System uname: 2.6.12-vs2.0-gentoo-r1 i686 Pentium III (Katmai) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 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.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3" CHOST="i686-pc-linux-gnu" 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/init.d /etc/rc.d /etc/terminfo /etc/wget /etc/env.d" CXXFLAGS="-O2 -march=pentium3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow X acl berkdb bitmap-fonts crypt cups dvd eds emboss exiscan-acl foomaticdb fortran gd gdbm gif gmp gstreamer gtk2 imap java jpeg ldap libg++ libwww mad maildir ming mmx mp3 mysql ncurses ogg pam pdflib pear perl pic png pnp python readline samba sasl snmp sse ssl swf tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 yaz zlib linguas_de linguas_en" Unset: ASFLAGS, CTARGET, LDFLAGS
it's because for some reason, USERLAND and such isnt being picked up by portage do you have an outdated `emerge sync` ? what does `portageq envvar USERLAND` show ? how about `grep -r USERLAND /usr/portage/profiles/base` ?
azreal ~ # portageq envvar USERLAND GNU azreal ~ # grep -r USERLAND /usr/portage/profiles/base /usr/portage/profiles/base/make.defaults:USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC" /usr/portage/profiles/base/make.defaults:USERLAND="GNU"
The emerge sync was made at "Sep 8 - 15:06"
then i have no idea why your `emerge info` isnt showing the expanded variables in your USE
emerge -v info
Here with the -v option: azreal / # emerge -v info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12-vs2.0-gentoo-r1 i686) ================================================================= System uname: 2.6.12-vs2.0-gentoo-r1 i686 Pentium III (Katmai) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 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.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/spork/is/not/valid/profile.env" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -mcpu=i386" CHOST="i386-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" 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/init.d /etc/rc.d /etc/terminfo /etc/wget /etc/env.d" CVS_RSH="ssh" CXXFLAGS="-O2 -mcpu=i386" DCCC_PATH="/usr/lib/distcc/bin" DISTCC_LOG="" DISTCC_VERBOSE="0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" ELIBC="glibc" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig distlocks nodoc noinfo noman sfperms strict" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GCC_SPECS="" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" HOME="/root" HOSTNAME="azreal" INFOPATH="/usr/share/info:/usr/share/binutils-data/i386-pc-linux-gnu/2.15.92.0.2/info:/usr/share/gcc-data/i386-pc-linux-gnu/3.3.5-20050130/info" JAVAC="/opt/blackdown-jdk-1.4.2.02/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.2.02" JDK_HOME="/opt/blackdown-jdk-1.4.2.02" KERNEL="linux" LANG="de_DE@euro" LANGUAGE="49" LC_ALL="de_DE@euro" LESS="-R" LESSOPEN="|lesspipe.sh %s" LINGUAS="de en" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36:" MAKEOPTS="-j3" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i386-pc-linux-gnu/2.15.92.0.2/man:/usr/share/gcc-data/i386-pc-linux-gnu/3.3.5-20050130/man::/opt/blackdown-jdk-1.4.2.02/man" NOCOLOR="false" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5-20050130:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-od" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="19124" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PWD="/" PYTHONPATH="/usr/lib/portage/pym" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SHELL="/bin/bash" SHLVL="2" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" TERM="xterm" USE="x86 3dnow X acl berkdb bitmap-fonts crypt cups dvd eds emboss exiscan-acl foomaticdb fortran gd gdbm gif gmp gstreamer gtk2 imap java jpeg ldap libg++ libwww mad maildir ming mmx mp3 mysql ncurses ogg pam pdflib pear perl pic png pnp python readline samba sasl snmp sse ssl swf tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 yaz zlib linguas_de linguas_en" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" XARGS="xargs -r" _="/usr/bin/emerge"
USERLAND isn't listed in info_vars nor in emerge's hardcoded list.
so what to do ?
USERLAND need not show up in `emerge info` since it should normally be USE-expanded and thus in USE why is your USE_EXPAND being reset to "VIDEO_CARDS INPUT_DEVICES LINGUAS" ? do you have USE_EXPAND set somewhere in your make.conf or something ?
Yeah, that would do it. USE_EXPAND should really be in incrementals.
*** Bug 108134 has been marked as a duplicate of this bug. ***
As yes, this would probably also explain why my 'emerge system' failed royally in a few places. I'd upgraded my profile from an amd64 2004.2 to a 2005.0 profile and emerged the system, and a few places down the line, emerge would halt with errors like: 'sed not found' or 'tar not found' And I was like what?! So to get emerge to keep going I had to rebuild sed manually and install it, then I could emerge sed, because emerge depends on sed existing. And to get emerge to keep going with tar, I was able to make links symlinks from tar to gtar. It really drove me nuts. Yhen getting to the final kicker with this problem. I could have sworn I'd read everything in the upgrade guide.
*** Bug 97847 has been marked as a duplicate of this bug. ***
*** Bug 111932 has been marked as a duplicate of this bug. ***
This wont be fixed in 2.0.53...
Released in 2.1_pre1.
Created attachment 100086 [details] emerge info as requested by "emerge sys-devel/gettext-0.15" Something went horribly wrong on this box yesterday, whilst doing an emerge update world. I'm trying to emerge update again, starting with a genkernel, new kernel then gcc and glibc. emerge update genkernel barfs when trying to emerge gettext-0.15 with the message "You just hit Bug 105304, please post your 'emerge info' here: http://bugs.gentoo.org/105304"
Created attachment 100181 [details] Requested during compilation of gettext emerge --info -v requested by ebuild. A possible reemergence of the bug was seen when doing emerge -C kde-env && emerge -1u kdelibs (to get rid of the circular dependencies), make was not being found by emake. This was fixed with a link from /usr/bin/gmake to /usr/bin/make.
I've just found a probable cause for my problems in the forums: http://forums.gentoo.org/viewtopic-t-511502-highlight-gcc+sandbox.html I don't know why, but my make.conf had the option -userland_GNU. I have removed this and it appears to have fixed the problem causing this bug number to appear. Recompiling system now... :-)
(In reply to comment #19) > I don't know why, but my make.conf had the option -userland_GNU. Now that we have use.force in recent versions of portage, pretty soon we can start using it to force flags like that in the profile. Portage currently forces USE_EXPAND flags automatically in most cases, but explicit -flag is allowed to remove them (-* won't do that though) since not all USE_EXPAND necessarily need to be forced.