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

Re: apr-1.7.0 breaks subversion build

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 9 Apr 2019 17:52:30 +0200

On Tue, Apr 09, 2019 at 05:44:31PM +0200, Stefan Sperling wrote:
> On Tue, Apr 09, 2019 at 04:57:56PM +0200, Pierre Labastie wrote:
> > Hi,
> >
> > Following the instructions for reporting a bug, I write to this list.
> > I'm not subscribed to the list, so thanks for CCing me when replying.
> > I'm Pierre Labastie, one of the maintainers of BLFS [1]. I use the build
> > method described in the BLFS development book.
> > Please ask if you need further details.
> >
> > Here are the last lines of the output of configure for subversion-1.11.1,
> > with apr-1.7.0 installed:
>
> > configure: error: failed to recognize APR_INT64_T_FMT on this platform
> > -------------
> > I think it is because apr.h now defines APR_INT64_T_FMT as PRId64,
> > instead of formerly %ld. I've not found anything related in the subversion
> > repository, nor in the bug tracker. Please forgive me if this has already
> > been reported.
>
> This was an intentional change in APR: https://svn.apache.org/r1856042
>
> If your platform has problems with this change, there's nothing the
> Subversion project can do about this. Please talk to the APR project
> instead: https://apr.apache.org

I was a bit too fast with my assessment of your situation, sorry.

You are right, this looks like a problem in Subversion's configure script.
It assumes that APR uses "d", "ld" or "lld" for this format string which
is now a wrong assumption.

As a workaround, try setting the svn_cv_pycfmt_apr_int64_t environment
variable manually before running the configure script:
        export svn_cv_pycfmt_apr_int64_t="L"
Received on 2019-04-09 17:52:47 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.