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

Re: svn-win32-r1202-ssl+zlib zipfile from download page

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-02-10 13:55:37 CET

Jay Freeman (saurik) wrote:

>Interesting, I can't even get this build to work. Went to check out the
>latest code base with it and I get:
>
>D:\Code\ninetjer\external>svn co http://svn.collab.net/repos/svn/trunk
>-d subversion
>
>svn_error: #21035 : <Problem running log>
> could not checkout a file
>
>svn_error: #21035 : <Problem running log>
> in directory subversion
>
>apr_error: #20508, src_err 0 : <The input data is incomplete>
> svn_io_copy_file: copying subversion/.svn/text-base/COPYING.svn-base
>to subversion/COPYING
>
Yes, Win32 is totally hosed right now if you're using NTFS. The indirect
culprit apr_fle_copy -- APR doesn't handle Win32 ACLs very well, that's
why the copes are failing. Fixing that code in APR is not trivial.

I also found out that the latest version will fail because
apr_file_attr_set isn't implemented for Win32. That's sheer, sloppy
programming, we should be taking that into account. This patch is a
temporary fix:

Index: ./subversion/libsvn_subr/io.c
===================================================================
--- ./subversion/libsvn_subr/io.c
+++ ./subversion/libsvn_subr/io.c Sat Feb 9 23:31:47 2002
@@ -365,7 +365,7 @@

   attributes |= APR_FILE_ATTR_READONLY;
   status = apr_file_attrs_set (path, attributes, pool);
- if (!APR_STATUS_IS_SUCCESS(status))
+ if (status && status != APR_ENOTIMPL)
     return svn_error_createf (status, 0, NULL, pool,
                              "failed to set file '%s' read-only", path);

>Also, why do the Windows binary builds have their default diff/patch
>location set to C:\Program Files\cygnus\cygwin ?
>
Because that's where it happens to be installed on my machine.

> I just reinstalled my
>computer a week ago, so I figured this time I'd install cygwin to that
>directory (rather than the default "c:/cygwin") and the installer
>program strongly advised against it (apparently cygwin isn't really
>happy being in a directory with a space).
>
The installer program doesn't have a clue. I've been using cygwin
installed that way for years, without a hitch.

> I could probably trick it by
>using a short file name, but that might cause more problems later on.
>So, what I end up doing all the time is creating that directory and
>copying diff and patch into it long enough to bootstrap out a copy and
>compile it myself with a different directory...
>
That's exactly what you're supposed to do.

The Win32 binary builds are experimental. The comment on the downloads
page says so.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:06 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.