# emerge -u world Calculating world dependencies ...done! >>> emerge (1 of 9) x11-base/xfree-4.3.0-r7 to / >>> md5 src_uri ;-) X430src-1.tgz >>> md5 src_uri ;-) X430src-2.tgz .. >>> md5 src_uri ;-) webdin32.exe /bin/bash: /etc/portage/bashrc: Permission denied /bin/bash: /etc/portage/bashrc: Permission denied /bin/bash: /etc/portage/bashrc: Permission denied >>> Unpacking source... .... [ ok ] * 9950_all_4.3.0-elfloader-linux-non-exec-stack.patch... [ ok ] * Done with patching * Applying xfree86-dri-resume-v8.patch... [ ok ] awk: cmd. line:2: fatal: cannot open file `//usr/src/linux/include/linux/version.h' for reading (Permission denied) /usr/sbin/ebuild.sh: line 74: [: : integer expression expected * Updating Wacom USB Driver... [ ok ] truetype !bindist * Unpacking MS Core Fonts... * Done unpacking Core Fonts... [ ok ] * Setting up config/cf/host.def... awk: cmd. line:2: fatal: cannot open file `//usr/src/linux/include/linux/version.h' for reading (Permission denied) /usr/sbin/ebuild.sh: line 74: [: : integer expression expected pam mmx sse xml2 [ ok ] >>> Source unpacked. egrep: /etc/make.conf: Permission denied * Compiling ucs2any C implementation... well. it's easy to fix, but i think it should warn forehand that it needs read permission on these files. it could be also a reason why i have (again) to compile xfree, because it failed last time (didn't note down the error, just tought wait couple of days and emerge sync would solve it) Reproducible: Always Steps to Reproduce:
# emerge info Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.4.22-1.2115.nptlsmp) ================================================================= System uname: 2.4.22-1.2115.nptlsmp i686 Intel(R) Xeon(TM) CPU 2.80GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -mfpmath=sse -msse2 -mmmx -pipe -fomit-frame-pointer -falign-functions=4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j25" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/gentoo/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 arts artswrappersuid avi bitmap-fonts chroot crypt cups dga directfb dvd encode extensions fbcon flac gif gphoto2 gpm gstreamer gtk gtk2 imap imlib java javascript jikes jpeg kde libg++ libwww linguas_et mad maildir md5sum memlimit mmx motif mpeg mysql ncurses oggvorbis opengl oss pam pda pdflib perl png qt quicktime readline samba scanner sdl slang slp spell sse ssl svga tcltk tiff truetype usb x86 xinerama xml2 xprint xv zlib"
Please try with a current portage version.
*** This bug has been marked as a duplicate of 21693 ***