Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2014 02:05:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193905] Upgrade of devel/apr1 to apr-1.5.1.1.5.4 causes devel/subversion to break
Message-ID:  <bug-193905-13-se97h0Rq7B@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193905-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193905-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193905

Jan Beich <jbeich@vfemail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbeich@vfemail.net

--- Comment #6 from Jan Beich <jbeich@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 the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193905-13-se97h0Rq7B>