[Bug 193905] Upgrade of devel/apr1 to apr- causes devel/subversion to break

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 17 02:05:02 UTC 2014


Jan Beich <jbeich at vfemail.net> changed:

           What    |Removed                     |Added
                 CC|                            |jbeich at vfemail.net

--- Comment #6 from Jan Beich <jbeich at vfemail.net> ---
I'm having similar issue with devel/apr1 built by lang/clang35. It appears any
optimization level above -O0 breaks apr_stat() in file_io/unix/filestat.c.
Here's a workaround:

--- apr-1.5.1/file_io/unix/filestat.c~
+++ apr-1.5.1/file_io/unix/filestat.c
@@ -297,7 +297,6 @@ APR_DECLARE(apr_status_t) apr_stat(apr_f
         finfo->pool = pool;
         finfo->fname = fname;
         fill_out_finfo(finfo, &info, wanted);
-        if (wanted & APR_FINFO_LINK)
             wanted &= ~APR_FINFO_LINK;
         return (wanted & ~finfo->valid) ? APR_INCOMPLETE : APR_SUCCESS;

Will try again after 11.0-CURRENT imports clang 3.5.x if the issue persists.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the freebsd-apache mailing list