You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2012/12/10 18:28:59 UTC

[Bug 54275] New: apr-util 1.5.1 fails to build on non-glibc system

https://issues.apache.org/bugzilla/show_bug.cgi?id=54275

            Bug ID: 54275
           Summary: apr-util 1.5.1 fails to build on non-glibc system
           Product: APR
           Version: HEAD
          Hardware: PC
                OS: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-util
          Assignee: bugs@apr.apache.org
          Reporter: alanh@fairlite.co.uk
    Classification: Unclassified

When building apr-util 1.5.1 it fails with this error....

crypto/apr_passwd.c: In function 'apr_password_validate':
crypto/apr_passwd.c:114:46: error: missing binary operator before token "("
make[1]: *** [crypto/apr_passwd.lo] Error 1

It turns out the C preprocessor is evaluating both conditions. This article
shows what they needed to do to fix the problem. i.e. moving the check to two
lines.

http://lists-archives.com/git/636938-simplify-strchrnul-compat-code.html

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


[Bug 54275] apr-util 1.5.1 fails to build on non-glibc system

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54275

--- Comment #2 from Alan Hourihane <al...@fairlite.co.uk> ---
Hi Stefan,

That fix doesn't look quite right. You've now commented out the whole block for
non-glibc systems, whereas the memset seems required for non-glibc systems.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


[Bug 54275] apr-util 1.5.1 fails to build on non-glibc system

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54275

--- Comment #3 from Stefan Fritsch <sf...@sfritsch.de> ---
(In reply to comment #2)
> That fix doesn't look quite right. You've now commented out the whole block
> for non-glibc systems, whereas the memset seems required for non-glibc
> systems.

You are right. Thanks.

Fixed in  
trunk r1426442
1.5.x r1426445

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


[Bug 54275] apr-util 1.5.1 fails to build on non-glibc system

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54275

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Stefan Fritsch <sf...@sfritsch.de> ---
fixed in 1.5.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


[Bug 54275] apr-util 1.5.1 fails to build on non-glibc system

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54275

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> ---
Thanks for the report. Fix committed:

trunk: r1422413
1.5.x: r1422415

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org