Adam Daughterson <adam.daughter...@dothill.com> writes:

> mkdir("/mnt/cns/Users/adaughterson/tmp/Tools/.svn", 0777) = 0
> mkdir("/mnt/cns/Users/adaughterson/tmp/Tools/.svn/pristine", 0777) = 0
> mkdir("/mnt/cns/Users/adaughterson/tmp/Tools/.svn/tmp", 0777) = 0
> open("/mnt/cns/Users/adaughterson/tmp/Tools/.svn/wc.db", 
> O_RDWR|O_CREAT|O_LARGEFILE, 0666) = 3
> fcntl64(3, F_GETFD)                     = 0
> fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
> close(3)                                = 0
> stat64("/mnt/cns/Users/adaughterson/tmp/Tools/.svn/wc.db", 
> {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
> open("/mnt/cns/Users/adaughterson/tmp/Tools/.svn/wc.db", 
> O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0644) = 3
> fstat64(3, {st_mode=S_IFREG|0755, st_size=0, ...}) = 0
> close(3)                                = 0
> write(2, "svn: E200030: sqlite[S22]: large"..., 58svn: E200030: sqlite[S22]: 
> large file support is disabled
> ) = 58

That's odd.  The open, fstat64, close all succeed so what triggered the
error?  The message corresponds to SQLITE_NOLFS in the sqlite
amalgamation, so I guess it's the code in findInodeInfo:

  rc = osFstat(fd, &statbuf);
  if( rc!=0 ){
    pFile->lastErrno = errno;
#ifdef EOVERFLOW
    if( pFile->lastErrno==EOVERFLOW ) return SQLITE_NOLFS;
#endif
    return SQLITE_IOERR;
  }

but fstat64 didn't fail.

Does a checkout on a local disk work?

svnadmin create repo
svn co file://`pwd`/repo wc

I've been able to check the binary build logs and the binaries were
built with -D_LARGEFILE64_SOURCE and a 3.7.16.2 SQLite amalgamation.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

Reply via email to