After installing latest Tiger and running Fink for
apache2 and subversion I have been fighting with a non-fink bug for quite a while.

The bug was quite well documented, it turned out. So here is is from the FAQ at subversion

*********QUOTE START**********

There is a bug in APR 0.9.6 that is present when it is running on Tiger, and shows up when you attempt to check out a file larger than 64K. The resulting checkout fails, often with unpredictable error messages. Here are some examples of what you might see on the client side, the specific errors may differ for you:

svn: Invalid diff stream: [tgt] insn 1 starts beyond the target view position
svn: Unexpected end of svndiff input
svn: REPORT request failed on '/path/to/repository'
svn: REPORT of '/path/to/repository/!svn/vcc/default': Chunk delimiter was invalid
There may also be errors in the Apache error_log, such as:

[error] Provider encountered an error while streaming a REPORT response. [500, #0] [error] A failure occurred while driving the update report editor [500, #190004] To confirm the presence of this bug — assuming you have access to the machine that the repository is being served from — try checking out using a file:// URL, which will access the filesystem directly instead of going through Apache. If the resulting checkout completes successfully, then it is almost certain that this is the problem.

Currently, the best solution is to rebuild Apache and Subversion from their respective sources, setting the following environment variable before running configure for Apache:

setenv ac_cv_func_poll no
or in Bourne shell syntax, like this:

ac_cv_func_poll=no; export ac_cv_func_poll
If you built APR / APRUTIL separately (i.e., you did not use the ones that come as part of the Apache tarball), you must set that environment variable before running configure for APR, as this is where the problem lies.

*********QUOTE END**********

The thread ending in http://svn.haxx.se/dev/archive-2005-05/1349.shtml
also claims that apache 2.055 solves the problem.

Latest Fink apr 0.9.5-16, and apache2 is 2.052-12

Is there anyway that I can recompile the sources of apache2 and subversion using the bugfixes proposed by subversionFAQ, and still continue working with the Fink environment?

Thanks
Per Jansson, (who just upgraded to Tiger before starting with subversion, just to be up to date!!!)



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to