zoolook@venkman ~ $ sudo emerge -uv world Calculating world dependencies... done! >>> Emerging (1 of 12) x11-wm/beryl-core-0.1.3 to / Traceback (most recent call last): File "/usr/bin/emerge", line 4962, in ? retval = emerge_main() File "/usr/bin/emerge", line 4957, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 4430, in action_build retval = mergetask.merge(pkglist, favorites, mtimedb) File "/usr/bin/emerge", line 2740, in merge prev_mtimes=ldpath_mtimes) File "/usr/lib/portage/pym/portage.py", line 3243, in doebuild if need_distfiles and not fetch( File "/usr/lib/portage/pym/portage.py", line 2184, in fetch if portage_util.ensure_dirs(mydir, gid=portage_gid, mode=dirmode, mask=modemask): File "/usr/lib/portage/pym/portage_util.py", line 833, in ensure_dirs raise ReadOnlyFileSystem(func_call) portage_exception.ReadOnlyFileSystem: "makedirs('/usr/portage/distfiles/.locks')" zoolook@venkman ~ $ emerge --info Portage 2.1.2_rc3-r7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686) ================================================================= System uname: 2.6.19-gentoo-r2 i686 Intel(R) Celeron(R) CPU 2.53GHz Gentoo Base System version 1.12.8 Last Sync: Wed, 20 Dec 2006 00:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /usr/X11R6/lib/X11/xkb" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 7zip X X509 a52 aac accessibility acl acpi activefilter addbookmarks adns aim akode alias alsa alsa_cards_emu10k1 amr ao ares arts artswrappersuid async audiofile autoipd autoreplace avahi avantgo berkdb binfilter blender-game bluetooth branding browserplugin bzip2 cairo canvas caps cdda cddb cdinstall cdparanoia chroot commercial connectionstatus contactnotes crypt css cups curl custom-cflags custom-flags dbus dhcp divx divx4linux djbfft dlloader dmi dri dts dv dvb dvd dvdr dvdread dxr3 ecc elibc_glibc encode exif expat extensions extrafilters faad fame fat ffmpeg fftw firefox flac floppyboot fontconfig fping fpx freetype ft fuse gadu gd gdbm gif glib glibc-omitfp glitz glut gmedia gmp gpg2-experimental gpgme gphoto2 gpm graphviz groupwise gs gstreamer gtk gtk2 gtkhtml hal hardware-carrier hfs highlight history howl icq id3 ide idea idn ifp ilbc imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse insecure-savers ipod irc irda irmc ithreads jabber jack java javascript jfs jingle jpeg jpeg2k js justify kde kdeenablefinal kdepim kernel_linux kipi kqemu lame lcms ldap libedit lirc lirc_devices_all lm_sensors lua lzo lzw-tiff mad mbrola meanwhile mikmod minimal mjpeg mmap mmx mng mod modplug module mono motif mozbranding mozcalendar mozdevelop mozilla mozsvg mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msn mtp multiuser musepack musicbrainz mysql nas ncurses net netboot netmeeting network nfs nis nomalloccheck nowlistening nptl nptlonly nsplugin ntfs numeric nvidia offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl ortp overlays pam pam_chroot pam_timestamp pccts pch pcre pda pdf perl pertty pic png pulseaudio pwdb python qmax qq qt qt3 qt3support qt4 quicktime radius readline real realmedia reiser4 reiserfs restrict-javascript rle rtc rtsp ruby samba sametime sasl scanner server sftplogging shout silc smime sms smtp sndfile sound speex spell sqlite sqlite3 sse sse2 ssl startup-notification statistics stream subtitles svg syslog taglib tcltk tcpd teamarena texteffect theora threads tiff timidity translator transmitter truetype truetype-fonts ucs2 udev unicode usb userland_GNU userlocales utempter v4l v4l2 vcd vdesktop video_cards_nvidia vidix visualization vorbis vorbis-psy webpresence wifi win32codecs winpopup wmf wmp wxwindows x264 xanim xattr xcomposite xforms xfs xine xml xml2 xorg xpm xprint xscreensaver xsl xv xvid xvmc yahoo yp zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
This is fixed in svn r5330. To work around this, add -distlocks to FEATURES in make.conf.
This has been released in 2.1.2_rc3-r8.
zoolook@venkman ~ $ emerge -V Portage 2.1.2_rc3-r8 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686) Errrmmmm.... zoolook@venkman ~ $ sudo emerge -uv world Calculating world dependencies... done! >>> Emerging (1 of 2) net-libs/meanwhile-1.0.2 to / !!! No write access to '/usr/portage/distfiles' Traceback (most recent call last): File "/usr/bin/emerge", line 5003, in ? retval = emerge_main() File "/usr/bin/emerge", line 4998, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 4471, in action_build retval = mergetask.merge(pkglist, favorites, mtimedb) File "/usr/bin/emerge", line 2781, in merge prev_mtimes=ldpath_mtimes) File "/usr/lib/portage/pym/portage.py", line 3242, in doebuild if need_distfiles and not fetch( File "/usr/lib/portage/pym/portage.py", line 2263, in fetch stat_cached=mystat) File "/usr/lib/portage/pym/portage_util.py", line 716, in apply_secpass_permissions stat_cached=stat_cached, follow_links=follow_links) File "/usr/lib/portage/pym/portage_util.py", line 618, in apply_permissions raise ReadOnlyFileSystem(func_call) portage_exception.ReadOnlyFileSystem: "chmod('/usr/portage/distfiles/meanwhile-1.0.2.tar.gz', 0664)" -distlocks makes no difference now.
Created attachment 104460 [details, diff] fix broken exception handling syntax for Comment #3 Thanks to grobian for help with isolating this issue.
This has been released in 2.1.2_rc3-r9.