[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Error "Can't find a temporary directory" on command "svn diff"

From: <luc.castillo_at_ineo.com>
Date: 2007-08-30 09:32:19 CEST

Context of the problem:
- Fresh install of RedHat EL3 on a system
- Install of subversion.1.4.4-1 package
-chmod is 777 for the current directory
-chmod is 777 for the /tmp directory
-environment variables TMP, TEMP and TMPDIR unset
- svn co <Base> .
- svn diff StdAfx.h

After a few seconds:
svn:Can't find a temporary directory: Error string not specified yet

strace() of command svn diff

open(".svn/entries", O_RDONLY) = 3
read(3, "8\n\ndir\n585\nsvn://10.27.136.5/rte"..., 80) = 80
close(3) = 0
open("StdAfx.h/.svn/entries", O_RDONLY) = -1 ENOTDIR (Not a directory)
open(".svn/entries", O_RDONLY) = 3
read(3, "8\n\ndir\n585\nsvn://10.27.136.5/rte"..., 16384) = 1284
read(3, "", 16384) = 0
close(3) = 0
lstat64("StdAfx.h", {st_mode=S_IFREG|0644, st_size=967, ...}) = 0
open(".svn/entries", O_RDONLY) = 3
read(3, "8\n\ndir\n585\nsvn://10.27.136.5/rte"..., 80) = 80
close(3) = 0
open(".svn/entries", O_RDONLY) = 3
read(3, "8\n\ndir\n585\nsvn://10.27.136.5/rte"..., 16384) = 1284
read(3, "", 16384) = 0
close(3) = 0
lstat64("StdAfx.h", {st_mode=S_IFREG|0644, st_size=967, ...}) = 0

>> Continuing on the bad system:

getcwd("/home/arp/DevArpTrunk/Com/Srv", 4096) = 30
write(2, "svn: Impossible de trouver de r\351"..., 84svn: Impossible de
trouver de répertoire temporaire: Error string not specified yet
) = 84
exit_group(1) = ?

>> Continuing on the good system:

gettimeofday({1185887112, 637136}, NULL) = 0
getpid() = 8760
open("/tmp/apr-tmp.SojXId", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
write(3, "!", 1) = 1
close(3) = 0
unlink("/tmp/apr-tmp.SojXId") = 0
open("/tmp/tmp", O_RDWR|O_CREAT|O_EXCL, 0666) = 3
close(3) = 0
lstat64("StdAfx.h", {st_mode=S_IFREG|0644, st_size=967, ...}) = 0
unlink("/tmp/tmp") = 0
exit_group(0) = ?

>> Why this difference , What's wrong ?

Thanks
Received on Thu Aug 30 09:33:50 2007

This is an archived mail posted to the Subversion Dev mailing list.