(emerge --resume after a emerge -uDNv world) *** Resuming merge... >>> Verifying ebuild Manifests... >>> starting parallel fetching pid 11267 >>> Emerging (1 of 14) dev-libs/openssl-0.9.8h-r1 to / * openssl-0.9.8h.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking openssl-0.9.8h.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking openssl-0.9.8h.tar.gz to /var/tmp/portage/dev-libs/openssl-0.9.8h-r1/work * Applying openssl-0.9.7e-gentoo.patch ... [ ok ] * Applying openssl-0.9.7-alpha-default-gcc.patch ... [ ok ] * Applying openssl-0.9.8b-parallel-build.patch ... [ ok ] * Applying openssl-0.9.8-make-engines-dir.patch ... [ ok ] * Applying openssl-0.9.8-toolchain.patch ... [ ok ] * Applying openssl-0.9.8b-doc-updates.patch ... [ ok ] * Applying openssl-0.9.8-makedepend.patch ... [ ok ] * Applying openssl-0.9.8e-make.patch ... [ ok ] * Applying openssl-0.9.8g-sslv3-no-tlsext.patch ... [ ok ] * Applying openssl-0.9.8h-ldflags.patch ... [ ok ] * Applying openssl-0.9.8h-pkcs12.patch ... [ ok ] ACCESS DENIED open_wr: /.distcc/lock/cpu_localhost_0 distcc[11609] (dcc_open_lockfile) ERROR: failed to creat /.distcc/lock/cpu_localhost_0: Permission denied distcc[11609] (dcc_lock_one) ERROR: failed to lock ACCESS DENIED open_wr: /.distcc/state/binstate_11609 distcc[11609] (dcc_open_state) ERROR: failed to open /.distcc/state/binstate_11609: Permission denied ACCESS DENIED unlink: /.distcc/state/binstate_11609 distcc[11609] (dcc_remove_state_file) Warning: failed to unlink /.distcc/state/binstate_11609: Permission denied Operating system: i686-whatever-linux2 Configuring for linux-elf ====================================================================== === SANITY TESTING! === No configuration will be done, all other arguments will be ignored! ====================================================================== No sanity errors detected! >>> Source unpacked. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-11405.log" open_wr: /.distcc/lock/cpu_localhost_0 open_wr: /.distcc/state/binstate_11609 unlink: /.distcc/state/binstate_11609 open_wr: /.distcc/lock/cpu_localhost_0 open_wr: /.distcc/state/binstate_11630 unlink: /.distcc/state/binstate_11630 -------------------------------------------------------------------------------- * The ebuild phase 'unpack' has exited unexpectedly. This type of behavior * is known to be triggered by things such as failed variable assignments * (bug #190128) or bad substitution errors (bug #200313). * Messages for package dev-libs/openssl-0.9.8h-r1: * The ebuild phase 'unpack' has exited unexpectedly. This type of behavior * is known to be triggered by things such as failed variable assignments * (bug #190128) or bad substitution errors (bug #200313). ----- Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686) ================================================================= System uname: 2.6.24-gentoo-r4 i686 AMD Athlon(tm) Timestamp of tree: Thu, 09 Oct 2008 18:15:04 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 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.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" 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/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.arcticnetwork.ca/source/ http://gentoo.llarian.net/ http://gentoo.mirrors.tera-byte.com/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://homeserver-02/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi acpi4linux alsa apache2 audiofile bash-completion berkdb bzip2 cairo cdparanoia cdr cgi chroot cli cpudetection cracklib crypt cscope ctype cups curl dba dbus dga dnd dri dts dv dvd dvdr dvdread eds emboss encode esd ethereal evms2 evo exif expat faad fam fastcgi fbcon ffmpeg fftw firefox flac font-server foomaticdb force-cgi-redirect freetype gd gdbm ggi gif glut gmp gphoto2 gpm gstreamer gtk hal httpd iconv idn imagemagick inode isdnlog ivtv jdepend joystick jp2 jpeg jsch junit kde latin1 lcd lcms lirc live lm_sensors logrotate lzo lzw lzw-tiff mad maildir matroska memlimit mhash midi mikmod mime mjpeg mmx mmxext mng mp2 mp3 mpeg mpeg2 mpm-worker mysql mythtv na_dd na_icons nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net network network-cron nls nptl nptlonly numeric offensive ogg opengl openmp optional-tasks oro oscar oss pam pcap pcre pdf perl php png posix ppds pppd python qt3 qt3support quicktime readline reflection regexp rtc ruby samba sdl session silc slang slp snmp soap sockets spell spl sse ssl stream svg svga tga theora threads tiff tokenizer transcode truetype unicode usb utf8 v4l v4l2 vhosts vlm vorbis win32codecs wmf x86 xalan xchatnogtk xchattext xerces xfs xine xinerama xml xml2 xmlrpc xorg xpm xsl xv xvid yahoo yv12 zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="vga vesa ivtvdev nvidia nv fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Thanks!
Looks like DISTCC_DIR is not set right, so distcc is trying to use '/.distcc' for its scratch space. The question is why DISTCC_DIR wasn't set properly... please post your 'emerge --info' output
I don't recall unsetting it, but for some reason PORTAGE_TMPDIR was unset in my make.conf on this server. So, set it, and lo and behold, it works. Sorry for the noise.