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

Re: Serf 1.2.0 has been released

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Sat, 23 Feb 2013 00:04:49 +0000

Philip Martin <philip.martin_at_wandisco.com> writes:

> The build/install don't report any errors even if the tests don't run,
> however the installed library doesn't work:
>
> /usr/local/lib/libserf-1.so: undefined reference to `apr_sockaddr_ip_getbuf'
>
> APR 1.2.7 doesn't have such a symbol. This means the minimum APR that
> can be used is APR 1.3.0. Until recently we have been supporting APR
> as far back as 0.9.

The function is only used for some error messages:

            if (apr_socket_addr_get(&sa, APR_LOCAL, skt) == APR_SUCCESS) {
                char buf[32];
                apr_sockaddr_ip_getbuf(buf, 32, sa);
                fprintf(stderr, "%s:%d", buf, sa->port);
            }
            fprintf(stderr, " r:");
            if (apr_socket_addr_get(&sa, APR_REMOTE, skt) == APR_SUCCESS) {
                char buf[32];
                apr_sockaddr_ip_getbuf(buf, 32, sa);
                fprintf(stderr, "%s:%d", buf, sa->port);
            }

There may be other reasons to upgrade but I don't think we should force
an upgrade just to support that error message.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2013-02-23 01:05:35 CET

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.