when emerging postfix-2.0.2-r1 from 1.1.11.20020917, I get an error on this file pfixtls-0.8.13-2.0.1-0.9.7.tar.gz I saw tht it could not create a /root/.tmp/ file, so I symlinked a .tmp to the /tmp directory. Still no luck. ------------------------------------------------------------------- !!! ERROR: net-mail/postfix-2.0.2-r1 failed. !!! Function epatch, Line 302, Exitcode 0 !!! Failed Patch: pfixtls.diff! ***** pfixtls.diff ***** ======================== PATCH COMMAND: patch -p0 < /var/tmp/portage/postfix-2.0.2-r1/work/pfixtls-0.8.13-2.0.1-0.9.7/pfixtls.diff ======================== can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -u -r --new-file postfix-2.0.1-vanilla/Makefile.in postfix-2.0.1/Makefile.in |--- postfix-2.0.1-vanilla/Makefile.in Sun Jan 12 17:23:26 2003 |+++ postfix-2.0.1/Makefile.in Mon Jan 13 13:15:05 2003 -------------------------- No file to patch. Skipping patch. patch: **** Can't create file /root/.tmp/pr51chAu : Permission denied ======================== PATCH COMMAND: patch -p1 < /var/tmp/portage/postfix-2.0.2-r1/work/pfixtls-0.8.13-2.0.1-0.9.7/pfixtls.diff ======================== patch: **** Can't create file /root/.tmp/pouRByp1 : Permission denied ======================== PATCH COMMAND: patch -p2 < /var/tmp/portage/postfix-2.0.2-r1/work/pfixtls-0.8.13-2.0.1-0.9.7/pfixtls.diff ======================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -u -r --new-file postfix-2.0.1-vanilla/Makefile.in postfix-2.0.1/Makefile.in |--- postfix-2.0.1-vanilla/Makefile.in Sun Jan 12 17:23:26 2003 |+++ postfix-2.0.1/Makefile.in Mon Jan 13 13:15:05 2003 -------------------------- No file to patch. Skipping patch. patch: **** Can't create file /root/.tmp/prZrrQkp : Permission denied ========================PATCH COMMAND: patch -p3 < /var/tmp/portage/postfix-2.0.2-r1/work/pfixtls-0.8.13-2.0.1-0.9.7/pfixtls.diff ======================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -u -r --new-file postfix-2.0.1-vanilla/Makefile.in postfix-2.0.1/Makefile.in |--- postfix-2.0.1-vanilla/Makefile.in Sun Jan 12 17:23:26 2003 |+++ postfix-2.0.1/Makefile.in Mon Jan 13 13:15:05 2003 -------------------------- No file to patch. Skipping patch. patch: **** Can't create file /root/.tmp/prXxoNfq : Permission denied ======================== PATCH COMMAND: patch -p4 < /var/tmp/portage/postfix-2.0.2-r1/work/pfixtls-0.8.13-2.0.1-0.9.7/pfixtls.diff ======================== missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -u -r --new-file postfix-2.0.1-vanilla/Makefile.in postfix-2.0.1/Makefile.in |--- postfix-2.0.1-vanilla/Makefile.in Sun Jan 12 17:23:26 2003 |+++ postfix-2.0.1/Makefile.in Mon Jan 13 13:15:05 2003 -------------------------- No file to patch. Skipping patch. patch: **** Can't create file /root/.tmp/prRZ7D7q : Permission denied
please paste #emerge info do you emerge as root ? rsync once again and try again
emerge info is as follows: Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) XP 1900+ GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml gdbm berkdb slang readline arts aalib nas bonobo svga ggi tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla cdr" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CXXFLAGS="-march=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86 ~arch" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I emerge as su - root from normal user. I have rsync'ed and am still recieving the same error
emerge -pu world --deep does this print any compiler releated or diffutils thing to update `?
OK, after much digging, I found out what the problem was. I had put this line in my .bash_profile: export TMPDIR="$HOME/.tmp" So, anything that was attempted to emerge (just happened to be postfix 2) could not. Once this line was commented out, It emerged just fine.
reopen
closes as invalid