Code emerge system, or emerge coreutils, or emerge pam ...results: . . . * 030_all_coreutils-more-dir-colors.patch ... [ ok ] * Done with patching * Reconfiguring configure scripts (be patient) ... /usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE/usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO configure.ac:51: /usr/bin/m4: ERROR: Cannot create temporary file for diversion: Permission denied autom4te-2.59: /usr/bin/m4 failed with exit status: 1 aclocal-1.9: autom4te failed with exit status: 1 !!! ERROR: sys-apps/coreutils-5.94-r1 failed. Call stack: ebuild.sh, line 1928: Called dyn_unpack ebuild.sh, line 719: Called src_unpack !!! aclocal Or, with emerge pam : * Applying pam-0.78-pam_handlers-handle-NULL.patch ... [ ok ] * Applying pam-0.78-console-reset.patch ... [ ok ] * Applying pam-0.78-devfsd.patch ... [ ok ] * Applying pam-0.78-pam_console-config.patch ... [ ok ] * Applying pam-0.77-pam_console-fix-fullpath-in-file-classes.patch ... [ ok ] * Applying pam-0.78-pam_console-static-glib.patch ... [ ok ] * Applying pam-0.78-pam_console_apply-use-correct-device.patch ... [ ok ] * Applying pam-0.78-pam_console-sed-static.patch ... [ ok ] * Applying pam-0.78-pam_console-Makefile-cleanup.patch ... [ ok ] * Applying pam-0.77-pam_xauth-also-set-DISPLAY.patch ... [ ok ] * Applying pam-0.78-nis.patch ... [ ok ]configure.in:414: /usr/bin/m4: ERROR: Cannot create temporary file for diversion: Permission denied autom4te-2.59: /usr/bin/m4 failed with exit status: 1 !!! ERROR: sys-libs/pam-0.78-r4 failed. Call stack: ebuild.sh, line 1928: Called dyn_unpack ebuild.sh, line 719: Called src_unpack !!! (no error message) - - - If done mount, result: /dev/hdb4 on / type reiserfs (rw,nosuid,nodev,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw) /dev/hdb1 on /boot type ext2 (rw,noatime) none on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw) - - - emerge-info: Gentoo Base System version 1.6.12 *** Deprecated use of action 'info', use '--info' instead Portage 2.1_pre5 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.6-r3,$================================================================= System uname: 2.6.12 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/shar$CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distcc distlocks noauto sandbox sfperms st$GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/distfiles http://distfiles.gento$MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" - - - ls -l /var/tmp : total 0 drwxrwsr-x 2 portage portage 48 Feb 27 15:24 ccache drwxrwxr-x 4 portage portage 104 Feb 27 15:37 portage - - - And the ebuild.sh lines with problem are: 717 [ -d "$WORKDIR" ] && cd "${WORKDIR}" 718 echo ">>> Unpacking source..." 719 src_unpack and: fi if [ "$PORTAGE_DEBUG" != "1" ]; then dyn_${myarg} #Allow non-zero return codes since they can be caused by && else set -x 1928 dyn_${myarg} #Allow non-zero return codes since they can be caused by && set +x - - - We seeing her that before the apparent bug, that directory is created again until, as it proceeds : 682 dyn_unpack() { trap "abort_unpack" SIGINT SIGQUIT [ "$(type -t pre_src_unpack)" == "function" ] && pre_src_unpack local newstuff="no" if [ -e "${WORKDIR}" ]; then local x local checkme for x in ${AA}; do echo ">>> Checking ${x}'s mtime..." if [ "${DISTDIR}/${x}" -nt "${WORKDIR}" ]; then echo ">>> ${x} has been updated; recreating WORKDIR..." newstuff="yes" rm -rf "${WORKDIR}" break fi done if [ "${EBUILD}" -nt "${WORKDIR}" ]; then echo ">>> ${EBUILD} has been updated; recreating WORKDIR..." newstuff="yes" rm -rf "${WORKDIR}" elif [ ! -f "${PORTAGE_BUILDDIR}/.unpacked" ]; then echo ">>> Not marked as unpacked; recreating WORKDIR..." newstuff="yes" rm -rf "${WORKDIR}" fi
(In reply to comment #0) > Code emerge syste> ls -l /var/tmp : > total 0 > drwxrwsr-x 2 portage portage 48 Feb 27 15:24 ccache > drwxrwxr-x 4 portage portage 104 Feb 27 15:37 portage Yeah, that's completely wrong. Needs to be # ls -ld /tmp /var/tmp drwxrwxrwt 16 root root 9168 Feb 28 10:02 /tmp drwxrwxrwt 8 root root 240 Feb 28 09:26 /var/tmp *** This bug has been marked as a duplicate of 120876 ***
sorry by duplicate. A premiere non happy here as I see